/* =========================================================
   IECJS
   HOME PÚBLICA
========================================================= */


html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px;
}


.home-publica {

    margin: 0;

    background: #ffffff;

    color: #263444;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

}


.home-page {
    width: 100%;
    overflow: hidden;
}



/* =========================================================
   CONTAINER
========================================================= */

.home-container {

    width:
        min(
            1180px,
            calc(100% - 48px)
        );

    margin:
        0
        auto;

}



/* =========================================================
   HERO
========================================================= */

.home-hero {

    min-height:
        calc(
            100vh
            -
            69px
        );

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    padding:
        100px
        24px;

    background:

        radial-gradient(
            circle at 75% 25%,
            rgba(255, 255, 255, 0.12),
            transparent 34%
        ),

        linear-gradient(
            135deg,
            #092c55 0%,
            #0f4785 48%,
            #153d68 100%
        );

    color: #ffffff;

}


.home-hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.12),
            transparent
        );

    pointer-events: none;

}


.home-hero-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.04),
            rgba(0, 0, 0, 0.18)
        );

}


.home-hero-conteudo {

    width: 100%;

    max-width: 900px;

    position: relative;

    z-index: 2;

    text-align: center;

}


.home-hero-subtitulo {

    display: inline-block;

    margin-bottom: 18px;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    color:
        rgba(
            255,
            255,
            255,
            0.78
        );

}


.home-hero h1 {

    max-width: 900px;

    margin:
        0
        auto;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            52px,
            8vw,
            100px
        );

    font-weight: 400;

    line-height: 0.95;

    letter-spacing: -0.035em;

}


.home-hero-versiculo {

    margin:
        24px
        0
        0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            19px,
            2vw,
            25px
        );

    font-style: italic;

    color:
        rgba(
            255,
            255,
            255,
            0.82
        );

}


.home-hero-acoes {

    margin-top: 40px;

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

}


.home-btn {

    min-height: 46px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding:
        0
        22px;

    border-radius: 5px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;

}


.home-btn:hover {

    transform:
        translateY(
            -2px
        );

}


.home-btn-principal {

    background: #ffffff;

    color: #0f4785;

    border:
        1px solid
        #ffffff;

}


.home-btn-secundario {

    background: transparent;

    color: #ffffff;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.55
        );

}


.home-btn-secundario:hover {

    border-color: #ffffff;

    background:
        rgba(
            255,
            255,
            255,
            0.08
        );

}


.home-hero-scroll {

    position: absolute;

    z-index: 2;

    bottom: 27px;

    left: 50%;

    transform:
        translateX(
            -50%
        );

    color:
        rgba(
            255,
            255,
            255,
            0.72
        );

    text-decoration: none;

    font-size: 24px;

}



/* =========================================================
   SEÇÕES
========================================================= */

.home-secao {

    position: relative;

    padding:
        100px
        0;

}

.home-secao[data-separador="linha"]::before,
.home-secao[data-separador="dourado"]::before,
.home-secao[data-separador="centro"]::before {

    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: min(1120px, calc(100% - 48px));

    transform: translateX(-50%);

}

.home-secao[data-separador="linha"]::before {
    border-top: 1px solid rgba(23, 63, 107, .10);
}

.home-secao[data-separador="dourado"]::before {
    border-top: 1px solid rgba(177, 144, 88, .42);
}

.home-secao[data-separador="centro"]::before {
    height: 1px;
    background: linear-gradient(90deg, rgba(23,63,107,0), rgba(23,63,107,.18) 18%, rgba(177,144,88,.52) 50%, rgba(23,63,107,.18) 82%, rgba(23,63,107,0));
}


.home-secao:nth-of-type(even) {

    background: #f7f8fa;

}


.home-secao-cabecalho {

    width: 100%;

    max-width: 700px;

    margin:
        0
        auto
        55px;

    text-align: center;

}


.home-secao-etiqueta {

    display: block;

    margin-bottom: 10px;

    color: #0f4785;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;

}


.home-secao h2 {

    margin:
        0;

    color: #203247;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            34px,
            4vw,
            50px
        );

    font-weight: 400;

    line-height: 1.08;

}


.home-secao-cabecalho p {

    margin:
        18px
        auto
        0;

    color: #6a7683;

    font-size: 15px;

    line-height: 1.8;

}



/* =========================================================
   QUEM SOMOS
========================================================= */

.home-quem-somos-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);

    align-items: center;

    gap:
        clamp(
            40px,
            7vw,
            90px
        );

}


.home-quem-somos-imagem {

    min-width: 0;

}


.home-imagem-placeholder {

    min-height: 420px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 4px;

    background:

        linear-gradient(
            135deg,
            #e4e8ec,
            #cdd5dd
        );

    color:
        rgba(
            15,
            71,
            133,
            0.42
        );

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 30px;

    letter-spacing: 0.12em;

}


.home-quem-somos-conteudo h3 {

    margin:
        10px
        0
        20px;

    color: #203247;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            30px,
            3.5vw,
            42px
        );

    font-weight: 400;

    line-height: 1.15;

}


