/* @import url("/assets/css/pages.css"); */
:root {
    --primary-color: #333;
    --secondary-color: #007bff;
    --background-color: #ffffff;
    --light-gray-bg: #f8f9fa;
    --text-color: #555;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Poppins', sans-serif;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

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

h1, h2, h3 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Navbar */
.navbar {
    background: var(--background-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links ul {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
    background-color: var(--light-gray-bg);
    text-align: center;
    padding: 6rem 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 2rem;
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #fff;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.btn-secondary:hover {
     background: var(--secondary-color);
     color: #fff;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
    text-align: center;
}

.bg-light {
    background: var(--light-gray-bg);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    text-align: left;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
}

.card p {
    padding: 0 1.5rem 1.5rem;
    flex-grow: 1;
}

.card-link-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.card-link-wrapper h3, .card-link-wrapper p {
    color: var(--text-color);
}

.card-link-wrapper:hover h3 {
    color: var(--secondary-color);
}

.ebook-card {
    text-align: center;
}

.ebook-card img {
    height: 300px;
    object-fit: cover;
}

.ebook-card h3 {
    padding: 1.5rem 1rem 1rem;
}

.ebook-card .btn {
    margin: 0 auto 1.5rem;
    width: fit-content;
}

/* E-book Page */
.ebook-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    text-align: left;
}

.ebook-page-grid-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    text-align: left;
}

.ebook-page-grid-1 p {
    text-align: justify;
}

.ebook-page-grid-2 {
    display: grid;
    grid-template-columns: 2fr;
    gap: 2rem;
    align-items: center;
    text-align: left;
}

.ebook-page-grid-2 p {
    text-align: justify;
}

@media (min-width: 768px) {
    .ebook-page-grid {
        grid-template-columns: 1fr 2fr;
    }

}

@media (min-width: 768px) {
    .ebook-page-grid-1 {
        grid-template-columns: 1fr 2fr;
    }
}

@media (min-width: 768px) {
    .ebook-page-grid-2 {
        grid-template-columns: 2fr 1fr;
    }
}

.ebook-page-cover img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.ebook-page-info h1 {
    font-size: 2.5rem;
}

.ebook-author {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 1.5rem;
}

.key-topics {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    text-align: left;
    margin-top: 2rem;
}

.key-topics li {
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 4px solid var(--secondary-color);
}

/*imagens responsivas */
.img-container {
  width: 100%; /* garante largura total */
  max-width: 100%; /* evita encolher */
  text-align: center;  
  border-radius: 5px;
  padding: 10px;
  margin: 10px auto;
}

.img-container img {
  width: 100%; /* força ocupar a largura do container */
  max-width: 100%;
  height: auto;
  display: block;
  margin: 15px auto;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .img-container img {
      max-width: 100%
    }
}

/* img zoom */
.img-ampliavel {
  cursor: pointer;
  transition: 0.3s;
}

.galeria {
  display:inline-flex;

}



@media (max-width: 600px) {
    .galeria img {
      max-width: 100%
    }
}

/* img zoom */
.img-ampliavel {
  cursor: pointer;
  transition: 0.3s;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 30px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  overflow: auto; /* permite rolagem */
}

.modal-conteudo {
  display: block;
  margin: auto;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  border-radius: 8px;
}



.fechar {
  position: absolute;
  top: 30px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
/*Fim do zoom */

.capitular {
  text-align: justify;
}

.capitular:first-letter {
  font-size: 3em;
  font-weight: bold;
  float: left;
  line-height: 1;
  padding-right: 8px;
  color: #001c53;
  font-family: serif;
}

/* Estilos para a seção de doação */
.doacao {
  margin-top: 0px;
  padding: 20px;
  
  background-color: #f9f9f9;
  text-align: center;
  border-radius: 0px;
}

.doacao p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 15px;
}

.qrcode-doacao {
  width: 180px;
  height: auto;
  margin-bottom: 10px;
}

.agradecimento {
  font-style: italic;
  color: #555;
  font-size: 0.9em;
}

.botao-copiar {
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #782ea9;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95em;
  transition: background-color 0.3s;
}

.botao-copiar:hover {
  background-color: #6a2073;
}

#chavePix {
  word-break: break-all;
  display: inline-block;
  max-width: 100%;
}
/* Autor Section */
.meta-postagem {
  margin-top: 30px;
  margin-bottom: 20px;
  font-size: 0.7em;
  color: #555;
  font-style: italic;
  border-top: 1px solid #ccc;
  padding-top: 10px;
  text-align: right;
}

.meta-postagem span {
  margin-right: 10px;
}

/* Indice */
.indice {
  background: #f8f8f8;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  

}

.indice ul {
  list-style: none;
  padding-left: 15px;
}

.indice ul li {
  margin-bottom: 8px;
}

.indice ul li a {
  text-decoration: none;
  color: #0066cc;
   font-size: 0.8em;
   font-style: italic;
}

.indice ul li a:hover {
  text-decoration: underline;
}

