:root {
  --primary-color: #246430; /* Verde do IMS */
  --secondary-color: #fed42b; /* Amarelo/Dourado */
}

body {
  font-family: "Inter", sans-serif;
  padding-top: 76px;
  background-color: #f8f9fa;
  overflow-x: hidden;
}

/* Utils Gerais */
.z-index-1 {
  z-index: 1;
}

/* Navegação */
.navbar {
  transition: all 0.3s ease;
}

.offcanvas-body .nav-link {
  font-weight: 500;
  font-size: 1.1rem;
  padding-block: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
  .offcanvas-body .nav-link {
    font-size: 1rem;
    border-bottom: none;
  }
}

.offcanvas-body .nav-link:hover {
  color: var(--primary-color) !important;
}

/* Header dos Ebooks */
.ebook-header {
  position: relative;
  padding: 60px 0;
  background-image: url("https://maosquesalvam.org.br/wp-content/themes/non-profit-fse/assets/img/non-profit-02.webp");
  background-size: cover;
  background-position: center;
  border-bottom: 5px solid var(--secondary-color);
}

.ebook-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(36, 100, 48, 0.85); /* Fundo Verde transparente */
  z-index: 0;
}

/* Cards dos E-books */
.ebook-card {
  border-radius: 15px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  background-color: #ffffff;
  border-bottom: 4px solid transparent !important;
}

.ebook-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Destaca a borda de acordo com o ícone no hover */
.ebook-card:hover .btn-outline-success {
  background-color: var(--primary-color);
  color: white;
}
.ebook-card:hover .btn-outline-warning {
  background-color: var(--secondary-color);
  color: #000;
}
.ebook-card:hover .btn-outline-dark {
  background-color: #212529;
  color: white;
}

.icon-wrapper {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Footer Moderno (Idêntico ao index) */
.footer-moderna {
  background-color: #1a1e21 !important;
}

.footer-links a {
  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
}
.footer-links a:hover {
  color: var(--secondary-color) !important;
  padding-left: 8px;
}

.social-btn {
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}
.social-btn:hover {
  background-color: var(--primary-color);
  color: white !important;
  transform: translateY(-3px);
}

.icon-box {
  flex-shrink: 0;
}
.footer-contact-link {
  transition: color 0.3s ease;
}
.footer-contact-link:hover {
  color: var(--primary-color) !important;
}

/* --- ANIMAÇÕES CSS --- */
.animate-fade-in {
  opacity: 0;
  transition: opacity 1s ease-out;
}
.animate-fade-in.is-visible {
  opacity: 1;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.animate-slide-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .contact-info {
    max-width: 280px;
    margin: 0 auto;
  }

  .contact-info li {
    justify-content: flex-start !important;
    text-align: left;
  }
  .list-unstyled {
    max-width: 280px;
    margin: 0 auto;
    justify-content: flex-start !important;
    text-align: left;
  }
}
.logo-navbar {
  height: 60px;   /* aqui você controla */
  width: auto;
  object-fit: contain;
}
/* =========================================
   Botão Flutuante do WhatsApp
========================================= */
.whatsapp-flutuante {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; /* Verde oficial do WhatsApp */
    color: #FFF !important; /* Força o ícone a ficar branco */
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999; /* Garante que fique acima de todos os elementos do site */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Efeito ao passar o mouse (PC) */
.whatsapp-flutuante:hover {
    background-color: #1ebe57; /* Fica um verde um pouco mais escuro */
    transform: scale(1.1); /* Dá uma leve aumentada */
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}

/* Ajuste de tamanho para telas de celular */
@media (max-width: 768px) {
    .whatsapp-flutuante {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
}