.home-quem-somos-conteudo p {

    margin:
        0
        0
        25px;

    color: #6a7683;

    line-height: 1.8;

}


.home-link {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #0f4785;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

}



/* =========================================================
   PASTOR
========================================================= */

.home-pastor {

    background: #f7f8fa;

}


.home-pastor-grid {

    display: grid;

    grid-template-columns:
        minmax(280px, 0.75fr)
        minmax(0, 1.25fr);

    gap:
        clamp(
            45px,
            8vw,
            100px
        );

    align-items: center;

}


.home-pastor-foto
.home-imagem-placeholder {

    min-height: 500px;

}


.home-pastor-conteudo {

    max-width: 650px;

}


.home-pastor-nome {

    margin:
        15px
        0
        18px;

    color: #0f4785;

    font-weight: 700;

}


.home-pastor-conteudo > p:not(.home-pastor-nome) {

    color: #697684;

    line-height: 1.8;

}


.home-pastor blockquote {

    margin:
        30px
        0
        0;

    padding:
        5px
        0
        5px
        24px;

    border-left:
        2px solid
        #0f4785;

    color: #445365;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 19px;

    font-style: italic;

    line-height: 1.7;

}



/* =========================================================
   GRIDS
========================================================= */

.home-ministerios-grid,
.home-acontecendo-grid,
.home-eventos-grid {

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 24px;

}



/* =========================================================
   PLACEHOLDERS
========================================================= */

.home-card-placeholder {

    min-height: 240px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 30px;

    background: #ffffff;

    border:
        1px solid
        #e3e7eb;

    border-radius: 6px;

    text-align: center;

}


.home-card-placeholder span {

    color: #7a8793;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 0.1em;

}


.home-card-placeholder strong {

    margin-top: 8px;

    color: #203247;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;

    font-weight: 400;

}



/* =========================================================
   ACONTECENDO
========================================================= */

.home-secao-cabecalho-linha {

    max-width: none;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    text-align: left;

}


.home-secao-cabecalho-linha
.home-link {

    flex: 0 0 auto;

}



/* =========================================================
   DESTAQUE
========================================================= */

.home-destaque {

    padding:
        120px
        0;

    background:

        linear-gradient(
            135deg,
            #0b315c,
            #0f4785
        );

    color: #ffffff;

}


.home-destaque-conteudo {

    max-width: 720px;

}


.home-destaque
.home-secao-etiqueta {

    color:
        rgba(
            255,
            255,
            255,
            0.66
        );

}


.home-destaque h2 {

    margin: 0;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            38px,
            5vw,
            58px
        );

    font-weight: 400;

    line-height: 1.08;

}


.home-destaque p {

    max-width: 570px;

    margin:
        20px
        0
        0;

    color:
        rgba(
            255,
            255,
            255,
            0.74
        );

    font-size: 15px;

    line-height: 1.8;

}



/* =========================================================
   CONTATO
========================================================= */

.home-contato {

    background: #f4f6f8;

}


.home-contato-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(300px, 0.9fr);

    gap:
        clamp(
            50px,
            8vw,
            100px
        );

}


.home-contato-grid > div:first-child p {

    max-width: 560px;

    color: #697684;

    line-height: 1.8;

}


.home-contato-informacoes {

    display: grid;

    gap: 1px;

    background: #e1e6eb;

    border:
        1px solid
        #e1e6eb;

}


.home-contato-informacoes > div {

    display: flex;

    flex-direction: column;

    gap: 6px;

    padding: 24px;

    background: #ffffff;

}


.home-contato-informacoes span {

    color: #778390;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.1em;

    text-transform: uppercase;

}


.home-contato-informacoes strong {

    color: #26384c;

    font-size: 14px;

}



/* =========================================================
   RESPONSIVO
========================================================= */

@media (
    max-width: 850px
) {

    .home-secao {

        padding:
            75px
            0;

    }


    .home-quem-somos-grid,
    .home-pastor-grid,
    .home-contato-grid {

        grid-template-columns:
            1fr;

        gap: 40px;

    }


    .home-pastor-foto {

        max-width: 500px;

    }


    .home-ministerios-grid,
    .home-acontecendo-grid,
    .home-eventos-grid {

        grid-template-columns:
            1fr
            1fr;

    }

}



@media (
    max-width: 600px
) {

    .home-container {

        width:
            calc(
                100%
                -
                30px
            );

    }


    .home-hero {

        min-height: 680px;

        padding:
            85px
            18px;

    }


    .home-hero h1 {

        font-size:
            clamp(
                46px,
                16vw,
                68px
            );

    }


    .home-hero-acoes {

        flex-direction: column;

        align-items: stretch;

        max-width: 320px;

        margin:
            35px
            auto
            0;

    }


    .home-secao {

        padding:
            65px
            0;

    }


    .home-secao-cabecalho {

        margin-bottom: 38px;

    }


    .home-secao-cabecalho-linha {

        align-items: flex-start;

        flex-direction: column;

    }


    .home-ministerios-grid,
    .home-acontecendo-grid,
    .home-eventos-grid {

        grid-template-columns:
            1fr;

    }


    .home-imagem-placeholder {

        min-height: 330px;

    }


    .home-pastor-foto
    .home-imagem-placeholder {

        min-height: 420px;

    }


    .home-destaque {

        padding:
            85px
            0;

    }

   /* =========================================================
   HOME DINÂMICA - CMS
========================================================= */


/* =========================================================
   HERO COM FOTO
========================================================= */

.home-hero {

    position: relative;

    overflow: hidden;

}


.home-hero-imagem {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    z-index: 0;

}


.home-hero-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(7, 25, 44, .82) 0%,
            rgba(7, 25, 44, .62) 48%,
            rgba(7, 25, 44, .30) 100%
        );

}


