:root {
    /* Paleta Primária ADEFE */
    --primary-color: #1351AA;       /* Azul ADEFE — base */
    --secondary-color: #032150;     /* Azul profundo */
    --accent-color: #FFB703;        /* Amarelo destaque */
    --danger-color: #AB0F0F;        /* Vermelho ênfase */
    --cyan-color: #6FCFCF;          /* Ciano suporte */
    --neutral-color: #E3E2DE;       /* Cinza claro neutro */
    --umadefe-color: #126782;       /* Azul complementar */
    --orange-color: #F46020;        /* Laranja vibrante */
    --wine-color: #591414;          /* Vinho escuro */
    --green-color: #045830;         /* Verde profundo */

    --dark: #032150;
    --light: #FFFFFF;
    --gray: #6C757D;
    --light-gray: #F8F9FA;
    --gradient: linear-gradient(135deg, #1351AA 0%, #FFB703 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);

    /* Tipografia */
    --font-heading: 'Anton', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

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

/* Tipografia global */
body {
    font-family: var(--font-body);
}
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3,
.hero-title, .mbr-section-title,
.card-title, .item-title {
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}
.display-4, .display-5, .display-7,
.mbr-text, .mbr-fonts-style,
.nav-link, .dropdown-item,
p, li, a, span, label, input, textarea, select, button {
    font-family: var(--font-body);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--light);
}

/* Hero text block — keeps title + subtitle same width */
.hero-text-block {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
}

.hero-title {
    font-family: var(--font-body);
    font-weight: 500 !important;
    color: #002266;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    white-space: nowrap;
}

.hero-top-line {
    font-size: clamp(1.8rem, 4.2vw, 3.4rem);
}

.highlight {
    background: #002266;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: clamp(1.9rem, 4.8vw, 3.8rem);
}

.hero-text-block .highlight {
    -webkit-text-stroke: 1px #002266;
}

.hero-text-block .hero-subtitle {
    padding: 0 2rem;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
    white-space: normal;
}

/* Botões — identidade ADEFE */
.btn-primary {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: #000 !important;
}
.btn-primary:hover {
    background-color: #e5a503 !important;
    border-color: #e5a503 !important;
}
.btn-secondary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}
.btn-secondary:hover {
    background-color: var(--umadefe-color) !important;
    border-color: var(--umadefe-color) !important;
}

.hero-subtitle {
    font-size: clamp(0.85rem, 1.6vw, 1.1rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: #2B2B2B;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-content .mbr-section-btn .btn {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

@media (max-width: 480px) {
    .hero-top-line {
        font-size: 1.2rem;
        letter-spacing: 0.08em;
    }

    .highlight {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-text-block .hero-subtitle {
        padding: 0 1rem;
        font-size: 0.8rem;
    }
}

/* Nav menu no-wrap fix */
.nav-menu-nowrap {
    flex-wrap: nowrap;
    width: 100%;
    justify-content: center;
}

/* Override theme margin to center nav */
.cid-tJS6tZXiPa .navbar-nav {
    margin: 0 auto !important;
}

.nav-menu-nowrap .nav-item .nav-link {
    white-space: nowrap;
    padding: 0.5rem 0.55rem;
    font-size: 0.9rem;
}

.nav-menu-nowrap .dropdown-menu .dropdown-item {
    font-size: 0.8rem;
}

@media (min-width: 992px) and (max-width: 1399px) {
    .nav-menu-nowrap .nav-item .nav-link {
        padding: 0.5rem 0.4rem;
        font-size: 0.82rem;
    }
    .nav-menu-nowrap .dropdown-menu .dropdown-item {
        font-size: 0.75rem;
    }
}

@media (max-width: 991px) {
    .nav-menu-nowrap {
        flex-wrap: wrap;
    }
    .nav-menu-nowrap .nav-item .nav-link {
        padding: 0.5rem 0.7rem;
        font-size: 0.95rem;
    }
}

/* YouTube Videos Section */
.yt-video-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.yt-video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: inherit;
    text-decoration: none;
}

.yt-thumb-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.yt-thumb-wrapper img {
    transition: transform 0.3s ease;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.yt-video-card:hover .yt-thumb-wrapper img {
    transform: scale(1.05);
}

.yt-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.yt-video-card:hover .yt-play-icon {
    opacity: 1;
}

.yt-video-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

/* YouTube Video Modal */
#ytVideoModal .modal-content {
    border-radius: 12px;
    overflow: hidden;
}

#ytVideoModal .modal-header {
    padding: 0.75rem 1rem;
}

#ytVideoModal .modal-title {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 40px);
}

