:root {
    /* ===== CORES PRINCIPAIS ===== */
    --accent: #0B2A3C;
    /* azul petróleo principal */
    --accent-600: #071E2C;
    /* azul petróleo escuro */
    --accent-100: rgba(11, 42, 60, 0.10);
    /* azul petróleo claro (overlay) */
    --secondary: #C4A24A;
    /* dourado fosco */

    /* Paleta base */
    --page-bg: #F7F7F5;
    /* off-white */
    --bg: #FFFFFF;
    /* branco */
    --surface: #FFFFFF;
    /* branco */
    --border: #E6E8EB;
    /* borda leve */

    /* Tipografia */
    --text-primary: #0F172A;
    /* texto principal */
    --text-secondary: #475569;
    /* texto secundário */
    --text-muted: #8A93A3;
    /* texto suave / legenda */

    /* Tons de fundo */
    --muted: #F1F2F3;
    /* cinza muito suave */

    /* Estados */
    --success: #16A34A;
    --error: #DC2626;

    /* Gradientes */
    --gradient-accent: linear-gradient(180deg, #0B2A3C 0%, #071E2C 100%);
    --gradient-secondary: linear-gradient(135deg, #C4A24A, rgba(196, 162, 74, 0.14));

    /* ===== SOMBRAS, BORDAS E ESPAÇAMENTOS ===== */
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.10);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.12);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 50%;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 4rem;

    /* ===== TIPOGRAFIA ===== */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial;

    /* Header / layout helpers */
    --header-height: 80px;

    /* ===== ALIASES / VARIÁVEIS LEGADAS (compatibilidade) ===== */
    --primary: var(--accent);
    --primary-dark: var(--accent-600);
    --primary-light: var(--accent-100);
    --white: var(--surface);
    --light-gray: var(--border);
    --lighter-gray: #F1F2F3;
    /* background secundário */
    --gray: var(--text-secondary, #475569);
    --dark: var(--text-primary, #0F172A);
    --gradient-primary: var(--gradient-accent);
}

/* ===== RESET E ESTILOS BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: transparent;
}


.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-padding {
    padding: var(--space-xxl) 0;
}

/* Offset correto para navegação por âncoras */
section[id] {
    scroll-margin-top: var(--header-height);
}

.section--highlight {
    background: #0D0D0D;
    border: none !important;
}


/* ===== TRANSIÇÕES ENTRE SEÇÕES ===== */
.section {
    padding: var(--space-lg) 0;
    background: var(--bg);
    transition: background-color 320ms ease, padding 320ms ease;
}

.section--alt {
    background: var(--muted);
}

/* Barra de destaque fina no topo de uma seção quando desejado */
.section--accent-top::before {
    content: '';
    display: block;
    height: 6px;
    width: 100%;
    background: var(--gradient-accent);
    border-radius: 4px 4px 0 0;
    margin-bottom: calc(var(--space-sm) * -1);
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: var(--space-md) 0;
}

.section-shadow {
    box-shadow: var(--shadow-sm);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    /* ===== TIPOGRAFIA ===== */

    padding: 8px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.qrcode-placeholder img.qrcode-img {
    width: auto;
    max-width: 100%;
    max-height: 64%;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    margin-bottom: 8px;
}

/* quando a imagem existe, esconder o ícone e o label que são fallback */
.qrcode-placeholder img.qrcode-img+i,
.qrcode-placeholder img.qrcode-img+.qr-label {
    display: none;
}

.qrcode-placeholder i {
    font-size: 3.2rem;
    margin-bottom: var(--space-sm);
    color: var(--primary);
}

.qrcode-placeholder .qr-label,
.qrcode-placeholder small {
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.1;
    margin: 0;
    padding: 0 6px;
    word-break: break-word;
}

.section-header {
    position: relative;
    z-index: 3;
    text-align: center;
    margin-bottom: var(--space-lg);
    padding-bottom: 0;
}

.mission-badge {
    color: var(--secondary);
    font-size: 1.4rem;
    margin-bottom: 14px;
    opacity: 0.9;
}

/* Classes específicas para cada titulo de seção */
.section-title-story {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 0.18em;
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    color: var(--accent);
}

.section-title-donate {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 0.18em;
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    color: var(--secondary);
}

.section-subtitle {
    margin: var(--space-md) 0 var(--space-lg) 0;
    font-size: 1rem;
    color: var(--white);
    font-weight: 600;
}

.title-decoration {
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    margin: var(--space-md) auto;
    border-radius: 2px;
}

/* ===== CARROSSEL DE FOTOS ===== */
.photo-carousel-section {
    margin: var(--space-xxl) 0;
    position: relative;
}

.story-intro {
    margin-top: var(--space-lg);
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.photo-carousel-section h3 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    font-size: 1.8rem;
}

/* Container do carrossel flexível */
.photo-carousel {
    width: 100%;
    height: auto;
    min-height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}


.carousel-item {
    display: flex;
    flex-direction: column;
    background: transparent;
    height: 100%;
}

.carousel-image {
    flex: 1;
    min-height: 300px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.carousel-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    max-height: none;
}

/* Efeito de zoom suave ao passar mouse */
.carousel-image:hover img {
    transform: scale(1.05);
}

.carousel-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    z-index: -1;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: transparent;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.5rem;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--accent);
}

.swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: var(--accent);
    opacity: 1;
}


