/* =========================================================
   Charism Page - Hero Section
   ========================================================= */
.charism-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center; /* Centraliza verticalmente o bloco de texto */
    background-color: #0a0a0a; /* Fundo preto sólido fallback */
}

/* --- Background com Efeito "Sacred Silence" --- */
.charism-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right 20%; /* Foco sutilmente deslocado para o frade */
    z-index: 1;
    /* Zoom-out hiper lento (25s) simulando imersão espiritual */
    animation: sacredZoom 25s ease-out forwards;
    filter: grayscale(100%); /* Garante o tom P&B dramático exigido pela arte */
}

@keyframes sacredZoom {
    0% { transform: scale(1.15); filter: grayscale(100%) brightness(0.4); }
    100% { transform: scale(1); filter: grayscale(100%) brightness(1); }
}

/* --- Máscara (Scrim) Lateral --- */
.charism-hero-scrim {
    position: absolute;
    inset: 0;
    /* Gradiente forte da esquerda pra direita para o texto branco sobressair no P&B */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

/* --- Container e Textos --- */
.charism-hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--container-max, 1200px);
    margin: 0 auto;
    padding: 0 40px;
}

.charism-hero-content {
    max-width: 650px;
}

/* Eyebrow: "CHARISM" */
.charism-eyebrow {
    display: block;
    font-family: var(--font-display), 'Montreal', sans-serif;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #e0e0e0;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Main Title: Latim */
.charism-hero-title {
    font-family: var(--font-display), 'Montreal', sans-serif;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0,0,0,0.9);
}

/* Animação personalizada (Slide-in vindo da esquerda) */
.charism-hero-content .reveal-on-scroll {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1.2s ease-out, transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.charism-hero-content .reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================================
   Responsividade (Telas Menores)
   ========================================================= */
@media (max-width: 992px) {
    .charism-hero-scrim {
        /* Estica o degradê um pouco mais pro meio em tablets */
        background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0) 100%);
    }
}

@media (max-width: 768px) {
    .charism-hero {
        align-items: flex-end; /* Desce o texto no celular para não cortar a cabeça */
        padding-bottom: 100px;
        min-height: 80vh;
    }

    .charism-hero-bg {
        background-position: center 25%; /* Ajusta o foco vertical pro mobile */
    }

    .charism-hero-scrim {
        /* Inverte o gradiente no mobile: agora vem de baixo para cima */
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.95) 100%);
    }

    .charism-hero-container {
        padding: 0 20px;
    }

    .charism-hero-content {
        text-align: center; /* Centraliza tudo no celular */
        margin: 0 auto;
    }

    .charism-hero-title br {
        display: none; /* Deixa o texto fluir livre no mobile */
    }

    /* Modifica o eixo da animação (agora sobe do chão) */
    .charism-hero-content .reveal-on-scroll {
        transform: translateY(30px);
    }
    .charism-hero-content .reveal-on-scroll.revealed {
        transform: translateY(0);
    }
}

/* =========================================================
   Charism Page - Jesus All Section (Sessão 2)
   ========================================================= */
.charism-jesus-all {
    background-color: var(--site-bg, #F8F8F7);
    padding: 120px 20px;
    overflow: hidden;
}

.charism-jesus-container {
    max-width: var(--container-max, 1200px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 45% 55%; /* Proporção igual à arte */
    gap: 60px;
    align-items: center;
}

/* --- A Mágica da Imagem (Golden Glow) --- */
.charism-jesus-image {
    width: 100%;
}

.charism-jesus-image .img-wrapper {
    width: 100%;
    /* Deixa a foto mais vertical como na arte */
    aspect-ratio: 3 / 4; 
    overflow: hidden;
    /* Sombra neutra inicial */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); 
    /* Transição suave para o "Glow" */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s ease;
}

.charism-jesus-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.8s ease;
}

/* Interação "Fora da Caixinha": Levitação + Golden Glow */
.charism-jesus-image:hover .img-wrapper {
    transform: translateY(-8px);
    /* A sombra muda de cor para um dourado/marrom quente esfumaçado */
    box-shadow: 0 25px 50px rgba(184, 115, 51, 0.2); 
}

.charism-jesus-image:hover img {
    transform: scale(1.05); /* Zoom interno suave */
    /* Aumenta de leve o brilho, o contraste e a "quentura" (sépia) da foto */
    filter: brightness(1.05) contrast(1.05) sepia(10%);
}

/* --- Lado Direito: Textos --- */
.charism-jesus-text {
    max-width: 580px; /* Limita a largura para garantir boa leitura e igualar à arte */
}