.home-hero-conteudo,
.home-hero-scroll {

    position: relative;

    z-index: 2;

}



/* =========================================================
   FOTO DA IGREJA
========================================================= */

.home-quem-somos-imagem {

    overflow: hidden;

    border-radius: 18px;

}


.home-quem-somos-foto {

    width: 100%;
    height: 100%;

    min-height: 430px;

    display: block;

    object-fit: cover;

    object-position: center;

}



/* =========================================================
   PASTOR SEM FOTO
========================================================= */

.home-pastor-monograma {

    width: 100%;
    min-height: 430px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #0f4785,
            #173a61
        );

    box-shadow:
        0 18px 45px
        rgba(15, 71, 133, .18);

}


.home-pastor-monograma span {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 130px;
    height: 130px;

    border:
        1px solid
        rgba(255,255,255,.45);

    border-radius: 50%;

    color: #ffffff;

    font-size: 42px;
    font-weight: 300;

    letter-spacing: .08em;

}



/* =========================================================
   CULTOS
========================================================= */

.home-cultos-lista {

    display: grid;

    gap: 9px;

    margin-top: 8px;

}


.home-culto-item {

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding:
        9px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,.12);

}


.home-culto-item:last-child {

    border-bottom: 0;

}


.home-culto-item strong {

    font-size: 14px;

}


.home-culto-item span {

    white-space: nowrap;

    font-size: 14px;

    font-weight: 600;

}



/* =========================================================
   EMAIL
========================================================= */

.home-contato-email {

    color: inherit;

    font-weight: 600;

    text-decoration: none;

    word-break: break-word;

}


.home-contato-email:hover {

    text-decoration: underline;

}



/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 760px) {

    .home-quem-somos-foto,
    .home-pastor-monograma {

        min-height: 310px;

    }


    .home-culto-item {

        align-items: flex-start;

        flex-direction: column;

        gap: 3px;

    }

}

}

/* =========================================================
   MINISTÉRIOS PÚBLICOS
========================================================= */

.home-ministerios-grid {

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 22px;

}



/* =========================================================
   CARD
========================================================= */

.home-ministerio-card {

    position: relative;

    min-width: 0;

    overflow: hidden;

    padding: 28px;

    border:
        1px solid
        #e5e9ee;

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 8px 28px
        rgba(
            18,
            43,
            69,
            .06
        );

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;

}


.home-ministerio-card:hover {

    transform:
        translateY(
            -4px
        );

    border-color:
        rgba(
            15,
            71,
            133,
            .18
        );

    box-shadow:
        0 16px 38px
        rgba(
            18,
            43,
            69,
            .10
        );

}



/* =========================================================
   MONOGRAMA
========================================================= */

.home-ministerio-simbolo {

    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #0f4785,
            #183c64
        );

    color: #ffffff;

    font-size: 17px;
    font-weight: 700;

    letter-spacing: .06em;

}



/* =========================================================
   CONTEÚDO
========================================================= */

.home-ministerio-conteudo {

    display: flex;

    flex-direction: column;

    min-height: 250px;

}


.home-ministerio-etiqueta {

    margin-bottom: 7px;

    color: #2f80ed;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;

}


.home-ministerio-card h3 {

    margin: 0;

    color: #24364b;

    font-size: 21px;

    line-height: 1.3;

}


.home-ministerio-card p {

    margin:
        13px 0
        18px;

    color: #687787;

    font-size: 13px;

    line-height: 1.7;

}



/* =========================================================
   LIDERANÇA
========================================================= */

.home-ministerio-lideranca {

    display: flex;

    flex-direction: column;

    gap: 3px;

    margin-top: auto;

    padding-top: 15px;

    border-top:
        1px solid
        #edf0f3;

}


.home-ministerio-lideranca span {

    color: #8a96a3;

    font-size: 9px;

    text-transform: uppercase;

}


.home-ministerio-lideranca strong {

    color: #46596d;

    font-size: 11px;

    line-height: 1.5;

}



/* =========================================================
   LINK
========================================================= */

.home-ministerio-link {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 20px;

    color: #0f4785;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

}


.home-ministerio-link span {

    transition:
        transform .2s ease;

}


.home-ministerio-link:hover span {

    transform:
        translateX(
            3px
        );

}



/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 950px) {

    .home-ministerios-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

    }

}