/* Tip List */
.tip-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tip-item {
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--secondary-color);
}

.tip-item h3 {
    margin-bottom: 0.5rem;
}

/* Donation Section */
.donation-box {
    max-width: 600px;
    margin: 2rem auto 0;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.donation-amounts {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.donation-amount.active {
    background: var(--secondary-color);
    color: #fff;
}

.donation-custom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.donation-custom input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 1rem;
}

@media(min-width: 480px) {
    .donation-custom {
        flex-direction: row;
    }
    .donation-custom input {
        flex-grow: 1;
    }
}

#about .container {
    max-width: 800px;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: #f4f4f4;
    text-align: center;
    padding: 2rem 0;
}

footer a {
    color: #fff;
}
footer a:hover {
    color: var(--secondary-color);
}

footer p {
    margin-bottom: 0.5rem;
}

/* Estilos para a calculadora de pagamento */
.conteudo_pgto {
    background-color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.container_calculadora_PGTO {
  background-color: #ffffff;
  border: 2px solid #007bff;
  border-radius: 8px;
  padding: 20px;
  max-width: 400px;
  margin: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.container_calculadora_PGTO h2 {
  color: #007bff;
  text-align: center;
}
.container_calculadora_PGTO label {
  display: block;
  margin-top: 10px;
}
.container_calculadora_PGTO [type="number"] {
  width: 95%;
  padding: 8px;
  margin-top: 5px;
  border-radius: 4px;
  border: 1px solid #ccc;
}
.container_calculadora_PGTO button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px;
  width: 100%;
  margin-top: 15px;
  border-radius: 4px;
  cursor: pointer;
}
.container_calculadora_PGTO button:hover {
  background-color: #005cbf;
}
.resultado_PGTO{
  margin-top: 15px;
  padding: 10px;
  background-color: #c6dbf2;
  border: 1px solid #007bff;
  border-radius: 4px;
}

@media (max-width: 768px) {
    .conteudo_pgto {
        max-width: 100%;
        padding: 15px;
        box-shadow: none;
        border-radius: 0;
    }
}
/* fim dos estilos para a calculadora de pagamento */



@media (max-width: 768px) {
    .conteudo_pgto {
        max-width: 100%;
        padding: 15px;
        box-shadow: none;
        border-radius: 0;
    }

}


.highlight {
    background-color: #ffeb3b; /* Amarelo suave para destaque */
    padding: 2px 5px;
    border-radius: 3px;
}

.quote {
    font-style: italic;
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
    margin: var(--spacing-large) 0;
    color: #555;
    font-size: 1.1em;
}

.quote footer {
    display: block;
    margin-top: 10px;
    font-size: 0.9em;
    color: #777;
    text-align: right;
}

/* Post Page Styles */
.post-page-container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}


.post {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
}

@media (min-width: 768px) {
    .post {
        /*padding: 3rem;*/
        margin: 0 auto;
        padding: 0;
    }

    .post-page-container{
        margin: 0 auto;
        padding: 0;

    }
}

.post-header {
    text-align: center;
    margin-bottom: 2rem;
}

.post-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.post-meta {
    color: #777;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.post-main-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content h3 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.post-content ul {
    list-style-position: inside;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.post-content ul li {
    margin-bottom: 0.5rem;
}

.download-button {
    display: block;
    width: fit-content;
    margin: 3rem auto 0;
    text-align: center;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.author-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--light-gray-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    margin-left: 5px;
    margin-right: 5px;
    flex-wrap: wrap;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #333333;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #737373;
}

.share-section {
    text-align: center;
}

.share-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.share-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--light-gray-bg);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.share-btn:hover {
    color: #fff;
    transform: translateY(-3px);
}

.share-btn.twitter:hover { background-color: #1DA1F2; }
.share-btn.facebook:hover { background-color: #1877F2; }
.share-btn.linkedin:hover { background-color: #0A66C2; }
.share-btn.whatsapp:hover { background-color: #25D366; }
.share-btn.copy-link:hover { background-color: var(--secondary-color); }

.share-btn.copy-link {
    position: relative;
    cursor: pointer;
}

.copy-tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.copy-tooltip.show {
    opacity: 1;
    visibility: visible;
}

#about .container {
    max-width: 800px;
}

/* Scroll to top button */
#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1001;
    transition: opacity 0.3s, transform 0.3s;
}

#scroll-to-top:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--background-color);
        box-shadow: var(--shadow);
        flex-direction: column;
    }

    .nav-links.active {
        display: flex;
    }
    
    .nav-links ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-links li {
        margin: 0;
        padding: 1rem 0;
        border-bottom: 1px solid var(--light-gray-bg);
    }
    
    .menu-toggle {
        display: flex;
    }
}

:root .card3 {
   --primary-color: #2c3e50; /* Azul escuro */
   --secondary-color: #3498db; /* Azul vibrante */
   --accent-color: #e74c3c; /* Vermelho para destaque */
   --text-color: #333;
   --light-bg: #ecf0f1; /* Cinza claro */
   --white: #ffffff;
   --border-radius: 0px;
   --spacing-medium: 20px;
   --spacing-large: 40px;
}