/* ===== RESPONSIVIDADE DO CARROSSEL ===== */

/* Tablet */
@media (max-width: 1024px) {
    .photo-carousel {
        min-height: 400px;
    }

    .carousel-image {
        min-height: 250px;
    }

    .carousel-image img {
        height: 100%;
        max-height: none;
        object-fit: cover;
    }

    .carousel-caption {
        min-height: 110px;
        padding: var(--space-md);
    }

    .carousel-caption h4 {
        font-size: 1.2rem;
    }

    .carousel-caption p {
        font-size: 0.95rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .photo-carousel-section h3 {
        font-size: 1.5rem;
        margin-bottom: var(--space-md);
    }

    .photo-carousel {
        min-height: 350px;
        border-radius: var(--radius-md);
    }

    .carousel-image {
        min-height: 200px;
    }

    .carousel-image img {
        height: 100%;
        max-height: none;
        object-fit: cover;
    }

    .carousel-caption {
        min-height: 100px;
        padding: 15px;
    }

    .carousel-caption h4 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .carousel-caption p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* Esconde setas em mobile */
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    :root {
        --header-height: 64px;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .photo-carousel {
        min-height: 300px;
    }

    .carousel-image {
        min-height: 180px;
    }

    .carousel-image img {
        height: 100%;
        max-height: none;
        object-fit: cover;
    }

    .carousel-caption {
        min-height: 90px;
        padding: 12px;
    }

    .carousel-caption h4 {
        font-size: 1rem;
    }

    .carousel-caption p {
        font-size: 0.85rem;
    }
}

/* Desktop grande */
@media (min-width: 1400px) {
    .photo-carousel {
        min-height: 500px;
    }

    .carousel-image img {
        height: 100%;
        max-height: none;
        object-fit: cover;
    }

    .carousel-caption {
        min-height: 130px;
        padding: var(--space-xl);
    }

    .carousel-caption h4 {
        font-size: 1.4rem;
    }

    .carousel-caption p {
        font-size: 1.1rem;
    }
}

/* ===== BACKGROUND ESPECIAL PARA SEÇÕES ===== */
.special-background {
    position: relative;
    background: linear-gradient(180deg, #020608 0%, #0B2A3C 35%, #081F26 100%);
    background-size: cover;
    color: var(--white);
    overflow: hidden;
}

/* Cores dos cards na seção com fundo escuro */
.special-background .mission-card h3,
.special-background .mission-card h4,
.special-background .mission-card h5 {
    color: var(--secondary);
    font-weight: 600;
}

.special-background .mission-card p,
.special-background .mission-card strong,
.special-background .mission-card span {
    color: var(--white);
}

.special-background .mission-location strong {
    color: var(--secondary);
}


.special-background:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
    opacity: 0.1;
}



.special-background .section-title,
.special-background .section-subtitle {
    color: var(--white);
    position: relative;
    z-index: 2;
}



/* ===== BACKGROUND ESPECIAL PARA CONTATO ===== */
.special-contact-background {
    position: relative;
    color: var(--white);
    overflow: hidden;
    z-index: 1;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Imagem de background para contato */
.special-contact-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./img/fundo/004.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: rgba(26, 75, 140, 0.8);
    background-blend-mode: overlay;
    z-index: -1;
}

/* Overlay extra */
.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 0;
    pointer-events: none;
}

/* Garantir que texto fique acima */
.special-contact-background .section-title,
.special-contact-background .section-subtitle {
    color: var(--white);
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.special-contact-background .contact-info,
.special-contact-background .contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===== RESPONSIVIDADE DO BACKGROUND CONTATO ===== */
@media (max-width: 1024px) {
    .special-contact-background {
        min-height: 550px;
    }

    .special-contact-background::before {
        background-size: cover;
        background-position: center 35%;
    }
}

@media (max-width: 768px) {
    .special-contact-background {
        min-height: 500px;
    }

    .special-contact-background::before {
        background-size: cover;
        background-position: center 30%;
    }
}

@media (max-width: 480px) {
    .special-contact-background {
        min-height: 450px;
    }

    .special-contact-background::before {
        background-size: cover;
        background-position: center 25%;
    }
}

/* ===== MODAL DE PAGAMENTO ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
    box-shadow: var(--shadow-xl);
}

.modal-content::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

.modal-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.08) transparent;
}

/* Tornar a barra de rolagem do modal mais discreta em desktops e evitar vazamento do background no topo (background-clip) */
@media (min-width: 769px) {
    .modal-content {
        /* manter scroll quando necessário, mas usar barra fina */
        overflow-y: auto;
        background-clip: padding-box;
        -webkit-overflow-scrolling: touch;
    }

    .modal-content::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    .modal-content::-webkit-scrollbar-track {
        background: transparent;
    }

    .modal-content::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.08);
        border-radius: 8px;
    }

    .modal-content {
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 0, 0, 0.08) transparent;
    }

    .modal-header {
        position: relative;
        z-index: 2;
        /* sutil sombra interna para esconder linhas de separação */
        box-shadow: inset 0 -1px rgba(0, 0, 0, 0.02);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--light-gray);
    color: var(--primary);
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--space-xl);
    text-align: center;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-header h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: var(--space-xs);
}

