/* ====================================================================
   MEDFOCO • ATLAS DE HISTOLOGIA • PÁGINAS DE TECIDO  [mf_histo_tecido]
   Um arquivo só para os 4 tecidos (epitelial, conjuntivo, muscular, nervoso).
   Visual original das páginas, com todas as regras presas em .mf-histo-tecido
   (para não mexer no resto do site). O que muda de um tecido para outro usa
   .mf-histo-tecido[data-tecido="…"]. Fontes Sora/Inter e Font Awesome são
   carregadas pelo PHP. No fim: complementos ("Mais vistos", views, "Em breve").
   ==================================================================== */

/* ============================================================
   RESET & TOKENS — MedFoco brand palette
   ============================================================ */
.mf-histo-tecido, .mf-histo-tecido *,
.mf-histo-tecido *::before,
.mf-histo-tecido *::after { box-sizing: border-box; margin: 0; padding: 0; }

.mf-histo-tecido {
  --navy:        #123763;
  --navy-dark:   #102033;
  --navy-mid:    #0e2a4d;
  --cyan:        #0f9ea8;
  --cyan-dark:   #0c7f87;
  --cyan-light:  #eef4fb;
  --cyan-mid:    #9db8d6;
  --cyan-bright: #0f9ea8;
  --text:        #102033;
  --muted:       #64748b;
  --border:      #e2e8f0;
  --bg:          #f6f8fb;
  --white:       #ffffff;
  --radius:      10px;
  --shadow:      0 2px 14px rgba(13,31,71,.09);
  --font-head:   'Sora', sans-serif;
  --font-body:   'Inter', sans-serif;

  /* Cores específicas para tipos de epitélio (Tecido Epitelial) */
  --epit-revestimento: #2e7d32;
  --epit-glandular:    #6a1b9a;
  --epit-sensorial:    #1565c0;

  /* Cores específicas para tipos de músculo (Tecido Muscular) */
  --musc-estriado: #d32f2f;
  --musc-liso:     #1565c0;
  --musc-cardiaco: #e65100;
}

.mf-histo-tecido { font-family: var(--font-body); color: var(--text); background: var(--bg); }
.mf-histo-tecido .tc-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px 60px; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.mf-histo-tecido .tc-breadcrumb {
  font-size: .82rem; color: var(--muted);
  padding: 14px 0 10px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.mf-histo-tecido .tc-breadcrumb a { color: var(--cyan-dark); text-decoration: none; font-weight: 500; }
.mf-histo-tecido .tc-breadcrumb a:hover { color: var(--cyan); text-decoration: underline; }

/* ============================================================
   HERO
   Fade: diagonal bottom-left (dark) → top-right (transparent)
   Mais escuro — cobre ~65% do hero
   ============================================================ */
.mf-histo-tecido .tc-hero {
  position: relative; border-radius: 18px; overflow: hidden;
  min-height: 240px; display: flex; align-items: flex-end; margin-bottom: 26px;
  background: var(--navy-dark);
}
.mf-histo-tecido .tc-hero-bg {
  position: absolute; inset: 0;
  /* ══════════════════════════════════════════
     🖼️  IMAGEM DO HERO
     Substitua a URL abaixo pela imagem desejada
     ══════════════════════════════════════════ */
  background-image: url('https://medfoco.com/wp-content/uploads/2026/04/ChatGPT-Image-30-de-abr.-de-2026-14_27_10.webp');
  background-size: cover; background-position: center right;
}
/* Diagonal fade: canto inferior-esquerdo escuro → canto superior-direito transparente */
.mf-histo-tecido .tc-hero-fade {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top right,
    rgba(13,31,71,0.98)  0%,
    rgba(13,31,71,0.92) 20%,
    rgba(13,31,71,0.82) 38%,
    rgba(13,31,71,0.60) 55%,
    rgba(13,31,71,0.28) 72%,
    rgba(13,31,71,0.05) 88%,
    rgba(13,31,71,0.00) 100%
  );
}
.mf-histo-tecido .tc-hero-content { position: relative; z-index: 3; padding: 38px 44px; max-width: 560px; }
.mf-histo-tecido .tc-hero-back {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.30);
  color: #fff; font-size: .82rem; border-radius: 20px;
  padding: 5px 14px 5px 12px; text-decoration: none;
  margin-bottom: 18px; backdrop-filter: blur(6px); transition: background .2s;
}
.mf-histo-tecido .tc-hero-back:hover { background: rgba(255,255,255,.25); }
.mf-histo-tecido .tc-hero h1 {
  font-family: var(--font-head); font-size: clamp(2rem,4vw,2.8rem);
  font-weight: 700; color: #fff; line-height: 1.12; margin-bottom: 10px;
}
.mf-histo-tecido .tc-hero h1 span { color: var(--cyan-bright); }
.mf-histo-tecido .tc-hero-line { width: 48px; height: 3px; background: var(--cyan); border-radius: 2px; margin-bottom: 14px; }
.mf-histo-tecido .tc-hero p { color: rgba(255,255,255,.88); font-size: .97rem; line-height: 1.68; max-width: 440px; }
.mf-histo-tecido .tc-hero-badges {
  position: absolute; bottom: 20px; right: 26px;
  display: flex; gap: 9px; flex-wrap: wrap; z-index: 3;
}
.mf-histo-tecido .tc-badge {
  background: rgba(13,31,71,.60); border: 1px solid rgba(0,188,212,.35);
  backdrop-filter: blur(10px); color: #eef4fb; font-size: .72rem;
  border-radius: 20px; padding: 4px 12px; display: flex; align-items: center; gap: 6px;
}
.mf-histo-tecido .tc-badge i { color: var(--cyan); }

/* ============================================================
   SEARCH
   ============================================================ */
.mf-histo-tecido .tc-search-wrap { margin-bottom: 12px; position: relative; }
.mf-histo-tecido .tc-search-wrap input {
  width: 100%; padding: 13px 48px 13px 18px;
  border: 1.5px solid var(--border); border-radius: 40px;
  font-family: var(--font-body); font-size: .97rem;
  background: var(--white); color: var(--text);
  outline: none; transition: border-color .2s, box-shadow .2s; box-shadow: var(--shadow);
}
.mf-histo-tecido .tc-search-wrap input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,188,212,.15); }
.mf-histo-tecido .tc-search-wrap input::placeholder { color: #90a8c0; }
.mf-histo-tecido .tc-search-icon {
  position: absolute; right: 17px; top: 50%; transform: translateY(-50%);
  color: var(--cyan-dark); pointer-events: none; font-size: 1rem;
}

/* ============================================================
   TIPOS DROPDOWN BUTTON (entre search e abas)
   ============================================================ */
.mf-histo-tecido .tc-tipos-dropdown-wrap { margin-bottom: 12px; position: relative; }

.mf-histo-tecido .tc-tipos-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--white); border: 1.5px solid var(--border); border-radius: 40px;
  padding: 11px 20px; font-family: var(--font-body); font-size: .9rem; font-weight: 500;
  color: var(--navy); cursor: pointer; box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s;
}
.mf-histo-tecido .tc-tipos-toggle:hover { border-color: var(--cyan-mid); box-shadow: 0 0 0 3px rgba(0,188,212,.10); }
.mf-histo-tecido .tc-tipos-toggle .left { display: flex; align-items: center; gap: 9px; }
.mf-histo-tecido .tc-tipos-toggle .left i { color: var(--cyan-dark); font-size: .95rem; }
.mf-histo-tecido .tc-tipos-toggle .chevron { color: var(--muted); font-size: .8rem; transition: transform .25s; }
.mf-histo-tecido .tc-tipos-toggle.open .chevron { transform: rotate(180deg); }

.mf-histo-tecido .tc-tipos-dropdown {
  display: none;
  background: var(--white); border: 1.5px solid var(--border); border-radius: 14px;
  box-shadow: 0 8px 28px rgba(13,31,71,.14); overflow: hidden;
  margin-top: 6px;
  animation: mfhTcFadeIn .2s ease;
}
.mf-histo-tecido .tc-tipos-dropdown.open { display: block; }