@media (max-width: 620px) {

    .home-ministerios-grid {

        grid-template-columns:
            1fr;

    }


    .home-ministerio-card {

        padding: 23px;

    }

}

/* =========================================================
   HOME - AJUSTE DEFINITIVO DA IMAGEM INSTITUCIONAL
========================================================= */


/* =========================================================
   HERO
   Volta a ser totalmente institucional / azul
========================================================= */

.home-hero {

    position: relative;

    min-height: 610px;
    height: auto;
    max-height: none;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #082f59 0%,
            #0f4785 48%,
            #1c639f 100%
        );

}


/*
 * Não existe mais fotografia no Hero.
 */

.home-hero-imagem {

    display: none !important;

}


/*
 * Mantemos apenas um efeito discreto
 * sobre o azul.
 */

.home-hero-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        radial-gradient(
            circle at 82% 25%,
            rgba(255, 255, 255, .12),
            transparent 34%
        ),
        radial-gradient(
            circle at 18% 85%,
            rgba(255, 255, 255, .06),
            transparent 30%
        );

    pointer-events: none;

}


.home-hero-conteudo,
.home-hero-scroll {

    position: relative;

    z-index: 2;

}



/* =========================================================
   QUEM SOMOS
========================================================= */

.home-quem-somos-grid {

    display: grid;

    grid-template-columns:
        420px
        minmax(
            0,
            1fr
        );

    align-items: center;

    gap: 70px;

}



/* =========================================================
   CAIXA DA FOTO
========================================================= */

.home-quem-somos-imagem {

    width: 100%;
    max-width: 420px;

    min-height: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: visible;

    border-radius: 0;

    background: transparent;

}



/* =========================================================
   FOTO
   IMPORTANTE: NÃO CORTA
========================================================= */

.home-quem-somos-foto {

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 330px;

    min-height: 0;

    display: block;

    object-fit: contain;

    object-position: center;

    border-radius: 12px;

    box-shadow:
        0 14px 36px
        rgba(
            26,
            46,
            67,
            .15
        );

}



/* =========================================================
   CONTEÚDO
========================================================= */

.home-quem-somos-conteudo {

    min-width: 0;

}


.home-quem-somos-conteudo h3 {

    max-width: 690px;

    margin:
        8px 0
        22px;

    font-size:
        clamp(
            32px,
            3vw,
            48px
        );

    line-height: 1.10;

}


.home-quem-somos-conteudo p {

    max-width: 720px;

    margin: 0;

    font-size: 15px;

    line-height: 1.85;

}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .home-hero {

        min-height: 560px;

    }


    .home-quem-somos-grid {

        grid-template-columns:
            320px
            minmax(
                0,
                1fr
            );

        gap: 40px;

    }


    .home-quem-somos-imagem {

        max-width: 320px;

    }


    .home-quem-somos-foto {

        max-height: 280px;

    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .home-hero {

        min-height: 520px;

    }


    .home-quem-somos-grid {

        grid-template-columns:
            1fr;

        gap: 32px;

    }


    .home-quem-somos-imagem {

        width: 100%;
        max-width: 360px;

        margin:
            0 auto;

    }


    .home-quem-somos-foto {

        width: auto;
        height: auto;

        max-width: 100%;
        max-height: 280px;

        object-fit: contain;

    }


    .home-quem-somos-conteudo {

        text-align: left;

    }


    .home-quem-somos-conteudo h3 {

        font-size: 32px;

    }

}

/* =========================================================
   LOGOS DOS MINISTÉRIOS + FOTO DA LIDERANÇA
========================================================= */

.home-ministerio-simbolo.tem-logo {
    overflow: hidden;
    border: 1px solid #e3e8ed;
    background: #ffffff;
}

.home-ministerio-simbolo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 5px;
    box-sizing: border-box;
}

.home-pastor-foto > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}



/* E5.3C — horários dos cultos no rodapé desktop */
@media (min-width: 761px) {
    .home-cultos-lista {
        gap: 6px;
        margin-top: 10px;
    }

    .home-culto-item {
        display: grid;
        grid-template-columns: minmax(120px, 1fr) auto;
        align-items: baseline;
        gap: 18px;
        padding: 6px 0;
        border-bottom: 0;
    }

    .home-culto-item strong {
        min-width: 0;
        font-size: 13px;
    }

    .home-culto-item span {
        color: #526273;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .01em;
    }
}

/* =========================================================
   HOME CMS MODULAR - 2026-09-10
========================================================= */

.home-page > [hidden],
.home-page section[hidden],
.home-destaque-midia[hidden],
.home-btn[hidden],
.home-secao-etiqueta[hidden],
.home-secao-cabecalho p[hidden],
.home-contato-grid p[hidden] {
    display: none !important;
}

.home-hero {
    background-position: center;
    background-size: cover;
}

/* =========================================================
   ACONTECENDO / MÍDIAS
========================================================= */

.home-acontecendo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-acontecendo-carrossel {
    display: grid;
    gap: 18px;
}

.home-acontecendo-viewport {
    overflow: hidden;
    border-radius: 18px;
}

.home-acontecendo-track {
    display: flex;
    transition: transform .45s ease;
    will-change: transform;
}