/* Directoria Geral Cards */
.dir-card {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    background: var(--light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.dir-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.dir-card--presidente {
    border: 2px solid rgba(255, 107, 53, 0.70);
    box-shadow: 0 4px 24px rgba(255, 107, 53, 0.15);
}

.dir-card__img {
    width: 110px;
    height: 110px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e9ecef;
}

.dir-card--presidente .dir-card__img {
    width: 130px;
    height: 130px;
    border-color: rgba(255, 107, 53, 0.70);
}

.dir-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dir-card__cargo {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--light);
    background: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.dir-card--presidente .dir-card__cargo {
    background: var(--primary-color);
}

.dir-card__nome {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0.5rem 0 0;
    color: var(--dark);
    line-height: 1.3;
}

.dir-card__igreja {
    display: block;
    font-size: 0.78rem;
    color: #888;
    margin-top: 0.25rem;
}

/* Missões / Guerreiros Missionários */
.missoes-section {
    padding: 4rem 0;
}

.missao-img-wrapper {
    border-radius: 12px;
    overflow: hidden;
    height: 280px;
}

.missao-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.missao-img-wrapper:hover img {
    transform: scale(1.05);
}

.missao-content-card {
    background: var(--light);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.missao-contribua {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--light);
}

.missao-banco {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.missao-banco__item {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.missao-banco__label {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.missao-banco__value {
    font-size: 0.85rem;
    opacity: 0.9;
    font-family: monospace;
    word-break: break-all;
}

@media (max-width: 767px) {
    .missao-img-wrapper {
        height: 200px;
    }
}

/* Igrejas Section */
.igr-search-wrap {
    max-width: 500px;
    margin: 0 auto;
}

.igr-search-wrap .form-control {
    border-radius: 24px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border: 2px solid #e0e0e0;
}

.igr-search-wrap .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

/* Igreja mais próxima (mapa) */
.igr-perto { max-width: 900px; margin: 0 auto 2rem; text-align: center; font-family: 'Poppins', sans-serif; }
.igr-perto__texto { margin: 0 0 .6rem; font-size: .9rem; color: #555; }
.igr-perto__botoes { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.igr-perto__btn {
    display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1.1rem; border-radius: 24px;
    border: 2px solid var(--primary-color, #1351AA); background: #fff; color: var(--primary-color, #1351AA);
    font-size: .88rem; font-weight: 600; font-family: inherit; cursor: pointer; transition: background .2s, color .2s;
}
.igr-perto__btn:hover, .igr-perto__btn:focus-visible { background: rgba(19, 81, 170, .08); }
.igr-perto__btn--principal { background: var(--primary-color, #1351AA); color: #fff; }
.igr-perto__btn--principal:hover, .igr-perto__btn--principal:focus-visible { background: #0d3f86; }
.igr-perto__btn:disabled { opacity: .6; cursor: wait; }
.igr-perto__estado { min-height: 1.2rem; margin: .6rem 0 0; font-size: .88rem; color: #555; }
.igr-perto__estado.erro { color: #a12622; font-weight: 600; }
.igr-perto__resultado { margin-top: .75rem; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1rem; text-align: left; }
.igr-mapa { height: 380px; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0, 0, 0, .1); z-index: 0; }
.igr-perto__lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.igr-perto__item { display: flex; align-items: center; gap: .75rem; padding: .7rem .85rem; border: 1px solid #e1e6ef; border-radius: 10px; background: #fff; }
.igr-perto__item--1 { border: 2px solid #e8590c; background: #fff7f2; }
.igr-perto__num { flex: 0 0 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--primary-color, #1351AA); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.igr-perto__item--1 .igr-perto__num { background: #e8590c; }
.igr-perto__info { flex: 1 1 auto; min-width: 0; }
.igr-perto__nome { display: block; padding: 0; border: 0; background: none; font: 600 .92rem 'Poppins', sans-serif; color: #1a1a2e; text-align: left; cursor: pointer; }
.igr-perto__nome:hover { color: var(--primary-color, #1351AA); text-decoration: underline; }
.igr-perto__local { display: block; font-size: .78rem; color: #666; }
.igr-perto__dist { flex: 0 0 auto; text-align: right; font-size: .82rem; font-weight: 700; color: var(--primary-color, #1351AA); }
.igr-perto__dist a { display: block; font-weight: 500; font-size: .75rem; }
.igr-popup b { display: block; margin-bottom: .25rem; }
.igr-popup button { margin-top: .35rem; padding: .25rem .6rem; border: 0; border-radius: 6px; background: var(--primary-color, #1351AA); color: #fff; font-size: .8rem; cursor: pointer; }
@media (max-width: 768px) {
    .igr-perto__resultado { grid-template-columns: 1fr; }
    .igr-mapa { height: 300px; }
}

.igr-filter-btn {
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    border: 2px solid var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.igr-filter-btn:hover {
    background: rgba(0, 78, 137, 0.08);
}

.igr-filter-btn.active {
    background: var(--secondary-color);
    color: white;
}

.igr-country {
    margin-bottom: 2.5rem;
}

.igr-country-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    background: var(--secondary-color);
    color: white;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.igr-flag {
    font-size: 1.8rem;
}

.igr-country-name {
    font-size: 1.2rem;
    font-weight: 700;
    flex: 1;
}

.igr-count {
    font-size: 0.8rem;
    opacity: 0.75;
}

.igr-region {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.igr-region-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray);
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.3rem;
    margin-bottom: 0.5rem;
}

.igr-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.4rem;
}

.igr-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.45rem 0.65rem;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    background: var(--light);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.2s ease;
}

.igr-item:hover {
    border-color: var(--primary-color);
    background: #fff5f0;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Igreja Modal */
.igm-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--secondary-color);
    color: white;
}

.igm-top .igm-nome {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
}

.igm-top .btn-close {
    filter: invert(1);
    flex-shrink: 0;
}

.igm-content {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
}

.igm-photo-col {
    flex-shrink: 0;
    width: 160px;
    text-align: center;
}

.igm-photo {
    width: 160px;
    height: 200px;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
    display: block;
}

.igm-pastor-name {
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 0.5rem;
    color: var(--dark);
}

.igm-info-col {
    flex: 1;
    min-width: 0;
}

.igm-info-col p {
    margin: 0.3rem 0;
    font-size: 0.88rem;
}

.igm-info-col a {
    color: var(--secondary-color);
    text-decoration: none;
}

.igm-info-col a:hover {
    text-decoration: underline;
}

.igm-map {
    padding: 0 1.25rem 1.25rem;
}

@media (max-width: 575px) {
    .igm-content {
        flex-direction: column;
        align-items: center;
    }
    .igm-photo-col {
        width: 120px;
    }
    .igm-photo {
        width: 120px;
        height: 150px;
    }
}

/* Igreja Modal — photo skeleton shimmer */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.img-skeleton {
  background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 8px;
}

.img-skeleton-wrapper {
  position: relative;
  display: inline-block;
  width: 160px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
}

.img-skeleton-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
}

@media (max-width: 575px) {
  .img-skeleton-wrapper {
    width: 120px;
    height: 150px;
  }
}

/* WhatsApp Floating Button */
#whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Flag icons */
.flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    vertical-align: middle;
    margin-right: 2px;
    box-shadow: 0 0 1px rgba(0,0,0,0.2);
}

/* Navbar Social Icons */
.navbar-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    padding-left: 1rem;
}
.navbar-social a {
    color: #555;
    font-size: 1.1rem;
    transition: color 0.2s, transform 0.2s;
    line-height: 1;
}
.navbar-social a:hover {
    color: var(--primary-color, #FF6B35);
    transform: scale(1.15);
}
@media (max-width: 991px) {
    .navbar-social {
        justify-content: center;
        margin-left: 0;
        padding: 0.75rem 0 0;
    }
}

/* Full-width navbar */
.cid-tJS6tZXiPa .navbar > .container {
    max-width: 100%;
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.cid-tJS6tZXiPa,
.cid-tJS6tZXiPa .navbar {
    border-radius: 0 !important;
}
.cid-tJS6tZXiPa {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Opacity scroll navbar — transparent at top, solid on scroll */
.cid-tJS6tZXiPa .navbar {
    background: transparent !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
    border-radius: 0 !important;
}
.cid-tJS6tZXiPa .navbar.navbar-short {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    min-height: 60px !important;
}
.cid-tJS6tZXiPa .navbar.navbar-short .navbar-logo img {
    height: 3.5rem !important;
}

/* Versículo do dia */
#versiculododia {
    font-style: italic;
}
#versiculododia a {
    color: var(--accent-color) !important;
    text-decoration: none !important;
}

/* Cultos tabs */
#cultosTab .nav-link {
    color: var(--gray);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: .9rem;
    padding: .5rem 1.2rem;
    border: 1px solid #ddd;
    margin: 0 .25rem;
    transition: all .2s;
}
#cultosTab .nav-link.active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}
#cultosTab .nav-link .flag-icon {
    margin-right: 4px;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 9998;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--secondary-color, #004E89);
    color: #fff;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    font-size: 1.2rem;
    line-height: 1;
}
#back-to-top.visible {
    display: flex;
}
#back-to-top:hover {
    transform: scale(1.1);
    background: var(--primary-color, #FF6B35);
}

/* =========================================================
   Página Contribuir — abas das formas de doação
   ========================================================= */
.doacao-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(max-content, 1fr));
    gap: .5rem;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: .25rem;
    margin-bottom: 1rem;
}
.doacao-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    padding: .8rem .75rem;
    border: 2px solid var(--primary-color, #1351AA);
    border-radius: 10px;
    background: #fff;
    color: var(--primary-color, #1351AA);
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.doacao-tab strong { font-size: .95rem; }
.doacao-tab span { font-size: .78rem; opacity: .75; overflow-wrap: normal; word-break: normal; hyphens: none; }
.doacao-tab__logo {
    display: block;
    height: 2.75rem;
    width: auto;
    max-width: 8.5rem;
    object-fit: contain;
    margin-bottom: .45rem;
}
.doacao-tab:hover { background: rgba(19, 81, 170, .06); }
/* Aba escolhida: fundo claro (as logos são coloridas) + contorno grosso + barra em baixo */
.doacao-tab.active {
    background: #EAF1FB;
    box-shadow: 0 6px 16px rgba(19, 81, 170, .22), inset 0 0 0 1px var(--primary-color, #1351AA), inset 0 -4px 0 var(--primary-color, #1351AA);
}
/* Formulário MB WAY (aba MB WAY e página do QR code) */
.mbway-form { max-width: 560px; margin: 0 auto; font-family: 'Poppins', sans-serif; text-align: left; }
.mbway-form *, .mbway-form *::before, .mbway-form *::after, .mbway-msg, .mbway-msg * { box-sizing: border-box; }
.mbway-form label { display: block; margin: 1rem 0 .35rem; font-weight: 600; font-size: .9rem; color: #1a1a2e; }
.mbway-form input[type="text"], .mbway-form input[type="email"], .mbway-form input[type="tel"],
.mbway-form input[type="number"], .mbway-form select, .mbway-form textarea {
    width: 100%; min-height: 46px; padding: .55rem .85rem; border: 1px solid #cfd6e4; border-radius: 8px;
    background: #fff; font-size: 1rem; font-family: inherit; color: #1a1a2e;
}
.mbway-form textarea { min-height: 90px; resize: vertical; }
.mbway-form input:focus, .mbway-form select:focus, .mbway-form textarea:focus {
    outline: none; border-color: var(--primary-color, #1351AA); box-shadow: 0 0 0 3px rgba(19, 81, 170, .15);
}
.mbway-form__telefone { display: flex; gap: .5rem; }
.mbway-form__telefone select { flex: 0 0 9.5rem; }
.mbway-form__telefone input { flex: 1 1 auto; min-width: 0; }
.mbway-form__ajuda { margin: .6rem 0 .35rem; font-size: .85rem; color: #555; }
.mbway-form__valores { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.mbway-form__valores button {
    padding: .6rem 0; border: 2px solid var(--primary-color, #1351AA); border-radius: 8px; background: #fff;
    color: var(--primary-color, #1351AA); font-weight: 600; font-family: inherit; cursor: pointer; transition: background .2s, color .2s;
}
.mbway-form__valores button:hover, .mbway-form__valores button:focus-visible { background: var(--primary-color, #1351AA); color: #fff; }
.mbway-form .mbway-form__termos { display: flex; align-items: flex-start; gap: .6rem; font-weight: 400; margin-top: 1.25rem; cursor: pointer; }
.mbway-form__termos input { width: 18px; height: 18px; margin-top: .2rem; flex-shrink: 0; accent-color: var(--primary-color, #1351AA); }
.mbway-form__nota { margin: .9rem 0 0; font-size: .8rem; color: #6c757d; text-align: center; }
.mbway-msg { margin-top: 1rem; padding: 1rem 1.25rem; border-radius: 10px; text-align: center; font-size: .95rem; }
.mbway-msg--erro { background: #fdecea; color: #a12622; font-weight: 600; }
.mbway-msg--ok { background: #e8f5ec; color: #1e6b34; }
.mbway-msg--ok .mbway-msg__titulo { font-weight: 700; font-size: 1.05rem; }
.mbway-msg hr { margin: 1rem auto; width: 80%; border: 0; border-top: 1px solid rgba(0, 0, 0, .12); }
.mbway-msg__lojas-texto { font-size: .85rem; color: #555; }
.mbway-msg__lojas { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; }
.mbway-msg__lojas img { height: 46px; width: auto; }
@media (max-width: 576px) {
    .mbway-form__telefone select { flex-basis: 7.5rem; font-size: .9rem; }
}
.doacao-jotform { max-width: 640px; margin: 1rem auto 0; background: #fff; border-radius: 10px; overflow: hidden; }
.doacao-cartoes-todos { display: block; height: 4rem; width: auto; max-width: 100%; margin: 0 auto 1rem; object-fit: contain; }
.doacao-tab:focus-visible {
    outline: 3px solid var(--accent-color, #FFB703);
    outline-offset: 2px;
}
.doacao-painel {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    animation: doacaoFade .25s ease;
}
.doacao-painel[hidden] { display: none; }
@keyframes doacaoFade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}
@media (max-width: 576px) {
    /* Telemóvel: 3 abas em cima e 2 em baixo, para caberem sem cortar */
    .doacao-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .4rem; overflow-x: visible; }
    .doacao-tab { min-width: 0; grid-column: span 2; }
    .doacao-tab:nth-child(n+4) { grid-column: span 3; }
    .doacao-tab { padding: .6rem .3rem; border-width: 1.5px; border-radius: 8px; white-space: normal; text-align: center; }
    .doacao-tab strong { font-size: .8rem; white-space: nowrap; }
    .doacao-tab span { font-size: .65rem; }
    .doacao-tab__logo { height: 2rem; max-width: 100%; margin-bottom: .3rem; }
    .doacao-painel { padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
    .doacao-painel { animation: none; }
}

/* =========================================================
   Páginas legais (Política de Privacidade / Reembolso)
   ========================================================= */
.legal { font-family: 'Poppins', sans-serif; color: #2b2b3a; line-height: 1.75; }
.legal h2 { margin: 2.25rem 0 .75rem; font-size: 1.35rem; font-weight: 700; color: var(--primary-color, #1351AA); scroll-margin-top: 110px; }
.legal h3 { margin: 1.5rem 0 .5rem; font-size: 1.05rem; font-weight: 600; color: #1a1a2e; }
.legal p, .legal li { font-size: 1rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--primary-color, #1351AA); text-decoration: underline; overflow-wrap: anywhere; }
.legal-intro { font-size: 1.08rem !important; }
.legal-indice { margin: 1.5rem 0 1rem; padding: 1.25rem 1.5rem; background: #f3f6fb; border-radius: 12px; }
.legal-indice__titulo { margin: 0 0 .5rem; font-weight: 700; color: #1a1a2e; }
.legal-indice ol { margin: 0; padding-left: 1.25rem; }
.legal-indice a { text-decoration: none; }
.legal-indice a:hover { text-decoration: underline; }
.legal-entidades { list-style: none; padding-left: 0 !important; }
.legal-entidades li { padding: .75rem 1rem; margin-bottom: .5rem; background: #f8f9fa; border-radius: 8px; font-size: .92rem; }
.legal-assinatura { margin-top: 2rem; font-weight: 600; }
.legal-assinatura span { font-weight: 400; color: #666; }
.legal-dados { margin-top: 2rem; padding: 1.25rem 1.5rem; border: 1px solid #e1e6ef; border-radius: 12px; }
.legal-dados p { margin: 0; }
.legal-dados__titulo { margin-bottom: .35rem !important; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: #777; }
.rodape-legal { margin: .5rem 0 0; text-align: center; font-size: .85rem; }
.rodape-legal a { color: inherit; opacity: .85; text-decoration: underline; }
.rodape-legal a:hover { opacity: 1; }

/* Página Notícias (BibliaTodo) */
.noticias-caixa { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0, 0, 0, .08); }
.noticias-caixa iframe { display: block; width: 100%; height: 440px; border: 0; }
.noticias-fonte { margin-top: .75rem; text-align: center; font-size: .8rem; color: #777; }
@media (max-width: 576px) { .noticias-caixa iframe { height: 480px; } }

/* Ficha da igreja: botão "Como chegar" */
.igm-acoes { margin-top: 1.25rem; }
.igm-rota {
    display: inline-flex; align-items: center; gap: .45rem; padding: .7rem 1.4rem; border-radius: 28px;
    background: var(--primary-color, #1351AA); color: #fff !important; font-family: 'Poppins', sans-serif;
    font-weight: 600; font-size: .95rem; text-decoration: none !important; transition: background .2s, transform .2s;
}
.igm-rota:hover, .igm-rota:focus-visible { background: #0d3f86; transform: translateY(-1px); }
.igm-rota i { font-size: 1.2rem; }
.mbway-msg__passos { margin: .5rem auto .75rem; padding-left: 1.25rem; max-width: 460px; text-align: left; font-size: .9rem; line-height: 1.55; }
.mbway-msg__passos li { margin-bottom: .35rem; }
