/* ==============================
   CASA DA ADORAÇÃO — CSS COMPLETO
   ============================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #c9a227;
    --primary-light: #e6c765;
    --primary-dim: #8a7020;
    --dark: #0c0c0e;
    --dark-2: #151517;
    --dark-3: #1e1e21;
    --cream: #faf7f0;
    --cream-2: #f2ede1;
    --text: #2a2a2a;
    --muted: #6f6a5f;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-display {
    font-family: 'Fraunces', serif;
}

a {
    text-decoration: none;
}

::selection {
    background: var(--primary);
    color: var(--dark);
}

/* ============================
   HORIZONTE
   ============================ */

.horizonte {
    position: relative;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--primary) 50%, transparent);
    opacity: .7;
}

.horizonte::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-light);
    box-shadow: 0 0 20px 4px rgba(201, 162, 39, .6);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dim);
    text-transform: uppercase;
    margin-bottom: 18px;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--primary);
}

.eyebrow.justify-content-center::before {
    margin-right: 0;
}

/* ============================
   NAVBAR
   ============================ */

.navbar {
    padding: 22px 0;
    transition: .4s;
    background: linear-gradient(rgba(0, 0, 0, .35), transparent);
}

.navbar.scrolled {
    background: rgba(12, 12, 14, .92);
    backdrop-filter: blur(16px);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.nav-link {
    color: #fff !important;
    margin-left: 26px;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: .3px;
    position: relative;
    transition: .3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--primary-light);
    transition: .3s;
}

.nav-link:hover {
    color: var(--primary-light) !important;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: var(--dark) !important;
    padding: 10px 22px !important;
    border-radius: 50px;
    margin-left: 26px;
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--primary-light) !important;
    transform: translateY(-2px);
}

/* ============================
   HERO COM VÍDEO
   ============================ */

.hero {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 680px;
    display: flex;
    align-items: center;
}

.hero-video-wrapper,
.hero-carousel-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    /* fundo dourado/preto exibido enquanto o vídeo/fotos carregam ou se faltarem */
    background:
        radial-gradient(ellipse 900px 500px at 50% 18%, rgba(201,162,39,.22), transparent 60%),
        linear-gradient(160deg,#151517 0%,#0c0c0e 55%,#000 100%);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* CARROSSEL DE FOTOS DO HERO (Bootstrap carousel nativo) */
#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100%;
}

.hero-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 14, 0.55);
    z-index: 1;
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 2;
}

.hero-rays {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 1400px;
    height: 1400px;
    background: conic-gradient(from 0deg, transparent 0 8%, rgba(201, 162, 39, .05) 9% 10%, transparent 11% 100%);
    animation: spin 60s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes spin {
    from {
        transform: translateX(-50%) rotate(0deg);
    }
    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero .logo {
    width: 120px;
    animation: float 6s ease-in-out infinite;
    margin-bottom: 24px;
    filter: drop-shadow(0 10px 30px rgba(201, 162, 39, .25));
}

.hero .subtitle {
    display: block;
    letter-spacing: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--primary-light);
}

.hero h1 {
    font-size: 76px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.05;
    letter-spacing: -.5px;
}

.hero-text {
    max-width: 640px;
    font-size: 19px;
    line-height: 1.8;
    margin: 28px auto 0;
    opacity: .85;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-top: 44px;
    flex-wrap: wrap;
}

.btn {
    font-family: 'Poppins', sans-serif;
}

.btn-gold {
    background: var(--primary);
    border: none;
    color: var(--dark);
    padding: 16px 38px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: .3px;
    transition: .35s;
    display: inline-block;
}

.btn-gold:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(201, 162, 39, .3);
    color: var(--dark);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    padding: 16px 38px;
    border-radius: 50px;
    font-weight: 500;
    transition: .35s;
    display: inline-block;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .08);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
}

.btn-dark-outline {
    border: 1px solid var(--dark);
    color: var(--dark);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: .35s;
    display: inline-block;
}

.btn-dark-outline:hover {
    background: var(--dark);
    color: #fff;
}

.scroll-down {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 26px;
    color: var(--primary-light);
    animation: down 2s infinite;
    z-index: 10;
    opacity: .8;
}

@keyframes down {
    0%,
    100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 12px);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* ============================
   SECTIONS
   ============================ */

section {
    padding: 120px 0;
}

.section-tight {
    padding: 90px 0;
}

section h2 {
    font-weight: 600;
    font-size: 44px;
    line-height: 1.15;
    margin-bottom: 22px;
}

section p {
    line-height: 1.9;
    color: var(--muted);
}

.bg-dark-section {
    background: var(--dark);
    color: #fff;
}

.bg-dark-section h2,
.bg-dark-section h3,
.bg-dark-section h4 {
    color: #fff;
}

