/* =========================================
   VARIÁVEIS E CONFIGURAÇÕES GLOBAIS
   ========================================= */
:root {
    /* Cores Primárias (Indigo) */
    --primary-100: #e0e7ff;
    --primary-700: #4338ca;
    --primary-800: #3730a3;
    --primary-900: #312e81;

    /* Cores Secundárias (Amber) */
    --secondary-400: #fbbf24;
    --secondary-500: #f59e0b;
    --secondary-600: #d97706;

    /* Escala de Cinza */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Fontes */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Espaçamento e Layout */
    --container-padding: 1rem;
    --max-width-container: 1440px;
    --header-height: 80px;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: var(--font-body);
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    font-size: 1.125rem;
    /* Aumentado de 1rem (16px) para 18px */
    transition: background-color 0.6s ease, color 0.6s ease;
    /* Transição suave do tema */
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* Utilitários de Layout Reutilizáveis */
.container {
    width: 100%;
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: 4rem 0;
    /* Reduced from 6rem for standardized "correct" spacing */
}

.section-bg-white {
    background-color: var(--white);
}

.section-bg-gray {
    background-color: var(--gray-50);
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

/* Botões Globais */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0;
}

.btn-primary {
    background-color: var(--primary-700);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-800);
}

.btn-secondary {
    background-color: var(--secondary-500);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-600);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-700);
}

.btn-white:hover {
    background-color: var(--gray-100);
}

.btn-outline {
    border: 2px solid var(--primary-700);
    color: var(--primary-700);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-700);
    color: var(--white);
}

.full-width {
    width: 100%;
}

/* =========================================
   HEADER E NAVEGAÇÃO
   ========================================= */
.main-header {
    background-color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0.75rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 3rem;
    /* h-12 equivalent */
    margin-right: 0.75rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-900);
    display: block;
    /* Always block, controlled by children */
    font-family: 'Montserrat', sans-serif;
}

/* Default state (Mobile/Tablet/Small Laptop): Show IBSI, Hide Full Name */
.logo-full {
    display: none;
}

.logo-short {
    display: block;
    font-size: 1.5rem;
}

/* Large Screens (> 1450px): Show Full Name */
@media (min-width: 1450px) {
    .logo-full {
        display: block;
    }

    .logo-short {
        display: none;
    }
}

/* Mobile Toggle Visibility */
.mobile-header-toggle {
    display: flex !important;
    /* Force flex to align items correctly */
    align-items: center;
    margin-left: auto;
    /* Push to right */
    margin-right: 1rem;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (min-width: 1200px) {
    .mobile-header-toggle {
        display: none !important;
    }
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 1200px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: clamp(0.5rem, 2.2vw, 2.8rem);
        flex-wrap: nowrap;
        /* Reduced gap from 1.5rem default */
    }

    .nav-link {
        font-size: 17px;
        line-height: 17px;
        /* Slightly reduced base size */
    }

    .nav-desktop .site-auth-slot .btn,
    .nav-desktop [data-site-ibsi-link],
    .nav-desktop>.btn-primary {
        width: 122px;
        min-width: 122px;
        height: 48px;
        padding: 0 1rem;
        border-radius: 0.5rem;
        font-size: 1rem;
        line-height: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-desktop>.btn-primary {
        width: 94px;
        min-width: 94px;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }


    /* Estilo "btn-10" específico para o botão Doar do menu principal */
    .nav-desktop .btn-primary {
        background: #4338ca;
        background: linear-gradient(0deg, #4338ca 0%, #3730a3 100%);
        color: #fff;
        border: none;
        transition: all 0.3s ease;
        overflow: hidden;
        position: relative;
        z-index: 1;
    }

    .nav-desktop .btn-primary:after {
        position: absolute;
        content: " ";
        top: 0;
        left: 0;
        z-index: -1;
        width: 100%;
        height: 100%;
        transition: all 0.3s ease;
        -webkit-transform: scale(.1);
        transform: scale(.1);
    }

    .nav-desktop .btn-primary:hover {
        color: #fff;
        border: none;
        background: transparent;
    }

    .nav-desktop .btn-primary:hover:after {
        background: #3730a3;
        background: linear-gradient(0deg, #312e81 0%, #4338ca 100%);
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.nav-link {
    position: relative;
    color: rgb(51, 51, 51);
    font-weight: 700;
    font-family: 'Raleway', Helvetica, Arial, Lucida, sans-serif;
    font-style: normal;
    letter-spacing: -0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-700);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-700);
}

/* Dropdown Menu Styles */
.nav-item-dropdown {
    position: relative;
    padding: 1rem 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    z-index: 60;
}

/* Ponte transparente para manter o hover */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: rgb(51, 51, 51);
    font-weight: 700;
    font-family: 'Raleway', Helvetica, Arial, Lucida, sans-serif;
    font-size: 17px;
    line-height: 17px;
    font-style: normal;
    position: relative;
    transition: color 0.3s ease;
}

.dropdown-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 1.5rem;
    background-color: var(--primary-700);
    transition: width 0.3s ease;
}

.dropdown-item:hover::after {
    width: calc(100% - 3rem);
}

.dropdown-item:hover {
    color: var(--primary-700);
    background-color: transparent !important;
}

.btn-menu-mobile {
    display: block;
    color: var(--gray-700);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (min-width: 1200px) {
    .btn-menu-mobile {
        display: none;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-container {
    padding: 1.5rem;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.logo-text-mobile {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-900);
    font-family: 'Montserrat', sans-serif;
}

.btn-close-mobile {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    font-size: 17px;
    line-height: 17px;
    font-weight: 600;
    color: var(--gray-800);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    line-height: 17px;
    font-weight: 600;
    color: var(--gray-800);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
}

.mobile-dropdown-list {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    margin-top: 0.5rem;
    background-color: var(--gray-50);
    border-radius: 0.5rem;
}

.mobile-dropdown-list.active {
    display: flex;
}

.mobile-nav-link.sub-link {
    font-size: 17px;
    line-height: 17px;
    font-weight: 700;
    color: rgb(51, 51, 51);
    font-family: 'Raleway', Helvetica, Arial, Lucida, sans-serif;
    font-style: normal;
    color: var(--gray-600);
    border-bottom: none;
    padding: 0.5rem 1rem;
}

/* =========================================
   BOTÃO ÍCONE DO SISTEMA IBSI (Top Menu)
   ========================================= */
.btn-system-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: transparent;
    color: var(--primary-700);
    border-radius: 0.75rem;
    font-size: 0;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: none;
    flex-shrink: 0;
    overflow: visible;
}

.system-icon-image {
    display: block;
    width: 58px;
    height: 58px;
    max-width: none;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(14, 71, 110, 0.18));
    transition: filter 0.3s ease;
}

.btn-system-icon:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: none;
    color: var(--primary-700);
}

.btn-system-icon:hover .system-icon-image {
    filter: drop-shadow(0 10px 16px rgba(67, 56, 202, 0.25));
}

body.dark-mode .btn-system-icon {
    box-shadow: none;
}

body.dark-mode .system-icon-image {
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
}

.system-menu-image {
    display: inline-block;
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex: 0 0 28px;
    filter: drop-shadow(0 4px 8px rgba(14, 71, 110, 0.18));
}

/* Substitui a regra de largura fixa que existia para o botão de texto antigo no desktop */
@media (min-width: 1200px) {

    .nav-desktop .site-auth-slot .btn-system-icon,
    .nav-desktop [data-site-ibsi-link].btn-system-icon {
        width: 52px;
        min-width: 52px;
        height: 52px;
        padding: 0;
        overflow: visible;
    }
}

/* =========================================
   SEÇÃO HERO
   ========================================= */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('_imagens/fundo-culto-igreja-batista-siao.jpg') no-repeat center center;
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    color: var(--white);
    text-align: center;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 8rem 0;
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-actions {
        flex-direction: row;
    }
}

/* =========================================
   PAGE HEADER (PÁGINAS INTERNAS)
   ========================================= */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('_imagens/fundo-culto-igreja-batista-siao.jpg') no-repeat center center;
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    color: var(--white);
    text-align: center;
    margin-bottom: 4rem;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-breadcrumb {
    font-size: 1rem;
    color: var(--primary-100);
}

.page-breadcrumb a {
    color: var(--white);
    font-weight: 600;
}

.page-breadcrumb a:hover {
    color: var(--secondary-400);
}

/* =========================================
   SEÇÃO INFORMAÇÕES RÁPIDAS
   ========================================= */
.quick-info-section {
    background-color: var(--primary-800);
    color: var(--white);
    padding: 2rem 0;
}

.quick-info-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .quick-info-grid {
        flex-direction: row;
        align-items: center;
    }
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.location-info-trigger {
    width: auto;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: inherit;
    text-align: left;
    cursor: pointer;
    padding: 0;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    transition: opacity 0.2s ease;
}

.location-info-trigger:hover {
    opacity: 0.96;
}

.location-info-trigger:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .info-item {
        margin-bottom: 0;
    }

    /* Location item: allow it to shrink and wrap text */
    .info-item:nth-child(2) {
        flex-shrink: 1;
        min-width: 0;
    }

    /* Contact item: never shrink, keep phone number visible */
    .info-item:last-child {
        flex-shrink: 0;
    }
}

.info-icon {
    color: var(--secondary-400);
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

.info-content p.label {
    font-weight: 700;
}

.location-options-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    z-index: 140;
}

.location-options-modal.active {
    display: flex;
}

.location-options-dialog {
    width: min(100%, 640px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
    border-radius: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.14);
    box-shadow: 0 28px 50px rgba(15, 23, 42, 0.28);
    padding: 1.75rem;
    font-family: var(--font-body);
}

.location-options-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.location-options-kicker {
    color: var(--primary-700);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.location-options-header h3 {
    margin-top: 0.6rem;
    font-family: var(--font-body);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--primary-900);
}

.location-options-close {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 9999px;
    background: rgba(67, 56, 202, 0.08);
    color: var(--primary-700);
    cursor: pointer;
    font-size: 1rem;
}

.location-options-address {
    margin: 1rem 0 1.4rem;
    color: var(--gray-600);
    line-height: 1.75;
}

.location-options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.location-app-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 68px;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: linear-gradient(135deg, rgba(67, 56, 202, 0.06), rgba(59, 130, 246, 0.04));
    color: var(--gray-800);
    font-family: var(--font-body);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.location-app-option:hover {
    transform: translateY(-2px);
    border-color: rgba(67, 56, 202, 0.28);
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
}

.location-app-option i,
.location-app-badge {
    color: var(--primary-700);
    font-size: 1.1rem;
}

.location-app-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 9999px;
    background: rgba(67, 56, 202, 0.12);
    font-size: 0.82rem;
    font-weight: 800;
}

.location-options-note {
    margin: 1.1rem 0 0;
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.7;
}

@media (max-width: 640px) {
    .location-options-dialog {
        padding: 1.25rem;
    }

    .location-options-grid {
        grid-template-columns: 1fr;
    }

    .location-options-header h3 {
        font-size: 1.65rem;
    }
}

/* =========================================
   SEÇÃO BOAS-VINDAS
   ========================================= */
.welcome-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .welcome-content {
        flex-direction: row;
    }
}

.welcome-text {
    flex: 1;
}

.welcome-image {
    flex: 1;
}

.welcome-title {
    font-family: var(--font-heading);
    color: var(--primary-900);
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.welcome-image img {
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* =========================================
   COMPONENTES DE CARD (SERMÕES, EVENTOS, MINISTÉRIOS)
   ========================================= */
.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary-900);
    margin-bottom: 1rem;
}

.section-heading p {
    color: var(--gray-600);
    max-width: 42rem;
    margin: 0 auto;
}

.section-heading-white h2 {
    color: var(--white);
}

.section-heading-white p {
    color: rgba(255, 255, 255, 0.8);
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cards-grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .cards-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    background-color: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ccc;
    padding: 1px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-img-container {
    position: relative;
}

.card-media-link {
    display: block;
    position: relative;
    color: inherit;
    text-decoration: none;
}

.card-img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    /* A imagem é cortada para preencher o espaço mantendo proporção
       (não distorce, mas pode cortar partes da imagem) */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    /* Arredonda apenas os cantos superiores da imagem (8px)
       para combinar com o border-radius do card */
}

.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Específico para Sermões */
.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .play-overlay {
    opacity: 1;
}

.play-btn-circle {
    background-color: var(--secondary-500);
    border-radius: 50%;
    padding: 1rem;
}

.card-meta {
    font-size: 0.875rem;
    color: var(--secondary-600);
    font-weight: 600;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0.5rem 0 0.75rem 0;
}

.card-date {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
}