.modal-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.payment-options {
    padding: var(--space-xl);
}

.payment-method {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 75, 140, 0.1);
}

.method-header {
    padding: var(--space-md);
    background: var(--lighter-gray);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    border-bottom: 1px solid var(--light-gray);
}

.method-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.method-header h3 {
    margin: 0;
    flex: 1;
}

.method-badge {
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.method-content {
    padding: var(--space-md);
    display: none;
}

.payment-method.active .method-content {
    display: block;
}

.pix-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.pix-qrcode {
    text-align: center;
}

.qrcode-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: var(--lighter-gray);
    border: clamp(1px, 0.4vw, 2px) dashed var(--light-gray);
    border-radius: clamp(6px, 0.6vw, 12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.qrcode-placeholder {
    position: relative;
}

.qrcode-placeholder img.qrcode-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* quando a imagem existe, esconder o ícone e o label que são fallback */
.qrcode-placeholder img.qrcode-img+i,
.qrcode-placeholder img.qrcode-img+.qr-label {
    display: none;
}

.qrcode-placeholder i {
    font-size: 4rem;
    margin-bottom: var(--space-sm);
    color: var(--primary);
}

.qrcode-placeholder small {
    font-size: 0.8rem;
    margin-top: var(--space-xs);
}

.pix-details {
    flex: 1;
}

.pix-key h4 {
    margin-bottom: var(--space-sm);
    color: var(--primary);
}

.key-display {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    margin-bottom: var(--space-lg);
}

.key-display span {
    flex: 1;
    padding: var(--space-md);
    background: var(--lighter-gray);
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 1.1rem;
    border: 1px solid var(--light-gray);
}

.copy-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    white-space: nowrap;
}

.copy-btn:hover {
    background: var(--primary-dark);
}

.copy-btn.copied {
    background: var(--secondary);
}

.pix-instructions h4 {
    margin-bottom: var(--space-sm);
    color: var(--primary);
}

.pix-instructions ol {
    padding-left: var(--space-lg);
}

.pix-instructions li {
    margin-bottom: var(--space-xs);
    line-height: 1.5;
}

.bank-details {
    padding: var(--space-md);
}

.bank-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm);
    border-bottom: 1px solid var(--light-gray);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span {
    color: var(--gray);
}

.info-row strong {
    color: var(--dark);
    font-weight: 600;
}