.card3 {
   width: 100%;
   max-width: 1200px;
   margin: 0px auto;
   background-color: var(--white);
   box-shadow: 0 0px 3px rgba(0, 0, 0, 0.1);
   border-radius: var(--border-radius);
   padding: var(--spacing-medium);
   box-sizing: border-box;
}

.card3 h1, h2 {
   font-family: 'Merriweather', serif;
   color: var(--primary-color);
   margin-bottom: var(--spacing-medium);
   text-align: center;
}

.card3 h1 {
   font-size: 2.5em;
   margin-top: 0;
}

.card3 h2 {
   font-size: 1.8em;
   padding-top: var(--spacing-medium);
   border-top: 1px solid #eee;
   margin-top: var(--spacing-large);
}

.card3 p {
   margin-bottom: 1em;
   text-align: justify;
   color: var(--text-color);
   line-height: 1.6;
}

.card3 ul {
   list-style: none;
   padding: 0;
   margin-bottom: var(--spacing-medium);
}

.card3 ul li {
   background-color: #f8f9fa;
   border-left: 4px solid var(--secondary-color);
   padding: 10px 15px;
   margin-bottom: 8px;
   border-radius: 4px;
   transition: transform 0.2s ease-in-out;
}

.card3 ul li:hover {
   transform: translateX(5px);
}

.card3 ol {
    padding-left: 10px;
}
.card3 strong {
   color: var(--primary-color);
}

/* .card3 img {
   max-width: 100%;
   height: auto;
   display: block;
   margin: 15px auto;
   border-radius: 4px;
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
} */

@media (max-width: 768px) {
   .card3 {
       padding: 15px;
       border-radius: 0;
   }

   .card3 h1 {
       font-size: 2em;
   }

   .card3 h2 {
       font-size: 1.5em;
   }
}

:root .card4 {
--primary-color: #2c3e50; /* Azul escuro /
--secondary-color: #3498db; / Azul vibrante /
--accent-color: #e74c3c; / Vermelho para destaque /
--text-color: #333;
--light-bg: #ecf0f1; / Cinza claro */
--white: #ffffff;
--border-radius: 8px;
--spacing-medium: 20px;
--spacing-large: 40px;
}

.card4 {
width: 100%;
max-width: 1200px;
margin: 0px auto;
background-color: var(--white);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: var(--border-radius);
padding: var(--spacing-medium);
box-sizing: border-box;
}

.card4 h1, h2 {
font-family: 'Merriweather', serif;
color: var(--primary-color);
margin-bottom: var(--spacing-medium);
text-align: center;
}

.card4 h1 {
font-size: 2.5em;
margin-top: 0;
}

.card4 h2 {
font-size: 1.8em;
padding-top: var(--spacing-medium);
border-top: 1px solid #eee;
margin-top: var(--spacing-large);
}

.card4 p {
margin-bottom: 1em;
text-align: justify;
color: var(--text-color);
line-height: 1.6;
}

.card4 ul {
list-style: none;
padding: 0;
margin-bottom: var(--spacing-medium);
}

.card4 ul li {
background-color: #f8f9fa;
border-left: 4px solid var(--secondary-color);
padding: 10px 15px;
margin-bottom: 8px;
border-radius: 4px;
transition: transform 0.2s ease-in-out;
}

.card4 ul li:hover {
transform: translateX(5px);
}

.card4 ol {
padding-left: 20px;
margin-bottom: var(--spacing-medium);
}

.card4 ol li {
margin-bottom: 0.7em;
color: var(--text-color);
}

.card4 strong {
color: var(--primary-color);
}

.img4-container {
width: 100%; /* garante largura total /
max-width: 100%; / evita encolher */
text-align: center;
border-radius: 5px;
padding: 10px;
margin: 10px auto;
}

.img4-container img {
width: 100%; /* força ocupar a largura do container */
max-width: 100%;
height: auto;
display: block;
margin: 15px auto;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
.img4-container img {
max-width: 100%
}
}

@media (max-width: 768px) {
.card4 {
padding: 15px;
border-radius: 0;
}

.card4 h1 {
font-size: 2em;
}

.card4 h2 {
font-size: 1.5em;
}
}

.license {
  font-family: Arial, sans-serif;
  background-color: #fdfdfd;
  color: #333;
  padding: 20px;
  max-width: 900px;
  margin: auto;
  line-height: 1.6;
}
.license h1 {
  color: #007BFF;
  text-align: center;
}
.license h2 {
  color: #333;
  margin-top: 30px;
}
.license ul {
  padding-left: 20px;
}
.license a {
  color: #007BFF;
  text-decoration: none;
}

.cta-final {
margin-top: 30px;
padding: 20px;
background-color: #ecf0f1;
border-radius: 6px;
text-align: center;
color: #777;
}
.cta-final strong {
color: #e67e22;
}