.action-link {
    color: var(--primary-700);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-link:hover {
    color: var(--primary-900);
}

.action-link-gray {
    color: var(--gray-600);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-link-gray:hover {
    color: var(--gray-800);
}

/* Específico para Eventos */
.event-card {
    border: 1px solid #ccc;
    border-left: 4px solid var(--secondary-500);
    display: flex;
    flex-direction: column;
}

.event-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-card .card-actions {
    margin-top: auto;
}

.event-date-box {
    background-color: var(--primary-100);
    color: var(--primary-800);
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-right: 1rem;
    text-align: center;
    min-width: 4rem;
}

.date-day,
.event-day {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}

.date-month,
.event-month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.event-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.tag-category {
    font-size: 0.875rem;
    background-color: var(--primary-100);
    color: var(--primary-800);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

/* =========================================
   HOME - PRÓXIMOS EVENTOS
   ========================================= */
.upcoming-events-showcase {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(94, 92, 230, 0.1) 0%, rgba(94, 92, 230, 0) 26rem),
        radial-gradient(circle at bottom right, rgba(255, 170, 0, 0.12) 0%, rgba(255, 170, 0, 0) 22rem),
        linear-gradient(180deg, #ffffff 0%, #f7f5ff 100%);
}

.upcoming-events-showcase::before,
.upcoming-events-showcase::after {
    content: "";
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
}

.upcoming-events-showcase::before {
    width: 24rem;
    height: 24rem;
    left: -10rem;
    top: 4rem;
    background: radial-gradient(circle, rgba(86, 96, 255, 0.12) 0%, rgba(86, 96, 255, 0) 72%);
}

.upcoming-events-showcase::after {
    width: 20rem;
    height: 20rem;
    right: -8rem;
    bottom: 1rem;
    background: radial-gradient(circle, rgba(255, 176, 32, 0.18) 0%, rgba(255, 176, 32, 0) 72%);
}

.upcoming-events-showcase .container {
    position: relative;
    z-index: 1;
}

.upcoming-events-heading {
    margin-bottom: 3.5rem;
}

.upcoming-events-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    margin-bottom: 1rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(81, 76, 240, 0.14), rgba(81, 76, 240, 0.06));
    border: 1px solid rgba(81, 76, 240, 0.14);
    box-shadow: 0 10px 25px rgba(36, 43, 94, 0.08);
    color: var(--primary-700);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.upcoming-events-heading h2 {
    font-size: clamp(2.2rem, 1.8rem + 1.2vw, 3rem);
    letter-spacing: -0.03em;
    text-shadow: 0 10px 24px rgba(58, 69, 150, 0.08);
}

.upcoming-events-heading p {
    max-width: 46rem;
    font-size: 1.08rem;
    color: #55627f;
}

.upcoming-events-grid {
    position: relative;
    gap: 1.75rem;
}

.upcoming-events-grid::before {
    content: "";
    position: absolute;
    left: 2rem;
    right: 2rem;
    top: -1rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(81, 76, 240, 0), rgba(81, 76, 240, 0.18), rgba(81, 76, 240, 0));
}

.upcoming-events-showcase .event-card {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 1.15rem;
    background: #ffffff;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.upcoming-events-showcase .event-card:hover {
    transform: translateY(-8px);
    border-color: rgba(239, 68, 68, 0.18);
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.12);
}

.upcoming-events-showcase .event-card .card-content {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.35rem 1.35rem 1.5rem;
}

.upcoming-events-showcase .event-card-media {
    position: relative;
    height: 13.5rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.upcoming-events-showcase .event-card-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.upcoming-events-showcase .event-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.08) 62%, rgba(15, 23, 42, 0.16) 100%);
    pointer-events: none;
}

.upcoming-events-showcase .event-card:hover .event-card-image {
    transform: scale(1.04);
}

.upcoming-events-showcase .event-header {
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0;
}

.upcoming-events-showcase .event-header-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.upcoming-events-showcase .event-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 7rem;
    min-width: 7rem;
    aspect-ratio: 280 / 305;
    height: auto;
    margin-right: 0;
    padding: 0.7rem 0 0;
    border: none;
    border-radius: 1.45rem;
    overflow: hidden;
    background: linear-gradient(180deg, #f6f7fb 0%, #f1f3fa 100%);
    color: #0a0d16;
    box-shadow: 0 14px 28px rgba(20, 29, 61, 0.08);
}

.upcoming-events-showcase .event-day {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.08em;
    line-height: 0.85;
}

.upcoming-events-showcase .event-month {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.45rem;
    margin-top: auto;
    padding: 0.3rem 0.35rem 0.35rem;
    border-radius: 0 0 1.45rem 1.45rem;
    background: linear-gradient(180deg, #ff2333 0%, #f61728 100%);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}

.upcoming-events-showcase .card-title {
    margin-bottom: 0.1rem;
    font-family: var(--font-body);
    font-size: clamp(1.3rem, 0.98rem + 0.55vw, 1.55rem);
    font-weight: 600;
    line-height: 1.24;
    letter-spacing: -0.02em;
    color: var(--gray-900);
}

.upcoming-events-showcase .event-meta {
    font-size: 0.8125rem;
    color: var(--gray-600);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.1rem;
    font-style: italic;
}

.upcoming-events-showcase .event-meta i {
    color: var(--accent-red);
    margin-right: 0.25rem;
    font-size: 0.85em;
}

.upcoming-events-showcase .event-location {
    color: var(--gray-600);
    font-size: 0.84rem;
    line-height: 1.5;
}

.upcoming-events-showcase .event-location i {
    color: var(--accent-red);
    margin-right: 0.35rem;
    font-size: 0.85em;
}

.upcoming-events-showcase .mb-4 {
    margin-bottom: 0 !important;
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.65;
}

.upcoming-events-showcase .event-summary {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.upcoming-events-showcase .card-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.upcoming-events-showcase .event-cta {
    margin-left: 0;
    min-width: 136px;
}

.upcoming-events-footer {
    margin-top: 3rem !important;
}

.upcoming-events-footer .btn-outline {
    border-radius: 9999px;
    padding: 1rem 1.6rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 36px rgba(33, 45, 91, 0.08);
}

@media (max-width: 767px) {
    .upcoming-events-showcase {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .upcoming-events-grid::before {
        left: 0;
        right: 0;
    }

    .upcoming-events-showcase .event-card .card-content {
        padding: 1.2rem 1.2rem 1.35rem;
    }

    .upcoming-events-showcase .event-card-media {
        height: 11.4rem;
    }

    .upcoming-events-showcase .event-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .upcoming-events-showcase .event-date-box {
        width: 6.15rem;
        min-width: 6.15rem;
    }

    .upcoming-events-showcase .event-day {
        font-size: 3.45rem;
    }

    .upcoming-events-showcase .event-month {
        min-height: 2.15rem;
        font-size: 0.8rem;
    }

    .upcoming-events-showcase .card-actions {
        flex-direction: row;
        align-items: flex-start;
    }

    .upcoming-events-showcase .event-cta {
        width: auto;
        text-align: left;
    }
}

@media (max-width: 1199px) {
    .header-container {
        gap: 0.65rem;
    }

    .nav-desktop {
        margin-left: auto;
        gap: 0;
    }

    .nav-desktop>.nav-link,
    .nav-desktop>.nav-item-dropdown,
    .nav-desktop>.theme-switch-wrapper {
        display: none !important;
    }

    .nav-desktop .site-auth-slot {
        display: inline-flex !important;
        margin-right: 0 !important;
        gap: 0.5rem !important;
        align-items: center !important;
    }

    .nav-desktop .site-auth-slot .btn,
    .nav-desktop [data-site-ibsi-link] {
        width: 122px;
        min-width: 122px;
        height: 48px;
        padding: 0 0.85rem;
        border-radius: 0.5rem;
        font-size: 1rem;
        line-height: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-desktop>.btn-primary {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 94px;
        min-width: 94px;
        height: 48px;
        margin-left: 0.5rem;
        padding: 0 0.75rem;
        border-radius: 0.5rem;
        font-size: 1rem;
        line-height: 1;
        white-space: nowrap;
    }

    .nav-desktop .site-auth-slot .btn-system-icon,
    .nav-desktop [data-site-ibsi-link].btn-system-icon {
        width: 52px;
        min-width: 52px;
        height: 52px;
        padding: 0;
        overflow: visible;
    }

    .mobile-header-toggle {
        margin-left: 0;
        margin-right: 0.35rem;
    }
}

@media (max-width: 640px) {
    .header-container {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.55rem;
    }

    .logo-area {
        flex: 1 1 auto;
        min-width: 0;
    }

    .btn-menu-mobile {
        margin-left: 0;
    }

    .nav-desktop {
        display: none;
    }

    .mobile-header-auth-slot {
        display: inline-flex;
        flex: 0 0 auto;
        margin-left: auto;
        justify-content: center;
    }

    .mobile-header-auth-slot .btn {
        width: auto;
        min-width: 112px;
        height: 44px;
        padding-left: 0.8rem;
        padding-right: 0.8rem;
        font-size: 0.9rem;
    }
}

/* =========================================
   TESTEMUNHOS
   ========================================= */
.testimonials-section {
    background-color: var(--primary-900);
    color: var(--white);
    padding: 4rem 0;
}

.testimonial-card-item {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 0.5rem;
    padding: 2rem;
    color: var(--gray-800);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.author-img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    margin-right: 1rem;
}

.author-name {
    font-weight: 700;
    display: block;
}

.author-role {
    font-size: 0.875rem;
    color: var(--gray-600);
    display: block;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.stars {
    color: var(--secondary-500);
}

/* =========================================
   DOAÇÃO
   ========================================= */
.donation-box {
    background: linear-gradient(to right, var(--primary-700), var(--primary-900));
    border-radius: 0.75rem;
    padding: 2rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .donation-box {
        padding: 3rem;
        flex-direction: row;
        align-items: center;
    }
}

.donation-content {
    flex: 2;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .donation-content {
        margin-bottom: 0;
        padding-right: 2.5rem;
    }
}

.donation-actions {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bank-transfer-card {
    background:
        linear-gradient(180deg, rgba(79, 70, 229, 0.06) 0%, rgba(14, 165, 233, 0.02) 100%),
        var(--white);
    border: 1px solid rgba(79, 70, 229, 0.12);
}

.bank-transfer-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.bank-transfer-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0.75rem;
    align-items: start;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.bank-transfer-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bank-transfer-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-700);
}

.bank-transfer-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.5;
    word-break: break-word;
}

.bank-transfer-note {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1.5rem;
    padding: 0.95rem 1rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.75);
    color: var(--gray-600);
    line-height: 1.65;
}

.bank-transfer-note i {
    color: var(--primary-700);
    margin-top: 0.15rem;
}

.pix-availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    margin-bottom: 1rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(14, 165, 233, 0.1));
    border: 1px solid rgba(79, 70, 229, 0.14);
    color: var(--primary-800);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pix-availability-badge i {
    color: var(--primary-700);
}

.pix-availability-caption {
    margin-top: 1rem;
    color: var(--gray-600);
    font-size: 0.94rem;
    line-height: 1.7;
}

.gateway-payment-card {
    background:
        radial-gradient(circle at top right, rgba(79, 70, 229, 0.18), transparent 38%),
        linear-gradient(180deg, rgba(79, 70, 229, 0.06) 0%, rgba(15, 23, 42, 0.02) 100%),
        var(--white);
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.gateway-payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    margin-bottom: 1rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.14), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(79, 70, 229, 0.16);
    color: var(--primary-800);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gateway-payment-badge i {
    color: var(--primary-700);
}

.gateway-payment-meta {
    display: grid;
    gap: 0.75rem;
    margin: 0.25rem 0 1.25rem;
}

.gateway-payment-pill {
    display: inline-flex;
    align-items: center;
    align-self: start;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.16);
    color: var(--primary-800);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gateway-payment-status {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.95rem;
}

.gateway-payment-benefits {
    display: grid;
    gap: 0.75rem;
    margin: 0 0 1.5rem;
}

.gateway-benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
    color: var(--gray-700);
    font-weight: 600;
}

.gateway-benefit-item i {
    color: var(--primary-700);
    width: 18px;
    text-align: center;
}

.gateway-payment-caption {
    margin-top: 1rem;
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.7;
}

@media (max-width: 639px) {
    .bank-transfer-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .pix-availability-badge {
        width: 100%;
        justify-content: center;
    }

    .gateway-payment-badge,
    .gateway-payment-pill {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   CONTATO
   ========================================= */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        flex-direction: row;
    }
}

.contact-form-wrapper,
.contact-info-wrapper {
    flex: 1;
}

.form-box,
.info-box {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.info-box {
    height: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: var(--gray-700);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary-700);
    box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.1);
}

.form-status {
    margin-bottom: 1.25rem;
    padding: 1rem 1.125rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
    border: 1px solid transparent;
}

.form-status.is-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.25);
    color: #166534;
}

.form-status.is-info {
    background: rgba(67, 56, 202, 0.08);
    border-color: rgba(67, 56, 202, 0.18);
    color: var(--primary-800);
}

.form-help-text {
    margin-top: 1rem;
    color: var(--gray-500);
    font-size: 0.92rem;
    line-height: 1.65;
}

.form-help-text a {
    color: var(--primary-700);
    font-weight: 600;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    color: var(--primary-700);
    margin-top: 0.25rem;
    margin-right: 1rem;
}

