/* Estilos específicos do Blog que complementam o styles.css principal */

.blog-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  align-items: start;
}

.mobile-filter-container {
  display: none;
  /* Hide on desktop by default */
}

@media (max-width: 900px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    display: none;
    /* Hide sidebar on mobile */
  }

  .mobile-filter-container {
    display: block;
    margin-bottom: 20px;
    background: var(--color-mist);
    padding: 15px;
    border-radius: 8px;
  }
}

/* =========================================
   COMPONENTES PADRÃO OURO 2026
   ========================================= */

.lead-box {
    background: var(--color-mist);
    border-left: 5px solid var(--color-pink);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 12px 12px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.lead-box i {
    font-size: 2rem;
    color: var(--secondary);
}

.lead-box p {
    margin-bottom: 0 !important;
    font-size: 1.15rem;
    font-weight: 500;
    text-align: left !important;
}

.info-box {
    background: var(--color-mist);
    border-left: 5px solid var(--color-pink);
    padding: 30px;
    margin: 40px 0;
    border-radius: 8px;
}

.info-box h3 {
    margin-top: 0 !important;
    color: var(--secondary);
}

.emergency-box {
    background: var(--color-mist);
    border: 2px solid #ff4d4d;
    padding: 30px;
    margin: 40px 0;
    border-radius: 12px;
}

.emergency-box h3 {
    color: #ff4d4d;
    margin-top: 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list {
    list-style: none;
    padding-left: 0;
    margin: 30px 0;
}

.check-list li {
    padding-left: 35px;
    position: relative;
    margin-bottom: 15px;
    font-weight: 500;
    text-align: left !important;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.highlight-stat {
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-deep-pink) 100%);
    color: #fff;
    padding: 40px;
    border-radius: 15px;
    margin: 45px 0;
    text-align: center;
}

.highlight-stat .stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
}

.highlight-stat .stat-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0 !important;
    text-align: center !important;
    color: #fff !important;
}

.quote-box {
    background: var(--color-mist);
    border-left: 5px solid var(--color-pink);
    padding: 35px 40px;
    margin: 45px 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
}

.quote-box blockquote {
    border: none !important;
    padding: 0;
    margin: 0;
    background: none !important;
    font-size: 1.2rem;
}

.quote-box cite {
    display: block;
    margin-top: 20px;
    font-weight: 700;
    color: var(--secondary);
    font-style: normal;
}

/* Custom Table Styles */
.nutrition-table-container {
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 12px;
    border: 1px solid #eee;
}

.nutrition-table {
    width: 100%;
    border-collapse: collapse;
}

.nutrition-table th {
    background: var(--color-pink);
    color: white;
    padding: 15px;
    text-align: left;
}

.nutrition-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.nutrition-table tr:last-child td {
    border-bottom: none;
}

.nutrition-table tr:nth-child(even) {
    background: #f9f9f9;
}

.article-hero-container {
    margin-top: 30px;
    text-align: center;
}

