:root{
      --brand:#4DB5FF;
      --brand-soft:#e5f4ff;
      --dark:#1c1c2c;
      --bg:#f7f7f9;
      --card:#ffffff;
      --muted:#6b7280;
      --border:#e5e7eb;
      --radius-lg:18px;
      --radius-pill:999px;
      --shadow-soft:0 18px 45px rgba(15,23,42,.08);
    }

    *{box-sizing:border-box;margin:0;padding:0;}
    body{
      background:var(--bg);
      color:#111827;
      line-height:1.6;
      overflow-x:hidden;
    }
    img{max-width:100%;display:block;}
    a{text-decoration:none;color:inherit;}
    button,input{font-family:inherit;}

    .page{
      min-height:100vh;
      display:flex;
      flex-direction:column;
    }

    .breadcrumb{
      font-size:.78rem;
      color:var(--muted);
      margin-bottom:15px;
      margin-top:20px;
    }
    .breadcrumb a{
      color:#000000;
    }
    .breadcrumb span{
      opacity:.8;
    }

.hero {
    padding-top: 70px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at top, rgba(77, 181, 255, 0.08), transparent 70%);
    position: relative;
    z-index: 1;
}

.hero-container{
    max-width:1080px;
    margin:0 auto;
    padding:24px 20px 56px;
    width:100%;
}

.hero-content {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 100%;
}

.hero-badge {
    font-size:.85rem;
    text-transform:uppercase;
    padding:4px 10px;
    border:1px solid #d4e7ff;
    gap:6px;
    margin-bottom:10px;
    display: inline-flex;
    align-items: center;
    background: rgba(77, 181, 255, 0.12);
    backdrop-filter: blur(10px);
    color: var(--mokapp-dark);
    border-radius: 999px;
    border: 1px solid rgba(77, 181, 255, 0.3);
    box-shadow: 0 4px 15px rgba(77, 181, 255, 0.15);
}

.hero-badge-red {
    font-size:.85rem;
    text-transform:uppercase;
    padding:4px 10px;
    border:1px solid #d4e7ff;
    gap:6px;
    margin-bottom:10px;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 16, 16, 0.12);
    backdrop-filter: blur(10px);
    color: var(--mokapp-dark);
    border-radius: 999px;
    border: 1px solid rgba(255, 16, 16, 0.3);
    box-shadow: 0 4px 15px rgba(255, 16, 16, 0.15);
}

.hero-dot{
      width:6px;
      height:6px;
      border-radius:999px;
      background:var(--brand);
    }