.contact-data-link {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-data-link:hover {
    color: var(--primary-700);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 0.85rem;
}

.contact-actions .action-link {
    font-size: 0.92rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--primary-100);
    color: var(--primary-700);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-btn:hover {
    background-color: #c7d2fe;
    /* primary-200 aprox */
}

/* =========================================
   NEWSLETTER
   ========================================= */
.newsletter-section {
    background-color: var(--primary-800);
    color: var(--white);
    padding: 3rem 0;
}

.newsletter-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .newsletter-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.newsletter-form {
    display: flex;
    width: 100%;
}

@media (min-width: 768px) {
    .newsletter-form {
        width: auto;
    }
}

.newsletter-input {
    min-width: 0;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem 0 0 0.375rem;
    border: none;
    flex-grow: 1;
    color: var(--gray-800);
    outline: none;
}

.newsletter-btn {
    border-radius: 0 0.375rem 0.375rem 0;
}

/* =========================================
   FOOTER
   ========================================= */
.main-footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Mobile: 2 colunas */
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Mobile Layout Controls (< 768px) */
@media (max-width: 767px) {
    .footer-col-logo {
        grid-column: 1 / -1;
        /* Ocupa tudo (linha 1) */
    }

    /* Links (auto) vai para linha 2, col 1 */
    /* Recursos (auto) vai para linha 2, col 2 */

    .footer-col-contact {
        grid-column: 1 / -1;
        /* Ocupa tudo (linha 3) */
    }
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: var(--gray-400);
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.copyright {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .copyright {
        margin-bottom: 0;
    }
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

/* =========================================
   BOTÃO VOLTAR AO TOPO
   ========================================= */
#backToTop {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-700);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    z-index: 100;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

/* =========================================
   SEÇÃO LIDERANÇA (SOBRE NÓS)
   ========================================= */
.leadership-section {
    position: relative;
    background-image: url('_imagens/fundo-lideranca-ibsi.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 6rem 0;
    margin-top: 0;
    /* Adjust if needed */
}

/* Overlay suave para garantir leitura se a imagem for escura, 
   ou para dar o tom esbranquiçado da imagem de exemplo */
.leadership-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    /* Overlay branco com alta opacidade */
    z-index: 1;
}

.leadership-section .container {
    position: relative;
    z-index: 2;
}

.leadership-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-900);
    text-align: center;
    margin-bottom: 3rem;
}

.leadership-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.leadership-card {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.leadership-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.leadership-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.leadership-role {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =========================================
   MODAL PIX
   ========================================= */
.pix-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* Indica que é clicável para fechar */
}

.pix-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

.pix-modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.pix-modal.active .pix-modal-content {
    transform: scale(1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================================
   TIMELINE (NOSSA JORNADA) - Flexbox Style
   ========================================= */
.about-history-intro-section {
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.about-history-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 3rem 3.25rem;
    text-align: center;
    background:
        radial-gradient(circle at top left, rgba(67, 56, 202, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid rgba(67, 56, 202, 0.12);
    border-radius: 1.25rem;
    box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.28);
}

.about-history-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 0.55rem 1rem;
    border-radius: 9999px;
    background: rgba(67, 56, 202, 0.08);
    color: var(--primary-700);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.about-history-title {
    font-family: var(--font-heading);
    color: var(--primary-900);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.about-history-text {
    max-width: 760px;
    margin: 0 auto;
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 2;
}

/* =========================================
   CÉLULAS - HOME PREMIUM
   ========================================= */
.cells-family-section {
    padding: 5rem 0;
    background:
        radial-gradient(circle at top left, rgba(81, 76, 240, 0.08), transparent 24rem),
        linear-gradient(180deg, #ffffff 0%, #f7f5ff 100%);
}

.cells-family-heading {
    max-width: 760px;
    margin: 0 auto clamp(2.4rem, 3.6vw, 3.8rem);
    text-align: center;
}

.cells-family-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin-bottom: 1rem;
    padding: 0.55rem 1rem;
    border: 1px solid rgba(81, 76, 240, 0.14);
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(81, 76, 240, 0.14), rgba(81, 76, 240, 0.06));
    box-shadow: 0 10px 25px rgba(36, 43, 94, 0.08);
    color: #4338ca;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.cells-family-heading h2 {
    margin-bottom: 1rem;
    color: #312e81;
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 1.75rem + 2vw, 3.45rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
    text-shadow: 0 10px 24px rgba(58, 69, 150, 0.08);
}

.cells-family-heading p {
    max-width: 46rem;
    margin: 0 auto;
    color: #55627f;
    font-size: 1.08rem;
    line-height: 1.75;
}

.cells-family-card {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: clamp(2rem, 1.25rem + 3vw, 4.4rem) clamp(1rem, 0.5rem + 3vw, 4rem);
    border-radius: clamp(1.35rem, 1rem + 1.6vw, 2.5rem);
    background:
        radial-gradient(circle at 50% 71%, rgba(244, 180, 120, 0.58) 0%, rgba(244, 180, 120, 0.18) 14%, rgba(244, 180, 120, 0) 31%),
        radial-gradient(circle at 16% 78%, rgba(61, 130, 255, 0.16) 0%, rgba(61, 130, 255, 0) 21rem),
        radial-gradient(circle at 88% 74%, rgba(52, 88, 208, 0.14) 0%, rgba(52, 88, 208, 0) 20rem),
        linear-gradient(180deg, #09101f 0%, #152149 52%, #1a2550 100%);
    box-shadow: 0 30px 70px -34px rgba(15, 23, 42, 0.58);
}

.cells-family-card::before,
.cells-family-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cells-family-card::before {
    background:
        radial-gradient(circle at 50% 60%, rgba(255, 211, 150, 0.58) 0%, rgba(255, 211, 150, 0.22) 12%, rgba(255, 211, 150, 0) 26%),
        radial-gradient(circle at 12% 28%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 18rem),
        radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 15rem);
    opacity: 1;
    z-index: 0;
}

.cells-family-card::after {
    background-image:
        radial-gradient(circle, rgba(255, 222, 166, 0.96) 0 2px, transparent 2.8px),
        radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 1.2px, transparent 1.9px),
        linear-gradient(116deg, transparent 0 48.8%, rgba(255, 205, 132, 0.26) 49.2%, transparent 50%),
        linear-gradient(24deg, transparent 0 48.8%, rgba(255, 205, 132, 0.16) 49.2%, transparent 50%);
    background-size: 182px 182px, 256px 256px, 430px 228px, 420px 220px;
    background-position: 22px 136px, 120px 88px, center 74%, center 70%;
    mix-blend-mode: screen;
    opacity: 0.4;
    z-index: 0;
}

.cells-family-container {
    position: relative;
    z-index: 1;
    max-width: var(--max-width-container);
}

.cells-family-card > * {
    position: relative;
    z-index: 1;
}

.cells-family-copy {
    position: relative;
}

.cells-family-lead {
    max-width: 1090px;
    margin: 0;
    color: #f0ca8d;
    font-family: var(--font-heading);
    font-size: clamp(2.05rem, 1.5rem + 1.35vw, 3.45rem);
    font-weight: 400;
    line-height: 1.28;
    letter-spacing: -0.02em;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.3);
}

.cells-family-divider {
    width: min(1085px, 100%);
    height: 1px;
    margin: 1.65rem 0 1.45rem;
    background: linear-gradient(90deg, rgba(233, 199, 137, 0.12), rgba(233, 199, 137, 0.86) 14%, rgba(233, 199, 137, 0.56) 82%, rgba(233, 199, 137, 0.08));
    box-shadow: 0 0 18px rgba(242, 206, 148, 0.14);
}

.cells-family-description {
    max-width: 1090px;
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(1.34rem, 1.05rem + 0.56vw, 1.95rem);
    line-height: 1.58;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.32);
}

.cells-family-features {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.85rem;
    margin-top: 3rem;
}

.cells-family-features::before {
    content: "";
    position: absolute;
    inset: 6% 10% 12%;
    background: radial-gradient(circle at 50% 45%, rgba(255, 205, 140, 0.48) 0%, rgba(255, 205, 140, 0.16) 18%, rgba(255, 205, 140, 0) 54%);
    filter: blur(14px);
    pointer-events: none;
    opacity: 0.92;
}

.cells-family-feature {
    position: relative;
    display: grid;
    grid-template-columns: 4.35rem minmax(0, 1fr);
    align-items: start;
    column-gap: 1.45rem;
    min-height: 214px;
    padding: 1.52rem 1.7rem 1.46rem;
    border-radius: 1.55rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.cells-family-feature::before,
.cells-family-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cells-family-feature::before {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.02) 32%, rgba(0, 0, 0, 0.22) 100%);
}

.cells-family-feature::after {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.2;
    mix-blend-mode: screen;
}

.cells-family-feature:hover {
    transform: translateY(-8px);
    box-shadow:
        0 24px 42px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.cells-family-feature-icon,
.feature-text-content {
    position: relative;
    z-index: 2;
}

.cells-family-feature-icon {
    width: 4.35rem;
    height: 4.35rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
    border-radius: 1.18rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.07) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #fff7e6;
    font-size: 1.7rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.feature-text-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: start;
    gap: 0.98rem;
    max-width: min(100%, 31rem);
    padding-top: 0.9rem;
}

.cells-family-feature h3 {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(1.68rem, 1.4rem + 0.44vw, 2.08rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: 0;
    color: #ffffff;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.55);
    text-wrap: balance;
}

.cells-family-feature p {
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: 1.06rem;
    line-height: 1.42;
    letter-spacing: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
    text-wrap: pretty;
}

.cells-family-feature.feature-real-relationships {
    background:
        radial-gradient(circle at 8% 36%, rgba(255, 220, 161, 0.4) 0%, rgba(255, 220, 161, 0) 22%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 2px, rgba(0, 0, 0, 0.045) 2px 6px),
        linear-gradient(135deg, rgba(120, 80, 46, 0.86) 0%, rgba(79, 51, 28, 0.92) 48%, rgba(52, 31, 17, 0.94) 100%);
}

.cells-family-feature.feature-real-relationships::after {
    background-image: url("_imagens/celula-relacionamentos-reais.jpg");
    opacity: 0.16;
}

.cells-family-feature.feature-real-relationships .cells-family-feature-icon {
    background: linear-gradient(180deg, rgba(255, 235, 200, 0.36) 0%, rgba(255, 191, 117, 0.18) 100%);
    color: #ffe4b0;
}

.cells-family-feature.feature-real-relationships .feature-text-content {
    max-width: 29.5rem;
}

.cells-family-feature.feature-spiritual-growth {
    background:
        radial-gradient(circle at 87% 24%, rgba(255, 249, 220, 0.4) 0%, rgba(255, 249, 220, 0) 24%),
        linear-gradient(135deg, rgba(203, 176, 132, 0.92) 0%, rgba(176, 143, 98, 0.88) 52%, rgba(145, 116, 79, 0.94) 100%);
}

.cells-family-feature.feature-spiritual-growth::after {
    background-image: url("_imagens/celula-crescimento-espiritual.jpg");
    opacity: 0.17;
}

.cells-family-feature.feature-spiritual-growth .cells-family-feature-icon {
    background: linear-gradient(180deg, rgba(124, 76, 33, 0.24) 0%, rgba(90, 58, 24, 0.44) 100%);
    color: #fff0cf;
}

.cells-family-feature.feature-spiritual-growth .feature-text-content {
    max-width: 28.75rem;
}

.cells-family-feature.feature-care-prayer {
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0) 26%),
        linear-gradient(135deg, rgba(205, 184, 170, 0.88) 0%, rgba(167, 144, 130, 0.92) 48%, rgba(140, 118, 110, 0.92) 100%);
}

.cells-family-feature.feature-care-prayer::after {
    background-image: url("_imagens/celula-cuidado-oracao.jpg");
    opacity: 0.19;
}

.cells-family-feature.feature-care-prayer .cells-family-feature-icon {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(213, 190, 175, 0.2) 100%);
    color: #fff2de;
}

.cells-family-feature.feature-care-prayer .feature-text-content {
    max-width: 28.5rem;
}

.cells-family-feature.feature-communion {
    background:
        radial-gradient(circle at 15% 74%, rgba(255, 203, 126, 0.32) 0%, rgba(255, 203, 126, 0) 24%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, rgba(0, 0, 0, 0.05) 1px 5px),
        linear-gradient(135deg, rgba(113, 66, 33, 0.94) 0%, rgba(78, 44, 22, 0.92) 52%, rgba(48, 26, 14, 0.96) 100%);
}

.cells-family-feature.feature-communion::after {
    background-image: url("_imagens/celula-comunhao-mesa.jpg");
    opacity: 0.17;
}

.cells-family-feature.feature-communion .cells-family-feature-icon {
    background: linear-gradient(180deg, rgba(255, 230, 198, 0.34) 0%, rgba(184, 118, 63, 0.24) 100%);
    color: #fff3e0;
}

.cells-family-feature.feature-communion .feature-text-content {
    max-width: 27.75rem;
}

.cells-family-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.cells-family-cta {
    min-width: 20rem;
    justify-content: center;
    padding: 0.95rem 1.7rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    color: rgb(255, 255, 255);
    box-shadow: 0 18px 30px rgba(245, 158, 11, 0.2);
    border-radius: 9999px;
    border: 1px solid rgba(255, 214, 153, 0.22);
}

@media (max-width: 991px) {
    .cells-family-section {
        padding: 4rem 0;
    }

    .cells-family-heading {
        margin-bottom: 2.75rem;
    }

    .cells-family-heading h2 {
        font-size: clamp(2.1rem, 1.6rem + 2.5vw, 2.8rem);
    }

    .cells-family-heading p {
        font-size: 1.02rem;
    }

    .cells-family-features {
        gap: 1.5rem;
    }

    .feature-text-content {
        max-width: 100%;
    }

    .cells-family-feature p {
        font-size: 1rem;
        line-height: 1.44;
    }
}