.charism-jesus-text h2 {
    font-family: var(--font-display), 'Montreal', sans-serif;
    font-size: clamp(1.8rem, 2.8vw, 2.2rem);
    color: var(--primary-brown-dark, #412f22);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.charism-jesus-text p {
    font-family: var(--font-body), 'Google Sans', sans-serif;
    font-size: clamp(1.05rem, 1.2vw, 1.15rem);
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.charism-jesus-text p:last-child {
    margin-bottom: 0;
}

/* Animação personalizada de entrada (Sobe do chão) */
.charism-jesus-text .reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.charism-jesus-text .reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   Responsividade (Telas Menores)
   ========================================================= */
@media (max-width: 992px) {
    .charism-jesus-container {
        grid-template-columns: 1fr; /* Quebra para uma coluna */
        gap: 50px;
    }
    
    .charism-jesus-image {
        max-width: 500px;
        margin: 0 auto; /* Centraliza a imagem no tablet */
    }
    
    .charism-jesus-text {
        max-width: 100%;
        text-align: center; /* Centraliza o texto */
    }
}

@media (max-width: 576px) {
    .charism-jesus-all {
        padding: 80px 20px;
    }

    .charism-jesus-image .img-wrapper {
        aspect-ratio: 1 / 1; /* Deixa a imagem quadrada no celular para não ficar comprida demais */
    }

    /* Retira o efeito complexo de Hover no touch */
    .charism-jesus-image:hover .img-wrapper {
        transform: none;
        box-shadow: 0 15px 40px rgba(0,0,0,0.1); 
    }
    
    .charism-jesus-image:hover img {
        transform: none;
        filter: none;
    }
}

/* =========================================================
   Charism Page - Expressions Section (Sessão 3)
   ========================================================= */

/* --- Cabeçalho Marrom Escuro --- */
.ce-header {
    background-color: #2b2522; /* Marrom ultra escuro da arte */
    padding: 80px 20px;
    text-align: center;
}

.ce-header-container p {
    font-family: var(--font-display), 'Montreal', sans-serif;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    color: #ffffff;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

/* O Segredo do Destaque Animado (Marca-texto) */
.highlight-blue {
    position: relative;
    display: inline-block;
    padding: 0 5px;
    z-index: 1;
}

/* Cria a linha azul por trás do texto */
.highlight-blue::after {
    content: '';
    position: absolute;
    bottom: 2px; /* Posição estilo marca-texto rústico */
    left: 0;
    width: 0; /* Inicia sem largura */
    height: 12px;
    background-color: #5da2d5; /* Azul da arte */
    z-index: -1;
    border-radius: 2px;
    /* Animação que vai "desenhar" a linha */
    transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* O JS da classe "revealed" aciona o desenho da linha azul */
.ce-header-container .reveal-on-scroll.revealed .highlight-blue::after {
    width: 100%;
    transition-delay: 0.5s; /* Espera o texto subir para depois desenhar */
}

/* --- Corpo Principal --- */
.ce-body {
    background-color: var(--site-bg, #F8F8F7);
    padding: 100px 20px;
}

.ce-body-container {
    max-width: var(--container-max, 1200px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Divide meio a meio */
    gap: 60px;
    align-items: start; /* Alinha os blocos pelo topo */
}

/* --- Lado Esquerdo: Tópicos --- */
.ce-topics h2 {
    font-family: var(--font-display), 'Montreal', sans-serif;
    font-size: clamp(1.6rem, 2.3vw, 2.2rem);
    color: var(--primary-brown-dark, #412f22);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 3rem;
}

.ce-topic-item {
    margin-bottom: 2rem;
}

.ce-topic-item h3 {
    font-family: var(--font-display), 'Montreal', sans-serif;
    font-size: 1.1rem;
    color: #3b5066; /* Azul escuro/cinza da arte */
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.ce-topic-item p {
    font-family: var(--font-body), 'Google Sans', sans-serif;
    font-size: 1.05rem;
    color: #4a4a4a;
    line-height: 1.5;
    margin: 0;
}

/* Animação Lateral para os tópicos (Cascata) */
.ce-topics .reveal-on-scroll {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ce-topics .reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* --- Lado Direito: Bloco Azul Escuro --- */
.ce-quote-block {
    background-color: var(--dark-navy, #122235);
    padding: 80px 60px;
    border-radius: 2px;
    box-shadow: 0 20px 40px rgba(18, 34, 53, 0.15); /* Sombra de profundidade */
    color: #ffffff;
    /* Transição para efeito Hover tátil */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ce-quote-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px rgba(18, 34, 53, 0.25);
}

.ce-quote-title {
    font-family: var(--font-display), 'Montreal', sans-serif;
    font-size: clamp(1.1rem, 1.4vw, 1.3rem);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.02em;
    margin-bottom: 2rem !important; /* Importante para separar do resto */
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
}

.ce-quote-block p {
    font-family: var(--font-body), 'Google Sans', sans-serif;
    font-size: clamp(1.05rem, 1.2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.ce-quote-block p:last-child {
    margin-bottom: 0;
}

/* Animação do Bloco (Vindo de baixo e ganhando tamanho) */
.ce-quote-block.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ce-quote-block.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* =========================================================
   Responsividade (Telas Menores)
   ========================================================= */
@media (max-width: 992px) {
    .ce-body-container {
        grid-template-columns: 1fr; /* Empilha os blocos no tablet */
        gap: 60px;
    }

    .ce-quote-block {
        max-width: 700px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .ce-header p br,
    .ce-topics h2 br,
    .ce-topic-item p br,
    .ce-quote-block p br {
        display: none; /* Remove todas as quebras forçadas para o texto fluir na tela do celular */
    }

    .ce-header {
        padding: 60px 20px;
    }

    .ce-body {
        padding: 80px 20px;
    }

    .ce-quote-block {
        padding: 50px 30px;
    }

    /* Muda a animação lateral para vertical no mobile para evitar que a tela balance */
    .ce-topics .reveal-on-scroll {
        transform: translateY(20px);
    }
    .ce-topics .reveal-on-scroll.revealed {
        transform: translateY(0);
    }
}

/* =========================================================
   Charism Page - Visible Christ Section (Sessão 4)
   ========================================================= */
.charism-visible {
    position: relative;
    width: 100%;
    min-height: 80vh; /* Altura imersiva e cinematográfica */
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    background-color: #080503; /* Fundo quase preto para combinar com a foto */
    overflow: hidden;
}

/* --- Background com Efeito Parallax --- */
.charism-visible-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center left 20%; /* Foco nas mãos à esquerda */
    /* A Mágica do Parallax */
    background-attachment: fixed; 
    z-index: 1;
}

/* --- Máscara (Scrim) Direcional --- */
.charism-visible-scrim {
    position: absolute;
    inset: 0;
    /* Gradiente escuro vindo da direita, protegendo o texto e sumindo no meio */
    background: linear-gradient(to left, rgba(10, 6, 4, 0.95) 0%, rgba(10, 6, 4, 0.7) 40%, rgba(10, 6, 4, 0) 100%);
    z-index: 2;
}

/* --- Container e Textos --- */
.charism-visible-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--container-max, 1200px);
    margin: 0 auto;
    padding: 100px 40px; 
    display: flex;
    justify-content: flex-end; /* Empurra o bloco para a direita */
}

.charism-visible-text {
    max-width: 500px;
}

.charism-visible-text p {
    font-family: var(--font-display), 'Montreal', sans-serif;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    color: #ffffff;
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
    letter-spacing: -0.01em;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8); /* Sombra difusa para profundidade */
}

/* --- Interação "Fora da Caixinha": Blur Reveal (Revelação em Foco) --- */
/* O texto inicia invisível, levemente deslocado e DESFOCADO */
.charism-visible-text.reveal-on-scroll {
    opacity: 0;
    filter: blur(12px);
    transform: translateX(30px);
    transition: opacity 1.5s ease-out, filter 1.5s ease-out, transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.charism-visible-text.reveal-on-scroll.revealed {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

/* =========================================================
   Responsividade (Telas Menores)
   ========================================================= */
@media (max-width: 992px) {
    .charism-visible-scrim {
        /* Estica a área escura no tablet para o texto ficar nítido */
        background: linear-gradient(to left, rgba(10, 6, 4, 0.95) 0%, rgba(10, 6, 4, 0.85) 60%, rgba(10, 6, 4, 0) 100%);
    }
}

@media (max-width: 768px) {
    .charism-visible {
        min-height: 70vh;
        align-items: flex-end; /* Joga o texto para baixo */
    }

    .charism-visible-bg {
        /* Desliga o parallax no mobile para evitar bugs visuais nos navegadores iOS */
        background-attachment: scroll; 
        background-position: 30% center; /* Ajusta o foco vertical */
    }

    .charism-visible-scrim {
        /* Inverte o gradiente: vem de baixo para cima no celular */
        background: linear-gradient(to bottom, rgba(10, 6, 4, 0) 0%, rgba(10, 6, 4, 0.7) 40%, rgba(10, 6, 4, 0.95) 100%);
    }

    .charism-visible-container {
        justify-content: center; /* Centraliza no celular */
        padding: 60px 20px 80px 20px;
    }

    .charism-visible-text {
        max-width: 100%;
        text-align: center; /* Centraliza o texto no celular */
    }

    .charism-visible-text p br {
        display: none; /* Deixa o texto fluir livremente na tela estreita */
    }

    /* Muda a entrada da animação no celular para subir (Slide-up Blur) */
    .charism-visible-text.reveal-on-scroll {
        transform: translateY(30px);
    }
    .charism-visible-text.reveal-on-scroll.revealed {
        transform: translateY(0);
    }
}