/* ==========================================================================
   Reforma Angola — linguagem visual inspirada no projeto Txilla
   Títulos leves (Manrope), texto Inter, etiquetas em pílula, cartão "ao vivo",
   bento, passos em contorno, painéis lado a lado e rodapé com palavra gigante.
   Cores: azul e branco (azul-profundo nas secções escuras).
   ========================================================================== */

:root {
  --tx-bg: #061746;
  --tx-bg2: #0a2160;
  --tx-card: #0c2872;
  --tx-blue: #0057e5;
  --tx-blue2: #2f7bff;
  --tx-sky: #8fb8ff;
  --tx-ink: #0b1a3d;
  --tx-tint: #f1f6ff;
  --tx-r: 24px;
  --tx-ease: cubic-bezier(.2, .7, .2, 1);

  --default-font: "Inter", system-ui, sans-serif;
  --heading-font: "Manrope", "Inter", sans-serif;
  --nav-font: "Inter", system-ui, sans-serif;
}

/* variáveis por contexto: claro (padrão) e escuro */
.tx-home { --c-head: var(--tx-ink); --c-mute: #4f5d7d; --c-line: #dfe8fa; --c-accent: var(--tx-blue); --c-card: #fff; }
.tx-dark, .tx-footer { --c-head: #fff; --c-mute: rgba(255, 255, 255, .68); --c-line: rgba(255, 255, 255, .11); --c-accent: var(--tx-sky); --c-card: var(--tx-card); }

body { font-family: "Inter", system-ui, sans-serif; }
.tx-home { background: #fff; color: var(--c-head); overflow-x: hidden; }
.tx-home h1, .tx-home h2, .tx-home h3, .tx-home h4 { font-family: "Manrope", sans-serif; color: var(--c-head); letter-spacing: -.03em; font-weight: 400; }
.tx-home p { color: var(--c-mute); }
.tx-home a { text-decoration: none; }
.tx-wrap { width: min(1240px, 92%); margin: 0 auto; }
.tx-em { color: var(--c-accent); }

/* ───────────────────────── Botões e etiquetas ───────────────────────── */
.tx-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 500 14px "Inter", sans-serif; letter-spacing: .01em; cursor: pointer;
  transition: transform .3s var(--tx-ease), background .3s, box-shadow .3s, color .3s, border-color .3s;
}
.tx-btn i { font-size: 12px; transition: transform .3s var(--tx-ease); }
.tx-btn:hover i { transform: translateX(4px); }
.tx-btn-b { background: var(--tx-blue); color: #fff; }
.tx-btn-b:hover { background: #0048c0; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 87, 229, .35); }
.tx-btn-w { background: #fff; color: var(--tx-blue); }
.tx-btn-w:hover { background: var(--tx-tint); color: #0048c0; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(4, 22, 80, .3); }
.tx-btn-o { border-color: rgba(255, 255, 255, .3); color: #fff; background: transparent; }
.tx-btn-o:hover { border-color: #fff; background: #fff; color: var(--tx-blue); transform: translateY(-2px); }
.tx-btn-ob { border-color: rgba(0, 87, 229, .35); color: var(--tx-blue); background: transparent; }
.tx-btn-ob:hover { background: var(--tx-blue); color: #fff; border-color: var(--tx-blue); transform: translateY(-2px); }

.tx-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px;
  font: 500 11px "Inter", sans-serif; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-accent); border: 1px solid color-mix(in srgb, var(--c-accent) 32%, transparent);
}
.tx-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); animation: txPulse 2.4s infinite; }
@keyframes txPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c-accent) 55%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* revelar ao rolar (só quando há JS) */
.js .tx-rv { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--tx-ease), transform .9s var(--tx-ease); transition-delay: var(--d, 0s); }
.js .tx-rv.in { opacity: 1; transform: none; }

/* ───────────────────────── Cabeçalho ───────────────────────── */
.header {
  padding: 0 !important; background: rgba(6, 23, 70, .78) !important;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .09) !important; box-shadow: none !important; transition: background .35s;
}
.scrolled .header { background: rgba(6, 23, 70, .94) !important; }
.header .nav-wrap { margin: 0 !important; min-height: 76px; background: transparent !important; transition: min-height .35s; }
.scrolled .header .nav-wrap { min-height: 66px; }
.header .nav-wrap > .container-fluid { max-width: 1240px; width: 92%; padding: 0; }
.header .logo { min-width: 0; text-decoration: none; }
.header .logo-img { height: 42px; max-height: 42px; width: auto; padding: 4px; border-radius: 11px; background: #fff; }
.tx-brand { display: flex; flex-direction: column; line-height: 1.15; }
.header .tx-brand .sitename { font: 700 15.5px "Manrope", sans-serif; letter-spacing: .1em; color: #fff !important; margin: 0; }
.tx-brand small { font: 400 11px "Inter", sans-serif; letter-spacing: .04em; color: rgba(255, 255, 255, .6); }
.header .mobile-nav-toggle { color: #fff !important; }
.tx-header-cta {
  align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font: 500 13.5px "Inter", sans-serif;
  background: var(--tx-blue2); color: #fff !important; transition: transform .3s var(--tx-ease), background .3s, box-shadow .3s;
}
.tx-header-cta:hover { background: #fff; color: var(--tx-blue) !important; transform: translateY(-1px); box-shadow: 0 10px 28px rgba(47, 123, 255, .35); }

/* conta do leitor no cabeçalho */
.tx-actions { align-items: center; gap: 10px; }
.tx-login { display: inline-flex; align-items: center; gap: 7px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); font: 500 13.5px "Inter", sans-serif; color: #fff !important; transition: background .3s, color .3s, border-color .3s; }
.tx-login:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }
.tx-acct { display: inline-flex; border-radius: 50%; transition: transform .3s var(--tx-ease); }
.tx-acct:hover { transform: translateY(-1px); }
.tx-avatar { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--tx-blue); font: 700 13px "Manrope", sans-serif; letter-spacing: .02em; flex: none; }
@media (max-width: 1199px) {
  .header #navmenu .tx-nav-acct, .header #navmenu .tx-nav-acct:focus {
    display: flex !important; align-items: center; gap: 12px; margin: 0 0 12px; padding: 13px 18px !important; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28);
    background: transparent !important; font: 500 15px "Inter", sans-serif !important; color: #fff !important; min-height: 0 !important;
  }
  .header #navmenu .tx-nav-acct small { margin-left: auto; color: rgba(255, 255, 255, .6); font-size: 13px; }
  .header #navmenu .tx-nav-acct .tx-avatar { width: 30px; height: 30px; font-size: 12px; margin: 0 !important; border-radius: 50% !important; background: #fff !important; }
  .header #navmenu .tx-nav-acct i { width: auto !important; height: auto !important; background: none !important; margin: 0 !important; font-size: 18px !important; color: #8fb8ff !important; }
}

@media (min-width: 1200px) {
  .header .navmenu a, .header .navmenu a:focus {
    position: relative; padding: 26px 13px !important; font: 400 13.5px "Inter", sans-serif !important;
    color: rgba(255, 255, 255, .72) !important; letter-spacing: .01em; opacity: 1;
  }
  .header .navmenu > ul > li > a::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: 16px; height: 1px; background: var(--tx-sky);
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--tx-ease);
  }
  .header .navmenu > ul > li:hover > a::after, .header .navmenu > ul > li > a.active::after { transform: scaleX(1); }
  .header .navmenu li:hover > a, .header .navmenu .active, .header .navmenu .active:focus { color: #fff !important; }
  .header .navmenu .active { font-weight: 500 !important; }
  .header .navmenu .dropdown ul {
    top: calc(100% - 4px); left: 0; padding: 8px; background: var(--tx-bg2) !important; border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px; box-shadow: 0 30px 60px rgba(2, 10, 40, .5);
  }
  .header .navmenu .dropdown:hover > ul { top: calc(100% - 4px); }
  .header .navmenu .dropdown ul li { min-width: 210px; }
  .header .navmenu .dropdown ul a { padding: 11px 16px !important; border-radius: 10px; color: rgba(255, 255, 255, .78) !important; font: 400 13.5px "Inter", sans-serif !important; }
  .header .navmenu .dropdown ul a::after { display: none; }
  .header .navmenu .dropdown ul a:hover { background: rgba(255, 255, 255, .08); color: #fff !important; padding-left: 16px !important; }
}

/* ───────────────────────── Hero ───────────────────────── */
.tx-hero { position: relative; min-height: min(100vh, 880px); padding: 150px 0 90px; display: flex; align-items: center; isolation: isolate; background: var(--tx-bg); }
.tx-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 55% 50% at 82% 22%, rgba(47, 123, 255, .38), transparent 62%),
    radial-gradient(ellipse 45% 45% at 8% 96%, rgba(47, 123, 255, .16), transparent 62%);
}
.tx-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--c-line) 1px, transparent 1px), linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 20%, transparent 75%);
}
.tx-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.tx-home .tx-hero h1 { font-size: clamp(36px, 4.8vw, 70px); line-height: 1.05; letter-spacing: -.045em; margin: 26px 0; }
.tx-hero h1 em { font-style: normal; font-weight: 500; color: var(--tx-sky); }
.tx-hero-lead { font-size: 17px; font-weight: 300; max-width: 500px; line-height: 1.75; }
.tx-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 48px; }
.tx-hero-stats { display: flex; flex-wrap: wrap; gap: 44px; padding-top: 28px; border-top: 1px solid var(--c-line); }
.tx-hero-stats strong { display: block; font: 300 28px "Manrope", sans-serif; color: #fff; letter-spacing: -.02em; }
.tx-hero-stats strong .purecounter { font: inherit; color: inherit; }
.tx-hero-stats span { font-size: 12px; letter-spacing: .04em; color: var(--c-mute); }

/* cartão "ao vivo" com os destaques */
.tx-live { position: relative; }
.tx-live-card { position: relative; border-radius: 28px; background: var(--tx-card); border: 1px solid var(--c-line); padding: 12px; box-shadow: 0 40px 100px rgba(2, 10, 40, .55); animation: txFloat 8s ease-in-out infinite; }
@keyframes txFloat { 50% { transform: translateY(-10px); } }
.tx-slide-media { position: relative; border-radius: 20px; aspect-ratio: 440 / 300; overflow: hidden; background: var(--tx-bg2); display: block; }
.tx-slide-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tx-slide-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 23, 70, .55), transparent 55%); }
.tx-slide-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 34px 34px; }
.tx-slide-info { padding: 18px 12px 8px; display: flex; align-items: center; gap: 14px; }
.tx-avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--tx-sky); }
.tx-avatar img { width: 28px; height: 28px; object-fit: contain; }
.tx-slide-info b { display: block; font: 500 15px "Inter", sans-serif; color: #fff; line-height: 1.35; }
.tx-slide-info small { color: var(--c-mute); font-size: 12.5px; font-weight: 300; }
.tx-slide-go { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font: 500 12.5px "Inter", sans-serif; transition: background .3s, color .3s; }
.tx-slide-go:hover { background: #fff; color: var(--tx-blue); }
.tx-live .carousel-indicators { position: static; margin: 14px 12px 6px; justify-content: flex-start; gap: 6px; }
.tx-live .carousel-indicators [data-bs-target] { width: 26px; height: 3px; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .25); opacity: 1; margin: 0; transition: background .3s, width .3s; }
.tx-live .carousel-indicators .active { background: var(--tx-sky); width: 44px; }

.tx-float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; color: #fff;
  background: rgba(12, 40, 114, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--c-line); box-shadow: 0 16px 40px rgba(2, 10, 40, .5);
}
.tx-float > i { width: 34px; height: 34px; border-radius: 10px; background: var(--tx-blue2); color: #fff; display: grid; place-items: center; font-size: 14px; flex: none; }
.tx-float b { display: block; font: 500 13.5px "Inter", sans-serif; color: #fff; }
.tx-float small { font-size: 12px; font-weight: 300; color: var(--c-mute); }
.tx-float.f1 { left: -40px; bottom: 96px; animation: txFloat 7s ease-in-out -2s infinite; }
.tx-float.f2 { right: -20px; top: -24px; animation: txFloat 9s ease-in-out -1s infinite; }
a.tx-float:hover { border-color: var(--tx-sky); color: #fff; }

/* ───────────────────────── Faixa discreta ───────────────────────── */
.tx-band { position: relative; z-index: 2; overflow: hidden; padding: 22px 0; background: var(--tx-bg); border-top: 1px solid var(--c-line); }
.tx-band-track { display: flex; width: max-content; animation: txMarq 40s linear infinite; }
.tx-band:hover .tx-band-track { animation-play-state: paused; }
.tx-band span { display: inline-flex; align-items: center; gap: 56px; padding: 0 28px; font: 300 13px "Inter", sans-serif; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: var(--c-mute); }
.tx-band span::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--tx-sky); }
@keyframes txMarq { to { transform: translateX(-50%); } }

/* ───────────────────────── Secções ───────────────────────── */
.tx-sec { padding: 104px 0; position: relative; }
.tx-tint { background: var(--tx-tint); }
.tx-head { max-width: 700px; margin-bottom: 56px; }
.tx-home .tx-head h2 { font-size: clamp(28px, 3.3vw, 46px); line-height: 1.12; letter-spacing: -.04em; margin: 20px 0 16px; }
.tx-home .tx-head h2 .tx-em { font-weight: 500; }
.tx-head p { font-size: 16px; font-weight: 300; line-height: 1.75; margin: 0; }
.tx-head-split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.tx-head-split > div { max-width: 700px; }
.tx-head-split .tx-link { margin-bottom: 8px; }
.tx-link { display: inline-flex; align-items: center; gap: 8px; font: 500 14px "Inter", sans-serif; color: var(--tx-blue); }
.tx-link i { font-size: 12px; transition: transform .3s var(--tx-ease); }
.tx-link:hover { color: var(--tx-ink); }
.tx-link:hover i { transform: translateX(5px); }

/* Bento */
.tx-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tx-bc {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 270px;
  padding: 32px; border-radius: var(--tx-r); background: #fff; border: 1px solid var(--c-line); color: var(--tx-ink);
  transition: transform .5s var(--tx-ease), border-color .4s, box-shadow .4s;
}
.tx-bc:hover { transform: translateY(-6px); border-color: rgba(0, 87, 229, .5); box-shadow: 0 24px 60px rgba(0, 87, 229, .12); }
.tx-bc .n { font: 500 12px "Manrope", sans-serif; letter-spacing: .1em; color: var(--tx-blue); }
.tx-home .tx-bc h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; margin: 12px 0 10px; color: var(--tx-ink); }
.tx-bc p { margin: 0 0 18px; font-size: 15px; font-weight: 300; line-height: 1.7; max-width: 440px; color: var(--c-mute); }
.tx-bc .ic { position: absolute; right: 28px; top: 24px; font-size: 56px; color: rgba(0, 87, 229, .08); transition: transform .6s var(--tx-ease), color .4s; }
.tx-bc:hover .ic { transform: scale(1.15) rotate(-8deg); color: rgba(0, 87, 229, .2); }
.tx-bc .go { font: 500 13.5px "Inter", sans-serif; color: var(--tx-blue); display: inline-flex; align-items: center; gap: 8px; }
.tx-bc .go i { font-size: 11px; transition: transform .3s var(--tx-ease); }
.tx-bc:hover .go i { transform: translateX(5px); }
.tx-b1, .tx-b2 { grid-column: span 3; }
.tx-b3, .tx-b4, .tx-b5 { grid-column: span 2; }
.tx-b6 { grid-column: span 6; min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: linear-gradient(120deg, #0a3fb8, var(--tx-blue) 60%, var(--tx-blue2)); border-color: transparent; }
.tx-home .tx-b6 h3, .tx-b6 .n { color: #fff; }
.tx-b6 p { color: rgba(255, 255, 255, .85); margin: 0; }
.tx-b6 .ic { color: rgba(255, 255, 255, .1); }
.tx-b6:hover .ic { color: rgba(255, 255, 255, .22); }
.tx-b6 .go { color: var(--tx-blue); background: #fff; padding: 13px 24px; border-radius: 999px; }
.tx-b6:hover { border-color: transparent; box-shadow: 0 24px 60px rgba(0, 87, 229, .35); }

/* Como aceder (secção escura) */
.tx-how { background: var(--tx-bg2); border-block: 1px solid var(--c-line); }
.tx-how-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.tx-how-visual { position: sticky; top: 120px; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; border: 1px solid var(--c-line); background: var(--tx-card) center / cover no-repeat; }
.tx-how-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 23, 70, .75), rgba(0, 87, 229, .12) 60%); }
.tx-steps { display: flex; flex-direction: column; }
.tx-step { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--c-line); }
.tx-step:first-child { padding-top: 0; }
.tx-step-n { font: 200 58px/1 "Manrope", sans-serif; color: transparent; -webkit-text-stroke: 1px rgba(143, 184, 255, .6); transition: color .4s, -webkit-text-stroke-color .4s; }
.tx-step:hover .tx-step-n { color: var(--tx-sky); -webkit-text-stroke-color: var(--tx-sky); }
.tx-home .tx-step h4 { font-size: 19px; font-weight: 500; margin: 0 0 6px; }
.tx-step p { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.65; }