@media (max-width: 767px) {
    .cells-family-section {
        padding: 3.25rem 0;
    }

    .cells-family-heading {
        margin-bottom: 2.25rem;
    }

    .cells-family-kicker {
        padding: 0.5rem 0.85rem;
        font-size: 0.68rem;
        letter-spacing: 0.14em;
    }

    .cells-family-heading h2 {
        margin-bottom: 0.85rem;
        font-size: 2.15rem;
        line-height: 1.12;
    }

    .cells-family-heading p {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .cells-family-card {
        padding: 2rem 1rem 2.25rem;
        border-radius: 1.5rem;
    }

    .cells-family-features {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }

    .cells-family-lead {
        font-size: 1.8rem;
        line-height: 1.34;
    }

    .cells-family-description {
        font-size: 1.12rem;
        line-height: 1.55;
    }

    .cells-family-feature {
        min-height: 190px;
        grid-template-columns: 3.65rem minmax(0, 1fr);
        align-items: start;
        padding: 1.35rem 1.15rem;
        border-radius: 1.35rem;
        column-gap: 0.95rem;
    }

    .cells-family-feature-icon {
        width: 3.65rem;
        height: 3.65rem;
        border-radius: 1rem;
        font-size: 1.4rem;
    }

    .cells-family-feature h3 {
        font-size: 1.42rem;
    }

    .cells-family-feature p {
        font-size: 0.96rem;
        line-height: 1.46;
    }

    .cells-family-cta {
        min-width: 100%;
    }
}

.timeline-section {
    padding: 6rem 0;
    background-color: var(--gray-50);
}

.timeline-title {
    text-align: center;
    font-family: var(--font-heading);
    color: var(--primary-800);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-700);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Linha Central */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #3b82f6;
    /* Blue-500 */
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Linha / Row */
.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
}

/* Colunas (Esquerda e Direita) */
.timeline-col {
    width: 45%;
    position: relative;
}

.left-col {
    text-align: right;
    padding-right: 20px;
}

.right-col {
    text-align: left;
    padding-left: 20px;
}

/* Marcador Central */
.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: #2563eb;
    /* Blue-600 */
    border: 4px solid #fff;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 0 2px #2563eb;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: translateX(-50%) scale(1.2);
    background-color: var(--secondary-500);
    box-shadow: 0 0 0 2px var(--secondary-500);
}

/* Conteúdo */
.timeline-content {
    background-color: white;
    padding: 1.5rem 2rem;
    border-radius: 0.5rem;
    border: 1px solid #000;
    /* Borda fina e preta solicitada */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-8px) scale(1.05);
    /* Aumenta e sobe mais */
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.2), 0 15px 15px -5px rgba(0, 0, 0, 0.1);
    z-index: 20;
    /* Garante que fique sobrepondo se necessário */
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-800);
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
    display: inline-block;
    /* Required for transform */
    cursor: default;
}

.timeline-year:hover {
    transform: scale(1.1);
    color: var(--primary-700);
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.timeline-subtitle {
    font-size: 0.95rem;
    color: var(--gray-600);
    font-weight: 600;
}

.timeline-text {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 3rem;
    }

    .timeline-col {
        width: 100%;
        text-align: left;
        padding-left: 50px;
        /* Space for line */
        padding-right: 0;
        margin-bottom: 1rem;
    }

    .left-col {
        text-align: left;
        padding-right: 0;
    }

    .timeline-marker {
        left: 20px;
        transform: translateX(-50%);
        top: 0;
        /* Align with top of content roughly */
    }

    .timeline-title {
        font-size: 1.75rem;
    }

    .about-history-card {
        padding: 2.25rem 1.5rem;
    }

    .about-history-text {
        font-size: 1rem;
        line-height: 1.9;
    }
}

/* =========================================
   CONTRIBUIÇÃO (Botões)
   ========================================= */
.contribution-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .contribution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contribution-card {
    /* Layout */
    padding: 2rem;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    width: 100%;
    margin: 0;

    /* Estilo Refinado: Animação + Bordas + Suspensão */
    background-color: var(--white);
    color: var(--gray-800);
    border: 2px solid var(--gray-300);
    /* Bordas acentuadas */
    border-radius: 0.5rem;
    position: relative;
    z-index: 1;
    overflow: hidden;

    /* Sensação de suspensão (sombra mais difusa e distante) */
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.15), 0 5px 10px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.contribution-card::after {
    /* Animação Sweep (Restaurada) */
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    direction: rtl;
    z-index: -1;
    box-shadow: -7px -7px 20px 0px #fff9, -4px -4px 5px 0px #fff9, 7px 7px 20px 0px #0002, 4px 4px 5px 0px #0001;
    transition: all 0.3s ease;
    background-color: var(--gray-100);
}

.contribution-card:hover {
    color: var(--primary-800);
    border-color: var(--primary-700);
    /* Suspensão maior no hover */
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.contribution-card:hover::after {
    left: auto;
    right: 0;
    width: 100%;
}

.contribution-card:active {
    top: 0;
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}


/* =========================================
   MODAL CONTRIBUIÇÃO (Refinado / Popover)
   ========================================= */
.contribution-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    /* Fundo claro e leve */
    backdrop-filter: blur(2px);
    /* Desfoque suave */
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.contribution-modal-overlay.active {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}

.contribution-modal-box {
    background-color: var(--white);
    padding: 1.5rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    border: 2px solid var(--primary-700);
    border-radius: 0.75rem;
    /* Quinas arredondadas */
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.contribution-modal-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-900);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--gray-100);
    padding-bottom: 0.5rem;
}

.contribution-modal-text {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.contribution-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.contribution-modal-actions .btn {
    border-radius: 0.5rem;
    /* Botões internos arredondados */
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* =========================================
   PÁGINA DE EVENTOS (Refined)
   ========================================= */
:root {
    --accent-red: #ea1d2c;
    --accent-red-hover: #c01824;
}

.section-subtitle {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--accent-red);
    /* Restored */
    /* Removido uppercase para dar match exato com imagem */
    font-size: 1.125rem;
    /* Increased from 0.8125rem */
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    /* Reduced from 3.5rem for better density */
    max-width: 1000px;
}

.events-list .event-card {
    display: flex;
    flex-direction: row;
    background-color: transparent;
    border: none;
    gap: 1.5rem;
    /* Tighter gap between image and content */
    align-items: flex-start;
}

.events-list .event-image {
    width: 360px;
    /* Increased from 280px */
    height: 240px;
    /* Increased from 180px */
    object-fit: cover;
    border-radius: 0;
    /* No radius in crop? Check image. Assuming square for now or small radius. Keeping 0 based on "recorte" usually implying sharpness. */
    flex-shrink: 0;
}

.events-list .event-content {
    flex: 1;
    padding-top: 0;
}

.event-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    align-items: flex-start;
}

.event-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    flex-shrink: 0;
    width: 85px;
    /* Increased width to fit longer month names */
    height: 90px;
    /* Slight height adjustment */
    background-color: #f3f4f6;
    /* Light gray background from image */
    border-radius: 8px;
    /* Rounded corners for the whole card */
    overflow: hidden;
    /* Ensures red box touches margins and clips to corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    /* Subtle depth */
    margin-top: 0;
    /* Align with top of card */
    padding: 0;
    /* Enhance safety against inherited padding */
}

.event-day {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    /* Take up remaining space */
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    color: #000000;
    letter-spacing: -1px;
    padding-top: 4px;
    width: 100%;
    /* Ensure full width availability */
}

.event-month {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* Forces filling the container width */
    background-color: var(--accent-red);
    color: var(--white);
    font-size: 0.65rem;
    /* Balanced size for "DEZEMBRO" */
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 0;
    /* Thicker red strip */
    border-radius: 0;
    /* Reset radius as container clips it */
    margin: 0;
    /* Remove margins to touch edges */
    line-height: 1;
}

.events-list .event-title {
    font-family: var(--font-body);
    font-size: 1.5rem;
    /* Adjusted down */
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.3;
    margin-top: -5px;
    margin-bottom: 0.25rem;
}

.events-list .event-meta {
    font-size: 0.8125rem;
    /* Smaller meta */
    color: var(--gray-600);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-style: italic;
    /* Kept italic */
}

.events-list .event-meta i {
    color: var(--accent-red);
    margin-right: 0.25rem;
    font-size: 0.85em;
}

.events-list .event-description {
    color: var(--gray-600);
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    /* Smaller body text */
    line-height: 1.6;
    max-width: 95%;
    /* Prevent full width stretching */
}

.events-list .event-description.is-collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-outline-red {
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    background: transparent;
    border-radius: 0;
    padding: 0.6rem 1.75rem;
    /* Taller padding */
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-outline-red:hover {
    background-color: var(--accent-red);
    color: var(--white);
}

.event-read-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
}

.event-read-less {
    margin-top: 0.9rem;
}

.events-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Vertically align them */
    margin-top: 4rem;
    flex-wrap: wrap;
    /* Good for mobile responsiveness */
    gap: 1rem;
}

.pagination {
    display: flex;
    gap: 0.25rem;
    /* margin-top: 4rem; removed since wrapper has it */
}