.hero-title {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom:8px;
    line-height:1.2;
    letter-spacing:-.03em;
    color: var(--mokapp-dark);
    text-shadow: 0 2px 20px var(--mokapp-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-title strong {
    color: var(--mokapp-blue-dark);
}

.hero-subdescription {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 660px;
    line-height: 1.6;
    text-align: justify;
}

.hero-subdescription strong {
    color: var(--mokapp-blue);
    font-weight: 600;
}

.hero-trust {
    color: var(--text-light);
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-trust strong {
    color: var(--text-dark);
}

    /* ========== ELEMENTOS GERAIS DO ARTIGO ========== */

.meta-dot{
  width:3px;
  height:3px;
  border-radius:999px;
  background:#9ca3af;
}
.tag-pill{
  padding:6px 12px;
  border-radius: 999px;
  border:2px solid var(--mokapp-dark);
  background:#fff;
  color:#4b5563;
  font-size:0.7rem;
  display:inline-flex;
  align-items:center;
  gap:4px;
  text-align: center;
}
.tag-pill--mono{
  background:rgba(77,181,255,.12);
  border-color:#d4e7ff;
  color:#0b3150;
}
.post-cover{
  margin-top:18px;
  margin-bottom:24px;
  border-radius:var(--radius-lg);
  border:1px solid #e5e7f5;
  border-radius: 10px;
  overflow:hidden;
  background:radial-gradient(circle at 10% 0%,#4DB5FF 0,#0f172a 60%,#020617 100%);
  position:relative;
  min-height:300px;
  box-shadow:var(--shadow-soft);
}
.post-cover-inner{
  padding:18px 18px 16px;
  color:#e5f4ff;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  height:100%;
}
.post-cover-label{
  font-size:.72rem;
  padding:4px 9px;
  border-radius:999px;
  background:rgba(15,23,42,.7);
  align-self:flex-start;
}
.post-cover-text{
  max-width:400px;
  font-size:.82rem;
  text-align: justify;
}
.post-cover-ghost{
  position:absolute;
  right:8%;
  bottom:-12%;
  width:140px;
  height:140px;
  border-radius:40% 60% 70% 30%;
  border:2px solid rgba(148,204,255,.5);
}
/* ========== CARD ÚNICO DO ARTIGO ========== */
.article-card{
  background:#ffffff;
  border-radius:18px;
  border:1px solid #e5e7eb;
  box-shadow:0 18px 40px rgba(15,23,42,.05);
  padding:20px 20px 18px;
  max-width:100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.article-intro-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:16px;
  align-items:flex-start;
  margin-bottom:18px;
}
.article-intro-grid.intro-grid--two{
  grid-template-columns:minmax(0,1.8fr) minmax(0,1.4fr);
}
@media (max-width:900px){
  .article-intro-grid.intro-grid--two{
    grid-template-columns:minmax(0,1fr);
  }
}
.summary-box{
  border-radius:14px;
  border:1px solid #e5e7eb;
  background:#f9fafb;
  padding:10px 12px;
  font-size:.85rem;
  height: flex;
}
.summary-box h2{
  margin:0 0 6px;
  font-size:.9rem;
  color:#020617;
}
.summary-list{
  padding-left:18px;
  margin:0;
  font-size:.9rem;
  color:#374151;
}
.summary-list li+li{
  margin-top:3px;
}
.info-box{
  border-radius:14px;
  border:1px solid #e5e7eb;
  background:#ffffff;
  padding:10px 12px;
  font-size:.85rem;
}
.info-box-row{
  margin-bottom:4px;
}
.info-badges{
  margin-top:4px;
}
.badge-soft{
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size:.75rem;
  padding:3px 8px;
  border-radius:var(--radius-pill);
  background:#f3f4f6;
  color:#374151;
  margin-right:4px;
  margin-bottom:4px;
}
.share-box{
  margin-top:10px;
  border-top:1px dashed #e5e7eb;
  padding-top:10px;
  font-size:.8rem;
  color:#1c1c2c;
}
.share-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:6px;
}
.share-pill{
  border-radius:var(--radius-pill);
  border:1px solid var(--border);
  text-decoration: var(--mokapp-dark);
  padding:4px 10px;
  font-size:.78rem;
  background:#f9fafb;
  cursor:pointer;
}
/* Conteúdo interno do artigo */
    .article-section{
      margin-top:14px;
      padding-top:10px;
      border-top:1px solid #f3f4f6;
    }
    .article-section:first-of-type{
      border-top:none;
      padding-top:0;
      margin-top:0;
    }
    .article-section h2{
      font-size:1.5rem;
      margin:0 0 6px;
      color:#020617;
    }
    .article-section h3{
      font-size:.95rem;
      margin:10px 0px;
      color:#020617;
    }
    .article-section p{
      font-size:.92rem;
      color:#374151;
      margin-bottom:8px;
      margin-top: 8px;
      text-align: justify;
    }

    ul li{
      margin:0 0 8px;
      font-size:0.85rem;
      color:#374151;
    }

    ol,ul{
      padding-left:20px;
      margin:0 0 8px;
      font-size:.92rem;
      color:#374151;
    }
    li+li{margin-top:3px;}

    .muted-small{
      font-size:.8rem;
      color:var(--muted);
    }

    ul.features{
      list-style-type: disc;
      margin-left:20px;
    }

    ul.summary-list    {
      list-style-type: disc;
    }

    ol.summary-list-2{
      list-style-type: decimal;
      margin-left:20px;
    }

    ol.ref-list{
      margin-left:20px;
    }

/* Tabelas */
.table-wrapper{
  width:100%;
  overflow-x:auto;
  margin-top:6px;
  margin-bottom:10px;
  margin-left:0 !important;
  margin-right:auto !important;
  text-align:left !important;
  display:block;
}
.table-wrapper + .table-wrapper{
  margin-top:16px !important;
}
table{
  margin-left:0 !important;
  margin-right:auto !important;
}
table{
  display:block;
  overflow-x:auto;
  width:100%;
  border-collapse:collapse;
  font-size:.85rem;
}
thead{
  background:#f9fafb;
}
tr[data-table-header="true"] td,
tr[data-table-header="true"] th{
  background:#fbf9f9;
  font-weight:600;
  font-size:.8rem;
  color:#4b5563;
}
th,td{
  text-align:left;
  padding:6px 8px;
  border-bottom:1px solid #e5e7eb;
  vertical-align:top;
}
th{
  font-weight:600;
  font-size:.8rem;
  color:#4b5563;
}
.tag-inline{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  background:rgba(77,181,255,.12);
  border-radius:6px;
  padding:2px 6px;
  border:1px solid #d4e7ff;
  font-size:.75rem;
  display:inline-block;
}
.tag-secundaria{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  background:#e5e7eb;
  border-radius:6px;
  padding:3px 6px;
  font-size:.75rem;
  display:inline-block;
  color:#111827;
}
.callout{
  border-radius:12px;
  border:1px solid #facc15;
  background:#fefce8;
  padding:10px 12px;
  font-size:.85rem;
  color:#713f12;
  margin-top:8px;
}
/* Métricas como texto (sem cards) */
.metrics-grid{
  display:grid;
  grid-template-columns:repeat(1,minmax(0,1fr));
  gap:10px 32px;
  margin-top:4px;
}
.metric-item{
  font-size:.92rem;
  color:#374151;
}
.metric-item-title{
  font-weight:600;
  display:block;
  margin-bottom:2px;
}
@media (max-width:720px){
  .metrics-grid{
    grid-template-columns:minmax(0,1fr);
  }
}
/* CTA + Autor */
.article-footer{
  margin-top:18px;
  padding-top:12px;
  border-top:1px solid #f3f4f6;
}
.cta-banner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#f9fafb;
  margin-bottom:12px;
}
.btn-brand{
  border-radius:999px;
  border:none;
  padding:8px 18px;
  font-size:.86rem;
  background:var(--mokapp-blue);
  color:#042538;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(77,181,255,.4);
}
.btn-brand:hover{
  filter:brightness(.96);
}
.author-box{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  font-size:.85rem;
}
.author-avatar{
  width:40px;
  height:40px;
  border-radius:999px;
  background:linear-gradient(135deg,#4DB5FF,#1c1c2c);
}
/* Relacionados */
.section-title-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:26px 0 10px;
  gap:10px;
}
.section-title{
  font-size:1rem;
  font-weight:600;
  color:#020617;
}
.section-sub{
  font-size:.82rem;
  color:var(--muted);
}
.related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:10px;
}
@media (max-width:980px){
  .related-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:640px){
  .related-grid{
    grid-template-columns:minmax(0,1fr);
  }
}
.related-card{
  background: #ffffff;
  border-radius:14px;
  border:1px solid #e5e7eb;
  padding:0;
  font-size:.85rem;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.related-thumb{
  width:100%;
  height:160px;
  background-size:cover;
  background-position:center;
  flex-shrink:0;
}
.related-thumb--empty{
  background-color:#e5e7eb;
}
.related-card .related-meta,
.related-card .related-title,
.related-card .muted-small{
  padding-left:12px;
  padding-right:12px;
}
.related-card .related-meta{ padding-top:10px; }
.related-card .muted-small{ padding-bottom:11px; }
.related-card:hover{
  transform:translateY(-2px);
  border-color:#d4e7ff;
  box-shadow:0 14px 24px rgba(15,23,42,.06);
}
.related-meta{
  font-size:.74rem;
  color:var(--muted);
  margin-bottom:2px;
  display:flex;
  justify-content:space-between;
  gap:8px;
}
.related-title{
  font-weight:600;
  color:#020617;
  margin-bottom:4px;
}

    /* ===============================
   EMBED DE VÍDEO — RESPONSIVO
   =============================== */

.video-wrapper {
  width: 100%;
  max-width: 780px;       /* tamanho ideal para leitura */
  margin: auto auto;      /* centraliza */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15,23,42,.08);
  background: #000;
  position: relative;
}

/* Mantém proporção 16:9 */
.video-wrapper::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ===============================

    IMAGEM NO TEXTO (FIGURE)

=============================== */


.article-media{
  margin: 18px auto 6px;
  max-width: 780px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7f5;
  background: #f3f4f6;
  box-shadow: 0 16px 36px rgba(15,23,42,.06);
}


.article-media img{
  width: 100%;
  display: block;
}

.article-media-caption{
  font-size: .8rem;
  color: var(--muted);
  padding: 8px 12px 10px;
  background: linear-gradient(to bottom,#f9fafb,#f3f4f6);
}

/* ===============================

    VIDEO EMBED NO TEXTO

=============================== */

.article-video {
  margin: 18px auto 6px;
  max-width: 780px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7f5;
  background: #f3f4f6;
  box-shadow: 0 16px 36px rgba(15,23,42,.06);
}

.video-embed-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.article-video .article-media-caption {
  font-size: .8rem;
  color: var(--muted);
  padding: 8px 12px 10px;
  background: linear-gradient(to bottom,#f9fafb,#f3f4f6);
}


 /* ===============================

 LINKS INTERNOS E EXTERNOS

=============================== */

.article-card a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}

.article-card a:hover {
  text-decoration: underline;
}

/* Link interno (mesmo domínio) */
/* .link-interno {
    
} */

/* Link externo estilo Wikipedia */
.link-externo {
  position: relative;
  padding-right: 14px;  /* espaço para o ícone */
}

.link-externo::after {
  content: "↗";
  font-size: 0.75rem;
  position: absolute;
  right: 0;
  top: 2px;
  opacity: 0.7;
}

.link-externo:hover::after {
  opacity: 1;
}


    
@media (max-width: 480px) {

}

/* ==================== Responsive Design ==================== */
@media (max-width: 992px) {
  .hero {
    padding-top: 90px;
    min-height: auto;
  }
  .hero-container {
    padding: 24px 20px 40px;
    max-width: 100%;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-content {
    flex-direction: column;
    gap: 2rem;
  }
  .article-intro-grid.intro-grid--two {
    grid-template-columns: minmax(0, 1fr);
  }
  .video-wrapper {
    max-width: 100%;
    border-radius: 12px;
  }
}

@media (max-width: 768px) {
  .hero-container {
    padding: 20px 16px 32px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-badge {
    font-size: 0.9rem;
  }
  .article-card {
    padding: 16px;
    border-radius: 14px;
  }
  .summary-box,
  .info-box {
    font-size: 0.95rem;
  }
  .post-cover {
    min-height: 240px;
  }
  .cta-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-brand {
    width: 100%;
    text-align: center;
  }
  .share-row {
    gap: 6px;
  }
  .table-wrapper {
    margin: 6px 0 10px;
  }
}

@media (max-width: 640px) {
  .hero-trust {
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
  }
  .hero-meta {
    order: 1;
    justify-content: center;
  }
  .hero-tags {
    order: 2;
    justify-content: center;
  }
  .section-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .tag-pill {
    font-size: 0.7rem;
    padding: 5px 10px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 67px;
  }
  .hero-container {
    padding: 0px 12px 28px;
  }
  .hero-title {
    font-size: 1.65rem;
    line-height: 1.15;
  }
  .hero-subdescription {
    font-size: 0.95rem;
  }
  .article-section h2 {
    font-size: 1.25rem;
  }
  .article-section h3 {
    font-size: 0.95rem;
  }
  .article-section p,
  ul li,
  ol,
  ul {
    font-size: 0.95rem;
  }
  .article-card {
    padding: 12px;
    margin: 0;
  }
  .article-section h2,
  .article-section h3,
  .article-section p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .author-box {
    font-size: 0.9rem;
  }
  .post-cover {
    min-height: 200px;
  }
}
/* ==================== Browser Compatibility ==================== */
@supports not (backdrop-filter: blur(10px)) {
  .hero-badge {
    background: rgba(77, 181, 255, 0.2);
  }
  .article-card,
  .related-card,
  .video-wrapper,
  .article-media,
  .article-video {
    background: #ffffff;
  }
}