*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0f130f;
    color: #f5f5f5;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Topbar */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(8, 12, 8, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1000;
    backdrop-filter: blur(16px);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 80px;
    /* height: 40px; */
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.logo-subtitle {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Nav */

.nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.9rem;
}

.nav a {
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.btn-nav {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Mobile nav toggle */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #f5f5f5;
    border-radius: 999px;
}

/* Hero */

.hero {
    position: relative;
    min-height: 100vh;
    background: radial-gradient(circle at top left, #556b2f 0, #11150f 55%, #050705 100%);
    color: #fdfdfb;
    padding-top: 88px;
    display: flex;
    align-items: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 55%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: center;
    padding: 4rem 0 5rem;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 3.4vw, 3.1rem);
    margin-bottom: 1rem;
}

.hero-subtitle {
    max-width: 500px;
    opacity: 0.9;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 1.25rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
    background: linear-gradient(135deg, #b0cebf, #f4f3e1);
    color: #182015;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5);
}

.btn.outline {
    border-color: rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #f5f5f5;
}

.btn.outline:hover {
    background: rgba(255, 255, 255, 0.06);
}

.btn.block {
    width: 100%;
    justify-content: center;
}

.hero-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.hero-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* Hero card */

.hero-card {
    background: rgba(5, 9, 5, 0.9);
    border-radius: 1.5rem;
    padding: 1.75rem 1.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65);
}

.hero-card h2 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.hero-card-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1.2rem;
}

.hero-list {
    list-style: none;
    margin-bottom: 1.2rem;
}

.hero-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.hero-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.48rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #b0cebf;
}

.hero-note {
    font-size: 0.78rem;
    opacity: 0.7;
    margin-top: 0.6rem;
}

/* Sections genéricas */

.section {
    padding: 5rem 0;
    background: #050705;
}

.section-alt {
    background: #0a0e0a;
}

.section-inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.section-tag {
    display: inline-flex;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 0.95rem;
    opacity: 0.86;
}

/* Grid genérica */

.grid {
    display: grid;
    gap: 1.75rem;
}

.about-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.about-card,
.agenda-card,
.ministry-card {
    background: radial-gradient(circle at top left, rgba(176, 206, 191, 0.08), rgba(0, 0, 0, 0.85));
    border-radius: 1.2rem;
    padding: 1.6rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-card h3,
.agenda-card h3,
.ministry-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
}

.about-card p,
.agenda-card p,
.ministry-card p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-card ul {
    list-style: none;
    margin-top: 0.6rem;
}

.about-card li {
    font-size: 0.88rem;
    opacity: 0.92;
    margin-bottom: 0.3rem;
    padding-left: 0.9rem;
    position: relative;
}

.about-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
}

/* Agenda */

.agenda-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.agenda-day {
    font-size: 0.9rem;
    color: #b0cebf;
    margin-bottom: 0.6rem;
}

/* Ministérios */

.ministry-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

/* Localização + Contato */

.visit-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.visit-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.4rem;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.visit-card .section-header {
    text-align: left;
    margin: 0 0 1.25rem;
    max-width: none;
}

.visit-card .section-header p {
    margin-bottom: 0;
}

.contact-card {
    gap: 1.2rem;
}

.location-list {
    list-style: none;
    margin: 1rem 0 1.5rem;
    font-size: 0.93rem;
}

.location-list li {
    margin-bottom: 0.35rem;
}

.location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.location-note,
.map-note {
    font-size: 0.78rem;
    opacity: 0.7;
}

.location-map iframe {
    width: 100%;
    min-height: 260px;
    border: 0;
    border-radius: 1.2rem;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}

/* Contato */

.contact {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.contact-grid {
    display: flex;
    justify-content: center;
}

.contact-form {
    background: radial-gradient(circle at top, rgba(176, 206, 191, 0.14), rgba(0, 0, 0, 0.92));
    border-radius: 1.4rem;
    padding: 1.8rem 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.field {
    margin-bottom: 1rem;
}

.field label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    opacity: 0.9;
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(4, 6, 4, 0.95);
    color: #f5f5f5;
    font: inherit;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: #b0cebf;
    box-shadow: 0 0 0 1px rgba(176, 206, 191, 0.5);
}

.form-note {
    font-size: 0.78rem;
    opacity: 0.7;
    margin-top: 0.4rem;
}

.contact-info h3 {
    margin-bottom: 0.75rem;
}
.contact-info {
    max-width: 460px;
    margin: 0 auto;
}

.contact-info ul {
    list-style: none;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.contact-info li {
    margin-bottom: 0.3rem;
}

.contact-text {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.8rem;
}

/* Footer */

.footer {
    background: #050705;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.4rem 0 1.7rem;
    font-size: 0.8rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
    opacity: 0.82;
}

/* Responsividade */

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .hero-card {
        max-width: 380px;
        margin: 0 auto;
    }

    .visit-contact {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .topbar-inner {
        gap: 1rem;
    }

    .nav {
        position: absolute;
        inset: 72px 0 auto;
        background: rgba(5, 7, 5, 0.98);
        flex-direction: column;
        padding: 1rem 1.5rem 1.25rem;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 84px;
    }

    .hero-inner {
        padding-top: 3rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-info {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-card {
        padding: 1.4rem 1.3rem;
    }
}
