
.blog-header {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: white;
    padding: 4rem 0;
    text-align: center;

    /* 👉 Espaço entre o header e esta seção */
    margin-top: 40px; /* Você pode ajustar esse valor (ex: 20px, 60px etc.) */
}


.article-header {
    margin-bottom: 3rem;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #16a34a;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-header h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
}

.lead {
    font-size: 1.3rem;
    font-weight: 300;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.article-content h2 {
    font-size: 2rem;
    color: #1a1a1a;
    margin: 3rem 0 1.5rem 0;
    border-bottom: 3px solid #16a34a;
    padding-bottom: 0.5rem;
}

.article-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 2rem 0 1rem 0;
}

.article-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-content ul, .article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

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

.article-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.article-cta {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.article-cta h3 {
    margin-bottom: 1rem;
    color: white;
}

.article-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.btn-cta {
    background: white;
    color: #16a34a;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

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

.article-footer {
    border-top: 1px solid #eee;
    padding-top: 2rem;
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.tags {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tags span {
    font-weight: 600;
    color: #333;
}

.tags a {
    background: #f3f4f6;
    color: #666;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tags a:hover {
    background: #16a34a;
    color: white;
}

.share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share span {
    font-weight: 600;
    color: #333;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.related-articles {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.related-articles h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-item {
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

.related-item h4 {
    padding: 1.5rem;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.4;
}

/* Blog Index Styles */
.blog-header {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

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

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

.blog-card-content {
    padding: 2rem;
}

.blog-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.6rem;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* FAQ Styles */
.faq-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.6;
    color: #555;
    display: none;
}

.faq-answer.active {
    display: block;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-icon.active {
    transform: rotate(180deg);
}

/* Slider Styles */
.blog-slider {
    padding: 3rem 0;
    background: #f8f9fa;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-item {
    min-width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slider-content {
    display: flex;
    align-items: center;
    padding: 2rem;
    gap: 2rem;
}

.slider-image {
    flex: 0 0 300px;
}

.slider-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.slider-text {
    flex: 1;
}

.slider-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.slider-text p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.slider-btn {
    background: #16a34a;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: #15803d;
    transform: translateY(-2px);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #16a34a;
}

@media (max-width: 768px) {
    .slider-content {
        flex-direction: column;
        text-align: center;
    }
    
    .slider-image {
        flex: none;
        width: 100%;
    }
}

.linha-divisoria {
  width: 100%;          /* ocupa toda a largura */
  height: 12px;          /* 1px de espessura */
  background-color: #ccc; /* cor da linha (pode trocar) */
  margin: 20px 0;       /* espaço em cima e embaixo */
}
.footer {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1a1a1a;
    color: white;
    padding: 1rem 0;
    text-align: center;
}
/* Botão flutuante WhatsApp - canto inferior direito */
.whatsapp-button {
  position: fixed;
  bottom: 20px;                /* distância da borda inferior */
  right: 20px;                 /* distância da borda direita */
  left: auto;                  /* garante que não ocupe toda largura */
  width: auto;                 /* não ocupa 100% por padrão */
  min-width: 140px;
  max-width: calc(100% - 40px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 50px;
  background-color: #25d366;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  z-index: 999999;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}

/* efeito */
.whatsapp-button:hover { transform: translateY(-3px); }
.whatsapp-button:active { transform: translateY(0); }

/* Versão mobile: largura quase total (barra) para melhor clique */
@media (max-width: 600px) {
  .whatsapp-button {
    left: 16px;
    right: 16px;
    bottom: 12px;
    width: auto;           /* ocupa a largura entre left e right */
    min-width: unset;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
  }
}

/* Se algum CSS estiver sobrescrevendo (uso só se necessário) */
/*
.whatsapp-button {
  bottom: 20px !important;
  right: 20px !important;
  left: auto !important;
  width: auto !important;
  position: fixed !important;
}
*/