.mf-histo-tecido .tc-tipos-dropdown ul { list-style: none; }
.mf-histo-tecido .tc-tipos-dropdown ul li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; text-decoration: none;
  color: var(--text); font-size: .87rem;
  border-bottom: 1px solid var(--border);
  transition: background .15s, color .15s;
}
.mf-histo-tecido .tc-tipos-dropdown ul li:last-child a { border-bottom: none; }
.mf-histo-tecido .tc-tipos-dropdown ul li a:hover { background: var(--cyan-light); color: var(--navy); }
.mf-histo-tecido .tipo-icon {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; color: #fff;
}
.mf-histo-tecido .tipo-name { flex: 1; font-weight: 500; }
.mf-histo-tecido .tc-tipos-dropdown ul li a .fa-chevron-right { font-size: .68rem; color: var(--muted); opacity: .55; }

/* ============================================================
   TABS — desktop: single row pill | mobile: 2x2 grid
   ============================================================ */
.mf-histo-tecido .tc-tabs-bar {
  display: flex; gap: 4px; flex-wrap: nowrap;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 40px; padding: 5px; margin-bottom: 26px; box-shadow: var(--shadow);
}
.mf-histo-tecido .tc-tab-btn {
  flex: 1;
  font-family: var(--font-body); font-size: .87rem; font-weight: 500;
  padding: 9px 14px; border: none; background: transparent;
  border-radius: 34px; cursor: pointer; color: var(--muted);
  transition: background .2s, color .2s; white-space: nowrap;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.mf-histo-tecido .tc-tab-btn.active {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff; box-shadow: 0 2px 10px rgba(13,31,71,.30);
}
.mf-histo-tecido .tc-tab-btn:hover:not(.active) { background: var(--cyan-light); color: var(--navy); }

/* ============================================================
   PANELS
   ============================================================ */
.mf-histo-tecido .tc-panel { display: none; animation: mfhTcFadeIn .3s ease; }
.mf-histo-tecido .tc-panel.active { display: block; }
@keyframes mfhTcFadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }

/* ============================================================
   LAYOUT (main + sidebar)
   ============================================================ */
.mf-histo-tecido .tc-layout { display: grid; grid-template-columns: 1fr 272px; gap: 26px; align-items: start; }

/* ============================================================
   SIDEBAR (desktop only)
   ============================================================ */
.mf-histo-tecido .tc-sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 20px; }
.mf-histo-tecido .tc-sidebar-box {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
}
.mf-histo-tecido .tc-sidebar-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 13px 18px; display: flex; align-items: center; gap: 9px;
}
.mf-histo-tecido .tc-sidebar-header i { color: var(--cyan); font-size: .95rem; }
.mf-histo-tecido .tc-sidebar-header span { font-family: var(--font-head); font-size: .93rem; font-weight: 600; color: #fff; }

/* Tipos list inside sidebar */
.mf-histo-tecido .tc-tipos-list { list-style: none; }
.mf-histo-tecido .tc-tipos-list li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; text-decoration: none;
  color: var(--text); font-size: .86rem;
  border-bottom: 1px solid var(--border);
  transition: background .18s, color .18s;
}
.mf-histo-tecido .tc-tipos-list li:last-child a { border-bottom: none; }
.mf-histo-tecido .tc-tipos-list li a:hover { background: var(--cyan-light); color: var(--navy); }
.mf-histo-tecido .tc-tipos-list li a .fa-chevron-right { font-size: .68rem; color: var(--muted); opacity: .55; }

/* Lâmina em destaque */
.mf-histo-tecido .tc-lamina-destaque { padding: 14px; }
.mf-histo-tecido .tc-ld-img { width: 100%; height: 130px; border-radius: 8px; overflow: hidden; background: var(--cyan-mid); margin-bottom: 11px; }
.mf-histo-tecido .tc-ld-img img { width:100%; height:100%; object-fit:cover; display:block; }
.mf-histo-tecido .tc-lamina-destaque h4 { font-family: var(--font-head); font-size: .9rem; font-weight: 700; margin-bottom: 3px; color: var(--navy); }
.mf-histo-tecido .lam-sub { font-size: .76rem; color: var(--muted); margin-bottom: 7px; }
.mf-histo-tecido .tc-lamina-destaque p { font-size: .8rem; color: var(--muted); line-height: 1.6; margin-bottom: 11px; }
.mf-histo-tecido .tc-ld-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff; font-size: .82rem; font-weight: 500;
  border-radius: 20px; padding: 7px 15px; text-decoration: none; transition: opacity .2s;
}
.mf-histo-tecido .tc-ld-btn:hover { opacity: .88; }

/* ============================================================
   IMAGE UPLOAD ZONE
   ============================================================ */
.mf-histo-tecido .tc-img-zone {
  width: 100%; position: relative; overflow: hidden;
  background: var(--cyan-light);
  border-bottom: 1.5px dashed var(--cyan-mid);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
.mf-histo-tecido .tc-img-zone:hover { background: #c8eef5; }
.mf-histo-tecido .tc-img-zone input[type=file] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.mf-histo-tecido .tc-img-zone img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: none;
}
.mf-histo-tecido .tc-img-zone img.loaded { display: block; }
.mf-histo-tecido .tc-img-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; padding: 12px; pointer-events: none; transition: opacity .2s; text-align: center;
}
.mf-histo-tecido .tc-img-placeholder i { font-size: 1.4rem; color: var(--cyan-dark); opacity: .6; }
.mf-histo-tecido .tc-img-placeholder span { font-size: .72rem; color: var(--muted); }
.mf-histo-tecido .tc-img-zone.has-img .tc-img-placeholder { opacity: 0; }
.mf-histo-tecido .tc-img-zone .tc-img-remove {
  position: absolute; top: 6px; right: 6px; z-index: 5;
  background: rgba(13,31,71,.7); color: #fff;
  border: none; border-radius: 50%; width: 22px; height: 22px;
  font-size: .68rem; cursor: pointer; display: none;
  align-items: center; justify-content: center;
}
.mf-histo-tecido .tc-img-zone.has-img .tc-img-remove { display: flex; }

/* ============================================================
   SECTION TITLES
   ============================================================ */
.mf-histo-tecido .tc-section-title {
  font-family: var(--font-head); font-size: 1.22rem; font-weight: 600;
  color: var(--navy); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.mf-histo-tecido .tc-section-title i { color: var(--cyan-dark); font-size: 1.05rem; }

/* ============================================================
   VISÃO GERAL
   ============================================================ */
.mf-histo-tecido .tc-overview-text { font-size: .95rem; line-height: 1.78; color: var(--muted); margin-bottom: 18px; }
.mf-histo-tecido .tc-overview-img {
  width: 100%; height: 210px; border-radius: var(--radius);
  overflow: hidden; border: 1.5px solid var(--border); box-shadow: var(--shadow);
  background: var(--cyan-mid);
}
.mf-histo-tecido .tc-overview-img img { width:100%; height:100%; object-fit:cover; }

.mf-histo-tecido .tc-comp-title {
  font-family: var(--font-head); font-size: 1.08rem; font-weight: 600;
  color: var(--navy); margin: 26px 0 13px;
  display: flex; align-items: center; gap: 9px;
}
.mf-histo-tecido .tc-comp-title i { color: var(--cyan-dark); }
.mf-histo-tecido .tc-comp-cards { display: flex; flex-direction: column; gap: 12px; }
.mf-histo-tecido .tc-comp-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 15px; box-shadow: var(--shadow);
  transition: box-shadow .2s, border-color .2s;
}
.mf-histo-tecido .tc-comp-card:hover { box-shadow: 0 4px 20px rgba(0,188,212,.18); border-color: var(--cyan-mid); }
.mf-histo-tecido .tc-comp-icon {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 10px;
  background: var(--cyan-light); display: flex; align-items: center; justify-content: center;
}
.mf-histo-tecido .tc-comp-icon i { font-size: 1.15rem; color: var(--cyan-dark); }
.mf-histo-tecido .tc-comp-body h4 { font-family: var(--font-head); font-size: .95rem; font-weight: 600; margin-bottom: 4px; color: var(--navy); }
.mf-histo-tecido .tc-comp-body p { font-size: .84rem; color: var(--muted); line-height: 1.6; margin-bottom: 7px; }
.mf-histo-tecido .tc-link {
  color: var(--cyan-dark); font-size: .83rem; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
}
.mf-histo-tecido .tc-link:hover { color: var(--cyan); text-decoration: underline; }