.home-acontecendo-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.home-acontecendo-slide .home-acontecendo-card {
    min-height: clamp(280px, 42vw, 460px);
}

.home-acontecendo-acoes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.home-acontecendo-nav {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(23, 63, 107, .18);
    border-radius: 999px;
    background: #ffffff;
    color: #173f6b;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-acontecendo-nav:hover {
    transform: translateY(-1px);
    border-color: rgba(23, 63, 107, .32);
    box-shadow: 0 10px 24px rgba(23, 63, 107, .10);
}

.home-acontecendo-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.home-acontecendo-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(23, 63, 107, .22);
    cursor: pointer;
    transition: width .2s ease, background-color .2s ease, transform .2s ease;
}

.home-acontecendo-dot.ativo {
    width: 28px;
    background: #173f6b;
}

.home-acontecendo-card {
    min-width: 0;
    overflow: hidden;
    position: relative;
    display: block;
    min-height: 260px;
    border-radius: 14px;
    background: #1d2f41;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(20, 40, 60, .10);
    transition: transform .22s ease, box-shadow .22s ease;
}

.home-acontecendo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(20, 40, 60, .16);
}

.home-acontecendo-imagem {
    position: absolute;
    inset: 0;
}

.home-acontecendo-imagem::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 19, 31, .04) 35%, rgba(7, 19, 31, .86) 100%);
}

.home-acontecendo-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.home-acontecendo-card:hover .home-acontecendo-imagem img {
    transform: scale(1.025);
}

.home-acontecendo-legenda {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 44px 18px 17px;
}

.home-acontecendo-legenda span,
.home-acontecendo-legenda strong {
    display: block;
}

.home-acontecendo-legenda span {
    margin-bottom: 4px;
    color: rgba(255,255,255,.72);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-acontecendo-legenda strong {
    overflow: hidden;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =========================================================
   DESTAQUE PRINCIPAL EDITÁVEL
========================================================= */

.home-destaque {
    background-position: center;
    background-size: cover;
}

.home-destaque-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: center;
}

.home-destaque-grid.com-midia {
    grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr);
}

.home-destaque-midia {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    background: rgba(0,0,0,.24);
    box-shadow: 0 18px 42px rgba(0,0,0,.20);
}

.home-destaque-midia iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.home-btn-claro {
    margin-top: 18px;
    border-color: rgba(255,255,255,.82);
    background: #ffffff;
    color: #173f6b;
}

/* =========================================================
   BLOCOS LIVRES
========================================================= */

.home-bloco-livre {
    position: relative;
}

.home-bloco-conteudo h2,
.home-bloco-destaque-conteudo h2,
.home-bloco-informativo-card h2 {
    margin: 8px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 500;
    line-height: 1.1;
}

.home-bloco-conteudo p,
.home-bloco-destaque-conteudo p,
.home-bloco-informativo-card p {
    margin: 18px 0 0;
    font-size: 16px;
    line-height: 1.75;
}

.home-bloco-btn {
    margin-top: 22px;
    background: #0f4785;
    color: #ffffff;
}

.home-bloco-texto-imagem-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 76px);
    align-items: center;
}

.home-bloco-texto-imagem-grid.imagem-direita .home-bloco-imagem {
    order: 2;
}

.home-bloco-imagem {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    background: #e7edf2;
    box-shadow: 0 14px 38px rgba(25, 47, 68, .10);
}

.home-bloco-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-bloco-destaque-livre {
    padding: clamp(76px, 9vw, 120px) 0;
    background-position: center;
    background-size: cover;
    color: #ffffff;
}

.home-bloco-destaque-livre .home-secao-etiqueta {
    color: rgba(255,255,255,.72);
}

.home-bloco-destaque-conteudo {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.home-bloco-destaque-conteudo .home-bloco-btn {
    background: #ffffff;
    color: #173f6b;
}

.home-bloco-informativo-card {
    padding: clamp(30px, 5vw, 58px);
    border: 1px solid #e1e8ee;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(25, 47, 68, .07);
}

.home-bloco-informativo-card.azul {
    border-color: transparent;
    background: linear-gradient(135deg, #0d3d6f, #175791);
    color: #ffffff;
}

.home-bloco-informativo-card.azul .home-secao-etiqueta {
    color: rgba(255,255,255,.72);
}

.home-bloco-informativo-card.azul .home-bloco-btn {
    background: #ffffff;
    color: #173f6b;
}

.home-bloco-informativo-card.neutro {
    border-color: #ddd9d0;
    background: #eeeae2;
    color: #3e454a;
}

.home-secao-cabecalho.central {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.home-bloco-video-frame {
    overflow: hidden;
    width: min(960px, 100%);
    aspect-ratio: 16 / 9;
    margin: 34px auto 0;
    border-radius: 16px;
    background: #172737;
    box-shadow: 0 16px 42px rgba(26, 44, 61, .14);
}

.home-bloco-video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.home-bloco-video > .home-container > .home-bloco-btn {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.home-bloco-galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
}

.home-bloco-galeria-grid figure {
    min-width: 0;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
    margin: 0;
    border-radius: 12px;
    background: #e5ebef;
}

.home-bloco-galeria-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.home-bloco-galeria-grid figure:hover img {
    transform: scale(1.02);
}

.home-bloco-galeria-grid figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px 12px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,.72));
    color: #ffffff;
    font-size: 12px;
}