.donation-amount-selector {
    padding: 0 var(--space-xl) var(--space-xl);
}

.donation-amount-selector h3 {
    margin-bottom: var(--space-md);
    color: var(--primary);
    text-align: center;
}

.amount-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.amount-btn {
    padding: var(--space-md) var(--space-lg);
    background: var(--lighter-gray);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.amount-btn:hover {
    border-color: var(--primary);
    background: var(--white);
}

.amount-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Botão específico: Apoiar Agora (dentro do card featured) em verde */
.donation-card.featured .cta-button.open-payment-modal,
.donation-card.featured .cta-button.primary-btn.open-payment-modal {
    background: #27ae60;
    background-image: none;
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.12);
}

.donation-card.featured .cta-button.open-payment-modal:hover,
.donation-card.featured .cta-button.primary-btn.open-payment-modal:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 15, 6, 0.18);
}

.custom-amount {
    position: relative;
    min-width: 150px;
}

.custom-amount input {
    width: 100%;
    padding: var(--space-md) var(--space-md) var(--space-md) 40px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
}

.custom-amount span {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: var(--gray);
}

.modal-footer {
    padding: var(--space-xl);
    background: var(--lighter-gray);
    text-align: center;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.confirmation-text {
    margin-bottom: var(--space-lg);
    color: var(--gray);
    font-size: 1rem;
}

.confirm-donation {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: var(--space-lg);
    font-size: 1.1rem;
}

.small-text {
    margin-top: var(--space-md);
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== BASES BÍBLICAS ===== */
.biblical-section {
    position: relative;
    overflow: hidden;
    background: url('./img/fundo/003.jpg') center/cover no-repeat;
}

.biblical-section::before {
    content: '';
    position: absolute;
    inset: 0;
    /* top/left/right/bottom */
    background: rgba(0, 0, 0, 0.30);
    z-index: 0;
    pointer-events: none;
}

.biblical-section .container {
    position: relative;
    z-index: 1;
}


.section-title-biblical {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 0.18em;
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    text-transform: uppercase;
    color: var(--white);
}

/* GRID */
.bible-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: var(--space-xl);
}

@media (min-width: 768px) {
    .bible-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* CARD BASE */
.bible-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 26px 30px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    transition: transform .2s ease, box-shadow .2s ease;
}

.bible-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

/* REMOVE A FAIXA / ÍCONE ANTIGO */
.bible-icon {
    display: none;
}

/* REFERÊNCIA */
.bible-content h3 {
    margin: 0 0 14px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}



/* TEXTO DO VERSÍCULO */
.bible-verse {
    margin-top: 18px;
    padding-left: 16px;
    border-left: 2px solid rgba(30, 58, 95, 0.25);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.9;
    color: #334155;
}

/* ===== HEADER ===== */
header {
    background: rgba(10, 15, 20, 0.82);
    backdrop-filter: blur(12px);
    color: #f8fafc;
    padding: 0.75rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

header:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

header.header-hidden {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo i {
    font-size: 1.35rem;
    color: var(--secondary);
}

/* Menu Mobile */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #f8fafc;
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--space-xs);
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(85vw, 300px);
    height: 100dvh;

    background: rgb(10, 15, 20);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    padding-top: var(--header-height);

    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;

    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.35);
}



.nav-menu.active {
    right: 0;
}

.nav-links {
    list-style: none;
    padding: 0 var(--space-md);
}

.nav-links li {
    margin-bottom: var(--space-md);
}