.pagination-results {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin: 0;
    /* Remove default margins for cleaner alignment */
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    /* Smaller squares */
    height: 36px;
    border: 1px solid #e5e7eb;
    /* Lighter border */
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.page-link:hover,
.page-link.active {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    color: var(--white);
}

.page-link-next {
    width: auto;
    padding: 0 0.75rem;
}

@media screen and (max-width: 768px) {
    .event-card {
        flex-direction: column;
        gap: 1rem;
    }

    .event-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    .event-header {
        flex-direction: row;
        /* Keep date next to title on mobile too? usually yes */
    }
}



/* =========================================
   MODO ESCURO (DARK MODE)
   ========================================= */
body.dark-mode {
    /* Inversão de Fundos */
    --white: #1f2937;
    /* Cinza escuro para cartões */
    --gray-50: #111827;
    /* Quase preto para fundo body */
    --gray-100: #374151;
    /* Cinza médio para detalhes */

    /* Inversão de Textos */
    --gray-600: #d1d5db;
    /* Texto secundário claro */
    --gray-700: #e5e7eb;
    /* Texto principal claro */
    --gray-800: #f3f4f6;
    /* Títulos claros */
    --gray-900: #ffffff;
    /* Títulos destaque branco */

    /* Ajuste de Contraste da Cor Primária */
    --primary-700: #818cf8;
    /* Azul mais claro/neon para legibilidade no escuro */
    --primary-800: #6366f1;
}

/* Ajustes específicos para elementos que somem no escuro */
body.dark-mode .logo-text,
body.dark-mode .nav-link {
    color: var(--gray-900);
}

body.dark-mode .card,
body.dark-mode .main-header,
body.dark-mode .main-footer {
    border-color: #374151;
    /* Borda sutil */
}

/* Botão Toggle */
.btn-theme-toggle {
    background: transparent;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

body.dark-mode .btn-theme-toggle {
    border-color: var(--gray-600);
    color: #fbbf24;
    /* Amarelo para o sol */
}

.btn-theme-toggle:hover {
    background-color: var(--gray-100);
}


/* =========================================
   AJUSTE FINO (PRESERVAÇÃO DE ÁREAS ESCURAS)
   ========================================= */

/* Rodapé e Seções de Destaque devem permanecer escuras */
body.dark-mode .main-footer {
    background-color: #111827 !important;
    /* Mantém fundo preto/escuro */
    color: #e5e7eb;
}

body.dark-mode .quick-info-section,
body.dark-mode .newsletter-section {
    background-color: #312e81 !important;
    /* Mantém azul escuro original */
    color: #ffffff;
}

body.dark-mode .testimonials-section {
    background-color: #312e81 !important;
    /* Fundo da seção azul escuro */
}

/* Donation Box (Gradiente) */
body.dark-mode .donation-box {
    background: linear-gradient(to right, #4338ca, #312e81) !important;
    color: #ffffff;
}

/* Correção de cores de texto dentro dessas seções escuras 
   (Pois a inversão global de var(--white) afeta textos que deveriam ser brancos)
*/
body.dark-mode .main-footer .footer-title,
body.dark-mode .main-footer .copyright,
body.dark-mode .quick-info-section p,
body.dark-mode .quick-info-section i,
body.dark-mode .newsletter-section h2,
body.dark-mode .newsletter-section p,
body.dark-mode .donation-box h3,
body.dark-mode .donation-box p,
body.dark-mode .donation-box i {
    color: #ffffff !important;
}

body.dark-mode .footer-link {
    color: #9ca3af !important;
    /* Cinza claro para links */
}

body.dark-mode .footer-link:hover {
    color: #ffffff !important;
}

/* Testemunhos: Cards devem ser escuros, não claros */
body.dark-mode .testimonial-card-item {
    background: #1f2937 !important;
    /* Card cinza escuro */
    border: 1px solid #374151;
}

body.dark-mode .testimonial-text {
    color: #d1d5db !important;
}

body.dark-mode .author-name {
    color: #ffffff !important;
}

body.dark-mode .author-role {
    color: #9ca3af !important;
}

/* Input da Newsletter */
body.dark-mode .newsletter-input {
    background-color: #f3f4f6;
    /* Mantém input claro para contraste */
    color: #1f2937;
}

/* Correção Títulos de Seção 'White' (que usam classe específica) */
body.dark-mode .section-heading-white h2 {
    color: #ffffff !important;
}

body.dark-mode .section-heading-white p {
    color: rgba(255, 255, 255, 0.8) !important;
}


/* Correção para Textos em Imagens de Cabeçalho (Hero e Page Header)
   Estas seções têm imagem de fundo escura, então o texto deve permanecer branco sempre.
*/
body.dark-mode .hero-section,
body.dark-mode .page-header {
    color: #ffffff !important;
}

body.dark-mode .hero-title,
body.dark-mode .hero-subtitle,
body.dark-mode .page-title,
body.dark-mode .page-breadcrumb,
body.dark-mode .page-breadcrumb a {
    color: #ffffff !important;
}

body.dark-mode .page-breadcrumb a:hover {
    color: var(--secondary-400) !important;
    /* Mantém hover dourado */
}


/* Correção para Timeline (Nossa Jornada) 
   Manter caixas brancas e texto escuro para legibilidade, conforme solicitado.
*/
body.dark-mode .timeline-content {
    background-color: #ffffff !important;
    border-color: #e5e7eb;
}

body.dark-mode .timeline-text {
    color: #111827 !important;
    /* Texto escuro forçado */
}


/* =========================================
   BOTÃO TOGGLE ANIMADO (Pill Switch)
   ========================================= */

/* Container do Botão */
/* Botão Toggle */
.btn-theme-toggle {
    width: 64px;
    height: 32px;
    background: linear-gradient(to right, #60a5fa, #93c5fd);
    /* Céu Azul (Dia) */
    border-radius: 9999px;
    border: 2px solid #ffffff;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    transition: all 0.5s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Fundo Preto/Noturno no Dark Mode */
body.dark-mode .btn-theme-toggle {
    background: linear-gradient(to right, #1e3a8a, #0f172a);
    /* Céu Noturno (Noite) */
    border-color: #374151;
}

/* Ocultar o ícone antigo se ele ainda existir no HTML original antes do JS rodar */
.btn-theme-toggle>i {
    display: none;
}

/* Ícones Internos (Sol e Lua) */
.toggle-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

/* Lua (Visível quando Dark Mode) */
.toggle-icon.moon {
    right: 8px;
    color: #ffd700;
    opacity: 0;
    transform: translateX(10px);
}

body.dark-mode .toggle-icon.moon {
    opacity: 1;
    transform: translateX(0);
}

/* Sol (Visível quando Light Mode) */
.toggle-icon.sun {
    left: 8px;
    color: #ffffff;
    opacity: 1;
    transform: translateX(0);
}

body.dark-mode .toggle-icon.sun {
    opacity: 0;
    transform: translateX(-10px);
}

/* A Bola (Knob) */
.toggle-ball {
    width: 24px;
    height: 24px;
    background-color: #fefce8;
    /* Amarelo muito claro (Sol) */
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 4px;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), background-color 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Bola no Modo Escuro (Move para a direita) */
body.dark-mode .toggle-ball {
    transform: translateX(30px);
    background-color: #ffffff;
}

/* Ajuste Fino: Hover */
.btn-theme-toggle:hover .toggle-ball {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Para o switch mobile, remover margens extras que conflitem */
.mobile-menu-header .btn-theme-toggle {
    margin: 0;
    margin-left: 1rem;
}

/* ======================================================
   TOGGLE ATUALIZADO (Lógica Invertida + Estrelas)
   ====================================================== */

/* 1. Reset da lógica antiga de opacidade para ícones simples */
body.dark-mode .toggle-icon.moon {
    display: none;
}

body.dark-mode .toggle-icon.sun {
    opacity: 0;
}

/* Reset padrão */

/* Container para agrupamento */
.toggle-icons-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Ícone Base */
.toggle-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.4s ease;
    z-index: 1;
}

/* 
   LOGICA NOVA (CTA):
   - Modo Claro (Light): Mostra LUA (CTA para Dark) na direita.
   - Modo Escuro (Dark): Mostra SOL (CTA para Light) na esquerda.
*/

/* --- LUA + ESTRELAS (LIGHT MODE) --- */
.toggle-icon.moon-group {
    right: 8px;
    /* Lado direito livre */
    color: #fcd34d;
    /* Dourado */
    opacity: 1;
    transform: translateX(0) translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

/* Tamanho da Lua */
.toggle-icon.moon-group i.fa-moon {
    font-size: 14px;
}

/* Estrelas */
.toggle-icon.moon-group .star-1,
.toggle-icon.moon-group .star-2 {
    position: absolute;
    font-size: 6px;
    color: #ffffff;
    animation: twinkle 3s infinite ease-in-out;
}

.toggle-icon.moon-group .star-1 {
    top: 0;
    right: 0;
}

.toggle-icon.moon-group .star-2 {
    bottom: 0;
    right: 12px;
    animation-delay: 1.5s;
}

/* Esconder Lua no Dark Mode */
body.dark-mode .toggle-icon.moon-group {
    opacity: 0;
    transform: translateX(20px) translateY(-50%);
}

/* --- SOL (DARK MODE) --- */
.toggle-icon.sun {
    left: 8px;
    /* Lado esquerdo livre */
    color: #ffffff;
    opacity: 0;
    /* Escondido no Light Mode */
    transform: translateX(-20px) translateY(-50%);
    font-size: 14px;
}

/* Mostrar Sol no Dark Mode */
body.dark-mode .toggle-icon.sun {
    opacity: 1;
    transform: translateX(0) translateY(-50%);
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}


/* ======================================================
   TOGGLE PRETO E BRANCO (Final Strict - Simétrico + Sol Animado)
   ====================================================== */

/* Reset de estilos anteriores */
.btn-theme-toggle {
    background: #e5e7eb !important;
    /* Cinza claro */
    border: none !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

/* .btn-theme-toggle styles commented out
body.dark-mode .btn-theme-toggle {
    background: #111827 !important;
    border: 1px solid #374151 !important;
} 
*/

/* Container de ícones */
.toggle-icons-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Ícone Base */
.toggle-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    /* Largura fixa para garantir centralização */
    height: 24px;
}

/* --- SOL (LIGHT MODE - Lado Esquerdo) --- */
.toggle-icon.sun {
    left: 4px !important;
    /* Centralizado no espaço vazio (32px / 2 - 12px = 4px) */
    color: #111827 !important;
    opacity: 1 !important;
}

/* Sol Animado (Rotação Suave) */
.toggle-icon.sun i {
    animation: sun-spin 10s linear infinite;
    /* Efeito no Sol */
    font-size: 16px;
}

/* No Dark Mode o Sol some */
body.dark-mode .toggle-icon.sun {
    opacity: 0 !important;
    transform: translateX(-10px) translateY(-50%) !important;
}

/* --- LUA (DARK MODE - Lado Direito) --- */
.toggle-icon.moon-group {
    right: 4px !important;
    /* Simetria perfeita com o Sol */
    color: #ffffff !important;
    opacity: 0 !important;
    transform: translateX(10px) translateY(-50%) !important;
}

/* No Dark Mode a Lua aparece */
body.dark-mode .toggle-icon.moon-group {
    opacity: 1 !important;
    transform: translateX(0) translateY(-50%) !important;
}

/* Estrelas da Lua */
.toggle-icon.moon-group .star-1,
.toggle-icon.moon-group .star-2 {
    color: #ffffff;
    animation: twinkle 3s infinite ease-in-out;
}

/* --- BOLA (TOGGLE BALL) --- */
/* Light Mode: Bola na Direita (Preta) */
.toggle-ball {
    width: 26px !important;
    height: 26px !important;
    background-color: #111827 !important;
    /* Preto */
    border-radius: 50% !important;
    position: absolute !important;
    top: 3px !important;
    left: 3px !important;
    transform: translateX(32px) !important;
    /* Move exatos 32px para a direita */
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), background-color 0.3s !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3) !important;
}

/* Dark Mode: Bola na Esquerda (Branca) */
body.dark-mode .toggle-ball {
    background-color: #ffffff !important;
    /* Branco */
    transform: translateX(0) !important;
}

/* Animação do Sol */
@keyframes sun-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- BOTÃO CÁPSULA 3D (DESIGN FINAL) --- */

/* Container para ajuste de margem */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.theme-toggle-capsule {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
}

/* O Trilho (Fundo da cápsula) */
.toggle-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 70px;
    /* Reduzido, mas um pouco mais largo para acomodar a bola */
    height: 46px;
    /* Altura original restaurada */
    background-color: #e0e5ec;
    /* Cor base clara */
    border-radius: 50px;
    padding: 4px;
    /* Padding original restaurado */
    position: relative;
    /* Efeito de profundidade (afundado) */
    box-shadow: inset 4px 4px 8px #a3b1c6, inset -4px -4px 8px #ffffff;
    transition: all 0.6s ease;
    /* Aumentado para 0.6s para sincronia */
}

/* O Indicador (Botão deslizante) */
.toggle-indicator {
    width: 38px;
    /* Tamanho original restaurado */
    height: 38px;
    /* Tamanho original restaurado */
    background-color: #3730a3;
    /* Azul escuro (Lua) */
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    /* Fonte original restaurada */
    position: relative;
    z-index: 2;
    /* Efeito 3D saltado */
    /* Efeito 3D saltado */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55), background-color 0.6s;
    transform: translateX(0);
    /* Posição Esquerda */
}

/* O Texto */
.toggle-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0;
    /* Texto oculto devido ao tamanho reduzido */
    color: #64748b;
    position: absolute;
    right: 8px;
    /* Texto fixo na direita no modo claro */
    pointer-events: none;
    transition: opacity 0.3s;
}

/* --- ESTADOS DARK MODE ATIVO --- */
/* Atualizado para suportar a classe .capsule-active no botão independentemente do tema */
/* Atualizado para suportar a classe .capsule-active no botão independentemente do tema */
.theme-toggle-capsule.capsule-active .toggle-track {
    background-color: #1e293b;
    /* Fundo escuro */
    box-shadow: inset 4px 4px 10px #0f172a, inset -4px -4px 10px #2d3748;
}

/* Atualizado para suportar a classe .capsule-active no botão independentemente do tema */
/* Atualizado para suportar a classe .capsule-active no botão independentemente do tema */
.theme-toggle-capsule.capsule-active .toggle-indicator {
    transform: translateX(24px);
    /* Desliza para a direita (70px width - 38px ball - 8px total padding = 24px travel) */
    background-color: #fbbf24;
    /* Amarelo (Sol) */
    color: #1e293b;
}

body.dark-mode .toggle-text {
    color: #cbd5e1;
    right: auto;
    left: 16px;
    /* Texto muda para a esquerda */
}

/* Ajuste Mobile */
/* Ajuste Mobile */
@media (max-width: 991px) {
    .theme-switch-wrapper {
        margin: 10px 0 10px 15px;
    }

    /* Toggle específico do Header Mobile (fora do menu) */
    .mobile-header-toggle {
        display: flex !important;
        margin-right: 15px;
        margin-left: auto;
        /* Empurra para a direita, perto do hambúrguer */
    }
}

/* Hide mobile header toggle on desktop */
@media (min-width: 992px) {
    .mobile-header-toggle {
        display: none !important;
    }
}

/* =========================================
   LAYOUT COM SIDEBAR (ESTUDOS)
   ========================================= */
.page-with-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .page-with-sidebar {
        flex-direction: row;
        align-items: flex-start;
    }
}

.main-content {
    flex: 1;
    width: 100%;
}

.sidebar {
    width: 100%;
}

@media (min-width: 992px) {
    .sidebar {
        width: 350px;
        flex-shrink: 0;
        position: sticky;
        top: 100px;
    }
}

/* Intro Text */
.intro-text p {
    color: var(--gray-600);
}

/* Grids Específicos */
.cards-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .cards-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .cards-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Novo Estilo de Card: .study-card */
.study-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    /* Added border as requested */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.study-img-container {
    height: 180px;
    overflow: hidden;
}

.study-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.study-card:hover .study-img {
    transform: scale(1.05);
}

.study-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.study-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-500);
    /* Cor Ecap/Categoria */
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.study-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: auto;
    /* Empurra o link para o rodapé do card */
    line-height: 1.4;
}

.study-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0ea5e9;
    /* Azul claro estilo referência */
    text-decoration: underline;
    text-underline-offset: 4px;
}

.study-link:hover {
    color: #0284c7;
}

/* =========================================
   WIDGETS DA SIDEBAR
   ========================================= */
.widget {
    margin-bottom: 3rem;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-900);
    margin-bottom: 1.5rem;
    border-bottom: 2px insert #e2e8f0;
    padding-bottom: 0.5rem;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-500);
}

/* Widget: Search */
.search-form {
    position: relative;
    display: flex;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 2rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: var(--secondary-500);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #0ea5e9;
    cursor: pointer;
    font-size: 1.125rem;
    padding: 0.5rem;
}

/* Widget: Lists */
.widget-list li {
    margin-bottom: 1rem;
}

.widget-list a {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.5;
    display: block;
}

.widget-list a:hover {
    color: var(--secondary-600);
}

.widget-link-all {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0ea5e9;
    text-decoration: underline;
}

