/* =============================================
   ESTILOS DO BLOCO DE CONTEÚDO EDITORIAL
   ============================================= */

.content-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  line-height: 1.75;
  color: #2d3748;
}

.article-content{
   margin-top:240px;
   border-top:1px solid #eee;
   padding-top:40px;
   transition:margin-top .4s ease;
}

.article-content p{
   margin-bottom:18px;
   line-height:1.7;
}

.article-content h2{
   margin:32px 0 18px;
}



.article-content.compact{
   margin-top:40px;
}

.content-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #f6ad55;
}

.content-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #2d3748;
  margin: 1.5rem 0 0.5rem;
}

.content-card p {
  margin-bottom: 1rem;
  color: #4a5568;
}

/* Tabelas */
.imc-table-wrapper {
  overflow-x: auto;
  margin: 1rem 0;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.imc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.imc-table thead tr {
  background: #2d3748;
  color: #fff;
}

.imc-table th, .imc-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.imc-table tbody tr:hover { background: #f7fafc; }
.imc-row-normal { background: #f0fff4; }
.imc-row-sobrepeso { background: #fffff0; }
.imc-row-obesidade { background: #fff5f0; }
.imc-row-obesidade-grave { background: #fff0f0; }
.imc-row-baixo { background: #ebf8ff; }

/* Lista de conteúdo */
.content-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.content-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
  color: #4a5568;
}

/* Info box */
.info-box {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  padding: 12px;
  border-radius: 6px;
  margin: 16px 0;
  font-weight: 200;
}

/* Grid de limitações */
.limitations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.limitation-item {
  background: #f7fafc;
  border-radius: 10px;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
}

.limitation-item h3 {
  margin-top: 0;
  font-size: 1rem;
  color: #2d3748;
}

/* Hub de calculadoras */
/*.hub-section { background: linear-gradient(135deg, #667eea08, #764ba208); }*/


.hub-section {
  background: #ffffff;
  border: 2px solid #f6ad55;
}



.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1 fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.hub-card {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  text-decoration: none;
  color: #1a202c;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hub-card:hover {
  border-color: #f6ad55;
  box-shadow: 0 4px 16px rgba(246,173,85,0.2);
  transform: translateY(-2px);
}

.hub-icon { font-size: 1.8rem; }

.hub-card h3 {
  font-size: 1rem;
  margin: 0;
  color: #1a202c;
}

.hub-card p {
  font-size: 0.85rem;
  color: #4a5568;
  margin: 0;
  flex: 1;
}

.hub-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: #9a3412;
  margin-top: 0.5rem;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  background: #fafafa;
}

.faq-item h3 {
  font-size: 1rem;
  color: #2d3748;
  margin: 0 0 0.5rem;
  cursor: pointer;
}

.faq-item p {
  font-size: 0.9rem;
  color: #4a5568;
  margin: 0;
}

/* Disclaimer */
.disclaimer-card {
  background: #fffbeb;
  border: 1px solid #f6e05e;
}

/* Mobile */
@media (max-width: 640px) {
  .content-card { padding: 1.25rem; }
  .limitations-grid { grid-template-columns: 1 fr; }
  .hub-grid { grid-template-columns: 1 fr 1 fr; }
}




.article-image{
   width:100%;
   height:auto;
   border-radius:16px;
   display:block;
   margin:28px 0;
   aspect-ratio:16/9;
   object-fit:cover;
}

.scroll-hook{
   margin-top:30px;
   padding-top:20px;
   border-top:1px solid #eee;
   opacity:.95;
}

.scroll-hook p{
   font-size:1rem;
   line-height:1.7;
}

.image-box{
    margin:1.5rem 0;
    text-align:center;
}

.image-caption{
   font-size:.95rem;
   line-height:1.5;
   margin-top:.6rem;
   text-align:center;
   color:#666;
}

.highlight-box{
    background:#fff8e1;
    border-left:4px solid #f4b400;
    padding:1rem;
    border-radius:12px;
    margin:1.5rem 0;
    line-height:1.7;
}

.reflection-box{
    background:#f5f7fa;
    padding:1rem;
    border-radius:12px;
    margin:1.5rem 0;
    font-weight:600;
    line-height:1.6;
}

.mini-summary-box{
    background:#eef7ee;
    border:1px solid #d6ead6;
    padding:1rem;
    border-radius:12px;
    margin:1.5rem 0;
    line-height:1.7;
}


.imc-scale-modern {
  --marker-left: 6%;
  --marker-color: #16a34a;

  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  padding: 18px 16px 16px;
  margin: 0 0 1.4rem;
  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.06),
    0 2px 8px rgba(15, 23, 42, 0.04);
}

.imc-scale-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.imc-scale-kicker {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.imc-scale-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--marker-color);
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  line-height: 1;
}

.imc-scale-track-area {
  position: relative;
  padding-top: 50px;
}

.imc-scale-marker {
  position: absolute;
  left: var(--marker-left);
  top: -15px;
  transform: translateX(-50%) translateY(8px) scale(0.96);
  opacity: 0;
  z-index: 3;
  transition:
    left 1.1s cubic-bezier(.22, 1, .36, 1),
    opacity 0.25s ease,
    transform 0.45s ease;
  will-change: left, transform, opacity;
}

.imc-scale-marker.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.imc-scale-bubble {
  border: 2px solid var(--marker-color);
  background: #fff;
  padding: 6px 14px;
  border-radius: 12px;
  min-width: 104px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  text-align: center;
}

.imc-scale-bubble strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1;
  color: #0f172a;
  font-weight: 800;
}

.imc-scale-bubble small {
  display: block;
  margin-top: 3px;
  font-size: 0.70rem;
  line-height: 1.2;
  color: var(--marker-color);
  font-weight: 700;
}

.imc-scale-pointer {
  width: 0;
  height: 0;
  margin: 6px auto 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid var(--marker-color);
}

.imc-scale-track {
  position: relative;
  display: grid;
  grid-template-columns: 3.5fr 6.5fr 5fr 10fr;
  height: 20px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.08);
}

.imc-scale-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.30) 0%,
    rgba(255,255,255,0.08) 45%,
    rgba(0,0,0,0.04) 100%
  );
  pointer-events: none;
}

.imc-seg-under {
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
}

.imc-seg-normal {
  background: linear-gradient(90deg, #4ade80 0%, #16a34a 100%);
}

.imc-seg-over {
  background: linear-gradient(90deg, #fb923c 0%, #f97316 100%);
}

.imc-seg-obese {
  background: linear-gradient(90deg, #f87171 0%, #dc2626 100%);
}

.imc-scale-ranges {
  display: grid;
  grid-template-columns: 3.5fr 6.5fr 5fr 10fr;
  gap: 8px;
  margin-top: 12px;
}

.imc-scale-ranges span {
  display: block;
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.25;
  color: #334155;
  font-weight: 700;
}

.imc-scale-ranges small {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 0.69rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .imc-scale-modern {
    padding: 16px 14px 14px;
    border-radius: 18px;
  }

  .imc-scale-ranges span {
    font-size: 0.68rem;
  }

  .imc-scale-ranges small {
    font-size: 0.62rem;
  }
}