.home-bloco-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.home-bloco-links a {
    min-width: 180px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid #b8c9d8;
    border-radius: 9px;
    background: #ffffff;
    color: #174b7b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.home-bloco-links a:hover {
    transform: translateY(-2px);
    border-color: #6b98bf;
    box-shadow: 0 8px 20px rgba(24, 63, 97, .09);
}

/* =========================================================
   RESPONSIVO CMS HOME
========================================================= */

@media (max-width: 900px) {
    .home-acontecendo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-destaque-grid.com-midia,
    .home-bloco-texto-imagem-grid {
        grid-template-columns: 1fr;
    }
    .home-bloco-texto-imagem-grid.imagem-direita .home-bloco-imagem {
        order: 0;
    }
    .home-bloco-galeria-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .home-acontecendo-grid,
    .home-bloco-galeria-grid {
        grid-template-columns: 1fr;
    }
    .home-acontecendo-card {
        min-height: 240px;
    }
    .home-acontecendo-acoes {
        gap: 10px;
    }
    .home-acontecendo-nav {
        width: 38px;
        height: 38px;
    }
    .home-destaque-grid.com-midia {
        grid-template-columns: minmax(0, 1fr);
    }
    .home-bloco-links {
        display: grid;
    }
    .home-bloco-links a {
        width: 100%;
    }
}

/* =========================================================
   CMS3.1 - SEPARADORES DE BLOCOS
   Regras finais mais robustas: linha aplicada no próprio
   bloco para não depender apenas do pseudo-elemento.
========================================================= */

[data-home-bloco-id][data-separador] {
    position: relative;
}

[data-home-bloco-id][data-separador="linha"] {
    box-shadow: inset 0 1px 0 rgba(23, 63, 107, .18);
}

[data-home-bloco-id][data-separador="dourado"] {
    box-shadow: inset 0 2px 0 rgba(177, 144, 88, .58);
}

.home-secao[data-separador="linha"]::before,
.home-secao[data-separador="dourado"]::before,
[data-home-bloco-id][data-separador="linha"]::before,
[data-home-bloco-id][data-separador="dourado"]::before {
    content: none;
}

[data-home-bloco-id][data-separador="centro"]::before {
    content: "";
    position: absolute;
    z-index: 4;
    top: 0;
    left: 50%;
    width: min(1120px, calc(100% - 48px));
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(
        90deg,
        rgba(23, 63, 107, 0),
        rgba(23, 63, 107, .18) 18%,
        rgba(177, 144, 88, .72) 50%,
        rgba(23, 63, 107, .18) 82%,
        rgba(23, 63, 107, 0)
    );
    pointer-events: none;
}


/* =========================================================
   HOME — AJUSTES MOBILE / TRILHAS HORIZONTAIS (2026-09-12)
========================================================= */

/* O CSS autoral não pode reexibir elementos que o JS marcou como hidden. */
.home-pastor-foto > img[hidden],
.home-pastor-monograma[hidden] {
    display: none !important;
}

/* Ministérios: uma única trilha horizontal, sem quebra de linha. */
.home-ministerios-grid {
    display: flex;
    align-items: stretch;
    gap: 22px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 4px 18px;
    margin-inline: -4px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 71, 133, .28) transparent;
}

.home-ministerios-grid::-webkit-scrollbar {
    height: 7px;
}

.home-ministerios-grid::-webkit-scrollbar-track {
    background: transparent;
}

.home-ministerios-grid::-webkit-scrollbar-thumb {
    background: rgba(15, 71, 133, .24);
    border-radius: 999px;
}