/* Widget: Ad Banner */
.ad-banner {
    background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 100%);
    border-radius: 0.5rem;
    color: var(--white);
    text-align: center;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.ad-content h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.9;
}

.cta-box {
    background-color: darken(#4c1d95, 10%);
    /* Fallback or simplified */
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 0.5rem;
}

.cta-box h5 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn-cta {
    display: inline-block;
    background-color: #be185d;
    /* Rosa/Vermelho estilo referência */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-cta:hover {
    background-color: #9d174d;
    color: white;
}

/* =========================================
   PÁGINA DE CÉLULAS
   ========================================= */

/* Why Participate Grid */
.why-participate-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .why-participate-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--gray-100);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-500);
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-900);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 1rem;
}

/* Cell Card Styles */
.cell-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cell-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.cell-header {
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
}

/* Color Variants for Cell Headers */
.bg-primary-100 {
    background-color: var(--primary-100);
}

.bg-green-100 {
    background-color: #dcfce7;
}

.bg-blue-100 {
    background-color: #dbeafe;
}

.bg-orange-100 {
    background-color: #ffedd5;
}

.bg-red-100 {
    background-color: #fee2e2;
}

.bg-purple-100 {
    background-color: #f3e8ff;
}

.cell-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.cell-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.cell-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cell-slogan {
    font-style: italic;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.cell-details {
    list-style: none;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.cell-details li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    color: var(--gray-700);
}

.cell-details li i {
    color: var(--primary-700);
    width: 20px;
    margin-right: 0.5rem;
    margin-top: 4px;
}

.cell-body .btn {
    margin-top: auto;
}

/* CTA Section Styles are inline in HTML for simplicity, 
   but basic typography inherits from global styles */
/* =========================================
   ESTILO GAMMA (DARK & GOLD)
   ========================================= */
:root {
    --bg-gamma-dark: #121212;
    --bg-gamma-section: #1a1a1a;
    --bg-gamma-card: #222222;
    --gamma-gold: #c5a059;
    /* Cor Dourada Principal */
    --gamma-gold-light: #e6c885;
    /* Dourado Claro para hover */
    --gamma-text-main: #f0f0f0;
    --gamma-text-muted: #a0a0a0;
    --font-gamma-serif: 'Lora', serif;
    --font-gamma-sans: 'Raleway', sans-serif;
}

/* Utilitário para o Tema Gamma */
.gamma-theme {
    background-color: var(--bg-gamma-dark);
    color: var(--gamma-text-main);
    font-family: var(--font-gamma-sans);
}

.gamma-theme h1,
.gamma-theme h2,
.gamma-theme h3,
.gamma-theme h4 {
    font-family: var(--font-gamma-serif);
    color: var(--gamma-gold);
}

.gamma-section {
    padding: 4rem 1rem;
    background-color: var(--bg-gamma-dark);
}

.gamma-section-alt {
    background-color: var(--bg-gamma-section);
}

.gamma-intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.gamma-intro-text p {
    color: var(--gamma-text-muted);
    font-size: 1.125rem;
    line-height: 1.8;
}

.gamma-highlight {
    color: var(--gamma-gold);
    font-weight: 700;
}

/* Feature Cards (Why Participate) - Gamma Style */
.gamma-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .gamma-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gamma-feature-card {
    background-color: var(--bg-gamma-card);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(197, 160, 89, 0.1);
    /* Sutil borda dourada */
}

.gamma-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.3), 0 0 20px rgba(197, 160, 89, 0.2);
    /* Brilho dourado por baixo */
    border-color: rgba(197, 160, 89, 0.5);
}

.gamma-feature-icon {
    font-size: 2.5rem;
    color: var(--gamma-gold);
    margin-bottom: 1.5rem;
}

.gamma-feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gamma-text-main);
    /* Título branco/claro no card */
}

.gamma-feature-card p {
    color: var(--gamma-text-muted);
}

/* Cell Cards (Encontre sua Célula) - Gamma Style */
.gamma-cell-card {
    background-color: var(--bg-gamma-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gamma-cell-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--gamma-gold);
}

.gamma-cell-header {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.1) 0%, rgba(197, 160, 89, 0.05) 100%);
    padding: 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gamma-cell-icon {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 0;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.gamma-cell-title {
    /* color: var(--gamma-gold) !important; Removido para usar gradiente */
    background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: none;
    /* Text-shadow não funciona bem com gradiente de texto */
    font-size: 1.75rem;
    margin: 0;
    padding: 1rem 0;
}

.gamma-cell-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gamma-cell-slogan {
    color: var(--gamma-text-main);
    font-style: italic;
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.gamma-cell-details {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.gamma-cell-details li {
    margin-bottom: 1rem;
    color: var(--gamma-text-muted);
    display: flex;
    align-items: flex-start;
}

.gamma-cell-details li i {
    color: var(--gamma-gold);
    width: 24px;
    margin-right: 0.75rem;
    margin-top: 4px;
}

.gamma-cell-details li strong {
    color: var(--gamma-text-main);
    margin-right: 0.25rem;
}

/* Buttons Gamma */
.btn-gamma-gold {
    background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    /* Gradiente Dourado Metálico Intenso */
    background-size: 200% auto;
    color: #121212;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    /* Quinas levemente laqueadas */
    border: 1px solid #996e1a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
    width: 100%;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-gamma-gold:hover {
    background-position: right center;
    /* Move o gradiente para dar efeito de brilho */
    background: linear-gradient(135deg, #d4af37 0%, #fff8db 25%, #d4af37 50%, #fff8db 75%, #b8860b 100%);
    /* Mais brilhante no hover */
    background-size: 200% auto;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.5);
    color: #000;
}

.btn-gamma-outline {
    background-color: transparent;
    border: 2px solid var(--gamma-gold);
    color: var(--gamma-gold);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    /* Match btn-gamma-gold */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
    width: 100%;
}

.btn-gamma-outline:hover {
    background-color: var(--gamma-gold);
    color: #121212;
}

/* Ajuste Específico para o CTA no final */
.gamma-cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border: 1px solid var(--gamma-gold);
    border-radius: 12px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.1);
}

.gamma-cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 600px) {
    .gamma-cta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .gamma-cta-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .gamma-cta-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .gamma-cta-grid>div {
        /* (100% - (4 * 1.5rem gap)) / 5 items = (100% - 6rem) / 5 = 20% - 1.2rem */
        flex: 0 0 calc(20% - 1.2rem);
        max-width: calc(20% - 1.2rem);
    }
}

/* =========================================
   GALERIA FLUIDA E LIGHTBOX
   ========================================= */

.gallery-fluid-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
}

@media (min-width: 768px) {
    .gallery-fluid-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .gallery-fluid-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 4px solid var(--white);
    /* Borda solicitada */
    background-color: var(--white);
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-thumb {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-400);
}

.gallery-overlay span {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    display: block;
    /* Ensure display is toggled */
}

.modal-content-wrapper {
    position: relative;
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    max-height: 80vh;
}

.modal-content {
    margin: auto;
    display: block;
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    font-size: 1.1rem;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--secondary-400);
    text-decoration: none;
    cursor: pointer;
}

.prev-slide,
.next-slide {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    z-index: 2001;
}

.next-slide {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-slide {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.prev-slide:hover,
.next-slide:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--secondary-400);
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

/* =========================================
   VIDEO LIGHTBOX STYLES
   ========================================= */
.video-modal-content {
    width: 90%;
    max-width: 900px;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    margin: auto;
}

/* 16:9 Responsive Ratio */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-options-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-video-option {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
}

.btn-video-option:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
    color: var(--white);
}

/* Ensure lightbox uses flex for centering */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-modal.active {
    display: flex;
}

/* =========================================
   FAQ ACCORDION
   ========================================= */
.accordion {
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-300);
}

.accordion-item {
    border-bottom: 1px solid var(--gray-300);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: var(--gray-100);
}

.accordion-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-800);
    padding-right: 1rem;
    line-height: 1.4;
}

.accordion-icon {
    font-size: 0.9rem;
    color: var(--gray-500);
    transition: transform 0.3s ease;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
    color: var(--primary-700);
}

.accordion-header[aria-expanded="true"] {
    background-color: var(--gray-50);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--white);
}

.accordion-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--gray-700);
    line-height: 1.6;
    font-size: 1rem;
    border-top: 1px solid transparent;
    /* Fix collapse jumping */
}

/* Dark Mode Overrides for Accordion */
body.dark-mode .accordion {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

body.dark-mode .accordion-item {
    border-bottom-color: var(--gray-700);
}

body.dark-mode .accordion-header {
    background: var(--gray-800);
    color: var(--white);
}

body.dark-mode .accordion-header:hover {
    background-color: var(--gray-700);
}

body.dark-mode .accordion-title {
    color: var(--white);
    /* Or a lighter primary shade */
}

body.dark-mode .accordion-header[aria-expanded="true"] {
    background-color: var(--gray-700);
}

body.dark-mode .accordion-content {
    background-color: var(--gray-800);
}

body.dark-mode .accordion-body {
    color: var(--gray-50);
}

/* =========================================
   TIMELINE DARK MODE FIX
   ========================================= */
body.dark-mode .timeline-year {
    color: var(--secondary-400);
    /* Destaque em Dourado/Amber */
}

/* Mais específico para garantir a cor */
body.dark-mode .timeline .timeline-item .timeline-subtitle {
    color: #ffffff !important;
}

/* Location Icon Image */
.info-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* =========================================
   CALENDAR WIDGET
   ========================================= */
.calendar-widget {
    display: flex;
    flex-direction: column;
    width: 68px;
    height: 68px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-right: 1rem;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.calendar-widget:hover,
.calendar-widget:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
    outline: none;
}

.calendar-widget::after {
    content: attr(data-calendar-label);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(6px);
    white-space: nowrap;
    background: rgba(15, 23, 42, 0.92);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.calendar-widget:hover::after,
.calendar-widget:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.calendar-top {
    background-color: #2563eb;
    color: white;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.1;
    padding: 6px 8px;
    gap: 1px;
}

.cal-month {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-bottom: 1px;
}

.cal-year {
    font-size: 0.55rem;
    font-weight: 600;
    opacity: 0.9;
    line-height: 1;
}

.calendar-bottom {
    background-color: #f8fafc;
    color: #1e293b;
    height: 65%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.cal-day {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

/* Dark Mode Support for Calendar */
body.dark-mode .calendar-widget {
    background: #1e293b;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

body.dark-mode .calendar-top {
    background-color: #3b82f6;
}

body.dark-mode .calendar-bottom {
    background-color: #0f172a;
    color: #f8fafc;
}

body.dark-mode .cal-day {
    color: #f8fafc;
}

.calendar-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 180;
}

.calendar-modal.active {
    display: flex;
}

body.calendar-modal-open {
    overflow: hidden;
}

.calendar-modal-dialog {
    width: min(1120px, 100%);
    max-height: 92vh;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 255, 0.98));
    border-radius: 1.5rem;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
    overflow: hidden;
}

.calendar-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(90deg, rgba(14, 71, 110, 0.96), rgba(65, 69, 155, 0.94));
    color: #fff;
}

.calendar-modal-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.84;
}

.calendar-modal-header h3 {
    margin: 0.35rem 0 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    line-height: 1.05;
}

.calendar-modal-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.calendar-modal-close {
    width: 2.8rem;
    height: 2.8rem;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    cursor: pointer;
}

.calendar-modal-frame-wrap {
    background: #eef2ff;
    padding: 0;
}

.calendar-modal-frame-wrap iframe {
    display: block;
    width: 100%;
    height: min(78vh, 820px);
    border: 0;
    background: #fff;
}

body.dark-mode .calendar-widget::after {
    background: rgba(248, 250, 252, 0.95);
    color: #0f172a;
}

body.dark-mode .calendar-modal-dialog {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95));
}

body.dark-mode .calendar-modal-frame-wrap {
    background: #0f172a;
}

