:root {
    --bg: #ffffff;
    --text: #0b1220;
    --muted: #5b6b82;
    --blue: #4FB6FF;
    --blue2: #F1FAFF;
    --line: #E9EFF7;
    --shadow: 0 18px 55px rgba(11, 18, 32, .12);
    --shadow2: 0 10px 26px rgba(11, 18, 32, .08);
    --radius: 18px;
    --radius2: 22px;
    --container: 1140px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    background: #f6fbff;
    color: var(--text);
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 4px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.brand__logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 12px;
    padding: 7px;
}

.brand__text {
    line-height: 1.05;
}

.brand__text span {
    display: block;
    color: var(--muted);
    font-weight: 650;
}

.nav__btn {
    display: none;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    font-weight: 800;
}

.nav__menu {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nav__menu a {
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    color: #13233a;
}

.nav__menu a:hover {
    background: var(--blue2);
}

main {
    padding: 40px 0;
}

.card {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.topGlow {
    height: 80px;
    background:
        radial-gradient(900px 140px at 20% 30%, var(--blue2), transparent 65%),
        radial-gradient(700px 140px at 80% 10%, rgba(79, 182, 255, .22), transparent 60%);
    border-bottom: 1px solid var(--line);
    position: relative;
}

.topBadge {
    position: absolute;
    left: 24px;
    top: 26px;
    background: rgba(79, 182, 255, .15);
    border: 1px solid rgba(79, 182, 255, .35);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 900;
    color: #0f2540;
}

.content {
    padding: 26px;
}

.titleRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.logoMini {
    width: 120px;
    height: 120px;
    padding: 12px;
    border-radius: 18px;
    object-fit: contain;
}

h1 {
    margin: 0;
    font-size: clamp(26px, 3.2vw, 40px);
    letter-spacing: -0.02em;
}

.subtitle {
    margin-top: 6px;
    color: var(--muted);
    font-weight: 600;
}

.ministry {
    text-align: center;
    font-weight: 900;
    color: #0a3a5a;
    background: var(--blue2);
    border: 1px solid rgba(79, 182, 255, .22);
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 20px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.box {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow2);
    padding: 16px;
}

.qr {
    max-width: 260px;
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--line);
}

.row {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 8px;
}

.pix {
    margin-top: 12px;
    text-align: center;
    padding: 12px;
    border-radius: 16px;
    background: rgba(241, 250, 255, .85);
    border: 1px solid rgba(79, 182, 255, .3);
}

.cta {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--line);
    font-weight: 900;
    cursor: pointer;
    background: #fff;
    text-decoration: none;
    color: #000;
}

.btnPrimary {
    background: var(--blue);
    border-color: rgba(79, 182, 255, .55);
    color: #06243a;
}

.btnPix {
    padding: 12px 16px;
    background: #FFFFF;
    border-radius: 12px;
    border: 1px solid var(--line);
    border-color: #000000;
    color: #06243a;
    font-weight: 900;
    cursor: pointer;
    background: #fff;
    text-decoration: none;
    color: #000;
}

.btnPix:hover {
    background-color: #EBEBEB;
}

.btnWhats {
  background: rgba(21, 115, 83);
  border-color: rgba(3, 255, 3);
  color: #FFFF;
  box-shadow: 0 16px 30px rgba(79,182,255,.22);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--line);
    color: #FFFF;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
}

.btnWhats:hover {
    background-color: #EBEBEB;
}

.footer-simple{
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 17px 0;
  
}
.footer-simple a{
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.footer-simple a:hover{
  text-decoration: underline;
}


.footer-simple__inner{
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-simple__logo{
  width: 42px;
  height: auto;
  object-fit: contain;
}

.footer-simple span{
  font-weight: 700;
  color: #000;
  font-size: 17px;
}
/* ================== RESPONSIVO ================== */
@media (max-width: 980px){
  .hero__inner{ grid-template-columns: 1fr; }
  .hero__schedule{
    justify-content: flex-start;
    margin-top: 18px;
  }
  .schedule__card{ max-width: 100%; }

  .hero__info{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }

  /* ===== DÍZIMO ===== */

  /* QR em cima, dados abaixo */
  .grid{
    grid-template-columns: 1fr;
  }

  /* QR centralizado */
  .grid > .box:first-child{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .grid > .box:first-child .qr{
    display: block;
    margin: 0 auto;
    max-width: 260px;
    width: 100%;
  }

  /* bloco de dados ocupa 100% */
  .grid > .box:last-child{
    width: 100%;
  }

  /* botões em coluna */
  .cta{
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .btn,
  .btnPix,
  .btnWhats{
    width: 100%;
    max-width: 420px;
    text-align: center;
  }
}

@media (max-width: 900px){
  .carousel__slide{ flex: 0 0 100%; }
  .carousel__slide img{ height: 220px; }
}

@media (max-width: 720px){
  .nav__btn{ display:inline-flex; }
  .nav__menu{
    display:none;
    position:absolute;
    right: 0;
    top: 54px;
    background:#fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--shadow);
    flex-direction:column;
    min-width: 220px;
  }
  .nav__menu.is-open{ display:flex; }
}



.footer-simple a,
.footer-simple a:visited,
.footer-simple a:hover,
.footer-simple a:active{
  text-decoration: none;
  color: inherit;
}