/* LÂMINAS */
.mf-histo-tecido .tc-laminas-section { margin-top: 36px; }
.mf-histo-tecido .tc-laminas-header {
  font-family: var(--font-head); font-size: 1.12rem; font-weight: 600;
  color: var(--navy); margin-bottom: 14px;
  display: flex; align-items: center; gap: 9px;
}
.mf-histo-tecido .tc-laminas-header i { color: var(--cyan-dark); }
.mf-histo-tecido .tc-laminas-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 11px; }
.mf-histo-tecido .tc-lamina-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1.5px solid var(--border);
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; cursor: pointer;
}
.mf-histo-tecido .tc-lamina-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,188,212,.20); border-color: var(--cyan-mid); }
.mf-histo-tecido .tc-lamina-card .tc-img-zone { height: 82px; }
.mf-histo-tecido .tc-lamina-info { padding: 8px 9px; }
.mf-histo-tecido .tc-lamina-info h5 { font-family: var(--font-head); font-size: .72rem; font-weight: 600; margin-bottom: 2px; line-height: 1.3; color: var(--navy); }
.mf-histo-tecido .tc-lamina-info .tc-lamina-sub { font-size: .66rem; color: var(--muted); margin-bottom: 4px; }
.mf-histo-tecido .tc-lamina-tag {
  display: inline-block; background: var(--cyan-light); color: var(--cyan-dark);
  font-size: .63rem; font-weight: 600; border-radius: 20px; padding: 2px 7px;
}

/* FERRAMENTAS */
.mf-histo-tecido .tc-tools-section { margin-top: 36px; }
.mf-histo-tecido .tc-tools-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; margin-top: 14px; }
.mf-histo-tecido .tc-tool-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 16px 12px; text-align: center;
  box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.mf-histo-tecido .tc-tool-card:hover { border-color: var(--cyan-mid); box-shadow: 0 4px 18px rgba(0,188,212,.16); transform: translateY(-3px); }
.mf-histo-tecido .tc-tool-icon {
  width: 42px; height: 42px; background: var(--cyan-light);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 9px;
}
.mf-histo-tecido .tc-tool-icon i { font-size: 1.1rem; color: var(--cyan-dark); }
.mf-histo-tecido .tc-tool-name { font-family: var(--font-head); font-size: .84rem; font-weight: 600; margin-bottom: 3px; color: var(--navy); }
.mf-histo-tecido .tc-tool-desc { font-size: .74rem; color: var(--muted); line-height: 1.5; }

/* ============================================================
   CARDS GRID — Células & Patologias (4 cols desktop)
   ============================================================ */
.mf-histo-tecido .tc-cards-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; margin-bottom: 24px; }
.mf-histo-tecido .tc-article-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.mf-histo-tecido .tc-article-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,188,212,.20); border-color: var(--cyan-mid); }
.mf-histo-tecido .tc-article-card .tc-img-zone { height: 120px; }
.mf-histo-tecido .tc-article-card .tc-img-zone .tc-img-placeholder i { font-size: 1.7rem; }
.mf-histo-tecido .tc-article-body { padding: 13px; }
.mf-histo-tecido .tc-article-tag {
  display: inline-block; background: var(--cyan-light); color: var(--cyan-dark);
  font-size: .67rem; font-weight: 600; border-radius: 20px; padding: 2px 9px;
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em;
}
.mf-histo-tecido .tc-article-body h4 { font-family: var(--font-head); font-size: .9rem; font-weight: 600; margin-bottom: 5px; line-height: 1.35; color: var(--navy); }
.mf-histo-tecido .tc-article-body p { font-size: .79rem; color: var(--muted); line-height: 1.55; }

/* Pagination */
.mf-histo-tecido .tc-pagination { display: flex; align-items: center; justify-content: center; gap: 7px; }
.mf-histo-tecido .tc-page-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--white); color: var(--text);
  font-size: .86rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, border-color .2s;
}
.mf-histo-tecido .tc-page-btn.active { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); color: #fff; border-color: var(--navy); }
.mf-histo-tecido .tc-page-btn:hover:not(.active) { background: var(--cyan-light); border-color: var(--cyan-mid); color: var(--navy); }
.mf-histo-tecido .tc-page-btn:disabled { opacity: .38; cursor: default; }

.mf-histo-tecido .tc-no-results { text-align: center; padding: 50px 20px; color: var(--muted); font-size: .95rem; }
.mf-histo-tecido .tc-no-results i { font-size: 2.2rem; margin-bottom: 11px; opacity: .3; display: block; color: var(--cyan-dark); }

/* Lâmina em destaque dentro do menu do celular (usado no Tecido Epitelial) */
.mf-histo-tecido .tc-dropdown-lamina-destaque {
  padding: 12px 16px 14px;
  border-top: 1.5px solid var(--border);
  background: var(--bg);
}
.mf-histo-tecido .tc-dropdown-lamina-destaque .tc-dld-label {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--muted); margin-bottom: 9px;
  display: flex; align-items: center; gap: 6px;
}
.mf-histo-tecido .tc-dropdown-lamina-destaque .tc-dld-label i { color: var(--cyan-dark); }
.mf-histo-tecido .tc-dld-inner {
  display: flex; align-items: center; gap: 11px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 9px 11px;
}
.mf-histo-tecido .tc-dld-thumb {
  width: 52px; height: 52px; border-radius: 7px;
  background: var(--cyan-mid); flex-shrink: 0; overflow: hidden;
}
.mf-histo-tecido .tc-dld-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.mf-histo-tecido .tc-dld-info h5 { font-family: var(--font-head); font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.mf-histo-tecido .tc-dld-info .tc-dld-sub { font-size: .71rem; color: var(--muted); margin-bottom: 5px; }
.mf-histo-tecido .tc-dld-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff; font-size: .73rem; font-weight: 500;
  border-radius: 20px; padding: 4px 11px; text-decoration: none; transition: opacity .2s;
}
.mf-histo-tecido .tc-dld-btn:hover { opacity: .88; }

/* ============================================================
   FIBRAS
   ============================================================ */
.mf-histo-tecido .tc-fibras-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.mf-histo-tecido .tc-fibra-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.mf-histo-tecido .tc-fibra-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,188,212,.22); border-color: var(--cyan-mid); }
.mf-histo-tecido .tc-fibra-card .tc-img-zone { height: 140px; border-bottom: 1.5px dashed var(--border); }
.mf-histo-tecido .tc-fibra-card .tc-img-zone .tc-img-placeholder i { font-size: 2rem; }