@media (max-width: 900px) {
    .calendar-modal-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .calendar-modal-actions {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 640px) {
    .calendar-modal {
        padding: 0.75rem;
    }

    .calendar-modal-dialog {
        border-radius: 1rem;
    }

    .calendar-modal-header {
        padding: 1rem;
    }

    .calendar-modal-header h3 {
        font-size: 1.3rem;
    }

    .calendar-modal-frame-wrap iframe {
        height: 72vh;
    }
}

/* =========================================
   ACESSO AO SITE E CURSOS
   ========================================= */
.site-auth-slot {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-header-auth-slot {
    display: none !important;
}

@media (max-width: 640px) {
    .mobile-header-auth-slot {
        display: inline-flex !important;
    }

    .header-container {
        gap: 0.25rem;
    }

    .logo-area {
        min-width: 0;
    }

    .logo-img {
        height: 2.25rem;
        margin-right: 0.35rem;
    }

    .logo-short {
        font-size: 1.05rem;
        white-space: nowrap;
    }

    .mobile-header-auth-slot .btn {
        min-width: 78px;
        height: 38px;
        padding-left: 0.45rem;
        padding-right: 0.45rem;
        font-size: 0.78rem;
    }

    .mobile-header-toggle {
        display: none !important;
    }

    .btn-menu-mobile {
        flex: 0 0 auto;
        width: 32px;
        height: 38px;
        padding: 0;
        font-size: 1.2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero-title {
        font-size: 1.68rem;
        line-height: 1.18;
        max-width: 17rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-subtitle {
        max-width: 100%;
        font-size: 0.98rem;
        line-height: 1.45;
    }

    .hero-actions .btn {
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }
}

/* Ajuste fino para celulares menores: preserva a ordem
   IBSI -> usuário -> tema -> menu sem colisão entre os blocos. */
@media (max-width: 420px) {
    :root {
        --container-padding: 0.75rem;
    }

    .header-container {
        gap: 0.25rem;
    }

    .logo-area {
        flex: 0 1 auto;
        min-width: 0;
    }

    .logo-img {
        height: 2.25rem;
        margin-right: 0.35rem;
    }

    .logo-short {
        font-size: 1.05rem;
        white-space: nowrap;
    }

    .mobile-header-auth-slot {
        margin-left: auto;
    }

    .mobile-header-auth-slot .btn {
        min-width: 78px;
        height: 38px;
        padding-left: 0.45rem;
        padding-right: 0.45rem;
        font-size: 0.78rem;
    }

    .mobile-header-toggle {
        display: none !important;
    }

    .btn-menu-mobile {
        flex: 0 0 auto;
        width: 32px;
        height: 38px;
        padding: 0;
        font-size: 1.2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero-title {
        font-size: 1.68rem;
        line-height: 1.18;
        max-width: 17rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-subtitle {
        max-width: 100%;
        font-size: 0.98rem;
        line-height: 1.45;
    }

    .hero-actions .btn {
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }
}

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

/* Modo ultracompacto para telas de relógio, como Apple Watch Series 6 (162x197).
   Mantém identidade, acolhimento e ações essenciais sem afetar os demais breakpoints. */
@media (max-width: 240px) and (max-height: 240px) {
    :root {
        --container-padding: 0.42rem;
    }

    body {
        overflow-x: hidden;
    }

    .main-header {
        position: static;
        padding: 0.28rem 0;
    }

    .header-container {
        gap: 0.22rem;
    }

    .logo-area {
        flex: 1 1 auto;
        min-width: 0;
    }

    .logo-img {
        height: 1.55rem;
        margin-right: 0.24rem;
    }

    .logo-short {
        font-size: 0.78rem;
    }

    .mobile-header-auth-slot,
    .mobile-header-toggle {
        display: none !important;
    }

    .btn-menu-mobile {
        padding: 0.08rem;
        font-size: 0.96rem;
    }

    .hero-section {
        padding: 0.68rem 0 0.76rem;
        background-position: center center;
    }

    .hero-title {
        font-size: 0.96rem;
        line-height: 1.18;
        margin-bottom: 0.42rem;
    }

    .hero-subtitle {
        max-width: none;
        font-size: 0.58rem;
        line-height: 1.32;
        margin-bottom: 0.52rem;
    }

    .hero-actions {
        gap: 0.32rem;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 0;
        padding: 0.38rem 0.34rem;
        border-radius: 0.38rem;
        font-size: 0.56rem;
        line-height: 1.15;
        text-align: center;
    }

    .hero-actions i {
        font-size: 0.52rem;
    }

    .quick-info-section {
        padding: 0.48rem 0 !important;
    }

    .quick-info-grid {
        gap: 0.34rem;
    }

    .info-item {
        align-items: center;
        margin-bottom: 0;
        gap: 0.28rem;
    }

    .location-info-trigger {
        width: 100%;
    }

    .info-content p {
        font-size: 0.48rem;
        line-height: 1.22;
    }

    .info-content p.label {
        margin-bottom: 0.08rem;
    }

    .info-icon-img {
        width: 1.28rem;
        height: 1.28rem;
        margin-right: 0;
    }

    .calendar-widget {
        width: 1.62rem;
        height: 1.62rem;
        margin-right: 0;
        border-radius: 0.24rem;
    }

    .calendar-top {
        padding: 0.08rem 0.1rem;
    }

    .cal-month {
        font-size: 0.22rem;
    }

    .cal-year {
        font-size: 0.18rem;
    }

    .cal-day {
        font-size: 0.72rem;
    }

    .calendar-widget::after,
    #acc-widget-container,
    .back-to-top,
    .scroll-to-top {
        display: none !important;
    }

    section.section,
    .testimonials-section,
    .cells-family-section,
    .newsletter-section,
    .main-footer {
        display: none;
    }
}

.site-auth-slot-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

[data-site-ibsi-link][hidden] {
    display: none !important;
}

.site-auth-trigger.is-authenticated {
    background: linear-gradient(135deg, rgba(67, 56, 202, 0.14), rgba(14, 71, 110, 0.08));
    border-color: rgba(67, 56, 202, 0.35);
}

.site-auth-modal {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.58);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 160;
}

.site-auth-modal.active {
    display: flex;
}

body.site-modal-open {
    overflow: hidden;
}

.site-auth-dialog {
    position: relative;
    width: min(560px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 255, 0.98));
    border-radius: 1.5rem;
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.28);
    padding: 2rem;
}

.site-course-dialog {
    width: min(840px, 100%);
}

.site-auth-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: none;
    background: rgba(67, 56, 202, 0.08);
    color: var(--primary-700);
    cursor: pointer;
}

.site-auth-panel h2 {
    margin-top: 0.35rem;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-900);
    line-height: 1.1;
}

.site-auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(67, 56, 202, 0.08);
    color: var(--primary-700);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-auth-subtitle {
    margin-top: 0.9rem;
    color: var(--gray-600);
    font-size: 1rem;
}

.site-auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.site-auth-tab {
    border: 1px solid rgba(67, 56, 202, 0.18);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-700);
    font-weight: 700;
    border-radius: 999px;
    padding: 0.8rem 1rem;
    cursor: pointer;
}

.site-auth-tab.active {
    background: linear-gradient(135deg, var(--primary-700), #0e476e);
    color: var(--white);
    border-color: transparent;
}

.site-auth-form {
    display: grid;
    gap: 1rem;
}

.site-auth-form label {
    display: grid;
    gap: 0.45rem;
}

.site-auth-form label span {
    font-weight: 700;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.site-auth-form input {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(107, 114, 128, 0.18);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
}


.site-auth-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0 1rem;
}

.site-auth-divider::before {
    content: '';
    position: absolute;
    inset: 50% 0 auto;
    border-top: 1px solid rgba(107, 114, 128, 0.18);
}

.site-auth-divider span {
    position: relative;
    display: inline-block;
    padding: 0 0.85rem;
    background: rgba(248, 250, 252, 0.95);
    color: var(--gray-500);
    font-size: 0.9rem;
}

.site-google-slot {
    min-height: 46px;
}

.site-auth-note,
.site-auth-feedback {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(14, 71, 110, 0.06);
    color: var(--gray-700);
    font-size: 0.95rem;
}

.site-auth-feedback {
    margin-bottom: 1rem;
    background: rgba(17, 189, 174, 0.12);
    color: #0f766e;
}

.site-account-summary {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.site-account-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(67, 56, 202, 0.08);
}

.site-account-row span {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.site-account-row strong {
    color: var(--gray-800);
    text-align: right;
}

.site-account-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.12);
    color: #c2410c;
}

.site-account-status.is-ready {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.site-auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.site-auth-dialog.site-account-dialog {
    width: min(620px, calc(100vw - 1rem));
    max-height: calc(100vh - 0.75rem);
    max-height: calc(100dvh - 0.75rem);
    overflow: hidden;
    box-sizing: border-box;
    padding: clamp(0.8rem, min(4.2vw, 4.2dvh), 4rem);
    border-radius: clamp(1.2rem, min(3.4vw, 3.4dvh), 2.65rem);
    border: 2px solid rgba(92, 88, 179, 0.58);
    background:
        radial-gradient(circle at 88% 96%, rgba(164, 235, 226, 0.18) 0%, rgba(164, 235, 226, 0) 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 247, 255, 0.98) 46%, rgba(236, 242, 255, 0.98) 100%);
    box-shadow:
        0 2.2rem 5.5rem rgba(32, 37, 91, 0.28),
        0 0.2rem 0.6rem rgba(67, 56, 202, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.site-account-dialog .site-auth-close {
    top: clamp(0.65rem, min(3vw, 3dvh), 3rem);
    right: clamp(0.65rem, min(3vw, 3dvh), 3rem);
    width: clamp(2.05rem, min(6.5vw, 5.4dvh), 5rem);
    height: clamp(2.05rem, min(6.5vw, 5.4dvh), 5rem);
    border: 2px solid rgba(80, 73, 180, 0.52);
    background: rgba(239, 237, 255, 0.82);
    color: #4a3ed2;
    font-family: 'Montserrat', var(--font-body);
    font-size: clamp(0.9rem, min(2.5vw, 2.1dvh), 2rem);
    font-weight: 800;
    line-height: 1;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-account-dialog .site-auth-close:hover {
    transform: translateY(-1px);
    background: rgba(230, 226, 255, 0.96);
    box-shadow: 0 0.75rem 1.75rem rgba(67, 56, 202, 0.14);
}

.site-account-dialog .site-auth-panel {
    display: grid;
    gap: 0;
}

.site-account-dialog .site-auth-kicker {
    min-height: clamp(2.05rem, min(6vw, 5dvh), 4.7rem);
    width: fit-content;
    max-width: calc(100% - 6rem);
    padding: 0 clamp(0.8rem, min(2.3vw, 2.2dvh), 1.45rem);
    border: 2px solid rgba(85, 77, 185, 0.56);
    border-radius: 999px;
    background: rgba(232, 229, 255, 0.72);
    color: #4b3fd0;
    font-family: 'Montserrat', var(--font-body);
    font-size: clamp(0.66rem, min(1.6vw, 1.55dvh), 1.05rem);
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.site-account-dialog .site-auth-panel h2 {
    margin-top: clamp(0.55rem, min(4.5vw, 2.6dvh), 3.9rem);
    margin-bottom: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.55rem, min(5.5vw, 5.3dvh), 4rem);
    font-weight: 800;
    line-height: 0.98;
    color: #30266f;
}

.site-account-dialog .site-auth-subtitle {
    margin-top: clamp(0.35rem, min(2.4vw, 1.25dvh), 2rem);
    color: #4f5a6b;
    font-size: clamp(0.82rem, min(2.8vw, 2dvh), 1.9rem);
    line-height: 1.32;
}

.site-account-dialog .site-account-summary {
    gap: clamp(0.35rem, min(2.6vw, 1.2dvh), 2rem);
    margin-top: clamp(0.55rem, min(4vw, 2dvh), 3.5rem);
}

.site-account-dialog .site-account-row {
    min-height: clamp(2.4rem, min(10vw, 6dvh), 7.55rem);
    align-items: center;
    gap: clamp(0.4rem, min(1.25vw, 1.1dvh), 1.25rem);
    padding: clamp(0.45rem, min(1.5vw, 1.15dvh), 1.15rem) clamp(0.8rem, min(3.3vw, 2.4dvh), 2.35rem);
    border: 2px solid rgba(112, 104, 197, 0.46);
    border-radius: 1.05rem;
    background:
        linear-gradient(90deg, rgba(226, 224, 252, 0.78) 0%, rgba(248, 250, 255, 0.96) 42%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.site-account-dialog .site-account-row span {
    color: #5a6170;
    font-size: clamp(0.78rem, min(2.5vw, 1.75dvh), 1.85rem);
    font-weight: 400;
    line-height: 1.15;
}

.site-account-dialog .site-account-row strong {
    min-width: 0;
    color: #1f2435;
    font-size: clamp(0.88rem, min(3vw, 2.35dvh), 2.25rem);
    font-weight: 800;
    line-height: 1.15;
    text-align: right;
    overflow-wrap: anywhere;
}

.site-account-separator {
    height: 2px;
    margin: clamp(0.5rem, min(5.5vw, 2.5dvh), 5.3rem) 0 clamp(0.45rem, min(5vw, 2.2dvh), 4.8rem);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(139, 141, 195, 0.34), rgba(255, 255, 255, 0));
}

.site-account-system-card {
    padding: clamp(0.55rem, min(3vw, 1.8dvh), 2.4rem);
    border: 2px solid rgba(92, 86, 190, 0.5);
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(220, 219, 255, 0.78), rgba(238, 243, 255, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.site-account-system-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(0.55rem, min(2.5vw, 1.7dvh), 2rem);
    align-items: center;
}

.site-account-system-icon {
    display: inline-grid;
    place-items: center;
    width: clamp(2.5rem, min(8vw, 5.6dvh), 4.75rem);
    height: clamp(2.5rem, min(8vw, 5.6dvh), 4.75rem);
    color: #5c78ed;
}

.site-account-system-icon img,
.site-account-system-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.site-account-system-icon img {
    object-fit: contain;
    filter: saturate(1.05) contrast(1.02);
}

.site-account-system-icon svg {
    fill: currentColor;
}

.site-account-system-copy h3 {
    margin: 0;
    color: #312b72;
    font-size: clamp(1rem, min(4vw, 2.9dvh), 2.95rem);
    font-weight: 800;
    line-height: 1.08;
}

.site-account-system-copy p {
    margin-top: clamp(0.2rem, min(1vw, 0.7dvh), 0.55rem);
    color: #6b70b2;
    font-size: clamp(0.78rem, min(3vw, 2.05dvh), 2.25rem);
    line-height: 1.15;
}

.site-account-system-button {
    width: 100%;
    min-height: clamp(2.15rem, min(7vw, 5dvh), 6rem);
    margin-top: clamp(0.5rem, min(2.4vw, 1.6dvh), 2rem);
    border: none;
    border-radius: 0.7rem;
    background: linear-gradient(90deg, #39356f 0%, #7d86c7 100%);
    color: #ffffff;
    cursor: pointer;
    font-size: clamp(0.9rem, min(3.5vw, 2.55dvh), 2.55rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.site-account-system-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 1rem 2.1rem rgba(49, 43, 114, 0.22);
    opacity: 0.96;
}

.site-account-or {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: clamp(0.6rem, min(3vw, 2dvh), 2.5rem);
    margin: clamp(0.6rem, min(5vw, 2dvh), 4.1rem) 0 clamp(0.45rem, min(4vw, 1.5dvh), 3.3rem);
    color: #a5b3c4;
    font-size: clamp(0.82rem, min(3vw, 2dvh), 2.3rem);
    font-weight: 400;
    letter-spacing: 0.08em;
}

.site-account-or::before,
.site-account-or::after {
    content: "";
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(151, 154, 197, 0.32));
}

.site-account-or::after {
    background: linear-gradient(90deg, rgba(151, 154, 197, 0.32), rgba(255, 255, 255, 0));
}

.site-auth-actions.site-account-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.55rem, min(3vw, 2dvh), 3.8rem);
    margin-top: 0;
}

.site-account-summary + .site-auth-actions.site-account-actions {
    margin-top: clamp(0.7rem, min(4vw, 2dvh), 3.3rem);
}

.site-account-action {
    min-height: clamp(2.3rem, min(8vw, 5dvh), 6rem);
    border-radius: 0.55rem;
    cursor: pointer;
    font-size: clamp(0.9rem, min(3vw, 2.35dvh), 2.1rem);
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-account-action--courses {
    border: none;
    background: linear-gradient(135deg, #37308f 0%, #4a3ed2 100%);
    color: #ffffff;
}

.site-account-action--courses:hover {
    transform: translateY(-1px);
    box-shadow: 0 1rem 2rem rgba(55, 48, 143, 0.22);
}

.site-account-action--logout {
    border: 2px solid #ff2a2f;
    background: rgba(255, 255, 255, 0.32);
    color: #f82b33;
    letter-spacing: 0.18em;
}

.site-account-action--logout:hover {
    transform: translateY(-1px);
    background: rgba(255, 42, 47, 0.06);
}

.site-courses-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    border-radius: 1.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 255, 0.96));
    border: 1px solid rgba(67, 56, 202, 0.08);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.site-courses-header {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.site-courses-header h2 {
    margin-top: 0.6rem;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-900);
}

.site-courses-header p {
    margin-top: 0.75rem;
    color: var(--gray-600);
    max-width: 42rem;
}

.site-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.site-course-card {
    overflow: hidden;
    border-radius: 1.4rem;
    border: 1px solid rgba(67, 56, 202, 0.08);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.site-course-card.is-locked {
    border-color: rgba(245, 158, 11, 0.16);
}

.site-course-cover {
    min-height: 180px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    background-size: cover;
    background-position: center;
    position: relative;
}

.site-course-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.68));
}

.site-course-chip,
.site-course-lock {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
}

.site-course-chip {
    background: rgba(67, 56, 202, 0.78);
}

.site-course-lock {
    background: rgba(245, 158, 11, 0.78);
}

.site-course-body {
    padding: 1.25rem;
}

.site-course-access {
    color: var(--primary-700);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-course-body h3 {
    margin-top: 0.45rem;
    font-size: 1.3rem;
    color: var(--primary-900);
    line-height: 1.25;
}

.site-course-body p {
    margin-top: 0.75rem;
    color: var(--gray-600);
    font-size: 0.98rem;
}

.site-course-footer {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--gray-500);
    font-size: 0.92rem;
}

.site-course-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 1.5rem;
    align-items: start;
}

.site-course-hero img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 1rem;
}