.nav-link {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.nav-highlight {
    color: var(--secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-highlight i {
    font-size: 1rem;
}


/* ===== HERO SECTION ===== */
.hero {
    padding: 120px 0 60px;
    background: url('img/fundo/001.jpg');
    color: var(--surface);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Overlay escuro suave para garantir contraste do texto sobre a imagem */
    background: linear-gradient(180deg, rgba(15, 23, 32, 0.32) 0%, rgba(15, 23, 32, 0.22) 40%, rgba(15, 23, 32, 0.12) 100%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-xl);
}

.hero-text {
    max-width: 700px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    letter-spacing: 0.12em;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.hero-text-long {
    font-size: 1rem;
    line-height: 1.9;
    opacity: 0.85;
    max-width: 42ch;
    margin: 0 auto 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
}

/* NOVO ESTILO PARA FOTO REAL */
.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 10px rgb(0, 0, 0);
}

/* ===== BOTÕES ===== */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-lg);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button i {
    font-size: 1.1rem;
}

.primary-btn {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.secondary-btn {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.secondary-btn:hover {
    background: var(--white);
    color: var(--primary);
}

.full-width {
    width: 100%;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-lg) 0;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 120px;
    bottom: 40px;
    width: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.timeline-header {
    margin-bottom: var(--space-xl);
    text-align: center;
}

.timeline-header h3 {
    color: #F2EEEB;
    font-size: 1.8rem;
    margin: 0px;
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-xl);
    padding-left: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: -18px;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 4px solid var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.timeline-content h4 {
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.timeline-item.highlight .timeline-content {
    background: var(--gradient-primary);
    color: var(--white);
}

.timeline-item.highlight .timeline-content h4 {
    color: var(--white);
}

.timeline-item.highlight .timeline-icon {
    background: var(--accent);
    border-color: var(--secondary);
    color: var(--white);
}

.mission-quote {
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    text-align: center;
    margin: var(--space-md) 0;
    color: var(--accent);
}

.timeline-item.highlight .mission-quote {
    color: var(--secondary);
}

/* ===== CARDS DE MISSÃO ===== */
.mission-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 150px;
    margin-top: var(--space-xl);
}

.mission-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 0 0 22px !important;
    position: relative;
    text-align: center !important;
}

/* Linha editorial */
.mission-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
            var(--secondary),
            rgba(196, 162, 74, 0.2));
}

.mission-card h3,
.mission-card h4,
.mission-card h5 {
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
}

.mission-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 0.75rem;
}

.mission-card>img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 20px auto;
    display: block;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.mission-location {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin-top: 16px;
}

.locations {
    list-style: none;
    padding: 0;
    margin: 0;
}

.locations li {
    display: grid;
    grid-template-columns: 26px auto;
    align-items: center;
    column-gap: 12px;
    justify-content: start;
}

.locations img {
    width: 22px;
    height: 14px;
    object-fit: cover;
    justify-self: center;
    display: block;
}

.footer-bottom .flag {
    width: 14px;
    height: 10px;
    object-fit: cover;
    opacity: 0.7;
}

.mission-location strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
}

.mission-location span {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #718096;
}


.mission-icon {
    margin: 0 auto 14px auto;
    background: none !important;
    border: none !important;
    width: auto;
    height: auto;
    text-align: center;
}

.mission-icon i {
    font-size: 1.4rem;
    opacity: 0.9;
}

.mission-duration {
    margin-top: var(--space-md);
}

.duration-phase {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--light-gray);
}

.duration-phase:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* ===== SEÇÃO O CHAMADO ===== */

.chamado-section {
    position: relative;
    background: #012030;
    color: var(--white);
}

.chamado-section .container {
    position: relative;
}

.chamado-section .section-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.chamado-section .section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 2.9rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 14px;
}

.chamado-section .section-subtitle {
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--secondary);
}

.chamado-content {
    max-width: 760px;
    margin: clamp(32px, 4vw, 56px) auto 0;
    font-size: clamp(1rem, 1.2vw, 1.05rem);
    line-height: 2;
    text-align: center;
}

.chamado-heading {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--secondary);
    margin: clamp(32px, 4vw, 48px) 0 14px;
}

/* ===== CARDS DE DOAÇÃO ===== */
.donation-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.donation-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.donation-card.featured {
    border: 3px solid var(--secondary);
    transform: scale(1.05);
}

.donation-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--white);
    font-size: 1.8rem;
}

.donation-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #C4A24A;
    letter-spacing: 1px;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        opacity: 0.9;
    }

    50% {
        opacity: 1;
    }
}

.donation-amount .currency {
    font-size: 1.5rem;
}

.donation-amount .period {
    font-size: 1rem;
    color: var(--gray);
}

.donation-features {
    list-style: none;
    text-align: left;
    margin: var(--space-lg) 0;
}

.donation-features li {
    margin-bottom: var(--space-sm);
    padding-left: 30px;
    position: relative;
}

.donation-features li i {
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary);
}

.bible-verse {
    font-style: italic;
    color: var(--gray);
    border-left: 3px solid var(--accent);
    padding-left: var(--space-md);
    margin-top: var(--space-lg);
}


/* ===== CONTATO (card único) — acabamento premium ===== */