/* Painéis lado a lado */
.tx-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tx-panel { position: relative; overflow: hidden; display: flex; flex-direction: column; isolation: isolate; border-radius: 24px; border: 1px solid var(--c-line); background: #fff; }
.tx-panel-photo { position: relative; height: 280px; overflow: hidden; background: var(--tx-bg2) center 30% / cover no-repeat; transition: transform .8s var(--tx-ease); }
.tx-panel:hover .tx-panel-photo { transform: scale(1.04); }
.tx-panel-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 45%, #fff 100%); }
.tx-panel-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 8px 40px 40px; }
.tx-panel .tx-tag { align-self: flex-start; }
.tx-home .tx-panel h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.035em; margin: 18px 0 22px; }
.tx-panel ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.tx-panel li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 300; line-height: 1.5; color: var(--tx-ink); }
.tx-panel li i { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: var(--tx-blue); color: #fff; font-size: 10px; }
.tx-panel .tx-btn { align-self: flex-start; margin-top: auto; }
.tx-panel-d { background: var(--tx-blue); border-color: var(--tx-blue); }
.tx-panel-d .tx-panel-photo::after { background: linear-gradient(to bottom, rgba(0, 87, 229, 0) 45%, var(--tx-blue) 100%); }
.tx-home .tx-panel-d h3, .tx-panel-d li { color: #fff; }
.tx-panel-d .tx-tag { color: #fff; border-color: rgba(255, 255, 255, .4); }
.tx-panel-d .tx-tag::before { background: #fff; }
.tx-panel-d li i { background: #fff; color: var(--tx-blue); }

/* Números */
.tx-nums { padding: 30px 0 104px; }
.tx-nums-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--c-line); }
.tx-num { padding: 48px 28px; border-right: 1px solid var(--c-line); }
.tx-num:last-child { border-right: 0; }
.tx-num strong { font: 200 clamp(42px, 4.6vw, 68px)/1 "Manrope", sans-serif; letter-spacing: -.04em; color: var(--tx-ink); }
.tx-num strong .purecounter { font: inherit; color: inherit; }
.tx-num > span { font: 300 clamp(26px, 2.8vw, 40px) "Manrope", sans-serif; color: var(--tx-blue); }
.tx-num p { margin: 12px 0 0; font-size: 14px; font-weight: 300; }

/* Notícias */
.tx-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.tx-post { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--tx-r); background: #fff; border: 1px solid var(--c-line); transition: transform .5s var(--tx-ease), border-color .4s, box-shadow .4s; }
.tx-post:hover { transform: translateY(-6px); border-color: rgba(0, 87, 229, .45); box-shadow: 0 24px 60px rgba(0, 87, 229, .12); }
.tx-post-media { position: relative; display: block; height: 240px; overflow: hidden; background: var(--tx-bg2); }
.tx-post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tx-ease); }
.tx-post:hover .tx-post-media img { transform: scale(1.06); }
.tx-pill { position: absolute; left: 16px; top: 16px; padding: 6px 13px; border-radius: 999px; background: #fff; color: var(--tx-blue); font: 500 10.5px "Inter", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.tx-post-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.tx-home .tx-post-body h3 { font-size: 20px; font-weight: 500; line-height: 1.3; margin: 0 0 10px; }
.tx-post-body h3 a { color: var(--tx-ink); }
.tx-post-body h3 a:hover { color: var(--tx-blue); }
.tx-post-body p { font-size: 15px; font-weight: 300; line-height: 1.7; margin: 0 0 18px; }
.tx-post-body .tx-link { margin-top: auto; }

/* Eventos */
.tx-events { border-top: 1px solid var(--c-line); }
.tx-event { display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: center; padding: 28px 8px; border-bottom: 1px solid var(--c-line); color: var(--tx-ink); transition: padding .4s var(--tx-ease), background .3s; }
.tx-event:hover { padding-left: 24px; background: var(--tx-tint); }
.tx-event-d { font: 200 56px/1 "Manrope", sans-serif; color: transparent; -webkit-text-stroke: 1px var(--tx-blue); transition: color .4s; }
.tx-event:hover .tx-event-d { color: var(--tx-blue); }
.tx-event-d small { display: block; margin-top: 6px; font: 500 11px "Inter", sans-serif; letter-spacing: .16em; text-transform: uppercase; -webkit-text-stroke: 0; color: var(--tx-blue); }
.tx-event-m strong { display: block; font: 500 21px/1.3 "Manrope", sans-serif; letter-spacing: -.02em; margin-bottom: 6px; }
.tx-event-m span { font-size: 14px; font-weight: 300; color: var(--c-mute); }
.tx-event-m i { color: var(--tx-blue); margin-right: 6px; }
.tx-event-go { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--c-line); color: var(--tx-blue); transition: background .3s, color .3s, transform .3s var(--tx-ease); }
.tx-event:hover .tx-event-go { background: var(--tx-blue); color: #fff; transform: rotate(-45deg); }

/* Testemunhos */
.tx-testis { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.tx-testi { margin: 0; display: flex; flex-direction: column; padding: 34px; border-radius: var(--tx-r); background: #fff; border: 1px solid var(--c-line); }
.tx-stars { display: flex; gap: 4px; margin-bottom: 18px; font-size: 13px; color: var(--tx-blue); }
.tx-testi blockquote { flex: 1; margin: 0 0 26px; font: 300 16px/1.8 "Inter", sans-serif; color: #2a3656; }
.tx-testi figcaption { display: flex; align-items: center; gap: 14px; }
.tx-ava { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--tx-blue); color: #fff; font: 500 1rem "Manrope", sans-serif; }
.tx-testi figcaption b { display: block; font: 500 15px "Inter", sans-serif; color: var(--tx-ink); }
.tx-testi figcaption small { font-size: 13px; font-weight: 300; color: var(--c-mute); }
.tx-formwrap { display: none; margin-bottom: 36px; }
.tx-formcard { max-width: 760px; padding: 34px; border-radius: var(--tx-r); background: #fff; border: 1px solid var(--c-line); }
.tx-home .tx-formcard h3 { font-size: 22px; font-weight: 500; margin: 0 0 22px; }
.tx-form { display: grid; gap: 16px; }
.tx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tx-form label { display: grid; gap: 8px; font: 500 12px "Inter", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--c-mute); }
.tx-form input, .tx-form select, .tx-form textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--c-line); border-radius: 14px; background: var(--tx-tint); color: var(--tx-ink); font: 400 15px "Inter", sans-serif; letter-spacing: 0; text-transform: none; outline: none; transition: border-color .3s, box-shadow .3s, background .3s; }
.tx-form input:focus, .tx-form select:focus, .tx-form textarea:focus { background: #fff; border-color: var(--tx-blue); box-shadow: 0 0 0 4px rgba(0, 87, 229, .12); }
.tx-form .tx-btn { justify-self: start; }

/* Chamada final */
.tx-cta { position: relative; overflow: hidden; margin: 0 auto 104px; width: min(1240px, 92%); padding: clamp(48px, 7vw, 92px) clamp(24px, 5vw, 80px); border-radius: 28px; text-align: center; background: linear-gradient(120deg, #0a3fb8, var(--tx-blue) 55%, var(--tx-blue2)); }
.tx-cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .22) 1.5px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 28%, #000 100%); mask-image: radial-gradient(circle at 50% 50%, transparent 28%, #000 100%); }
.tx-cta > * { position: relative; }
.tx-home .tx-cta h2 { color: #fff; font-size: clamp(28px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -.045em; margin: 0 0 18px; }
.tx-home .tx-cta p { color: rgba(255, 255, 255, .85); font-size: 16px; max-width: 500px; margin: 0 auto 32px; }
.tx-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ───────────────────────── Rodapé ───────────────────────── */
.tx-footer { overflow: hidden; padding: 84px 0 0; background: var(--tx-bg); color: #fff; font-family: "Inter", sans-serif; border-top: 1px solid var(--c-line); }
.tx-footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; padding-bottom: 64px; }
.tx-footer h5 { margin: 0 0 22px; font: 500 11px "Inter", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--tx-sky); }
.tx-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tx-footer a { color: var(--c-mute); font-size: 14px; font-weight: 300; text-decoration: none; transition: color .3s, padding .3s; }
.tx-footer ul a:hover { color: #fff; padding-left: 6px; }
.tx-footer-brand .logo-img { height: 46px; max-height: none; width: auto; padding: 4px; border-radius: 11px; background: #fff; margin-bottom: 22px; display: block; }
.tx-footer-brand p { max-width: 340px; margin: 0 0 24px; color: var(--c-mute); font-size: 14px; font-weight: 300; line-height: 1.75; }
.tx-footer-contact li { display: flex; gap: 12px; color: var(--c-mute); font-size: 14px; font-weight: 300; }
.tx-footer-contact i { width: 16px; margin-top: 3px; color: var(--tx-sky); }
.tx-news { position: relative; max-width: 340px; }
.tx-news input { width: 100%; padding: 13px 54px 13px 18px; border-radius: 999px; border: 1px solid var(--c-line); background: rgba(255, 255, 255, .06); color: #fff; font: 300 14px "Inter", sans-serif; outline: none; transition: border-color .3s; }
.tx-news input::placeholder { color: rgba(255, 255, 255, .5); }
.tx-news input:focus { border-color: var(--tx-sky); }
.tx-news button { position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--tx-blue2); color: #fff; cursor: pointer; transition: background .3s, color .3s; }
.tx-news button:hover { background: #fff; color: var(--tx-blue); }
.tx-news .loading, .tx-news .error-message, .tx-news .sent-message { display: none; margin-top: 8px; font-size: 12.5px; }
.tx-news .loading.d-block, .tx-news .error-message.d-block, .tx-news .sent-message.d-block { display: block; }
.tx-news .error-message { color: #ffb4b4; } .tx-news .sent-message { color: #9be7b4; } .tx-news .loading { color: var(--c-mute); }
.tx-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 0; border-top: 1px solid var(--c-line); }
.tx-footer-bottom p { margin: 0; font-size: 13px; font-weight: 300; color: var(--c-mute); }
.tx-footer-bottom ul { display: flex; gap: 26px; }
.tx-footer-bottom ul a { font-size: 13px; }
.tx-social { display: flex; gap: 8px; }
.tx-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--c-line); color: #fff; font-size: 14px; transition: background .3s, color .3s, transform .3s var(--tx-ease); }
.tx-social a:hover { background: #fff; color: var(--tx-blue); transform: translateY(-3px); }
.tx-wordmark { padding: 0 0 .08em; text-align: center; user-select: none; font: 300 clamp(56px, 20vw, 320px)/1 "Manrope", sans-serif; letter-spacing: -.04em; background: linear-gradient(to bottom, rgba(143, 184, 255, .38) 0%, rgba(143, 184, 255, .05) 75%, transparent 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.scroll-top { background: var(--tx-blue); border-radius: 12px; }
.scroll-top:hover { background: var(--tx-bg); }

/* ───────────────────────── Páginas internas ───────────────────────── */
.page-header { background: radial-gradient(ellipse 60% 80% at 85% 0%, rgba(47, 123, 255, .4), transparent 60%), linear-gradient(120deg, var(--tx-bg) 0%, #0a2a85 100%); }
.page-title { font-family: "Manrope", sans-serif; font-weight: 400; letter-spacing: -.04em; }
.page-header .subtitle { background: transparent; border: 0; padding: 0; color: var(--tx-sky); }

/* ───────────────────────── Responsivo ───────────────────────── */
@media (max-width: 991px) {
  .tx-hero { padding-top: 120px; min-height: 0; }
  .tx-hero-grid, .tx-how-grid, .tx-duo { grid-template-columns: 1fr; }
  .tx-float.f1 { left: -8px; } .tx-float.f2 { right: -8px; }
  .tx-b1, .tx-b2, .tx-b3, .tx-b4, .tx-b5, .tx-b6 { grid-column: span 6; }
  .tx-how-visual { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .tx-nums-grid { grid-template-columns: 1fr 1fr; }
  .tx-num:nth-child(2) { border-right: 0; } .tx-num:nth-child(-n+2) { border-bottom: 1px solid var(--c-line); }
  .tx-footer-top { grid-template-columns: 1fr 1fr; } .tx-footer-brand { grid-column: span 2; }
  .tx-sec { padding: 76px 0; }
}
@media (max-width: 575px) {
  .tx-step { grid-template-columns: 64px 1fr; } .tx-step-n { font-size: 40px; }
  .tx-panel-photo { height: 220px; } .tx-panel-body { padding: 8px 24px 32px; }
  .tx-float { display: none; }
  .tx-hero-stats { gap: 26px; }
  .tx-footer-top { grid-template-columns: 1fr; } .tx-footer-brand { grid-column: auto; }
  .tx-event { grid-template-columns: 76px 1fr; gap: 14px; } .tx-event-go { display: none; } .tx-event-d { font-size: 40px; }
  .tx-row { grid-template-columns: 1fr; }
  .tx-slide-info { flex-wrap: wrap; } .tx-slide-go { margin-left: 0; }
  .tx-hero-btns .tx-btn, .tx-cta-btns .tx-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .tx-live-card, .tx-float, .tx-band-track, .tx-tag::before { animation: none !important; }
  .js .tx-rv { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Identidade própria (diferenças face ao projeto de referência)
   ========================================================================== */
/* palavra de destaque em itálico serifado */
.tx-em, .tx-hero h1 em { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 500; letter-spacing: -.02em; }
.tx-home .tx-head h2 .tx-em { font-weight: 500; }

/* marca de água com as asas do logótipo */
.tx-mark { position: absolute; z-index: -1; right: -140px; bottom: -170px; width: 720px; max-width: 70vw; opacity: .06; filter: brightness(0) invert(1); pointer-events: none; user-select: none; }

/* cartão do hero em arco, como um vitral */
.tx-live-card { border-radius: 220px 220px 28px 28px; padding: 14px 14px 12px; }
.tx-live .tx-slide-media { border-radius: 206px 206px 20px 20px; aspect-ratio: 440 / 360; }
.tx-live .tx-slide-info { padding-inline: 14px; }
.tx-live .carousel-indicators { margin-inline: 14px; }
.tx-float.f2 { right: -28px; top: 96px; }
.tx-float.f1 { left: -44px; bottom: 80px; }

/* versículo em destaque */
.tx-verse { padding: 110px 0 20px; text-align: center; }
.tx-verse .tx-wrap > i { display: block; margin-bottom: 22px; font-size: 26px; color: var(--tx-blue); opacity: .85; }
.tx-verse blockquote { max-width: 900px; margin: 0 auto 22px; font: italic 500 clamp(26px, 3.7vw, 48px)/1.3 "Fraunces", Georgia, serif; letter-spacing: -.02em; color: var(--tx-ink); }
.tx-verse blockquote em { color: var(--tx-blue); }
.tx-verse cite { font: 500 12px "Inter", sans-serif; font-style: normal; letter-spacing: .22em; text-transform: uppercase; color: var(--c-mute); }
.tx-verse cite::before, .tx-verse cite::after { content: ""; display: inline-block; width: 36px; height: 1px; margin: 0 14px; vertical-align: middle; background: rgba(0, 87, 229, .4); }

/* passos em linha do tempo */
.tx-steps { padding-left: 4px; }
.tx-step { position: relative; grid-template-columns: 64px 1fr; align-items: start; padding: 0 0 38px; border-bottom: 0; }
.tx-step:last-child { padding-bottom: 0; }
.tx-step:not(:last-child)::before { content: ""; position: absolute; left: 24px; top: 54px; bottom: 6px; width: 1px; background: linear-gradient(var(--tx-sky), transparent); opacity: .55; }
.tx-step-n { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; font: 500 14px "Manrope", sans-serif; letter-spacing: .06em; color: var(--tx-sky); -webkit-text-stroke: 0; border: 1px solid rgba(143, 184, 255, .55); background: var(--tx-bg2); transition: background .4s, color .4s, box-shadow .4s; }
.tx-step:hover .tx-step-n { background: var(--tx-sky); color: var(--tx-bg); -webkit-text-stroke: 0; box-shadow: 0 0 0 8px rgba(143, 184, 255, .15); }
.tx-step > div:last-child { padding-top: 6px; }

/* rodapé: "reforma" em serifa itálica */
.tx-wordmark { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 500; letter-spacing: -.03em; line-height: .95; font-size: clamp(64px, 22vw, 340px); }

@media (max-width: 991px) { .tx-live-card { border-radius: 150px 150px 24px 24px; } .tx-live .tx-slide-media { border-radius: 138px 138px 18px 18px; } .tx-float.f2 { right: -8px; } .tx-float.f1 { left: -8px; } }
@media (max-width: 575px) { .tx-live-card { border-radius: 110px 110px 22px 22px; } .tx-live .tx-slide-media { border-radius: 98px 98px 16px 16px; } .tx-step { grid-template-columns: 56px 1fr; } .tx-step-n { width: 44px; height: 44px; } .tx-step:not(:last-child)::before { left: 21px; top: 48px; } }

.tx-float.f1 { left: -48px; bottom: auto; top: 50%; }
@media (max-width: 991px) { .tx-float.f1 { left: -8px; top: 46%; } }

/* ==========================================================================
   Recursos — cartões com ícone azul/branco e hover invertido
   ========================================================================== */
.tx-bc { padding: 34px; min-height: 290px; justify-content: flex-start; gap: 0; background: #fff; }
.tx-bc::before { content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 87, 229, .09), transparent 70%); transition: transform .6s var(--tx-ease), opacity .4s; }
.tx-bc:hover::before { transform: scale(2.2); }
.tx-bc > div { position: static; margin-top: 30px; }

/* ícone: bloco azul com ícone branco */
.tx-bc .ic {
  position: relative; right: auto; top: auto; flex: none; width: 58px; height: 58px; border-radius: 17px;
  display: grid; place-items: center; font-size: 22px; line-height: 1; color: #fff;
  background: linear-gradient(135deg, var(--tx-blue2), var(--tx-blue)); box-shadow: 0 12px 26px rgba(0, 87, 229, .28);
  transition: transform .5s var(--tx-ease), background .35s, color .35s, box-shadow .35s;
}
.tx-bc:hover .ic { transform: translateY(-3px) rotate(-6deg); color: var(--tx-blue); background: #fff; box-shadow: 0 14px 30px rgba(4, 22, 80, .25); }

/* número no canto */
.tx-bc .n { position: absolute; top: 34px; right: 34px; font: 200 38px/1 "Manrope", sans-serif; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(0, 87, 229, .4); transition: -webkit-text-stroke-color .35s; }
.tx-home .tx-bc h3 { font-size: clamp(21px, 1.9vw, 27px); margin: 0 0 10px; transition: color .35s; }
.tx-bc p { transition: color .35s; }
.tx-bc .go { margin-top: auto; padding-top: 22px; transition: color .35s; }
.tx-bc > div { flex: 1; }

/* hover: cartão fica azul, texto branco */
.tx-bc:hover { background: linear-gradient(135deg, #0a3fb8, var(--tx-blue) 60%, var(--tx-blue2)); border-color: transparent; box-shadow: 0 28px 64px rgba(0, 87, 229, .35); }
.tx-bc:hover::before { background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 70%); }
.tx-home .tx-bc:hover h3 { color: #fff; }
.tx-bc:hover p { color: rgba(255, 255, 255, .85); }
.tx-bc:hover .go { color: #fff; }
.tx-bc:hover .n { -webkit-text-stroke-color: rgba(255, 255, 255, .6); }

/* cartão grande: Livros e Saúde mais ricos */
.tx-b1, .tx-b2 { min-height: 330px; }
.tx-b1 .ic, .tx-b2 .ic { width: 66px; height: 66px; font-size: 26px; border-radius: 20px; }

/* último cartão (Encontrar Igreja): já azul, ícone branco com ícone azul */
.tx-b6 { padding: 34px 38px; min-height: 0; }
.tx-b6 > div { margin-top: 0; flex: 1; min-width: 240px; }
.tx-b6 .ic { background: #fff; color: var(--tx-blue); box-shadow: 0 14px 30px rgba(4, 22, 80, .25); }
.tx-b6:hover .ic { background: #fff; color: var(--tx-blue); }
.tx-b6 .n { display: none; }
.tx-b6 .go { margin-top: 0; padding: 13px 24px; }
.tx-b6:hover { background: linear-gradient(120deg, #082a85, #0a3fb8 60%, var(--tx-blue)); }
.tx-b6:hover .go { color: var(--tx-blue); }

@media (max-width: 991px) { .tx-bc { min-height: 0; } .tx-b1, .tx-b2 { min-height: 0; } }

/* Encontrar Igreja: volta a ser o cartão azul de destaque */
.tx-bc.tx-b6 { background: linear-gradient(120deg, #0a3fb8, var(--tx-blue) 60%, var(--tx-blue2)); border-color: transparent; }
.tx-bc.tx-b6:hover { background: linear-gradient(120deg, #082a85, #0a3fb8 60%, var(--tx-blue)); }
.tx-home .tx-bc.tx-b6 h3, .tx-home .tx-bc.tx-b6:hover h3 { color: #fff; }
.tx-bc.tx-b6 p, .tx-bc.tx-b6:hover p { color: rgba(255, 255, 255, .85); }
.tx-bc.tx-b6 .go { color: var(--tx-blue); background: #fff; }
.tx-bc.tx-b6::before { background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 70%); }

.tx-bc.tx-b6 { gap: 28px; flex-wrap: nowrap; }
@media (max-width: 767px) { .tx-bc.tx-b6 { flex-wrap: wrap; gap: 18px; } }

/* ==========================================================================
   Aceitar termos: aviso fixo e caixas nos formulários
   ========================================================================== */
.tx-consent {
  position: fixed; z-index: 10050; left: 24px; bottom: 24px; width: min(440px, calc(100% - 32px));
  display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; padding: 20px 22px; border-radius: 22px;
  background: rgba(6, 23, 70, .96); color: #fff; border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 30px 70px rgba(2, 10, 40, .5);
  font-family: "Inter", sans-serif; opacity: 0; transform: translateY(24px); transition: opacity .45s cubic-bezier(.2,.7,.2,1), transform .45s cubic-bezier(.2,.7,.2,1);
}
.tx-consent[hidden] { display: none; }
.tx-consent.in { opacity: 1; transform: none; }
.tx-consent-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; color: #fff; background: linear-gradient(135deg, #2f7bff, #0057e5); }
.tx-consent-txt strong { display: block; font: 600 15px "Manrope", sans-serif; margin-bottom: 4px; }
.tx-consent-txt p { margin: 0; font-size: 13.5px; font-weight: 300; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.tx-consent-txt a { color: #8fb8ff; text-decoration: underline; text-underline-offset: 3px; }
.tx-consent-txt a:hover { color: #fff; }
.tx-consent-btns { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
.tx-consent-btns button { padding: 11px 22px; border-radius: 999px; font: 500 13.5px "Inter", sans-serif; cursor: pointer; border: 1px solid transparent; transition: background .3s, color .3s, transform .3s; }
.tx-consent-ok { background: #fff; color: #0057e5; }
.tx-consent-ok:hover { background: #e8f0ff; transform: translateY(-1px); }
.tx-consent-no { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3) !important; }
.tx-consent-no:hover { background: rgba(255, 255, 255, .1); }
@media (max-width: 575px) { .tx-consent { left: 16px; right: 16px; bottom: 16px; width: auto; } .tx-consent-btns button { flex: 1; } }

.tx-accept { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 16px; font: 400 13.5px/1.5 "Inter", sans-serif; color: #4f5d7d; cursor: pointer; text-transform: none; letter-spacing: 0; }
.tx-accept input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin-top: 2px; padding: 0; accent-color: #0057e5; cursor: pointer; }
.tx-accept a { color: #0057e5; text-decoration: underline; text-underline-offset: 3px; }
.tx-accept a:hover { color: #0b1a3d; }
.tx-accept-dark { color: rgba(255, 255, 255, .72); margin: 12px 0 0; font-size: 12.5px; max-width: 340px; }
.tx-accept-dark a { color: #8fb8ff; }
.tx-accept-dark a:hover { color: #fff; }
.tx-form .tx-accept { display: flex; }

/* aviso de termos: cartão branco, destaca-se em qualquer secção */
.tx-consent { background: #fff; color: #0b1a3d; border: 1px solid #dfe8fa; box-shadow: 0 30px 70px rgba(4, 22, 80, .3); }
.tx-consent-txt strong { color: #0b1a3d; }
.tx-consent-txt p { color: #4f5d7d; }
.tx-consent-txt a { color: #0057e5; }
.tx-consent-txt a:hover { color: #0b1a3d; }
.tx-consent-ok { background: #0057e5; color: #fff; }
.tx-consent-ok:hover { background: #0048c0; color: #fff; }
.tx-consent-no { color: #0057e5; border-color: rgba(0, 87, 229, .35) !important; }
.tx-consent-no:hover { background: #eef4ff; }

/* tablet: recursos em 2 colunas */
@media (min-width: 576px) and (max-width: 991px) {
  .tx-b1, .tx-b2, .tx-b3, .tx-b4 { grid-column: span 3; }
  .tx-b5, .tx-b6 { grid-column: span 6; }
  .tx-b5 { min-height: 0; }
}

/* ==========================================================================
   PÁGINAS INTERNAS — mesmo estilo da página inicial
   (cabeçalhos, cartões, botões, formulários). Usa !important porque cada
   página tem o seu próprio <style> carregado depois deste ficheiro.
   ========================================================================== */
:root { --tx-line-l: #dfe8fa; }

/* ── Cabeçalhos de página ── */
body .library-hero, body .eventos-hero, body .events-hero, body .church-hero, body .history-hero,
body .escola-sabatina-hero, body .estudos-hero, body .devocionais-hero {
  position: relative; isolation: isolate; overflow: hidden; display: block !important; min-height: 0 !important;
  padding: 168px 0 84px !important; text-align: left !important; color: #fff !important;
  background:
    radial-gradient(ellipse 55% 90% at 88% 0%, rgba(47, 123, 255, .5), transparent 62%),
    radial-gradient(ellipse 45% 70% at 0% 100%, rgba(47, 123, 255, .2), transparent 62%),
    #061746 !important;
}
body .events-hero[style*="--hero-bg-image"] {
  background:
    linear-gradient(100deg, rgba(6, 23, 70, .94) 0%, rgba(10, 63, 184, .78) 55%, rgba(0, 87, 229, .45) 100%),
    var(--hero-bg-image) center / cover no-repeat !important;
}
body .library-hero::before, body .eventos-hero::before, body .events-hero::before, body .church-hero::before, body .history-hero::before,
body .escola-sabatina-hero::before, body .estudos-hero::before, body .devocionais-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 70% 30%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 70% 30%, #000 15%, transparent 75%);
}
body .library-hero::after, body .eventos-hero::after, body .events-hero::after, body .church-hero::after, body .history-hero::after,
body .escola-sabatina-hero::after, body .estudos-hero::after, body .devocionais-hero::after {
  content: ""; position: absolute; z-index: -1; right: -90px; bottom: -120px; width: 480px; height: 480px; opacity: .07; pointer-events: none;
  background: url("../img/logo_asdmr.png") center / contain no-repeat; filter: brightness(0) invert(1);
}
body .library-hero .container, body .eventos-hero .container, body .events-hero .container, body .church-hero .container,
body .history-hero .container, body .escola-sabatina-hero .container, body .estudos-hero .container, body .devocionais-hero .container {
  display: block !important; width: min(1240px, 92%) !important; max-width: 1240px !important; padding: 0 !important; margin: 0 auto !important; text-align: left !important;
}
body .library-hero h1, body .eventos-hero h1, body .events-hero h1, body .church-hero h1, body .history-hero h1,
body .escola-sabatina-hero h1, body .estudos-hero h1, body .devocionais-hero h1 {
  font: 300 clamp(34px, 4.8vw, 66px)/1.06 "Manrope", sans-serif !important; letter-spacing: -.045em !important; color: #fff !important;
  margin: 0 0 20px !important; text-align: left !important; text-shadow: none !important; max-width: 900px;
}
.tx-h1-em { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 500; letter-spacing: -.02em; color: #8fb8ff; }
body .library-hero p, body .eventos-hero p, body .events-hero p, body .church-hero p, body .history-hero p,
body .escola-sabatina-hero p, body .estudos-hero p, body .devocionais-hero p, body .page-description {
  font: 300 17px/1.75 "Inter", sans-serif !important; color: rgba(255, 255, 255, .74) !important; max-width: 640px !important; margin: 0 !important; text-align: left !important; text-shadow: none !important;
}
body .hero-stats { justify-content: flex-start !important; margin-top: 30px; }
body .hero-stat { background: rgba(255, 255, 255, .08) !important; border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px !important; }

/* detalhes com fotografia: texto à esquerda, mesma tipografia */
body .noticia-detalhe-hero h1, body .church-detail-hero h1 { font-family: "Manrope", sans-serif !important; font-weight: 400 !important; letter-spacing: -.04em !important; }

/* ── Secções de conteúdo ── */
body .books-section, body .events-section, body .downloads-section, body .church-finder-section, body .gallery-section,
body .bible-studies-section, body .devotionals-section, body .history-content, body .current-lesson-section,
body .previous-lessons-section, body .additional-resources-section, body .health-detail-section, body .single-news-section,
body .church-details-section, body .filter-section { background: #f4f8ff !important; }
main h2, main h3 { font-family: "Manrope", sans-serif; letter-spacing: -.03em; }
body .static-page-section { background: #f4f8ff !important; }
body .static-page-section .container { border-radius: 24px !important; border: 1px solid var(--tx-line-l); box-shadow: none !important; }
body .static-page-section h1 { font-family: "Manrope", sans-serif; font-weight: 400; letter-spacing: -.04em; }

/* ── Cartões ── */
body .book-card, body .news-card, body .featured-news-card, body .event-card, body .featured-event-card, body .event-item,
body .study-card, body .resource-card, body .lesson-card, body .featured-lesson-card, body .church-card, body .today-devotional-card,
body .hymn-item, body .pioneer-card, body .sidebar-widget, body .church-map-item, body .no-results {
  border-radius: 24px !important; border: 1px solid var(--tx-line-l) !important; background: #fff !important;
  box-shadow: none !important; transition: transform .5s var(--tx-ease), border-color .4s, box-shadow .4s !important;
}
body .book-card:hover, body .news-card:hover, body .event-card:hover, body .event-item:hover, body .study-card:hover,
body .resource-card:hover, body .lesson-card:hover, body .church-card:hover, body .hymn-item:hover {
  transform: translateY(-6px) !important; border-color: rgba(0, 87, 229, .45) !important; box-shadow: 0 24px 60px rgba(0, 87, 229, .13) !important;
}
body .book-card img, body .news-card img, body .event-card img, body .study-card img, body .church-card img { transition: transform .8s var(--tx-ease); }
body .book-card:hover img, body .news-card:hover img, body .event-card:hover img, body .study-card:hover img, body .church-card:hover img { transform: scale(1.05); }
body .book-card h3, body .news-card h3, body .event-card h3, body .study-card h3, body .church-card h3, body .lesson-card h3,
body .featured-news-title, body .news-card-title, body .event-title { font-family: "Manrope", sans-serif !important; font-weight: 500 !important; letter-spacing: -.02em; }

/* ── Botões ── */
body .btn, body .btn-primary, body .btn-outline, body .btn-filter, body .btn-filter-secondary, body .filter-btn,
body .read-more-btn, body .btn-map, body .btn-muted, body .map-action-btn {
  border-radius: 999px !important; font-family: "Inter", sans-serif !important; font-weight: 500 !important; letter-spacing: .01em;
  transition: transform .3s var(--tx-ease), background .3s, color .3s, box-shadow .3s, border-color .3s !important;
}
body .btn-primary, body .btn-filter, body .map-action-btn-primary { background: #0057e5 !important; border-color: #0057e5 !important; color: #fff !important; }
body .btn-primary:hover, body .btn-filter:hover, body .map-action-btn-primary:hover { background: #0048c0 !important; border-color: #0048c0 !important; color: #fff !important; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 87, 229, .32); }
body .btn-outline, body .btn-filter-secondary { background: transparent !important; border: 1px solid rgba(0, 87, 229, .4) !important; color: #0057e5 !important; }
body .btn-outline:hover, body .btn-filter-secondary:hover { background: #0057e5 !important; border-color: #0057e5 !important; color: #fff !important; transform: translateY(-2px); }

/* ── Formulários e filtros ── */
main input[type="text"], main input[type="search"], main input[type="email"], main input[type="tel"], main input[type="date"],
main input[type="number"], main select, main textarea {
  border-radius: 14px !important; border: 1px solid var(--tx-line-l) !important; background: #fff !important;
  font-family: "Inter", sans-serif !important; transition: border-color .3s, box-shadow .3s !important;
}
main input:focus, main select:focus, main textarea:focus { outline: none !important; border-color: #0057e5 !important; box-shadow: 0 0 0 4px rgba(0, 87, 229, .12) !important; }
body .filter-bar, body .news-filters, body .events-filters, body .library-filters, body .filters-container {
  border-radius: 22px !important; border: 1px solid var(--tx-line-l) !important; background: #fff !important; box-shadow: none !important;
}

/* ── Paginação ── */
body .pagination a, body .pagination span, body .page-link { border-radius: 999px !important; }

@media (max-width: 991px) {
  body .library-hero, body .eventos-hero, body .events-hero, body .church-hero, body .history-hero,
  body .escola-sabatina-hero, body .estudos-hero, body .devocionais-hero { padding: 128px 0 56px !important; }
  body .library-hero::after, body .eventos-hero::after, body .events-hero::after, body .church-hero::after, body .history-hero::after,
  body .escola-sabatina-hero::after, body .estudos-hero::after, body .devocionais-hero::after { width: 300px; height: 300px; right: -90px; bottom: -90px; }
}

/* Termos e outras páginas sem cabeçalho próprio */
body .static-page-section { padding-top: 150px !important; }
body .history-stat:nth-child(odd) { background: #0057e5 !important; }
body .history-stat:nth-child(even) { background: #0a3fb8 !important; }

/* cabeçalhos de detalhe: mais espaço sob o menu fixo */
body .noticia-detalhe-hero, body .church-detail-hero { padding-top: 150px !important; padding-bottom: 64px !important; }
@media (max-width: 991px) { body .noticia-detalhe-hero, body .church-detail-hero { padding-top: 118px !important; } }

/* ==========================================================================
   MENU MÓVEL — gaveta lateral escura (até 1199px)
   ========================================================================== */
.tx-nav-foot { display: none; }

@media (max-width: 1199px) {
  /* botão do menu */
  .header .mobile-nav-toggle {
    position: fixed !important; top: 14px !important; right: 16px !important; margin: 0 !important; z-index: 10060;
    width: 46px; height: 46px; display: grid !important; place-items: center; border-radius: 14px; font-size: 26px !important; line-height: 1 !important; color: #fff !important;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); cursor: pointer;
    transition: background .3s, transform .3s var(--tx-ease);
  }
  .header .mobile-nav-toggle:hover { background: rgba(255, 255, 255, .18); }
  .header .mobile-nav-toggle.bi-x { background: #fff; color: var(--tx-blue) !important; transform: rotate(90deg); }
  .header .nav-wrap { min-height: 74px; }
  .header .logo { padding-right: 64px; }

  /* quando aberto: o cabeçalho não pode ter backdrop-filter (senão prende a gaveta fixa) */
  body.mobile-nav-active { overflow: hidden; }
  body.mobile-nav-active .header { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: transparent !important; border-bottom-color: transparent !important; z-index: 10050 !important; }
  body.mobile-nav-active::before { content: ""; position: fixed; inset: 0; z-index: 10010; background: rgba(2, 8, 30, .62); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); animation: txFade .35s backwards; }
  body.mobile-nav-active .header .logo { position: relative; z-index: 10020; }
  @keyframes txFade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes txDrawer { from { transform: translateX(100%); } to { transform: none; } }
  @keyframes txItem { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

  /* a gaveta */
  body.mobile-nav-active .header #navmenu {
    position: fixed !important; inset: 0 0 0 auto !important; width: min(390px, 90vw) !important; height: 100% !important;
    display: flex !important; flex-direction: column; padding: 92px 26px 26px !important; overflow-y: auto !important; overscroll-behavior: contain;
    background: radial-gradient(ellipse 90% 40% at 100% 0%, rgba(47, 123, 255, .35), transparent 70%), linear-gradient(180deg, #061746 0%, #0a2160 100%) !important;
    box-shadow: -30px 0 80px rgba(2, 8, 30, .5) !important; border-left: 1px solid rgba(255, 255, 255, .1);
    z-index: 10030 !important; animation: txDrawer .45s var(--tx-ease) backwards;
  }
  body.mobile-nav-active .header #navmenu > ul {
    position: static !important; inset: auto !important; display: block !important; width: auto !important; height: auto !important; max-height: none !important; min-height: 0 !important;
    margin: 0 !important; padding: 0 !important; overflow: visible !important; background: none !important; border-radius: 0 !important; box-shadow: none !important;
    visibility: visible !important; opacity: 1 !important; flex: 1 0 auto;
  }
  body.mobile-nav-active .header #navmenu > ul > li { display: block !important; width: 100% !important; animation: txItem .5s var(--tx-ease) backwards; }
  body.mobile-nav-active .header #navmenu > ul > li:nth-child(1) { animation-delay: .12s; }
  body.mobile-nav-active .header #navmenu > ul > li:nth-child(2) { animation-delay: .17s; }
  body.mobile-nav-active .header #navmenu > ul > li:nth-child(3) { animation-delay: .22s; }
  body.mobile-nav-active .header #navmenu > ul > li:nth-child(4) { animation-delay: .27s; }
  body.mobile-nav-active .header #navmenu > ul > li:nth-child(5) { animation-delay: .32s; }
  body.mobile-nav-active .header #navmenu > ul > li:nth-child(6) { animation-delay: .37s; }

  /* ligações principais */
  .header #navmenu > ul > li > a, .header #navmenu > ul > li > a:focus {
    display: flex !important; align-items: center; justify-content: space-between; min-height: 0 !important; padding: 17px 2px !important; white-space: normal !important;
    font: 500 21px/1.2 "Manrope", sans-serif !important; letter-spacing: -.02em; color: #fff !important; background: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .1); opacity: 1 !important; transition: color .3s, padding .3s;
  }
  .header #navmenu > ul > li > a::after { display: none !important; }
  .header #navmenu > ul > li > a:hover { color: #8fb8ff !important; padding-left: 6px !important; }
  .header #navmenu > ul > li > a.active { color: #8fb8ff !important; }
  .header #navmenu > ul > li > a.active > span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 12px; border-radius: 50%; background: #2f7bff; box-shadow: 0 0 0 4px rgba(47, 123, 255, .25); vertical-align: middle; }
  .header #navmenu > ul > li:not(.dropdown) > a.active::before { content: ""; width: 7px; height: 7px; margin-right: 12px; border-radius: 50%; background: #2f7bff; box-shadow: 0 0 0 4px rgba(47, 123, 255, .25); order: -1; }
  .header #navmenu > ul > li:not(.dropdown) > a.active { justify-content: flex-start; }

  /* seta dos submenus */
  .header #navmenu .toggle-dropdown {
    width: 36px !important; height: 36px !important; margin: 0 !important; display: grid !important; place-items: center; border-radius: 50%; font-size: 13px !important;
    color: #fff !important; background: rgba(255, 255, 255, .1) !important; transition: transform .35s var(--tx-ease), background .3s !important;
  }
  .header #navmenu .dropdown.open > a .toggle-dropdown { transform: rotate(180deg) !important; background: #2f7bff !important; }
  .header #navmenu .dropdown > a.active .toggle-dropdown { transform: none; }
  .header #navmenu .dropdown.open > a.active .toggle-dropdown { transform: rotate(180deg) !important; }

  /* submenus em acordeão */
  .header #navmenu .dropdown > ul {
    position: static !important; display: block !important; width: auto !important; height: auto !important; margin: 0 0 0 6px !important; padding: 0 0 0 16px !important;
    max-height: 0 !important; overflow: hidden !important; opacity: 0 !important; visibility: visible !important; border: 0 !important; border-left: 1px solid rgba(143, 184, 255, .35) !important;
    border-radius: 0 !important; background: none !important; box-shadow: none !important; transition: max-height .45s var(--tx-ease), opacity .35s, padding .35s !important;
  }
  .header #navmenu .dropdown.open > ul { max-height: 420px !important; opacity: 1 !important; padding: 8px 0 14px 16px !important; }
  .header #navmenu .dropdown > ul li { display: block; min-width: 0 !important; }
  .header #navmenu .dropdown > ul a, .header #navmenu .dropdown > ul a:focus {
    display: block !important; min-height: 0 !important; padding: 11px 6px !important; font: 400 16.5px/1.3 "Inter", sans-serif !important;
    color: rgba(255, 255, 255, .78) !important; background: none !important; border-radius: 10px; transition: color .3s, background .3s, padding .3s;
  }
  .header #navmenu .dropdown > ul a:hover { color: #fff !important; background: rgba(255, 255, 255, .08) !important; padding-left: 12px !important; }

  /* rodapé da gaveta */
  body.mobile-nav-active .header #navmenu .tx-nav-foot { display: block !important; flex: none; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); animation: txItem .5s .42s var(--tx-ease) backwards; }
  .header #navmenu .tx-nav-cta, .header #navmenu .tx-nav-cta:focus {
    display: flex !important; align-items: center; justify-content: center; gap: 10px; padding: 16px 22px !important; border-radius: 999px; background: #fff !important;
    font: 600 15px "Inter", sans-serif !important; color: var(--tx-blue) !important; box-shadow: 0 16px 36px rgba(2, 8, 30, .35);
  }
  .header #navmenu .tx-nav-cta:hover { background: #e8f0ff !important; }
  .tx-nav-info { display: grid; gap: 4px; margin: 20px 0 6px; }
  .header #navmenu .tx-nav-info a { display: flex !important; align-items: center; gap: 12px; padding: 9px 2px !important; font: 300 14.5px "Inter", sans-serif !important; color: rgba(255, 255, 255, .78) !important; background: none !important; min-height: 0 !important; }
  .header #navmenu .tx-nav-info a i { width: 18px; color: #8fb8ff; font-size: 15px; }
  .tx-nav-social { display: flex; gap: 8px; margin-top: 10px; }
  .header #navmenu .tx-nav-social a { width: 42px; height: 42px; display: grid !important; place-items: center; padding: 0 !important; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff !important; min-height: 0 !important; font-size: 15px !important; }
  .header #navmenu .tx-nav-social a:hover { background: #fff !important; color: var(--tx-blue) !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.mobile-nav-active .header #navmenu, body.mobile-nav-active::before, body.mobile-nav-active .header #navmenu > ul > li, body.mobile-nav-active .header #navmenu .tx-nav-foot { animation: none !important; }
}

/* gaveta: mais estreita (mostra o logótipo) e o aviso de termos fica por baixo */
.tx-consent { z-index: 9990; }
@media (max-width: 1199px) {
  body.mobile-nav-active .header #navmenu { width: min(360px, 82vw) !important; }
  body.mobile-nav-active .tx-consent { display: none; }
}

/* gaveta: contactos e ícones sem os círculos do tema antigo */
@media (max-width: 1199px) {
  .header #navmenu .tx-nav-info a, .header #navmenu .tx-nav-info a:focus { justify-content: flex-start !important; }
  .header #navmenu .tx-nav-info a i, .header #navmenu .tx-nav-cta i, .header #navmenu .tx-nav-social a i {
    width: auto !important; height: auto !important; margin: 0 !important; background: none !important; border-radius: 0 !important; display: inline-block !important; transform: none !important;
  }
  .header #navmenu .tx-nav-info a i { width: 18px !important; text-align: center; }
  .header #navmenu .tx-nav-cta i { font-size: 16px !important; }
}

/* gaveta: botão sempre visível, topo sem corte e ícone social centrado */
@media (max-width: 1199px) {
  body.mobile-nav-active .header #navmenu { will-change: auto; transform: none; }
  .header .mobile-nav-toggle { position: fixed !important; z-index: 10060 !important; }
  body.mobile-nav-active .header #navmenu { padding-top: 96px !important; scroll-padding-top: 96px; }
  .header #navmenu .tx-nav-social a { display: flex !important; align-items: center !important; justify-content: center !important; text-align: center; }
  .header #navmenu .tx-nav-social a i { line-height: 1 !important; }
}

@media (max-width: 1199px) { .tx-brand { transition: opacity .25s; } body.mobile-nav-active .header .tx-brand { opacity: 0; } }
