/* ═══════════════════════════════════════════════════════════════════════
   tools.css — finanZEN magazine
   Layout/responsividade: Bootstrap 4.5 (col-*, d-flex, py-*, etc.)
   Este arquivo: somente visual, marca e o que Bootstrap não cobre.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Ocultar base LadyBank ──────────────────────────────────────────── */
#header,
#footer,
.inline-media {
  display: none !important;
}

#content-wrapper {
  padding: 0 !important;
}

/* ── Variáveis de marca ─────────────────────────────────────────────── */
:root {
  --fz-teal: #1AA79A;
  --fz-teal-light: #8FEFF9;
  --fz-teal-dark: #0B5E55;
  --fz-text: #1a1a1a;
  --fz-text-muted: #555555;
  --fz-border: #e2e2e2;
  --fz-bg-light: #f8f9fa;
  --fz-white: #ffffff;
}

.text-teal {
  color: var(--fz-teal);
}

.text-teal-light {
  color: var(--fz-teal-light);
}

.text-teal-dark {
  color: var(--fz-teal-dark);
}

.text-muted {
  color: var(--fz-text-muted);
}

/* ── Base da página ─────────────────────────────────────────────────── */
#finanzen-page {
  font-family: 'Poppins', sans-serif;
  color: var(--fz-text);
  background: var(--fz-white);
  overflow-x: hidden;
}

/* ── Navbar ─────────────────────────────────────────────────────────── */
.fz-navbar {
  background: var(--fz-white);
  border-bottom: 1px solid var(--fz-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.fz-logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--fz-text);
  text-decoration: none;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.fz-logo span {
  color: var(--fz-teal);
}

.fz-logo:hover {
  color: var(--fz-text);
  text-decoration: none;
}

.fz-nav-tabs {
  flex: 1;
  justify-content: center;
}

.fz-nav-tab {
  display: block;
  color: var(--fz-text-muted);
  font-size: 0.8rem;
  padding: 0.5rem 0.85rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.fz-nav-tab:hover {
  color: var(--fz-teal);
  text-decoration: none;
}

.fz-nav-tab.active {
  color: var(--fz-teal);
  border-bottom-color: var(--fz-teal);
  font-weight: 600;
}

.fz-search-btn {
  background: none;
  border: none;
  color: var(--fz-text-muted);
  font-size: 1.05rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  padding: 0;
}

.fz-search-btn:hover {
  color: var(--fz-teal);
}

.fz-hamburger {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--fz-text);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.fz-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--fz-white);
}

.fz-mobile-menu.open {
  display: flex;
}

.fz-mobile-link {
  display: block;
  text-decoration: none;
  color: var(--fz-text-muted);
  font-size: 0.88rem;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.2s;
}

.fz-mobile-link:last-child {
  border-bottom: none;
}

.fz-mobile-link:hover,
.fz-mobile-link.active {
  color: var(--fz-teal);
  text-decoration: none;
}

.fz-mobile-link.active {
  font-weight: 600;
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.fz-hero {
  background: linear-gradient(120deg, #e5f7f5 0%, #c8ece9 55%, #a8ddd8 100%);
  background-size: cover;
  background-position: center right;
}

.fz-hero .row {
  min-height: 480px;
}

.fz-edition-tag {
  display: inline-block;
  background: var(--fz-teal-light);
  color: var(--fz-teal-dark);
  letter-spacing: 2px;
  border-radius: 4rem !important;
  text-transform: uppercase;
  width: fit-content;
}

.fz-hero-title {
  font-weight: bolder;
  line-height: 1.2;
  color: var(--fz-teal-dark);
}

.fz-hero-subtitle {
  color: var(--fz-text-muted);
  line-height: 1.65;
  max-width: 480px;
}

.btn-primary {
  background-color: var(--fz-teal-dark) !important;
  color: var(--fz-white);
  border-color: var(--fz-teal-dark) !important;
}

.btn-white {
  background-color: #ffffff !important;
  color: var(--fz-teal) !important;
}

.fz-btn-primary:hover {
  background: var(--fz-teal);
  color: var(--fz-white);
  text-decoration: none;
}

.card {
  border: 0 !important;
  padding: 1.5rem;
  border-radius: 1.5rem !important;
  background-color: rgba(255, 255, 255, 0.75) !important;
}

/* Em mobile, sidebar aparece abaixo do hero-content — troca borda lateral por borda superior */
@media (max-width: 991.98px) {
  .fz-hero {
    background-size: 900px;
    background-repeat: no-repeat;
    background-position: top;
  }
  .fz-tema-title {
    font-size: 2rem !important;
  }
}

.fz-sidebar-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fz-text);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--fz-teal-dark);
}

.fz-sidebar-item {
  border-bottom: 1px solid #f2f2f2;
}

.fz-sidebar-item:last-child {
  border-bottom: none;
}

.fz-sidebar-cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.fz-cat-muted {
  color: #888;
}

.fz-sidebar-text {
  font-size: 0.875rem;
  color: #333;
  line-height: 1.45;
}

.fz-ver-mais {
  color: var(--fz-teal-dark);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.fz-ver-mais:hover {
  text-decoration: underline;
}

/* ── Artigos + Vídeo ────────────────────────────────────────────────── */

/* Em mobile, artigo fica acima do vídeo — troca borda direita por borda inferior */
@media (max-width: 991.98px) {
  
}

.fz-badge-verified {
  font-size: 0.875rem;
  font-weight: 700;
  color: #28a745;
}

.fz-article-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--fz-text);
  line-height: 1.3;
}