.bg-cream-2 {
    background: var(--cream-2);
}

/* ============================
   IMAGEM PLACEHOLDER
   ============================ */

.img-placeholder {
    aspect-ratio: 4/5;
    border-radius: 18px;
    background: linear-gradient(160deg, #1c1c1f, #0c0c0e);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .18);
}

.img-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.img-placeholder.landscape {
    aspect-ratio: 16/10;
}

.img-placeholder .icone-vazio {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

.img-placeholder .dica-imagem {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

/* FIX: quando existir uma <img> dentro do placeholder, o ícone e a
   dica somem sozinhos — não precisa mais apagar essas linhas na mão
   toda vez que uma foto real for adicionada. */
.img-placeholder:has(img) .icone-vazio,
.img-placeholder:has(img) .dica-imagem {
    display: none;
}

/* ============================
   VALORES
   ============================ */

.valor-card {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 18px;
    padding: 44px 30px;
    text-align: center;
    height: 100%;
    background: #fff;
    transition: .4s;
}

.valor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .08);
    border-color: transparent;
}

.valor-card i {
    font-size: 34px;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 18px;
}

.valor-card h4 {
    font-weight: 600;
    font-size: 19px;
    margin-bottom: 8px;
}

.valor-card p {
    font-size: 14px;
    margin-bottom: 0;
}

/* ============================
   CULTOS
   ============================ */

.culto {
    background: radial-gradient(ellipse 700px 400px at 50% 0%, rgba(201, 162, 39, .14), transparent 60%),
        var(--dark);
    position: relative;
    text-align: center;
}

.culto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
    margin-top: 56px;
}

.culto-item {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    padding: 36px 20px;
    background: rgba(255, 255, 255, .03);
    transition: .35s;
}

.culto-item:hover {
    border-color: var(--primary);
    background: rgba(201, 162, 39, .06);
}

.culto-item .dia {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 28px;
    color: var(--primary-light);
    margin-bottom: 6px;
}

.culto-item .hora {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 6px;
}

.culto-item .desc {
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
}

#contador {
    margin-top: 14px;
    font-size: 15px;
    letter-spacing: 2px;
    color: var(--primary-light);
    text-transform: uppercase;
    font-weight: 600;
}

/* ============================
   PASTORES
   ============================ */

.pastor-card {
    text-align: center;
}

.pastor-avatar {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: linear-gradient(160deg, #1c1c1f, #0c0c0e);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 0 auto 26px;
    max-width: 220px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .15);
    border: 3px solid var(--cream);
    outline: 1px solid rgba(201, 162, 39, .35);
}

.pastor-avatar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 35% 25%, rgba(201, 162, 39, .3), transparent 60%);
}

.pastor-avatar .iniciais {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 44px;
    color: var(--primary-light);
    position: relative;
    z-index: 2;
    align-items: center;
    justify-content: center;
}

.pastor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    position: relative;
    z-index: 2;
    border-radius: 50%;
}

.pastor-card h4 {
    font-weight: 600;
    font-size: 21px;
    margin-bottom: 2px;
}

.pastor-card .funcao {
    color: var(--primary-dim);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}

.pastor-card p {
    font-size: 14.5px;
    max-width: 320px;
    margin: 0 auto;
}

.pastor-teaser {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pastor-card .btn-historia,
button.btn-historia,
.btn-historia {
    appearance: none !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 1px solid #c9a227 !important;
    border-radius: 50px !important;
    outline: none !important;
    cursor: pointer !important;
    font-family: 'Poppins', sans-serif !important;
    color: #8a7020 !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    line-height: 1.2 !important;
    letter-spacing: .8px !important;
    text-transform: uppercase !important;
    padding: 9px 22px !important;
    margin-top: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: .3s !important;
    box-shadow: none !important;
}

.pastor-card .btn-historia i,
button.btn-historia i {
    font-size: 12px;
    transition: .3s;
}

.pastor-card .btn-historia:hover,
.pastor-card .btn-historia:focus,
button.btn-historia:hover,
button.btn-historia:focus {
    background-color: #c9a227 !important;
    border-color: #c9a227 !important;
    color: #0c0c0e !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(201, 162, 39, .22) !important;
}

.pastor-card .btn-historia:hover i,
button.btn-historia:hover i {
    transform: translateX(3px);
}

/* ============================
   MODAL — HISTÓRIA DO PASTOR
   ============================ */

.pastor-modal-content {
    background: var(--dark);
    color: rgba(255, 255, 255, .8);
    border: 1px solid rgba(201, 162, 39, .25);
    border-radius: 18px;
}

.pastor-modal-content .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 24px 28px 18px;
}

.pastor-modal-content .modal-title {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 24px;
    color: #fff;
}

.pastor-modal-content .modal-body {
    padding: 24px 28px 30px;
}