#contact .contact-container {
    margin-top: var(--space-xl);
}

/* Card principal: glass + profundidade */
#contact .contact-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 28px;
    overflow: hidden;
    position: relative;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 45px 120px rgba(0, 0, 0, 0.28),
        0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

/* Assinatura dourada sutil no topo */
#contact .contact-card::before {
    content: '';
    position: absolute;
    left: 26px;
    right: 26px;
    top: 14px;
    height: 2px;
    background: linear-gradient(90deg,
            rgba(196, 162, 74, 0),
            rgba(196, 162, 74, 0.85),
            rgba(196, 162, 74, 0));
    opacity: 0.9;
    pointer-events: none;
}

/* "Brilho" diagonal sutil (quebra template sem chamar atenção) */
#contact .contact-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.22) 0%,
            rgba(255, 255, 255, 0) 45%,
            rgba(11, 42, 60, 0.06) 100%);
    pointer-events: none;
}

/* Colunas internas */
#contact .contact-left,
#contact .contact-right {
    padding: 38px 34px 34px;
    position: relative;
    z-index: 1;
}

#contact .contact-right {
    padding-top: 88px;
}

/* Divisor: degradê (bem mais elegante que 1px sólido) */
#contact .contact-left {
    border-right: none;
}

#contact .contact-left::after {
    content: '';
    position: absolute;
    top: 68px;
    bottom: 22px;
    right: 0;
    width: 1px;
    background: linear-gradient(180deg,
            transparent,
            rgba(15, 23, 42, 0.12),
            transparent);
}

/* Tipos: mais editorial */
#contact .contact-left h3,
#contact .contact-right h3 {
    text-align: left;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    margin: 14px 0 18px;
}

/* Itens de contato mais "clean" */
#contact .contact-details {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#contact .contact-item {
    padding: 20px;
    border-top: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

#contact .contact-item:first-child {
    border-top: none;
    padding-top: 0;
}

/* Ícones como badge */
#contact .contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(11, 42, 60, 0.07);
    border: 1px solid rgba(11, 42, 60, 0.1);
    color: var(--accent);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

#contact .contact-text h4 {
    color: var(--accent);
    font-weight: 600;
    margin: 0 0 4px 0;
}

#contact .contact-text p {
    margin: 0;
    color: var(--text-secondary);
}

/* Social: menos bolinha, mais componente */
#contact .social-connect {
    margin-top: 0;
    padding-top: 0;
}

#contact .social-connect h4 {
    margin: 0 0 12px 0;
    color: var(--text-primary);
    font-weight: 600;
}

#contact .social-links {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

#contact .social-link {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(11, 42, 60, 0.07);
    border: 1px solid rgba(11, 42, 60, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}

#contact .social-link:hover {
    transform: translateY(-2px);
    background: var(--gradient-accent);
    border-color: transparent;
    color: var(--white);
}

/* Inputs mais premium */
#contact .form-group {
    margin-bottom: 14px;
}

#contact .form-group input,
#contact .form-group textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.613);
    padding: 14px 16px;
    font-family: var(--font-body);
    color: var(--text-primary);
}

#contact .form-group input::placeholder,
#contact .form-group textarea::placeholder {
    color: var(--text-muted);
}

#contact .form-group input:focus,
#contact .form-group textarea:focus {
    outline: none;
    border-color: rgba(196, 162, 74, 0.7);
    box-shadow: 0 0 0 4px rgba(196, 162, 74, 0.18);
}

/* Botão com acabamento */
#contact .cta-button.primary-btn.full-width {
    border-radius: 999px;
    padding: 14px 18px;
    box-shadow: 0 20px 55px rgba(7, 30, 44, 0.25);
}

#contact .cta-button.primary-btn.full-width:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 75px rgba(7, 30, 44, 0.32);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    justify-items: center;
}

.contact-info {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 500px;
    /* Largura máxima para centralização */
}

.contact-details {
    margin: var(--space-lg) 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    color: var(--primary);
    margin-bottom: 4px;
}

.social-connect {
    margin-top: var(--space-xl);
}

.social-connect h4 {
    margin-bottom: var(--space-md);
    text-align: center;
    /* Centraliza o título */
}

.social-links {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    /* Centraliza os ícones sociais */
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--light-gray);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

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

.contact-form {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 500px;
    /* Mesma largura máxima para alinhamento */
}