.home-ministerio-card {
    flex: 0 0 clamp(300px, 30.5%, 360px);
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.home-ministerios-grid > .home-card-placeholder {
    flex: 0 0 100%;
}

@media (max-width: 760px) {
    .home-ministerios-grid {
        gap: 16px;
        padding-bottom: 14px;
    }

    .home-ministerio-card {
        flex-basis: min(82vw, 340px);
        padding: 23px;
    }
}


/* =========================================================
   E7.4C9 — VARIANTES DE BOTÃO DOS BLOCOS DA HOME
========================================================= */
.home-bloco-btn {
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(15,71,133,.14);
    font-weight: 750;
}
.home-bloco-btn span {
    transition: transform .18s ease;
}
.home-bloco-btn:hover span {
    transform: translateX(3px);
}
.home-bloco-btn-primario {
    background: linear-gradient(135deg,#0E75A7 0%,#22B8EF 100%);
    color: #FEFEFE;
}
.home-bloco-btn-dourado {
    background: linear-gradient(135deg,#B9874F 0%,#D7B07C 62%,#EDDDC7 100%);
    color: #17324A;
    box-shadow: 0 8px 22px rgba(185,135,79,.18);
}
.home-bloco-btn-chama {
    background: linear-gradient(135deg,#ED3237 0%,#FF4000 68%,#F5A623 100%);
    color: #FEFEFE;
    box-shadow: 0 8px 22px rgba(237,50,55,.18);
}
.home-bloco-btn-contorno {
    background: transparent;
    color: #17324A;
    border-color: rgba(23,50,74,.35);
    box-shadow: none;
}
.home-bloco-destaque-livre .home-bloco-btn-contorno,
.home-bloco-informativo-card.azul .home-bloco-btn-contorno {
    color: #FEFEFE;
    border-color: rgba(255,255,255,.56);
}

/* E7.4C9 — tipografia local da Home sem dependência de fonte externa */
body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

/* E7.4C9 — presets visuais adicionais dos blocos informativos */
.home-bloco-informativo-card.areia {
    border-color: rgba(185,135,79,.22);
    background: linear-gradient(135deg,#F8F4EC 0%,#EDDDC7 100%);
    color:#17324A;
}
.home-bloco-informativo-card.destaque {
    position:relative;
    overflow:hidden;
    border-color:rgba(34,184,239,.20);
    background:linear-gradient(135deg,#102536 0%,#17354A 100%);
    color:#F8F6F0;
}
.home-bloco-informativo-card.destaque::before {
    content:"";
    position:absolute;
    left:0; top:0; bottom:0;
    width:5px;
    background:linear-gradient(180deg,#22B8EF,#46C3F1);
}
.home-bloco-informativo-card.destaque .home-secao-etiqueta { color:#65D5FD; }
.home-bloco-btn.home-bloco-btn-primario,
.home-bloco-informativo-card .home-bloco-btn.home-bloco-btn-primario,
.home-bloco-destaque-conteudo .home-bloco-btn.home-bloco-btn-primario { background:linear-gradient(135deg,#0E75A7 0%,#22B8EF 100%);color:#FEFEFE; }
.home-bloco-btn.home-bloco-btn-dourado,
.home-bloco-informativo-card .home-bloco-btn.home-bloco-btn-dourado,
.home-bloco-destaque-conteudo .home-bloco-btn.home-bloco-btn-dourado { background:linear-gradient(135deg,#B9874F 0%,#D7B07C 62%,#EDDDC7 100%);color:#17324A; }
.home-bloco-btn.home-bloco-btn-chama,
.home-bloco-informativo-card .home-bloco-btn.home-bloco-btn-chama,
.home-bloco-destaque-conteudo .home-bloco-btn.home-bloco-btn-chama { background:linear-gradient(135deg,#ED3237 0%,#FF4000 68%,#F5A623 100%);color:#FEFEFE; }
.home-bloco-btn.home-bloco-btn-contorno,
.home-bloco-informativo-card .home-bloco-btn.home-bloco-btn-contorno,
.home-bloco-destaque-conteudo .home-bloco-btn.home-bloco-btn-contorno { background:transparent;color:inherit;border-color:currentColor;box-shadow:none; }

/* =========================================================
   E7.4C10 — CTAs PERSONALIZÁVEIS + CITAÇÕES IECJS
========================================================= */
.home-btn.home-btn-estilo-primario {
    border-color:transparent;
    background:linear-gradient(135deg,#0E75A7 0%,#22B8EF 100%);
    color:#FEFEFE;
    box-shadow:0 8px 20px rgba(34,184,239,.16);
}
.home-btn.home-btn-estilo-dourado {
    border-color:rgba(185,135,79,.34);
    background:linear-gradient(135deg,#B9874F 0%,#D7B07C 62%,#EDDDC7 100%);
    color:#17324A;
    box-shadow:0 8px 20px rgba(185,135,79,.14);
}
.home-btn.home-btn-estilo-chama {
    border-color:transparent;
    background:linear-gradient(135deg,#ED3237 0%,#FF4000 68%,#F5A623 100%);
    color:#FEFEFE;
    box-shadow:0 8px 20px rgba(237,50,55,.16);
}
.home-btn.home-btn-estilo-contorno {
    border-color:currentColor;
    background:transparent;
    color:inherit;
    box-shadow:none;
}
.home-btn[class*="home-btn-icone-"]::before,
.home-btn[class*="home-btn-icone-"]::after {
    display:inline-block;
    font-weight:800;
    line-height:1;
}
.home-btn.home-btn-icone-seta::after { content:"→"; margin-left:8px; transition:transform .18s ease; }
.home-btn.home-btn-icone-seta:hover::after { transform:translateX(3px); }
.home-btn.home-btn-icone-play::before { content:"▶"; margin-right:8px; font-size:.9em; }
.home-btn.home-btn-icone-calendario::before { content:"▣"; margin-right:8px; font-size:.92em; }
.home-btn.home-btn-icone-chama::before { content:"🔥"; margin-right:8px; }
.home-btn.home-btn-icone-nenhum::before,
.home-btn.home-btn-icone-nenhum::after { content:none; }

.home-bloco-links {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
}
.home-bloco-link { min-width:150px; }

.home-citacao-card {
    margin:0;
    padding:clamp(28px,5vw,52px);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:24px;
    border:1px solid rgba(23,50,74,.10);
    border-radius:18px;
    background:#F8F6F0;
    color:#17324A;
    text-align:center;
    box-shadow:0 14px 34px rgba(23,50,74,.07);
}
.home-citacao-card.estilo-areia { background:#EDDDC7; color:#17324A; }
.home-citacao-card.estilo-azul { background:linear-gradient(135deg,#17354A,#0E75A7); color:#F8F6F0; }
.home-citacao-card.estilo-noite { background:linear-gradient(135deg,#09131D,#17354A); color:#F8F6F0; }
.home-citacao-card.chama-acima { flex-direction:column; }
.home-citacao-card.chama-lado { flex-direction:row; text-align:left; }
.home-citacao-card .home-citacao-chama {
    flex:0 0 auto;
    display:grid;
    place-items:center;
    width:58px;
    height:58px;
    border-radius:16px;
    background:linear-gradient(135deg,rgba(237,50,55,.14),rgba(255,64,0,.10));
    font-size:34px;
}
.home-citacao-card h2 {
    margin:0 0 14px;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(24px,3.2vw,38px);
    font-weight:600;
}
.home-citacao-card blockquote {
    max-width:860px;
    margin:0;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(20px,2.8vw,32px);
    line-height:1.45;
}
.home-citacao-card figcaption {
    margin-top:16px;
    font-size:14px;
    font-weight:800;
    opacity:.74;
}
.home-citacao-card .home-secao-etiqueta { color:inherit; opacity:.72; }

@media(max-width:640px){
    .home-citacao-card.chama-lado { flex-direction:column; text-align:center; }
    .home-bloco-links { display:grid; grid-template-columns:1fr; }
    .home-bloco-link { width:100%; }
}


/* =========================================================
   E7.4C10A — HOME SEM FLASH DE CONTEÚDO ANTERIOR
========================================================= */
body.home-publica.home-cms-loading {
    background:#0F4785;
}

body.home-publica .home-page {
    transition:opacity .18s ease;
}

body.home-publica.home-cms-loading .home-page {
    visibility:hidden;
    opacity:0;
    pointer-events:none;
}

body.home-publica.home-cms-ready .home-page {
    visibility:visible;
    opacity:1;
}

@media (prefers-reduced-motion: reduce) {
    body.home-publica .home-page { transition:none; }
}

/* =========================================================
   E7.5B — ÁREA PÚBLICA / HOME MOBILE FINAL
========================================================= */
body.home-publica {
    background: #F8F6F0;
}

body.home-publica .home-secao {
    background: #F8F6F0;
}

body.home-publica .home-secao:nth-of-type(even) {
    background: #F2F5F5;
}

body.home-publica .home-contato {
    background: #EEF2F2;
}

body.home-publica .home-contato-informacoes {
    border-color: rgba(23,50,74,.10);
    background: rgba(23,50,74,.10);
    border-radius: 14px;
    overflow: hidden;
}

body.home-publica .home-contato-informacoes > div {
    background: #FFFDF8;
}

body.home-publica .home-btn {
    min-height: 48px;
}

@media (max-width: 760px) {
    body.home-publica .home-hero {
        min-height: max(560px, calc(100svh - var(--iecjs-topbar-altura, 68px)));
        padding-top: clamp(74px, 13vh, 110px);
        padding-bottom: 74px;
    }

    body.home-publica .home-hero-conteudo {
        max-width: 620px;
    }

    body.home-publica .home-hero-subtitulo {
        margin-bottom: 14px;
        font-size: 11px;
        line-height: 1.5;
    }

    body.home-publica .home-hero h1 {
        font-size: clamp(46px, 15vw, 70px);
        line-height: 1;
    }

    body.home-publica .home-hero-versiculo {
        margin-top: 18px;
        font-size: clamp(18px, 5.5vw, 23px);
        line-height: 1.35;
    }

    body.home-publica .home-secao {
        padding-block: 64px;
    }

    body.home-publica .home-secao h2,
    body.home-publica .home-quem-somos-conteudo h3 {
        overflow-wrap: anywhere;
    }

    body.home-publica .home-contato-grid {
        gap: 32px;
    }

    body.home-publica .home-contato-informacoes > div {
        padding: 20px;
    }

    body.home-publica .home-hero-scroll {
        bottom: 18px;
    }
}

@media (max-width: 430px) {
    body.home-publica .home-container {
        width: calc(100% - 28px);
    }

    body.home-publica .home-hero {
        min-height: max(540px, calc(100svh - var(--iecjs-topbar-altura, 68px)));
        padding-inline: 16px;
    }

    body.home-publica .home-hero-acoes {
        width: min(100%, 330px);
    }

    body.home-publica .home-hero-acoes .home-btn,
    body.home-publica .home-bloco-links .home-btn,
    body.home-publica .home-bloco-links .home-bloco-link {
        width: 100%;
        min-height: 50px;
    }

    body.home-publica .home-secao {
        padding-block: 56px;
    }
}