.fz-article-text {
  line-height: 1.75;
  color: #444;
}

.fz-author-avatar {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 2px solid var(--fz-teal);
  background: var(--fz-teal-light);
  flex-shrink: 0;
}

.fz-author-name {
  font-size: 0.875rem;
  color: var(--fz-text);
  font-weight: 600;
  line-height: 1.3;
}

.fz-author-role {
  font-size: 0.75rem;
  color: #888;
  line-height: 1.3;
}

/* aspect-ratio e play button centralizado via position:absolute — Bootstrap não cobre */
.fz-video-thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--fz-teal-light);
}

.fz-video-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fz-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.8rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.fz-play-btn:hover {
  color: var(--fz-white);
  transform: translate(-50%, -50%) scale(1.07);
  text-decoration: none;
}

.fz-related-card {
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
  transition: opacity 0.2s;
}

.fz-related-card:hover {
  opacity: 0.85;
  text-decoration: none;
  color: inherit;
}

/* aspect-ratio não disponível em Bootstrap 4 */
.fz-related-thumb-wrap {
  overflow: hidden;
  background: #e0eeec;
}

.fz-related-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.fz-related-cat {
  font-size: 0.62rem;
  color: var(--fz-teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.fz-related-title {
  font-size: 0.75rem;
  color: #333;
  line-height: 1.35;
}

/* ── Tema do Mês ────────────────────────────────────────────────────── */
.fz-tema-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--fz-teal);
}

.fz-tema-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--fz-text);
  line-height: 1.25;
}

/* borda-esquerda teal + max-width centralizado — Bootstrap 4 não tem border-color utilities */
.fz-takeaways {
  max-width: 760px;
  background: var(--fz-bg-light);
  border-left: 4px solid var(--fz-teal);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.fz-takeaways-heading {
  font-size: 0.875rem;
  color: var(--fz-text);
}

.fz-takeaways-heading i {
  color: var(--fz-teal);
}

.fz-takeaways-item {
  line-height: 1.6;
  color: #333;
}

.fz-tema-text {
  line-height: 1.8;
  color: #444;
  max-width: 760px;
}

.fz-subsection-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fz-text);
  max-width: 760px;
}

.fz-tema-img {
  max-width: 760px;
  border-radius: 12px;
  object-fit: cover;
  max-height: 380px;
}

/* ── Plataforma LadyBank ────────────────────────────────────────────── */
.fz-platform-section {
  background: var(--fz-teal-dark);
  color: var(--fz-white);
}

.fz-platform-tag {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.fz-platform-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--fz-white);
}

.fz-platform-desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.fz-stat-value {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--fz-white);
  line-height: 1.1;
}

.fz-stat-label {
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.fz-btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: var(--fz-white);
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s;
}

.fz-btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--fz-white);
  text-decoration: none;
}

.fz-platform-img {
  border-radius: 12px;
  object-fit: contain;
}

.fz-testimonial {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border-left: 3px solid rgba(255, 255, 255, 0.4);
}

.fz-quote {
  font-size: 0.87rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

.fz-quote-author {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

/* ── Próxima Edição + Newsletter ────────────────────────────────────── */
.fz-bottom-section {
  background: var(--fz-white);
}

.fz-proxima-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--fz-text);
  line-height: 1.3;
}

.fz-proxima-desc {
  line-height: 1.7;
  color: var(--fz-text-muted);
}

.fz-lancamento {
  border: 2px solid var(--fz-teal);
  border-radius: 8px;
}

.fz-lancamento-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #999;
}

.fz-lancamento-data {
  font-size: 1.5rem;
  color: var(--fz-text);
  font-weight: 700;
}

.fz-newsletter-box {
  background: var(--fz-teal);
  border-radius: 12px;
  color: var(--fz-white);
}

.fz-newsletter-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--fz-white);
  line-height: 1.3;
}

.fz-newsletter-subtitle {
  color: rgba(255, 255, 255, 0.78);
}

.fz-input {
  padding: 0.6rem 0.9rem;
  border-radius: 6px;
  border: none;
  font-family: 'Poppins', sans-serif;
  outline: none;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  min-width: 0;
  /* garante que flex-fill não cause overflow */
}

.fz-input:focus {
  background: var(--fz-white);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.fz-input::placeholder {
  color: #aaa;
}

.fz-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.fz-footer {
  background: var(--fz-bg-light);
  border-top: 1px solid var(--fz-border);
}

.fz-footer-logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--fz-text);
  letter-spacing: -0.3px;
}

.fz-footer-logo span {
  color: var(--fz-teal);
}

.fz-footer-copy {
  font-size: 0.76rem;
  color: #999;
}

.fz-footer-desc {
  font-size: 0.76rem;
  color: #777;
  line-height: 1.65;
  max-width: 380px;
}

.fz-footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--fz-text);
}

.fz-footer-link {
  text-decoration: none;
  color: #555;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.fz-footer-link:hover {
  color: var(--fz-teal);
  text-decoration: none;
}

/* Tamanho fixo e cor de fundo — .rounded-circle (Bootstrap) só dá border-radius */
/* .fz-social-icon {
  width: 32px;
  height: 32px;
  background: var(--fz-teal);
  color: var(--fz-white);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s;
  line-height: 1;
} */

.fz-social-icon:hover {
  background: var(--fz-teal-dark);
  color: var(--fz-white);
  text-decoration: none;
}