/* Cores dos cards de Fibras — Tecido Conjuntivo */
.mf-histo-tecido[data-tecido="conjuntivo"] .fibra-col .tc-img-zone { background: linear-gradient(135deg,#fff3e0,#ffe0b2); }
.mf-histo-tecido[data-tecido="conjuntivo"] .fibra-el  .tc-img-zone { background: linear-gradient(135deg,#e1f5fe,#b3e5fc); }
.mf-histo-tecido[data-tecido="conjuntivo"] .fibra-ret .tc-img-zone { background: linear-gradient(135deg,#ede7ff,#d1c4e9); }
.mf-histo-tecido[data-tecido="conjuntivo"] .fibra-col .tc-img-zone:hover { background: #ffd180; }
.mf-histo-tecido[data-tecido="conjuntivo"] .fibra-el  .tc-img-zone:hover { background: #81d4fa; }
.mf-histo-tecido[data-tecido="conjuntivo"] .fibra-ret .tc-img-zone:hover { background: #ce93d8; }
.mf-histo-tecido[data-tecido="conjuntivo"] .fibra-col .tc-img-placeholder i { color: #bf6900; }
.mf-histo-tecido[data-tecido="conjuntivo"] .fibra-el  .tc-img-placeholder i { color: #0277bd; }
.mf-histo-tecido[data-tecido="conjuntivo"] .fibra-ret .tc-img-placeholder i { color: #6a1b9a; }
.mf-histo-tecido[data-tecido="conjuntivo"] .fibra-col .tc-fibra-tag { background:#fff3e0; color:#bf6900; }
.mf-histo-tecido[data-tecido="conjuntivo"] .fibra-el  .tc-fibra-tag { background:#e1f5fe; color:#0277bd; }
.mf-histo-tecido[data-tecido="conjuntivo"] .fibra-ret .tc-fibra-tag { background:#ede7ff; color:#6a1b9a; }
.mf-histo-tecido[data-tecido="conjuntivo"] .fibra-col .tc-fibra-props li i { color:#f57c00; }
.mf-histo-tecido[data-tecido="conjuntivo"] .fibra-el  .tc-fibra-props li i { color:#0288d1; }
.mf-histo-tecido[data-tecido="conjuntivo"] .fibra-ret .tc-fibra-props li i { color:#7b1fa2; }

/* Cores dos cards de Neurônios — Tecido Nervoso */
/* Neurônio Multipolar */
.mf-histo-tecido[data-tecido="nervoso"] .fibra-col .tc-img-zone { background: linear-gradient(135deg,#e3f2fd,#bbdefb); }
.mf-histo-tecido[data-tecido="nervoso"] .fibra-col .tc-img-zone:hover { background: #90caf9; }
.mf-histo-tecido[data-tecido="nervoso"] .fibra-col .tc-img-placeholder i { color: #1565c0; }
.mf-histo-tecido[data-tecido="nervoso"] .fibra-col .tc-fibra-tag { background:#e3f2fd; color:#1565c0; }
.mf-histo-tecido[data-tecido="nervoso"] .fibra-col .tc-fibra-props li i { color:#1976d2; }

/* Neurônio Bipolar */
.mf-histo-tecido[data-tecido="nervoso"] .fibra-el .tc-img-zone { background: linear-gradient(135deg,#e8f5e9,#c8e6c9); }
.mf-histo-tecido[data-tecido="nervoso"] .fibra-el .tc-img-zone:hover { background: #a5d6a7; }
.mf-histo-tecido[data-tecido="nervoso"] .fibra-el .tc-img-placeholder i { color: #2e7d32; }
.mf-histo-tecido[data-tecido="nervoso"] .fibra-el .tc-fibra-tag { background:#e8f5e9; color:#2e7d32; }
.mf-histo-tecido[data-tecido="nervoso"] .fibra-el .tc-fibra-props li i { color:#388e3c; }

/* Neurônio Pseudounipolar */
.mf-histo-tecido[data-tecido="nervoso"] .fibra-ret .tc-img-zone { background: linear-gradient(135deg,#fce4ec,#f8bbd9); }
.mf-histo-tecido[data-tecido="nervoso"] .fibra-ret .tc-img-zone:hover { background: #f48fb1; }
.mf-histo-tecido[data-tecido="nervoso"] .fibra-ret .tc-img-placeholder i { color: #880e4f; }
.mf-histo-tecido[data-tecido="nervoso"] .fibra-ret .tc-fibra-tag { background:#fce4ec; color:#880e4f; }
.mf-histo-tecido[data-tecido="nervoso"] .fibra-ret .tc-fibra-props li i { color:#ad1457; }

.mf-histo-tecido .tc-fibra-body { padding: 18px 16px; }
.mf-histo-tecido .tc-fibra-tag {
  display: inline-block; font-size: .69rem; font-weight: 700;
  border-radius: 20px; padding: 3px 10px; margin-bottom: 8px;
  letter-spacing: .05em; text-transform: uppercase;
}
.mf-histo-tecido .tc-fibra-body h3 { font-family: var(--font-head); font-size: 1.06rem; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.mf-histo-tecido .tc-fibra-body > p { font-size: .85rem; color: var(--muted); line-height: 1.7; margin-bottom: 13px; }
.mf-histo-tecido .tc-fibra-props { list-style: none; margin-bottom: 16px; }
.mf-histo-tecido .tc-fibra-props li {
  font-size: .81rem; color: var(--muted); padding: 5px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.mf-histo-tecido .tc-fibra-props li:last-child { border-bottom: none; }
.mf-histo-tecido .tc-fibra-props li i { font-size: .7rem; flex-shrink: 0; }
.mf-histo-tecido .tc-fibra-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff; font-size: .84rem; font-weight: 500;
  border: none; border-radius: 24px; padding: 9px 17px; cursor: pointer;
  text-decoration: none; transition: opacity .2s, box-shadow .2s;
}
.mf-histo-tecido .tc-fibra-btn:hover { opacity: .88; box-shadow: 0 4px 12px rgba(13,31,71,.30); }

/* ============================================================
   TIPOS EPITELIAIS — 3 cards (equivalente ao "Tipos musculares")
   ============================================================ */
.mf-histo-tecido .tc-tipos-epit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; align-items: stretch; }

.mf-histo-tecido .tc-tipo-epit-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.mf-histo-tecido .tc-tipo-epit-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,188,212,.22); border-color: var(--cyan-mid); }
.mf-histo-tecido .tc-tipo-epit-card .tc-img-zone { height: 140px; border-bottom: 1.5px dashed var(--border); flex-shrink: 0; }
.mf-histo-tecido .tc-tipo-epit-card .tc-img-zone .tc-img-placeholder i { font-size: 2rem; }

/* Gradientes de fundo por tipo */
.mf-histo-tecido .epit-revestimento .tc-img-zone { background: linear-gradient(135deg,#e8f5e9,#c8e6c9); }
.mf-histo-tecido .epit-glandular    .tc-img-zone { background: linear-gradient(135deg,#f3e5f5,#e1bee7); }
.mf-histo-tecido .epit-sensorial    .tc-img-zone { background: linear-gradient(135deg,#e3f2fd,#bbdefb); }
.mf-histo-tecido .epit-revestimento .tc-img-zone:hover { background: #a5d6a7; }
.mf-histo-tecido .epit-glandular    .tc-img-zone:hover { background: #ce93d8; }
.mf-histo-tecido .epit-sensorial    .tc-img-zone:hover { background: #90caf9; }
.mf-histo-tecido .epit-revestimento .tc-img-placeholder i { color: var(--epit-revestimento); }
.mf-histo-tecido .epit-glandular    .tc-img-placeholder i { color: var(--epit-glandular); }
.mf-histo-tecido .epit-sensorial    .tc-img-placeholder i { color: var(--epit-sensorial); }

.mf-histo-tecido .tc-tipo-epit-body {
  padding: 18px 16px;
  flex: 1; display: flex; flex-direction: column;
}

.mf-histo-tecido .tc-tipo-epit-tag {
  display: inline-block; font-size: .69rem; font-weight: 700;
  border-radius: 20px; padding: 3px 10px; margin-bottom: 8px;
  letter-spacing: .05em; text-transform: uppercase; align-self: flex-start;
}
.mf-histo-tecido .epit-revestimento .tc-tipo-epit-tag { background:#e8f5e9; color:var(--epit-revestimento); }
.mf-histo-tecido .epit-glandular    .tc-tipo-epit-tag { background:#f3e5f5; color:var(--epit-glandular); }
.mf-histo-tecido .epit-sensorial    .tc-tipo-epit-tag { background:#e3f2fd; color:var(--epit-sensorial); }

.mf-histo-tecido .tc-tipo-epit-body h3 {
  font-family: var(--font-head); font-size: 1.06rem; font-weight: 700;
  margin-bottom: 8px; color: var(--navy);
  min-height: calc(1.06rem * 1.4 * 2);
}

.mf-histo-tecido .tc-tipo-epit-body > p {
  font-size: .85rem; color: var(--muted); line-height: 1.7;
  margin-bottom: 13px; flex: 1;
}

.mf-histo-tecido .tc-tipo-epit-props { list-style: none; margin-bottom: 0; }
.mf-histo-tecido .tc-tipo-epit-props li {
  font-size: .81rem; color: var(--muted); padding: 5px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.mf-histo-tecido .tc-tipo-epit-props li:last-child { border-bottom: none; }
.mf-histo-tecido .tc-tipo-epit-props li i { font-size: .7rem; flex-shrink: 0; }
.mf-histo-tecido .epit-revestimento .tc-tipo-epit-props li i { color: var(--epit-revestimento); }
.mf-histo-tecido .epit-glandular    .tc-tipo-epit-props li i { color: var(--epit-glandular); }
.mf-histo-tecido .epit-sensorial    .tc-tipo-epit-props li i { color: var(--epit-sensorial); }

.mf-histo-tecido .tc-tipo-epit-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff; font-size: .84rem; font-weight: 500;
  border: none; border-radius: 24px; padding: 9px 17px; cursor: pointer;
  text-decoration: none; transition: opacity .2s, box-shadow .2s;
  margin-top: 16px;
}
.mf-histo-tecido .tc-tipo-epit-btn:hover { opacity: .88; box-shadow: 0 4px 12px rgba(13,31,71,.30); }

/* ============================================================
   TIPOS MUSCULARES — substituição das FIBRAS
   ============================================================ */
/* Grid: stretch = todos os cards com a mesma altura */
.mf-histo-tecido .tc-tipos-musc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; align-items: stretch; }

/* Card: flex column para empilhar seções e botão na base */
.mf-histo-tecido .tc-tipo-musc-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.mf-histo-tecido .tc-tipo-musc-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,188,212,.22); border-color: var(--cyan-mid); }
.mf-histo-tecido .tc-tipo-musc-card .tc-img-zone { height: 140px; border-bottom: 1.5px dashed var(--border); flex-shrink: 0; }
.mf-histo-tecido .tc-tipo-musc-card .tc-img-zone .tc-img-placeholder i { font-size: 2rem; }

/* Gradientes de fundo por tipo */
.mf-histo-tecido .musc-estriado  .tc-img-zone { background: linear-gradient(135deg,#ffebee,#ffcdd2); }
.mf-histo-tecido .musc-liso      .tc-img-zone { background: linear-gradient(135deg,#e3f2fd,#bbdefb); }
.mf-histo-tecido .musc-cardiaco  .tc-img-zone { background: linear-gradient(135deg,#fff3e0,#ffe0b2); }
.mf-histo-tecido .musc-estriado  .tc-img-zone:hover { background: #ef9a9a; }
.mf-histo-tecido .musc-liso      .tc-img-zone:hover { background: #90caf9; }
.mf-histo-tecido .musc-cardiaco  .tc-img-zone:hover { background: #ffcc80; }
.mf-histo-tecido .musc-estriado  .tc-img-placeholder i { color: var(--musc-estriado); }
.mf-histo-tecido .musc-liso      .tc-img-placeholder i { color: var(--musc-liso); }
.mf-histo-tecido .musc-cardiaco  .tc-img-placeholder i { color: var(--musc-cardiaco); }

/* Body: flex column, cresce para preencher o card */
.mf-histo-tecido .tc-tipo-musc-body {
  padding: 18px 16px;
  flex: 1; display: flex; flex-direction: column;
}

/* Tag: altura fixa no topo */
.mf-histo-tecido .tc-tipo-musc-tag {
  display: inline-block; font-size: .69rem; font-weight: 700;
  border-radius: 20px; padding: 3px 10px; margin-bottom: 8px;
  letter-spacing: .05em; text-transform: uppercase; align-self: flex-start;
}
.mf-histo-tecido .musc-estriado  .tc-tipo-musc-tag { background:#ffebee; color:var(--musc-estriado); }
.mf-histo-tecido .musc-liso      .tc-tipo-musc-tag { background:#e3f2fd; color:var(--musc-liso); }
.mf-histo-tecido .musc-cardiaco  .tc-tipo-musc-tag { background:#fff3e0; color:var(--musc-cardiaco); }

/* Título: reserva altura de 2 linhas para alinhar entre cards */
.mf-histo-tecido .tc-tipo-musc-body h3 {
  font-family: var(--font-head); font-size: 1.06rem; font-weight: 700;
  margin-bottom: 8px; color: var(--navy);
  min-height: calc(1.06rem * 1.4 * 2);
}

/* Parágrafo: flex:1 absorve espaço variável → tópicos sempre no mesmo nível */
.mf-histo-tecido .tc-tipo-musc-body > p {
  font-size: .85rem; color: var(--muted); line-height: 1.7;
  margin-bottom: 13px; flex: 1;
}

/* Lista de tópicos: tamanho natural, começa sempre alinhada */
.mf-histo-tecido .tc-tipo-musc-props { list-style: none; margin-bottom: 0; }
.mf-histo-tecido .tc-tipo-musc-props li {
  font-size: .81rem; color: var(--muted); padding: 5px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.mf-histo-tecido .tc-tipo-musc-props li:last-child { border-bottom: none; }
.mf-histo-tecido .tc-tipo-musc-props li i { font-size: .7rem; flex-shrink: 0; }
.mf-histo-tecido .musc-estriado .tc-tipo-musc-props li i { color: var(--musc-estriado); }
.mf-histo-tecido .musc-liso     .tc-tipo-musc-props li i { color: var(--musc-liso); }
.mf-histo-tecido .musc-cardiaco .tc-tipo-musc-props li i { color: var(--musc-cardiaco); }

.mf-histo-tecido .tc-tipo-musc-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff; font-size: .84rem; font-weight: 500;
  border: none; border-radius: 24px; padding: 9px 17px; cursor: pointer;
  text-decoration: none; transition: opacity .2s, box-shadow .2s;
  margin-top: 16px;
}
.mf-histo-tecido .tc-tipo-musc-btn:hover { opacity: .88; box-shadow: 0 4px 12px rgba(13,31,71,.30); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── 1100px: sidebar vai embaixo ── */
@media (max-width: 1100px) {
  .mf-histo-tecido .tc-layout { grid-template-columns: 1fr; }
  .mf-histo-tecido .tc-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .mf-histo-tecido .tc-sidebar-box { flex: 1; min-width: 260px; }
  .mf-histo-tecido .tc-laminas-grid { grid-template-columns: repeat(3,1fr); }
  .mf-histo-tecido .tc-tools-grid { grid-template-columns: repeat(3,1fr); }
}

/* ── 860px ── */
@media (max-width: 860px) {
  .mf-histo-tecido .tc-cards-grid { grid-template-columns: repeat(2,1fr); }
  .mf-histo-tecido .tc-fibras-grid { grid-template-columns: 1fr; }
  .mf-histo-tecido .tc-fibra-card .tc-img-zone { height: 180px; }
  .mf-histo-tecido .tc-tipos-epit-grid { grid-template-columns: 1fr; }
  .mf-histo-tecido .tc-tipo-epit-card .tc-img-zone { height: 180px; }
  .mf-histo-tecido .tc-tipos-musc-grid { grid-template-columns: 1fr; }
  .mf-histo-tecido .tc-tipo-musc-card .tc-img-zone { height: 180px; }
}

/* Botão tipos: visível apenas no mobile (oculto em tablet/desktop) */
.mf-histo-tecido .tc-tipos-dropdown-wrap { display: none; }

/* ── 640px: MOBILE ── */
@media (max-width: 640px) {
  /* Botão tipos: aparece no mobile */
  .mf-histo-tecido .tc-tipos-dropdown-wrap { display: block; }

  /* Card tipos da sidebar: oculto no mobile (redundante com o botão) */
  .mf-histo-tecido .tc-sidebar-box:not(.tc-sidebar-lamina-destaque) { display: none; }

  /* Hero */
  .mf-histo-tecido .tc-hero-content { padding: 22px 18px; }
  .mf-histo-tecido .tc-hero-badges { display: none; }

  /* Tabs: 2 colunas × 2 linhas, preenchendo todo o espaço */
  .mf-histo-tecido .tc-tabs-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 14px;
    padding: 6px;
    gap: 5px;
  }
  .mf-histo-tecido .tc-tab-btn {
    border-radius: 10px;
    font-size: .78rem;
    padding: 10px 8px;
    gap: 5px;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  /* Cards: forçar 2 colunas no mobile */
  .mf-histo-tecido .tc-cards-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }

  /* Lâminas */
  .mf-histo-tecido .tc-laminas-grid { grid-template-columns: repeat(2,1fr); }

  /* Ferramentas */
  .mf-histo-tecido .tc-tools-grid { grid-template-columns: repeat(2,1fr); }

  /* Sidebar: stack */
  .mf-histo-tecido .tc-sidebar { flex-direction: column; }

  /* Ocultar lâmina em destaque no mobile (visível apenas na sidebar desktop) */
  .mf-histo-tecido .tc-sidebar-lamina-destaque { display: none; }

  /* Tecido Epitelial: a lateral inteira some no celular (o menu acima substitui) */
  .mf-histo-tecido[data-tecido="epitelial"] .tc-sidebar { display: none; }
}

/* ── 400px: ficam 2 colunas mesmo em telas muito pequenas ── */
@media (max-width: 400px) {
  .mf-histo-tecido .tc-cards-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .mf-histo-tecido .tc-article-card .tc-img-zone { height: 90px; }
  .mf-histo-tecido .tc-article-body { padding: 9px; }
  .mf-histo-tecido .tc-article-body h4 { font-size: .82rem; }
  .mf-histo-tecido .tc-article-body p { font-size: .74rem; }
}


/* ============================================================
   PADRONIZAÇÃO VISUAL — Atlas de Histologia / MedFoco
   Mantém as funções da categoria e aplica o mesmo sistema visual
   da página principal do Atlas de Histologia.
   ============================================================ */
.mf-histo-tecido {
  --navy:        #123763;
  --navy-dark:   #081a31;
  --navy-mid:    #0e2a4d;
  --cyan:        #0f9ea8;
  --cyan-dark:   #0c7f87;
  --cyan-light:  #eef4fb;
  --cyan-mid:    #9db8d6;
  --cyan-bright: #0f9ea8;
  --text:        #102033;
  --muted:       #64748b;
  --border:      #e2e8f0;
  --bg:          #f6f8fb;
  --white:       #ffffff;
  --radius:      12px;
  --shadow:      0 1px 3px rgba(15,23,42,.05), 0 6px 20px rgba(15,23,42,.07);
  --font-head:   'Sora', sans-serif;
  --font-body:   'Inter', sans-serif;
}

html:has(.mf-histo-tecido) { scroll-behavior: smooth; }
.mf-histo-tecido { font-family: var(--font-body); color: var(--text); background: var(--bg); overflow-x: hidden; }
.mf-histo-tecido a { text-decoration: none !important; }

.mf-histo-tecido .tc-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}
.mf-histo-tecido .tc-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 20px 64px;
}

/* HERO — mesmo padrão da página principal */
.mf-histo-tecido .tc-hero {
  position: relative;
  overflow: visible;
  width: 100%;
  min-height: 0;
  margin: 0;
  border-radius: 0;
  display: block;
  background: linear-gradient(135deg, #123763 0%, #0e2a4d 48%, #081a31 100%);
  color: #fff;
  padding: 44px 0 50px;
}
.mf-histo-tecido .tc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(650px 360px at 88% -10%, rgba(15,158,168,.30), transparent 58%),
    radial-gradient(480px 340px at 5% 115%, rgba(157,184,214,.22), transparent 58%);
}
.mf-histo-tecido .tc-hero::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  pointer-events: none;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 0 0 55px rgba(255,255,255,.04), inset 0 0 0 36px rgba(255,255,255,.04);
}
.mf-histo-tecido .tc-hero .tc-inner { position: relative; z-index: 3; }
.mf-histo-tecido .tc-hero-bg,
.mf-histo-tecido .tc-hero-fade,
.mf-histo-tecido .tc-hero-back,
.mf-histo-tecido .tc-hero-badges { display: none !important; }

.mf-histo-tecido .tc-breadcrumb {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  padding: 0;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.mf-histo-tecido .tc-breadcrumb a {
  color: rgba(255,255,255,.75);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color .2s;
}
.mf-histo-tecido .tc-breadcrumb a:hover { color: #fff; }
.mf-histo-tecido .tc-breadcrumb span { opacity: .4; }
.mf-histo-tecido .tc-breadcrumb strong { color: #fff; font-weight: 600; }

.mf-histo-tecido .tc-atlas-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
  padding: 5px 13px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #fff;
}
.mf-histo-tecido .tc-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  margin: 0 0 12px;
  letter-spacing: -1px;
}
.mf-histo-tecido .tc-hero h1 span { color: #fff; }
.mf-histo-tecido .tc-hero-desc,
.mf-histo-tecido .tc-hero p {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 620px;
  margin: 0 0 30px;
}

.mf-histo-tecido .tc-search-wrap {
  position: relative;
  max-width: 620px;
  margin: 0 0 34px;
  z-index: 20;
}
.mf-histo-tecido .tc-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 13px;
  padding: 5px 5px 5px 16px;
  box-shadow: 0 12px 32px rgba(15,23,42,.24);
  transition: box-shadow .2s;
}
.mf-histo-tecido .tc-search-box:focus-within {
  box-shadow: 0 0 0 3px rgba(15,158,168,.25), 0 12px 32px rgba(15,23,42,.24);
}
.mf-histo-tecido .tc-search-box > i { color: var(--muted); font-size: 1.02rem; flex: 0 0 auto; }
.mf-histo-tecido .tc-search-wrap input,
.mf-histo-tecido .tc-search-box input {
  width: auto;
  flex: 1;
  min-width: 0;
  padding: 11px 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .96rem;
  outline: none;
}
.mf-histo-tecido .tc-search-wrap input:focus { border: none; box-shadow: none; }
.mf-histo-tecido .tc-search-wrap input::placeholder { color: #94a3b8; }
.mf-histo-tecido .tc-search-btn {
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 11px 18px;
  border-radius: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .85rem;
  transition: background .2s;
  white-space: nowrap;
}
.mf-histo-tecido .tc-search-btn:hover { background: var(--navy-mid); }
.mf-histo-tecido .tc-search-icon { display: none; }
.mf-histo-tecido .tc-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-height: 340px;
  overflow: auto;
  z-index: 999;
  margin: 0 !important;
}
.mf-histo-tecido .tc-search-results > div {
  border-radius: 12px !important;
  box-shadow: 0 16px 44px rgba(15,23,42,.24) !important;
}
.mf-histo-tecido .tc-search-results .tc-no-results {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 44px rgba(15,23,42,.24);
  color: var(--muted);
}

.mf-histo-tecido .tc-hero-stats { display: flex; flex-wrap: wrap; gap: 12px; }
.mf-histo-tecido .tc-stat-card {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}
.mf-histo-tecido .tc-stat-card .ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex: 0 0 auto;
  background: rgba(255,255,255,.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.mf-histo-tecido .tc-stat-card b {
  display: block;
  font-family: var(--font-head);
  font-size: .92rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
}
.mf-histo-tecido .tc-stat-card span { font-size: .72rem; color: rgba(255,255,255,.78); }

/* Navegação da categoria */
.mf-histo-tecido .tc-tipos-dropdown-wrap { margin-bottom: 14px; }
.mf-histo-tecido .tc-tipos-toggle {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  background: var(--white);
  color: var(--navy);
}
.mf-histo-tecido .tc-tipos-toggle:hover { border-color: var(--cyan-mid); box-shadow: 0 0 0 3px rgba(15,158,168,.10); }
.mf-histo-tecido .tc-tipos-toggle .left i { color: var(--cyan-dark); }
.mf-histo-tecido .tc-tipos-dropdown {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(15,23,42,.14);
}
.mf-histo-tecido .tc-tipos-dropdown ul li a { border-bottom-color: var(--border); color: var(--text); }
.mf-histo-tecido .tc-tipos-dropdown ul li a:hover { background: var(--cyan-light); color: var(--navy); }

.mf-histo-tecido .tc-tabs-bar {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}
.mf-histo-tecido .tc-tab-btn {
  font-size: .84rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--muted);
}
.mf-histo-tecido .tc-tab-btn.active {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(15,23,42,.22);
}
.mf-histo-tecido .tc-tab-btn:hover:not(.active) { background: var(--cyan-light); color: var(--navy); }

/* Cabeçalhos e layout */
.mf-histo-tecido .tc-panel { animation: tcAtlasFadeIn .28s ease; }
@keyframes tcAtlasFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mf-histo-tecido .tc-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 26px; }
.mf-histo-tecido .tc-section-title,
.mf-histo-tecido .tc-laminas-header,
.mf-histo-tecido .tc-comp-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.25px;
}
.mf-histo-tecido .tc-section-title { font-size: 1.28rem; margin-bottom: 18px; }
.mf-histo-tecido .tc-section-title i,
.mf-histo-tecido .tc-laminas-header i,
.mf-histo-tecido .tc-comp-title i { color: var(--navy); }
.mf-histo-tecido .tc-section-title::before,
.mf-histo-tecido .tc-laminas-header::before,
.mf-histo-tecido .tc-comp-title::before {
  content: "";
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--cyan-light);
  flex: 0 0 auto;
}
.mf-histo-tecido .tc-section-title,
.mf-histo-tecido .tc-laminas-header,
.mf-histo-tecido .tc-comp-title { position: relative; }
.mf-histo-tecido .tc-section-title > i,
.mf-histo-tecido .tc-laminas-header > i,
.mf-histo-tecido .tc-comp-title > i {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  font-size: 1rem;
}
.mf-histo-tecido .tc-overview-text { color: var(--muted); font-size: .95rem; line-height: 1.78; margin-bottom: 20px; }
.mf-histo-tecido .tc-overview-img {
  height: 280px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
}
.mf-histo-tecido .tc-overview-img img { transition: transform .4s ease; }
.mf-histo-tecido .tc-overview-img:hover img { transform: scale(1.025); }

/* Cards gerais */
.mf-histo-tecido .tc-comp-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.mf-histo-tecido .tc-comp-card,
.mf-histo-tecido .tc-tool-card,
.mf-histo-tecido .tc-article-card,
.mf-histo-tecido .tc-fibra-card,
.mf-histo-tecido .tc-lamina-card,
.mf-histo-tecido .tc-sidebar-box {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.mf-histo-tecido .tc-comp-card {
  display: block;
  padding: 18px;
  min-height: 210px;
}
.mf-histo-tecido .tc-comp-card:hover,
.mf-histo-tecido .tc-tool-card:hover,
.mf-histo-tecido .tc-article-card:hover,
.mf-histo-tecido .tc-fibra-card:hover,
.mf-histo-tecido .tc-lamina-card:hover {
  border-color: var(--cyan-mid);
  box-shadow: 0 12px 28px rgba(15,23,42,.12);
}
.mf-histo-tecido .tc-comp-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--cyan-light);
}
.mf-histo-tecido .tc-comp-icon i { color: var(--cyan-dark); }
.mf-histo-tecido .tc-comp-body h4 { color: var(--navy); font-weight: 700; }
.mf-histo-tecido .tc-comp-body p { color: var(--muted); }
.mf-histo-tecido .tc-link { color: var(--cyan-dark); font-weight: 700; }
.mf-histo-tecido .tc-link:hover { color: var(--cyan); text-decoration: none !important; }

/* Lâminas */
.mf-histo-tecido .tc-laminas-section,
.mf-histo-tecido .tc-tools-section { margin-top: 42px; }
.mf-histo-tecido .tc-laminas-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.mf-histo-tecido .tc-lamina-card { border-radius: 14px; }
.mf-histo-tecido .tc-lamina-card .tc-img-zone { height: 132px; }
.mf-histo-tecido .tc-lamina-info { padding: 13px 14px 15px; }
.mf-histo-tecido .tc-lamina-info h5 { color: var(--navy); font-size: .82rem; font-weight: 700; }
.mf-histo-tecido .tc-lamina-info .tc-lamina-sub { color: var(--muted); }
.mf-histo-tecido .tc-lamina-tag { background: var(--cyan-light); color: var(--cyan-dark); font-weight: 700; }

/* Ferramentas */
.mf-histo-tecido .tc-tools-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.mf-histo-tecido .tc-tool-card { min-height: 170px; padding: 24px 18px; border-radius: 14px; }
.mf-histo-tecido .tc-tool-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--cyan-light); }
.mf-histo-tecido .tc-tool-icon i { color: var(--cyan-dark); }
.mf-histo-tecido .tc-tool-name { color: var(--navy); font-weight: 700; }
.mf-histo-tecido .tc-tool-desc { color: var(--muted); }

/* Células e patologias */
.mf-histo-tecido .tc-cards-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
.mf-histo-tecido .tc-article-card { border-radius: 14px; }
.mf-histo-tecido .tc-article-card .tc-img-zone { height: 126px; }
.mf-histo-tecido .tc-article-body { padding: 14px; }
.mf-histo-tecido .tc-article-tag { background: var(--cyan-light); color: var(--cyan-dark); font-weight: 700; }
.mf-histo-tecido .tc-article-body h4 { color: var(--navy); font-weight: 700; }
.mf-histo-tecido .tc-article-body p { color: var(--muted); }

/* Upload de imagens */
.mf-histo-tecido .tc-img-zone {
  background: var(--cyan-light);
  border-bottom: 1px solid var(--border);
}
.mf-histo-tecido .tc-img-zone:hover { background: #e4edf7; }
.mf-histo-tecido .tc-img-placeholder i { color: var(--cyan-dark); }
.mf-histo-tecido .tc-img-placeholder span { color: var(--muted); }
.mf-histo-tecido .tc-img-zone .tc-img-remove { background: rgba(8,26,49,.76); }

/* Fibras */
.mf-histo-tecido .tc-fibras-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.mf-histo-tecido .tc-fibra-card { border-radius: 14px; }
.mf-histo-tecido .tc-fibra-body h3 { color: var(--navy); }
.mf-histo-tecido .tc-fibra-body > p,
.mf-histo-tecido .tc-fibra-props li { color: var(--muted); }
.mf-histo-tecido .tc-fibra-btn {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  font-weight: 600;
}

/* Sidebar */
.mf-histo-tecido .tc-sidebar { gap: 18px; top: 20px; }
.mf-histo-tecido .tc-sidebar-box { overflow: hidden; }
.mf-histo-tecido .tc-sidebar-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 14px 17px;
}
.mf-histo-tecido .tc-sidebar-header i { color: #fff; }
.mf-histo-tecido .tc-sidebar-header span { font-weight: 700; }
.mf-histo-tecido .tc-tipos-list li a { color: var(--text); border-bottom-color: var(--border); }
.mf-histo-tecido .tc-tipos-list li a:hover { background: var(--cyan-light); color: var(--navy); }
.mf-histo-tecido .tc-ld-btn { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); font-weight: 600; }

/* Paginação */
.mf-histo-tecido .tc-pagination { margin-top: 24px; }
.mf-histo-tecido .tc-page-btn {
  border-color: var(--border);
  color: var(--text);
  font-weight: 600;
}
.mf-histo-tecido .tc-page-btn.active {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-color: var(--navy);
  box-shadow: 0 2px 8px rgba(15,23,42,.22);
}
.mf-histo-tecido .tc-page-btn:hover:not(.active):not(:disabled) { background: var(--cyan-light); border-color: var(--cyan-mid); color: var(--navy); }

/* Bloco final — mesmo padrão da página principal */
.mf-histo-tecido .tc-info {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: linear-gradient(135deg, #081a31 0%, #0e2a4d 55%, #123763 130%);
  color: #fff;
  padding: 58px 0;
}
.mf-histo-tecido .tc-info::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(500px 300px at 10% 0%, rgba(15,158,168,.18), transparent 58%),
    radial-gradient(500px 340px at 96% 110%, rgba(157,184,214,.20), transparent 58%);
}
.mf-histo-tecido .tc-info .tc-inner { position: relative; z-index: 2; }
.mf-histo-tecido .tc-info-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.mf-histo-tecido .tc-info-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  color: #fff;
  margin-bottom: 10px;
}
.mf-histo-tecido .tc-info-head p { color: rgba(255,255,255,.82); font-size: .95rem; line-height: 1.6; }
.mf-histo-tecido .tc-info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.mf-histo-tecido .tc-info-tile {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 25px 22px;
  backdrop-filter: blur(4px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .25s, background .25s;
}
.mf-histo-tecido .tc-info-tile:hover { transform: translateY(-4px); background: rgba(255,255,255,.11); }
.mf-histo-tecido .tc-info-tile .ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 14px;
  font-size: 1.2rem;
}
.mf-histo-tecido .tc-info-tile h3 { font-family: var(--font-head); font-size: 1rem; color: #fff; margin-bottom: 8px; }
.mf-histo-tecido .tc-info-tile p { color: rgba(255,255,255,.76); font-size: .83rem; line-height: 1.55; }

/* Responsividade */
@media (max-width: 1100px) {
  .mf-histo-tecido .tc-layout { grid-template-columns: 1fr; }
  .mf-histo-tecido .tc-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .mf-histo-tecido .tc-sidebar-box { flex: 1; min-width: 260px; }
  .mf-histo-tecido .tc-cards-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 860px) {
  .mf-histo-tecido .tc-comp-cards { grid-template-columns: 1fr; }
  .mf-histo-tecido .tc-comp-card { min-height: 0; }
  .mf-histo-tecido .tc-cards-grid { grid-template-columns: repeat(2,1fr); }
  .mf-histo-tecido .tc-fibras-grid { grid-template-columns: 1fr; }
  .mf-histo-tecido .tc-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mf-histo-tecido .tc-inner { padding: 0 18px; }
  .mf-histo-tecido .tc-wrap { padding: 28px 18px 48px; }
  .mf-histo-tecido .tc-hero { padding: 32px 0 36px; }
  .mf-histo-tecido .tc-hero h1 { font-size: 1.9rem; }
  .mf-histo-tecido .tc-hero-desc,
.mf-histo-tecido .tc-hero p { font-size: .9rem; }
  .mf-histo-tecido .tc-search-wrap { max-width: 100%; }
  .mf-histo-tecido .tc-search-btn { padding: 11px 14px; }
  .mf-histo-tecido .tc-search-btn span { display: none; }
  .mf-histo-tecido .tc-search-btn::before { content: "Ir"; }
  .mf-histo-tecido .tc-hero-stats { gap: 10px; }
  .mf-histo-tecido .tc-stat-card {
    min-width: 0;
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 8px;
    gap: 7px;
  }
  .mf-histo-tecido .tc-tabs-bar { display: grid; grid-template-columns: repeat(2,1fr); border-radius: 14px; gap: 5px; }
  .mf-histo-tecido .tc-tab-btn { border-radius: 10px; font-size: .78rem; padding: 10px 8px; }
  .mf-histo-tecido .tc-laminas-grid,
.mf-histo-tecido .tc-tools-grid,
.mf-histo-tecido .tc-cards-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .mf-histo-tecido .tc-overview-img { height: 220px; }
  .mf-histo-tecido .tc-sidebar { flex-direction: column; }
  .mf-histo-tecido .tc-sidebar-lamina-destaque { display: none; }
  .mf-histo-tecido .tc-info { padding: 44px 0; }
}
@media (max-width: 400px) {
  .mf-histo-tecido .tc-inner { padding: 0 14px; }
  .mf-histo-tecido .tc-wrap { padding: 22px 14px 44px; }
  .mf-histo-tecido .tc-laminas-grid,
.mf-histo-tecido .tc-tools-grid,
.mf-histo-tecido .tc-cards-grid { gap: 8px; }
  .mf-histo-tecido .tc-article-card .tc-img-zone { height: 92px; }
  .mf-histo-tecido .tc-lamina-card .tc-img-zone { height: 104px; }
}


/* ============================================================
   COMPLEMENTO — componentes específicos de Tecido Muscular
   ============================================================ */
.mf-histo-tecido {
  --musc-estriado: #b94a48;
  --musc-liso:     #356f9f;
  --musc-cardiaco: #b86532;
}
.mf-histo-tecido .tc-tipos-musc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  align-items: stretch;
}
.mf-histo-tecido .tc-tipo-musc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.mf-histo-tecido .tc-tipo-musc-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15,158,168,.35);
  box-shadow: 0 10px 28px rgba(15,23,42,.10);
}
.mf-histo-tecido .tc-tipo-musc-card .tc-img-zone { height: 154px; flex-shrink: 0; }
.mf-histo-tecido .tc-tipo-musc-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.mf-histo-tecido .tc-tipo-musc-tag {
  display: inline-flex; align-items: center; align-self: flex-start;
  border-radius: 999px; padding: 4px 10px; margin-bottom: 9px;
  font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.mf-histo-tecido .tc-tipo-musc-body h3 {
  min-height: 0; margin: 0 0 8px;
  font-family: var(--font-head); font-size: 1rem; line-height: 1.4;
  color: var(--navy); font-weight: 700;
}
.mf-histo-tecido .tc-tipo-musc-body > p { flex: 1; margin-bottom: 14px; color: var(--muted); font-size: .84rem; line-height: 1.68; }
.mf-histo-tecido .tc-tipo-musc-props { list-style: none; margin: 0; }
.mf-histo-tecido .tc-tipo-musc-props li {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 7px 0; border-bottom: 1px solid var(--border);
  color: var(--muted); font-size: .8rem; line-height: 1.45;
}
.mf-histo-tecido .tc-tipo-musc-props li:last-child { border-bottom: 0; }
.mf-histo-tecido .tc-tipo-musc-props li i { margin-top: 3px; font-size: .65rem; }
.mf-histo-tecido .tc-tipo-musc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 16px; padding: 9px 16px; border: 0; border-radius: 9px;
  background: var(--navy); color: #fff; font-size: .8rem; font-weight: 600;
  transition: background .2s, transform .2s;
}
.mf-histo-tecido .tc-tipo-musc-btn:hover { background: var(--cyan-dark); transform: translateY(-1px); }
.mf-histo-tecido .musc-estriado .tc-tipo-musc-tag { background:#fbeaea; color:var(--musc-estriado); }
.mf-histo-tecido .musc-liso .tc-tipo-musc-tag { background:#e9f2f9; color:var(--musc-liso); }
.mf-histo-tecido .musc-cardiaco .tc-tipo-musc-tag { background:#fbefe7; color:var(--musc-cardiaco); }
.mf-histo-tecido .musc-estriado .tc-img-zone { background:linear-gradient(135deg,#fff7f7,#f6dddd); }
.mf-histo-tecido .musc-liso .tc-img-zone { background:linear-gradient(135deg,#f5f9fc,#dceaf5); }
.mf-histo-tecido .musc-cardiaco .tc-img-zone { background:linear-gradient(135deg,#fff8f3,#f4e2d5); }
@media (max-width: 860px) {
  .mf-histo-tecido .tc-tipos-musc-grid { grid-template-columns: 1fr; }
  .mf-histo-tecido .tc-tipo-musc-card .tc-img-zone { height: 190px; }
}





/* ============================================================
   COMPLEMENTOS — cards com link, acessos (views), "Em breve"
   e a faixa "Mais vistos"
   ============================================================ */
.mf-histo-tecido a.tc-article-card,
.mf-histo-tecido a.tc-lamina-card,
.mf-histo-tecido a.tc-pop-card { display: block; color: inherit; }
.mf-histo-tecido .tc-img-zone { cursor: inherit; }
.mf-histo-tecido .tc-article-card.is-soon,
.mf-histo-tecido .tc-lamina-card.is-soon { cursor: default; }
.mf-histo-tecido .tc-article-card.is-soon:hover,
.mf-histo-tecido .tc-lamina-card.is-soon:hover { transform: none; }
.mf-histo-tecido a[aria-disabled] { cursor: default; }

.mf-histo-tecido .mfh-soon {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: rgba(8,26,49,.78); color: #fff;
  font-size: .6rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  border-radius: 999px; padding: 3px 9px;
}
.mf-histo-tecido .mfh-views {
  display: flex; align-items: center; gap: 5px;
  margin-top: 8px;
  font-size: .7rem; font-weight: 600; color: var(--muted);
}
.mf-histo-tecido .mfh-views i { color: var(--cyan-dark); font-size: .66rem; }

/* Mais vistos */
.mf-histo-tecido .tc-popular { margin-bottom: 30px; }
.mf-histo-tecido .tc-popular-sub { margin: -10px 0 16px; font-size: .86rem; color: var(--muted); }
.mf-histo-tecido .tc-popular-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.mf-histo-tecido .tc-pop-card {
  background: var(--white); border: 1.5px solid var(--border); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.mf-histo-tecido .tc-pop-card:hover { transform: translateY(-4px); border-color: var(--cyan-mid); box-shadow: 0 12px 28px rgba(15,23,42,.12); }
.mf-histo-tecido .tc-pop-card .tc-img-zone { height: 110px; }
.mf-histo-tecido .tc-pop-rank {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff; font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  box-shadow: 0 3px 8px rgba(15,23,42,.25);
}
.mf-histo-tecido .tc-pop-info { padding: 12px 13px 14px; }
.mf-histo-tecido .tc-pop-info h5 {
  font-family: var(--font-head); font-size: .82rem; font-weight: 700;
  color: var(--navy); line-height: 1.3; margin-top: 6px;
}
.mf-histo-tecido .tc-pop-loading {
  grid-column: 1 / -1; text-align: center; padding: 22px;
  background: var(--white); border: 1.5px dashed var(--border); border-radius: 14px;
  color: var(--muted); font-size: .88rem;
}
@media (max-width: 1100px) {
  .mf-histo-tecido .tc-popular-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .mf-histo-tecido .tc-popular-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .mf-histo-tecido .tc-pop-card .tc-img-zone { height: 92px; }
}