.contact-info h3,
.contact-form h3 {
    text-align: center;
    margin-bottom: var(--space-lg);

}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 75, 140, 0.1);
}

/* ===== STORY BACKGROUND WRAPPER ===== */
.story-background-wrapper {
    background: #EFE8DC;
    padding-bottom: var(--space-xl);
}

/* ===== TIMELINE BACKGROUND WRAPPER ===== */
.timeline-background-wrapper {
    position: relative;
    /* ESSENCIAL */
    overflow: hidden;
    background: url('./img/fundo/02.jpg') center / cover no-repeat;
}

/* Overlay escuro */
.timeline-background-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.30);
    z-index: 0;
    pointer-events: none;
}

/* Conteúdo acima do overlay */
.timeline-background-wrapper>* {
    position: relative;
    z-index: 1;
}


/* ===== FOOTER ===== */
.footer {
    background: rgb(0, 0, 0);
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--secondary);
}

.footer-end {
    font-family: var(--font-heading);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-top: 50px;
    text-align: center;
}

.footer-mission {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--secondary);
    margin: var(--space-md) 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.newsletter-form {
    max-width: 420px;
}

.newsletter-form .form-group {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 8px;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 4px 8px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    font-family: var(--font-body);
    letter-spacing: 0.02em;

    /* linha editorial */
    box-shadow: inset 0 -1px rgba(255, 255, 255, 0.25);
    transition: box-shadow 0.3s ease;
}


.newsletter-form input:focus {
    box-shadow: inset 0 -2px var(--secondary);
}

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

