:root {
    --bg: #0f0f0f;
    --card: #1a1a1a;
    --text: #ffffff;
    --accent: #4da3ff;
}

html {
    font-family: 'Inter', sans-serif;
}

body {
    margin: 0;
    position: relative;
    color: white;
    min-height: 100vh;
    font-weight: 400;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url('/assets/images/background.webp');
    background-size: cover;
    background-position: center;
    filter: brightness(0.18) blur(2px);
    z-index: -1;
}

h1,
h2,
h3 {
    font-weight: 700;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 24px;
    background: rgba(10, 10, 10, .78);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 700;
    text-decoration: none;
}

.site-brand img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
}

.site-nav a {
    color: rgba(255, 255, 255, .86);
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
}

.site-nav a:hover {
    color: white;
}

.hero {
    text-align: center;
    padding: 3rem;
    padding-top: 80px;
}

.hero img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .2);
    box-shadow: 0 0 25px rgba(0, 0, 0, .5);
    backdrop-filter: blur(5px);
    margin-top: 30px;
}

.historia-section {
    padding: 30px 20px;
}

.historia-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
    gap: 28px;
    max-width: 820px;
    margin: 0 auto;
    padding: 28px;
    background: rgba(15, 15, 15, .75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
}

.historia-texto h2 {
    margin-top: 0;
}

.historia-texto p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .88);
}

.historia-foto {
    margin: 0;
}

.historia-foto img {
    display: block;
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

.card {
    max-width: 700px;
    margin: 20px auto;
    background: rgba(15, 15, 15, .75);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 20px 25px;
    border: 1px solid rgba(255, 255, 255, .08);
}

.card-link,
.botao {
    display: block;
    text-align: center;
    padding: 1rem;
    margin: 1rem;
    border-radius: 10px;
    text-decoration: none;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.culto-card {

    max-width: 700px;

    margin: 20px auto;

    padding: 20px 25px;

    border-radius: 14px;

    background: rgba(15, 15, 15, .75);

    backdrop-filter: blur(12px);

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

.culto-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.culto-card p {
    margin: 6px 0;
}

.links-grid {
    display: grid;
    gap: 15px;

    max-width: 700px;

    margin: 40px auto;
}

.action-card {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 3px;

    min-height: 65px;

    text-decoration: none;

    color: white;

    font-size: 1.1rem;

    font-weight: 600;

    border-radius: 14px;

    background: rgba(25, 25, 25, 0.65);

    backdrop-filter: blur(12px);

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

    transition: all .25s ease;
}

.action-card small {
    color: rgba(255, 255, 255, .72);
    font-size: .9rem;
    font-weight: 400;
}

.action-card:hover {

    transform: translateY(-3px);

    background: rgba(35, 35, 35, 0.85);

    border-color: rgba(255, 255, 255, 0.2);

    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.hero-button {
    display: inline-block;

    margin-top: 20px;

    padding: 14px 32px;

    border-radius: 999px;

    color: white;

    text-decoration: none;

    font-weight: 700;

    background: linear-gradient(135deg,
            rgba(255, 255, 255, .18),
            rgba(255, 255, 255, .08));

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

    backdrop-filter: blur(12px);

    transition: .3s;
}

.hero-button:hover {
    transform: translateY(-2px);

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

    box-shadow: 0 10px 25px rgba(0, 0, 0, .35);
}

#mapa {
    height: 600px;
}

.map-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50% 50% 50% 8px;
    color: white;
    font-size: 20px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .35);
    transform: rotate(-45deg);
}

.map-marker::before {
    transform: rotate(45deg);
}

.map-marker-celula {
    background: #2563eb;
    border: 2px solid white;
}

.map-marker-igreja {
    background: #d97706;
    border: 3px solid white;
}

.map-marker-igreja::after {
    content: "";
    position: absolute;
    inset: -7px;
    border: 2px solid rgba(217, 119, 6, .38);
    border-radius: 50% 50% 50% 8px;
}

.map-marker span {
    transform: rotate(45deg);
}

.popup-celula {
    min-width: 220px;
    color: #111827;
}

.popup-celula h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #111827;
    font-size: 1.2rem;
}

.popup-celula p {
    margin: 5px 0;
}

.popup-lider {
    font-weight: 700;
}

.btn-whatsapp {
    display: block;
    margin-top: 10px;
    padding: 10px;
    background: #25D366;
    color: white !important;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.evento-info {
    margin: 10px 0;
}

.evento-info div {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, .85);
}

.site-footer {
    margin-top: 60px;
    padding: 28px 20px;
    text-align: center;
    color: rgba(255, 255, 255, .72);
    background: rgba(10, 10, 10, .65);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.site-footer p {
    margin: 4px 0;
}

.dizimo-oferta {
    text-align: center;
}

.dizimo-oferta-tt {
    white-space: pre-line;
}

.dizimo-oferta img {
    width: 70%;
    max-width: 300px;
    height: auto;
}

@media (max-width: 720px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .hero {
        padding: 2rem 1.25rem;
    }

    .historia-content {
        grid-template-columns: 1fr;
        padding: 22px;
        text-align: center;
    }

    .historia-foto {
        order: -1;
        justify-self: center;
    }

    .historia-foto img {
        width: 180px;
        height: 180px;
    }
}