.article-hero {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.image-credit {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 10px;
    text-align: center !important;
}

.mobile-category-select {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  font-size: 1rem;
  color: #333;
  margin-top: 5px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.post-card {
  background: var(--bg-main);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.post-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-content h2 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  line-height: 1.4;
  color: var(--secondary);
}

.post-content h2 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.post-content h2 a:hover {
  color: var(--color-pink);
}

.post-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.8;
}

.post-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

/* Estilos da Sidebar */
.blog-sidebar h3 {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.category-list {
  list-style: none;
  padding: 0;
}

.category-list li {
  margin-bottom: 8px;
}

.category-list a {
  text-decoration: none;
  color: var(--text-muted);
  transition: all 0.2s;
  display: block;
  padding: 10px 15px;
  border-radius: 6px;
  background-color: var(--color-mist);
}

.category-list a:hover,
.category-list a.active {
  background-color: var(--secondary);
  color: #fff;
}

/* Estilos da Página de Artigo */
.article-content {
  max-width: 850px;
  margin: 0 auto;
  background: var(--bg-main);
  padding: 60px 50px;
  border-radius: 15px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

.article-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
}

.article-content h2 {
  margin-top: 50px;
  margin-bottom: 20px;
  color: var(--secondary);
  line-height: 1.3;
}

.article-content h3 {
  margin-top: 35px;
  margin-bottom: 15px;
  color: var(--secondary);
  line-height: 1.3;
}

.article-content p {
  margin-bottom: 1.8rem;
  line-height: 1.8;
  color: #444;
}

.article-content ul,
.article-content ol {
  margin-bottom: 2rem;
  padding-left: 20px;
}

.article-content li {
  margin-bottom: 12px;
  line-height: 1.7;
}

/* =========================================
   ESTILOS DA CAIXA DE AUTOR (AUTHOR BOX)
   ========================================= */

.author-box {
  max-width: 800px;
  margin: 50px auto 0 auto;
  padding-top: 40px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 25px;
  align-items: center;
}

.author-image-wrapper {
  flex-shrink: 0;
}

.author-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-mist);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.author-info {
  flex: 1;
}

.author-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.author-name {
  font-size: 1.3rem;
  color: var(--secondary);
  margin: 0 0 10px 0;
  font-weight: 700;
}

.author-bio {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 10px;
}

.author-social a {
  font-size: 0.9rem;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
}

.author-social a:hover {
  text-decoration: underline;
}

/* Typography refinements */
.article-content .lead {
  font-size: 1.25rem;
  color: var(--secondary);
  line-height: 1.8;
  margin-bottom: 35px;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 25px;
}

.article-content blockquote {
  margin: 30px 0;
  padding: 20px 30px;
  border-left: 5px solid var(--color-pink);
  background: var(--color-mist);
  font-style: italic;
  font-size: 1.1rem;
}

.article-content blockquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: bold;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-content .source {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px dashed #eee;
}

/* Responsividade para celulares */
@media (max-width: 600px) {
  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .author-info {
    width: 100%;
  }

  /* Ajuste de espaço lateral em dispositivos móveis */
  .article-content {
    padding: 20px 15px;
    border-radius: 0;
    box-shadow: none;
  }

  /* Reduz o padding do container pai para ganhar mais espaço */
  main>.section {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .hero-content {
    padding: 40px 15px;
  }
}

/* Estilos da Paginação */
.pagination-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
  padding: 20px 0;
}

.pagination-btn {
  padding: 10px 18px;
  border: 1px solid #e0e0e0;
  background-color: var(--bg-main);
  color: var(--secondary);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-btn:hover {
  background-color: #f1f8ff;
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.pagination-btn.active {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(79, 102, 114, 0.2);
}

/* =========================================
   ESTILOS DE REVISÃO MÉDICA (E-E-A-T)
   ========================================= */

.article-review-status {
  border-top: 1px solid #eee;
  margin-top: 50px;
  padding-top: 40px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.review-header h4 {
  color: var(--secondary);
  font-size: 1.5rem;
  margin: 0;
}

.review-share {
  display: flex;
  align-items: center;
  gap: 15px;
}

.review-share span {
  font-size: 0.9rem;
  color: #888;
}

.share-icons {
  display: flex;
  gap: 12px;
}

.share-icons a {
  color: var(--text-main);
  font-size: 1.2rem;
  transition: color 0.3s;
}

.share-icons a:hover {
  color: var(--color-pink);
}

.review-tabs {
  border-bottom: 2px solid #eee;
  margin-bottom: 30px;
  display: flex;
  gap: 30px;
}

.tab-item {
  padding-bottom: 10px;
  font-weight: 700;
  color: var(--secondary);
  border-bottom: 3px solid var(--color-pink);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.review-body p {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.review-timeline {
  position: relative;
  padding-left: 20px;
}

.timeline-item {
  position: relative;
  padding-bottom: 25px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 5px;
  bottom: -5px;
  width: 2px;
  background: var(--color-pink);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-point {
  position: absolute;
  left: -19px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-pink);
  z-index: 1;
}

.timeline-point.empty {
  background: white;
  border: 2px solid var(--color-pink);
}

.timeline-label {
  font-weight: 700;
  color: var(--secondary);
  display: block;
  margin-bottom: 5px;
}

.timeline-date {
  color: var(--color-pink);
  font-weight: 600;
}

.review-people {
  margin-top: 30px;
}

.person-tag {
  margin-bottom: 20px;
}

.person-tag .label {
  display: block;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.person-tag .name {
  color: var(--text-main);
  font-weight: 600;
}

@media (max-width: 600px) {
  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* =========================================
   COMPONENTES DE CONVERSÃO (CTA)
   ========================================= */

.cta-card {
    background: #F8FBFD;
    border: 1px solid #e1e8ed;
    border-left: 5px solid var(--color-pink);
    border-radius: 12px;
    padding: 40px;
    margin: 50px 0;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.cta-card h3 {
    color: var(--secondary);
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-card p {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {
    .cta-card {
        padding: 30px 20px;
        margin: 30px 0;
    }
    
    .cta-card h3 {
        font-size: 1.5rem;
    }
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    border: none;
    padding: 16px 35px;
    border-radius: 35px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 211, 102, 0.3);
    color: white;
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b858;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}



/* WhatsApp Float */
.whatsapp-float { position: fixed; bottom: 25px; right: 25px; background-color: #25d366; color: #fff; border-radius: 50%; width: 60px; height: 60px; text-align: center; font-size: 32px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.1); background-color: #20b858; color: #fff; }