.pastor-modal-content .funcao {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.pastor-modal-content p {
    max-width: none;
    line-height: 1.9;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, .75);
}

.pastor-modal-content p:last-of-type {
    margin-bottom: 20px;
}

.pastor-socials {
    margin-top: 16px;
    display: flex;
    gap: 14px;
    justify-content: center;
}

.pastor-socials a {
    color: var(--muted);
    font-size: 17px;
    transition: .3s;
}

.pastor-socials a:hover {
    color: var(--primary);
}

/* ============================
   TESTEMUNHOS
   ============================ */

.testemunho-card {
    border-radius: 18px;
    padding: 38px 32px;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    position: relative;
}

.testemunho-card i.bi-quote {
    font-size: 26px;
    color: var(--primary);
    opacity: .5;
}

.testemunho-card p {
    color: var(--text);
    font-style: italic;
    font-size: 17px;
    margin: 16px 0 20px;
}

.testemunho-card strong {
    font-size: 14px;
    letter-spacing: .5px;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 600;
}

/* ============================
   CONTATO
   ============================ */

.contato-info-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.contato-info-item:last-child {
    border-bottom: none;
}

.contato-info-item i {
    font-size: 20px;
    color: var(--primary-light);
    width: 26px;
    padding-top: 3px;
}

.contato-info-item h5 {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    color: #fff;
}

.contato-info-item p,
.contato-info-item a {
    color: rgba(255, 255, 255, .65);
    font-size: 14.5px;
    margin: 0;
}

.contato-info-item a:hover {
    color: var(--primary-light);
}

.social-row {
    display: flex;
    gap: 14px;
    margin-top: 28px;
}

.social-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: .3s;
}

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

.form-control {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    padding: 15px 18px;
    border-radius: 12px;
    font-size: 14.5px;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, .4);
}

.form-control:focus {
    background: rgba(255, 255, 255, .07);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, .12);
    color: #fff;
}

textarea.form-control {
    resize: none;
}

.form-status {
    font-size: 13.5px;
    font-weight: 500;
}

.form-status:empty {
    display: none;
}

.form-status-success {
    color: #6fd68a;
}

.form-status-error {
    color: #ff8a8a;
}

.map-frame {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    filter: grayscale(.4) contrast(1.1);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: 0;
    display: block;
}

/* ============================
   FOOTER
   ============================ */

footer {
    background: #000;
    padding: 70px 0 30px;
}

footer .logo-footer {
    height: 64px;
    margin-bottom: 18px;
}

footer .footer-tag {
    color: rgba(255, 255, 255, .5);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

footer .footer-links {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

footer .footer-links a {
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    transition: .3s;
}

footer .footer-links a:hover {
    color: var(--primary-light);
}

footer .copy {
    color: rgba(255, 255, 255, .3);
    font-size: 12.5px;
    margin-top: 30px;
}

/* ============================
   SCROLLBAR
   ============================ */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

/* ============================
   WHATSAPP FLUTUANTE
   ============================ */

#whats-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    z-index: 999;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .25);
    transition: .3s;
}

#whats-float:hover {
    transform: translateY(-4px) scale(1.05);
    color: #fff;
}

/* ============================
   LOADER
   ============================ */

#loader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: .8s;
}

.loader-content {
    text-align: center;
    animation: fadeLoader 1.6s;
}

.loader-content img {
    width: 100px;
    margin-bottom: 18px;
}

.loader-content h2 {
    color: #fff;
    font-weight: 600;
    font-style: italic;
    font-size: 26px;
}

.loader-content span {
    color: var(--primary-light);
    letter-spacing: 4px;
    font-size: 12px;
    text-transform: uppercase;
    display: block;
    margin-top: 8px;
}

@keyframes fadeLoader {
    0% {
        opacity: 0;
        transform: scale(.92);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================
   RESPONSIVO
   ============================ */

@media(max-width:991px) {
    .hero h1 {
        font-size: 48px;
    }
    .hero .subtitle {
        font-size: 11px;
        letter-spacing: 6px;
    }
    .hero-text {
        font-size: 17px;
    }
    section {
        padding: 80px 0;
    }
    section h2 {
        font-size: 32px;
    }
}

@media(max-width:768px) {
    .hero h1 {
        font-size: 36px;
        letter-spacing: -.5px;
    }
    .hero .logo {
        width: 90px;
    }
    .hero-text {
        font-size: 15px;
        padding: 0 10px;
    }
    .btn-gold,
    .btn-ghost {
        width: 100%;
        text-align: center;
    }
    .hero-buttons {
        flex-direction: column;
    }
    #whats-float {
        width: 48px;
        height: 48px;
        font-size: 22px;
        bottom: 20px;
        left: 20px;
    }
}