.site-course-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(67, 56, 202, 0.08);
    color: var(--primary-700);
    font-size: 0.82rem;
    font-weight: 700;
}

.site-course-meta {
    margin-top: 1rem;
    color: var(--gray-500);
    font-size: 0.95rem;
}

.site-course-content {
    margin-top: 1.5rem;
    color: var(--gray-700);
    font-size: 1rem;
}

.site-course-content h2,
.site-course-content h3 {
    color: var(--primary-900);
    margin-bottom: 0.75rem;
}

.site-course-content ul {
    list-style: disc;
    margin-left: 1.25rem;
}

.site-course-menu {
    display: grid;
    gap: 1.5rem;
}

.site-course-menu-header p {
    margin-top: 0.8rem;
    color: var(--gray-600);
    max-width: 42rem;
}

.site-course-menu-list {
    display: grid;
    gap: 1rem;
}

.site-course-menu-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1.2rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(67, 56, 202, 0.1);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.site-course-menu-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--primary-700), #0e476e);
    color: var(--white);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.site-course-menu-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.35rem;
    color: var(--primary-700);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-course-menu-content h3 {
    color: var(--primary-900);
    font-size: 1.2rem;
    line-height: 1.3;
}

.site-course-menu-content p {
    margin-top: 0.55rem;
    color: var(--gray-600);
    font-size: 0.96rem;
}

.site-course-menu-actions {
    display: grid;
    gap: 0.7rem;
    justify-items: end;
    min-width: 220px;
}

.site-course-menu-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(17, 189, 174, 0.12);
    color: #0f766e;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 1199px) {
    .site-auth-slot {
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .site-auth-dialog {
        padding: 1.35rem;
    }

    .site-courses-section {
        padding: 1.35rem;
    }

    .site-courses-header,
    .site-auth-actions,
    .site-course-footer,
    .site-course-hero {
        grid-template-columns: 1fr;
        display: grid;
    }

    .site-course-menu-item {
        grid-template-columns: 1fr;
    }

    .site-course-menu-actions {
        justify-items: start;
        min-width: 0;
    }

    .site-account-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .site-auth-dialog.site-account-dialog {
        max-height: calc(100vh - 0.5rem);
        max-height: calc(100dvh - 0.5rem);
        overflow: hidden;
        padding: clamp(0.55rem, 2.2dvh, 1.25rem);
        border-radius: clamp(1rem, 3dvh, 1.5rem);
    }

    .site-account-dialog .site-auth-close {
        width: clamp(1.9rem, 5.4dvh, 3rem);
        height: clamp(1.9rem, 5.4dvh, 3rem);
        top: clamp(0.55rem, 1.8dvh, 1rem);
        right: clamp(0.55rem, 1.8dvh, 1rem);
        font-size: clamp(0.82rem, 2dvh, 1.15rem);
    }

    .site-account-dialog .site-auth-kicker {
        max-width: calc(100% - 3.4rem);
        min-height: clamp(1.75rem, 4.6dvh, 2.65rem);
        padding: 0 clamp(0.7rem, 2dvh, 1rem);
        font-size: clamp(0.58rem, 1.55dvh, 0.78rem);
        letter-spacing: 0.12em;
    }

    .site-account-dialog .site-auth-panel h2 {
        margin-top: clamp(0.45rem, 1.6dvh, 1.3rem);
        font-size: clamp(1.45rem, 4.7dvh, 2.25rem);
    }

    .site-account-dialog .site-auth-subtitle {
        margin-top: clamp(0.25rem, 1dvh, 0.75rem);
        font-size: clamp(0.72rem, 1.95dvh, 1rem);
    }

    .site-account-dialog .site-account-summary {
        gap: clamp(0.25rem, 1dvh, 0.65rem);
        margin-top: clamp(0.45rem, 1.55dvh, 1.1rem);
    }

    .site-account-dialog .site-account-row {
        min-height: clamp(2.05rem, 5.8dvh, 3rem);
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: clamp(0.42rem, 1.25dvh, 0.8rem) clamp(0.6rem, 2dvh, 0.95rem);
        gap: clamp(0.3rem, 1dvh, 0.45rem);
    }

    .site-account-dialog .site-account-row span {
        font-size: clamp(0.66rem, 1.9dvh, 0.92rem);
    }

    .site-account-dialog .site-account-row strong {
        max-width: 72%;
        font-size: clamp(0.7rem, 2.05dvh, 0.98rem);
        text-align: right;
    }

    .site-account-separator {
        margin: clamp(0.55rem, 1.8dvh, 1.2rem) 0 clamp(0.45rem, 1.5dvh, 1rem);
    }

    .site-account-system-card {
        padding: clamp(0.5rem, 1.5dvh, 0.9rem);
    }

    .site-account-system-head {
        gap: clamp(0.45rem, 1.4dvh, 0.85rem);
    }

    .site-account-system-icon {
        width: clamp(1.9rem, 5dvh, 3rem);
        height: clamp(1.9rem, 5dvh, 3rem);
    }

    .site-account-system-copy h3 {
        font-size: clamp(0.9rem, 2.65dvh, 1.25rem);
    }

    .site-account-system-copy p {
        margin-top: 0.15rem;
        font-size: clamp(0.68rem, 1.9dvh, 0.92rem);
    }

    .site-account-system-button {
        min-height: clamp(2.05rem, 5dvh, 3.05rem);
        margin-top: clamp(0.45rem, 1.35dvh, 0.8rem);
        font-size: clamp(0.78rem, 2.25dvh, 1.05rem);
    }

    .site-account-or {
        margin: clamp(0.45rem, 1.35dvh, 0.9rem) 0 clamp(0.35rem, 1.1dvh, 0.75rem);
        gap: clamp(0.45rem, 1.35dvh, 0.8rem);
        font-size: clamp(0.72rem, 1.9dvh, 0.95rem);
    }

    .site-auth-actions.site-account-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(0.5rem, 1.5dvh, 0.85rem);
    }

    .site-account-action {
        min-height: clamp(2.05rem, 5dvh, 3.05rem);
        font-size: clamp(0.74rem, 2.1dvh, 1rem);
    }
}

@media (max-height: 620px) {
    .site-auth-modal {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }

    .site-auth-dialog.site-account-dialog {
        max-height: calc(100vh - 0.35rem);
        max-height: calc(100dvh - 0.35rem);
        padding: clamp(0.45rem, 1.55dvh, 0.95rem);
    }

    .site-account-dialog .site-auth-subtitle {
        line-height: 1.18;
    }

    .site-account-dialog .site-account-row {
        min-height: clamp(1.9rem, 5.3dvh, 2.45rem);
    }

    .site-account-system-card {
        padding: clamp(0.42rem, 1.25dvh, 0.75rem);
    }

    .site-account-or::before,
    .site-account-or::after {
        height: 1px;
    }
}

/* =========================================
   ESTILOS MODERNOS - PÁGINA DE MINISTÉRIOS
   ========================================= */

/* Novo Hero Design */
.ministry-hero {
    position: relative;
    padding: 10rem 0 8rem;
    background: linear-gradient(rgba(17, 24, 39, 0.75), rgba(17, 24, 39, 0.85)), url('_imagens/fundo-culto-igreja-batista-siao.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    border-bottom: 4px solid var(--secondary-500);
}

.ministry-hero .kicker {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid var(--secondary-500);
    color: var(--secondary-400);
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}

.ministry-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

/* Filtros */
.ministry-filters-container {
    background: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: var(--header-height);
    z-index: 40;
    margin-bottom: 4rem;
}

.filters-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 99px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
    border-color: var(--primary-700);
    color: var(--primary-700);
}

.filter-btn.active {
    background: var(--primary-700);
    color: var(--white);
    border-color: var(--primary-700);
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.3);
}

/* Cards de Ministério Evoluídos */
.ministry-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ministry-card .card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.ministry-card .card-img {
    transition: transform 0.6s ease;
}

.ministry-card:hover .card-img {
    transform: scale(1.1);
}

.ministry-card .ministry-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: var(--primary-900);
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-meta-info {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-100);
    font-size: 0.85rem;
    color: var(--gray-500);
}

.card-meta-info i {
    color: var(--secondary-500);
}

/* Seção Por Que Servir */
.why-serve {
    padding: 8rem 0;
    background: var(--gray-900);
    color: var(--white);
    position: relative;
}

.why-serve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.serve-value-item {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.serve-value-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
}

.serve-value-item i {
    font-size: 2.5rem;
    color: var(--secondary-500);
    margin-bottom: 2rem;
    display: block;
}

/* Passo a Passo */
.step-item {
    text-align: center;
    position: relative;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: var(--primary-700);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 16px rgba(67, 56, 202, 0.2);
}

/* FAQ Rápido */
.ministry-faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.faq-trigger {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-900);
    text-align: left;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
    color: var(--gray-600);
}

.faq-item.active .faq-content {
    max-height: 300px;
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-trigger i {
    transform: rotate(180deg);
}

/* Dark Mode Overrides */
[data-theme="dark"] .ministry-filters-container {
    background: var(--gray-800);
}

[data-theme="dark"] .filter-btn {
    background: var(--gray-900);
    color: var(--gray-400);
    border-color: var(--gray-700);
}

[data-theme="dark"] .faq-item {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

[data-theme="dark"] .faq-trigger {
    color: var(--white);
}