.newsletter-btn {
    background: transparent;
    border: none;
    color: rgba(196, 162, 74, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 6px 4px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.newsletter-btn:hover {
    color: rgba(255, 255, 255, 0.95);
    transform: translateX(3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
    font-size: 0.9rem;
}

.developer {
    margin-top: var(--space-xs);
    color: var(--page-bg);
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}


.footer .footer-map{
  display: block;
  width: 100%;
  max-width: 360px;      
  height: auto;
  margin: 12px auto 0;
  border-radius: 10px;
  opacity: 0.92;
}

/* Mobile */
@media (max-width: 480px){
  .footer .footer-map{
    max-width: 220px;    
    margin-top: 8px;
    border-radius: 8px;
  }
}


/* ===== MEDIA QUERIES - DESKTOP ===== */
@media (min-width: 768px) {

    /* Header */
    .mobile-menu-btn {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }

    .nav-links {
        display: flex;
        gap: 1.25rem;
        padding: 0;
        align-items: center;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        transition: all 0.3s ease;
        position: relative;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--secondary);
        transition: width 0.3s ease;
    }

    .nav-link:hover {
        background: transparent;
        transform: none;
        color: var(--secondary);
    }

    .nav-link:hover::after {
        width: 100%;
    }

    .nav-highlight {
        background: rgba(196, 162, 74, 0.1);
        border-radius: var(--radius-sm);
        padding: 0.5rem 1rem !important;
        border: 1px solid rgba(196, 162, 74, 0.3);
    }

    .nav-highlight:hover {
        background: rgba(196, 162, 74, 0.15);
        color: var(--secondary);
    }

    .nav-highlight::after {
        display: none;
    }

    /* Hero */
    .hero {
        min-height: calc(100vh - var(--header-height));
        padding: calc(var(--header-height) + 2rem) 1.25rem 3rem;
        background: url('img/fundo/001.jpg') center / cover no-repeat;
        color: var(--white);
        position: relative;
        display: flex;
        align-items: center;
        text-align: center;
    }

    .hero-content {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
    }


    .hero-title {
        font-size: 2.1rem;
        line-height: 1.15;
    }

    .hero-title span {
        font-size: 0.65em;
    }

    .hero-subtitle {
        max-width: 32ch;
        font-size: 0.95rem;
        line-height: 1.85;
        margin: 1rem auto 2rem;
    }

    .hero-buttons {
        gap: 0.75rem;
    }


    /* Timeline */
    .timeline:before {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item {
        width: 50%;
        padding-left: 0;
    }

    .timeline-item:nth-child(odd) {
        margin-left: 0;
        margin-right: auto;
        padding-right: 40px;
    }

    .timeline-item:nth-child(even) {
        margin-left: auto;
        margin-right: 0;
        padding-left: 40px;
    }

    .timeline-item:nth-child(odd) .timeline-icon {
        left: auto;
        right: -20px;
    }

    .timeline-item:nth-child(even) .timeline-icon {
        left: -20px;
    }

    /* Grids */
    .mission-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .donation-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .bible-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contato - Desktop: dois cards lado a lado mas centralizados */
    .contact-container {
        grid-template-columns: 1fr 1fr;
        align-items: start;
        justify-items: center;
        position: relative;
        z-index: 2;
    }

    .contact-info,
    .contact-form {
        max-width: 100%;
        height: 100%;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .pix-info {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: calc(var(--header-height) + 4rem) 2rem 5rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        max-width: 40ch;
        margin: 1.5rem auto 2.5rem;
    }
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 0.18em;
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    text-transform: uppercase;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

.bible-cards {
    grid-template-columns: 1fr;
}


@media (max-width: 768px) {

    /* Ajustes do modal para mobile */
    .modal-content {
        width: 95vw !important;
        margin: 10px auto !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
    }

    .pix-info {
        grid-template-columns: 1fr !important;
    }

    .key-display {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .key-display span {
        word-break: break-all;
    }

    .copy-btn {
        width: 100% !important;
        padding: var(--space-md) var(--space-sm) !important;
        font-size: 0.9rem !important;
    }

    .copy-btn i {
        font-size: 0.85rem !important;
    }

    .amount-buttons {
        gap: 8px !important;
    }

    .amount-btn {
        min-width: calc(50% - 10px) !important;
    }

    .contact-item {
        flex-direction: column;
        /* Empilha ícone e texto */
        align-items: center;
        /* Centraliza */
        text-align: center;
        /* Centraliza texto */
    }

    .contact-text h4,
    .contact-text p {
        text-align: center;
    }

    .mission-card>img {
        max-width: 100%;
    }
}

/* AJUSTE DO CARROSSEL */
.photo-carousel {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Wrapper do Swiper */
.photo-carousel .swiper-wrapper {
    align-items: stretch;
}

/* Slides */
.photo-carousel .swiper-slide {
    height: 650px;
}

.photo-carousel .swiper-pagination {
    position: relative;
    bottom: 0 !important;
    margin-top: 12px;
}

section:has(.photo-carousel) {
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Ajustes adicionais para modal em telas muito pequenas (<=480px) */
@media (max-width: 480px) {
    .modal-overlay {
        padding: 12px;
    }



    .modal-content {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 8px auto !important;
        border-radius: 12px !important;
        padding: 16px !important;
        box-sizing: border-box;
    }

    .modal-header {
        padding: 12px 16px !important;
    }

    .payment-options {
        padding: 12px !important;
    }

    .pix-info {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .qrcode-placeholder {
        width: 180px !important;
        height: 180px !important;
        max-width: 100% !important;
        border: clamp(1px, 0.6vw, 2px) dashed var(--light-gray) !important;
        border-radius: 10px !important;
        padding: 6px !important;
    }

    .qrcode-placeholder img.qrcode-img {
        max-height: 72% !important;
        margin-bottom: 6px !important;
        width: auto !important;
        height: auto !important;
    }

    .qrcode-placeholder .qr-label,
    .qrcode-placeholder small {
        font-size: 0.8rem !important;
    }

    .key-display {
        flex-direction: column !important;
        gap: 8px;
    }

    .copy-btn {
        width: 100% !important;
        box-sizing: border-box;
    }

    .method-header {
        gap: 8px;
        padding: 10px !important;
    }

    .modal-close {
        top: 8px !important;
        right: 8px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 1.4rem !important;
    }
}

/* ===== MOBILE: visual mais coeso ===== */
@media (max-width: 900px) {
    #contact .contact-card {
        border-radius: 22px;
    }

    #contact .contact-left,
    #contact .contact-right {
        padding: 28px 22px;
    }

    /* Divisor vira horizontal, suave */
    #contact .contact-left::after {
        top: auto;
        left: 22px;
        right: 22px;
        bottom: 0;
        width: auto;
        height: 1px;
        background: linear-gradient(90deg,
                transparent,
                rgba(15, 23, 42, 0.14),
                transparent);
    }

    #contact .contact-left h3,
    #contact .contact-right h3 {
        text-align: center;
    }

    #contact .social-links {
        justify-content: center;
    }
}