/* ============ Tuto — Article + About pages ============ */

/* ============================================================
   ARTICLE (single post)
   ============================================================ */
.article-head { padding: 124px 0 0; }
.article-head .crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--slate-400); margin-bottom: 22px; }
.article-head .crumbs a { color: var(--slate-500); font-weight: 500; }
.article-head .crumbs a:hover { color: var(--indigo-600); }
.article-head .crumbs svg { width: 15px; height: 15px; }
.article-cap { max-width: 760px; margin: 0 auto; text-align: center; }
.article-cap .cat-badge { margin: 0 auto; }
.article-cap h1 { font-size: clamp(32px, 4.4vw, 50px); letter-spacing: -0.035em; line-height: 1.08; margin: 18px 0 18px; text-wrap: balance; }
.article-cap .standfirst { font-size: 20px; color: var(--slate-500); line-height: 1.55; text-wrap: pretty; }
.article-byline { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.article-byline .ava { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; }
.article-byline .who { text-align: left; }
.article-byline .who .n { font-weight: 600; font-size: 15px; color: var(--slate-800); }
.article-byline .who .d { font-size: 13.5px; color: var(--slate-500); }
.article-byline .dot-sep { color: var(--slate-300); }
.article-byline .read-time { font-size: 13.5px; color: var(--slate-500); display: inline-flex; align-items: center; gap: 5px; }
.article-byline .read-time svg { width: 15px; height: 15px; }

.article-cover { max-width: 1000px; margin: 44px auto 0; height: 380px; border-radius: var(--radius-xl); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.article-cover .pattern { position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.18), transparent 42%), radial-gradient(circle at 82% 72%, rgba(255,255,255,.12), transparent 46%); }
.article-cover img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.article-byline .ava, .author-card .ava { overflow: hidden; }
.article-cover .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.82); }
.article-cover .ph svg { width: 92px; height: 92px; }

.article-body { padding: 56px 0 80px; }
.article-layout { display: grid; grid-template-columns: 1fr 220px; gap: 56px; max-width: 1000px; margin: 0 auto; align-items: start; }
.article-layout .prose { max-width: none; }
.article-layout .prose > section:first-child { padding-top: 0; }
.article-layout .prose .lede { font-size: 19px; color: var(--slate-700); line-height: 1.7; }
.article-layout .prose blockquote {
  border-left: 3px solid var(--indigo-500); padding: 6px 0 6px 24px; margin: 26px 0;
  font-size: 21px; line-height: 1.5; color: var(--slate-800); font-weight: 500; letter-spacing: -0.01em;
}
.article-layout .prose figure.callout {
  background: var(--grad-soft); border: 1px solid var(--indigo-100); border-radius: var(--radius-lg);
  padding: 24px 28px; margin: 28px 0; display: flex; gap: 16px; align-items: flex-start;
}
.article-layout .prose figure.callout .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--indigo-600); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.article-layout .prose figure.callout .ic svg { width: 20px; height: 20px; }
.article-layout .prose figure.callout p { margin: 0; font-size: 15.5px; color: var(--slate-700); }
.article-layout .prose figure.callout strong { color: var(--slate-900); }

/* Article sidebar (sticky share + progress) */
.article-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.aside-block .lbl { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 12px; }
.share-row { display: flex; gap: 8px; }
.share-row a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--slate-200); display: grid; place-items: center; color: var(--slate-500); transition: all .15s var(--ease); }
.share-row a:hover { color: var(--indigo-600); border-color: var(--indigo-200); background: var(--indigo-50); }
.aside-toc { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--slate-200); padding-top: 20px; }
.aside-toc a { font-size: 13.5px; color: var(--slate-500); padding: 6px 10px; border-radius: 8px; border-left: 2px solid transparent; transition: all .15s; line-height: 1.4; }
.aside-toc a:hover { background: var(--slate-100); color: var(--slate-900); }
.aside-toc a.active { color: var(--indigo-700); background: var(--indigo-50); border-left-color: var(--indigo-600); }

/* Author bio card */
.author-card { max-width: 720px; margin: 0 auto; display: flex; gap: 20px; align-items: center; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 28px; }
.author-card .ava { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 22px; flex-shrink: 0; }
.author-card .lbl { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--indigo-600); }
.author-card h4 { font-size: 18px; margin: 4px 0 6px; }
.author-card p { font-size: 14.5px; color: var(--slate-500); line-height: 1.55; }

/* Related posts */
.related { background: var(--slate-50); border-top: 1px solid var(--slate-100); }
.related h2 { font-size: 26px; letter-spacing: -0.025em; margin-bottom: 28px; }

/* ============================================================
   ABOUT (O nas)
   ============================================================ */
.about-hero { padding: 132px 0 0; text-align: center; position: relative; overflow: hidden; }
.about-hero .hero-bg { position: absolute; inset: 0; z-index: -1; }
.about-hero .hero-bg::before { content: ""; position: absolute; top: -240px; left: 50%; transform: translateX(-50%); width: 1000px; height: 600px; background: radial-gradient(ellipse at center, rgba(124,58,237,.14), rgba(79,70,229,.07) 42%, transparent 70%); }
.about-hero .head { max-width: 760px; margin: 0 auto; }
.about-hero h1 { font-size: clamp(36px, 5.4vw, 60px); letter-spacing: -0.038em; line-height: 1.06; margin: 18px 0 18px; text-wrap: balance; }
.about-hero h1 .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.about-hero p.lead { font-size: 20px; color: var(--slate-500); text-wrap: pretty; max-width: 600px; margin: 0 auto; }

/* Stats band */
.about-stats { padding: 56px 0; }
.about-stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; border: 1px solid var(--slate-200); border-radius: var(--radius-xl); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.about-stats .cell { padding: 34px 24px; text-align: center; border-right: 1px solid var(--slate-100); }
.about-stats .cell:last-child { border-right: none; }
.about-stats .num { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.about-stats .lbl { font-size: 14.5px; color: var(--slate-500); margin-top: 6px; }

/* Story split */
.story { padding: 80px 0; }
.story-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.story-split .copy h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.03em; margin-bottom: 20px; }
.story-split .copy p { font-size: 17px; color: var(--slate-600); line-height: 1.7; margin-bottom: 16px; text-wrap: pretty; }
.story-split .copy p strong { color: var(--slate-900); font-weight: 600; }
.story-media { position: relative; }
.story-media .shot { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--slate-200); }
.story-media .shot img { display: block; width: 100%; }
.story-media .float { position: absolute; bottom: -24px; left: -24px; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 16px 20px; display: flex; align-items: center; gap: 13px; }
.story-media .float .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--success-bg); color: var(--success); display: grid; place-items: center; }
.story-media .float .ic svg { width: 21px; height: 21px; }
.story-media .float .n { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.story-media .float .d { font-size: 12.5px; color: var(--slate-500); }

/* Values */
.values { padding: 80px 0; background: var(--slate-50); border-top: 1px solid var(--slate-100); border-bottom: 1px solid var(--slate-100); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.value-card .v-ic { width: 50px; height: 50px; border-radius: 13px; background: var(--indigo-50); color: var(--indigo-600); display: grid; place-items: center; margin-bottom: 18px; }
.value-card .v-ic svg { width: 25px; height: 25px; }
.value-card h3 { font-size: 19px; margin-bottom: 9px; letter-spacing: -0.01em; }
.value-card p { font-size: 15px; color: var(--slate-500); line-height: 1.6; text-wrap: pretty; }

/* Team */
.team { padding: 80px 0; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member { text-align: center; }
.member .photo { width: 100%; aspect-ratio: 1; border-radius: var(--radius-lg); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 38px; letter-spacing: -0.02em; margin-bottom: 16px; overflow: hidden; }
.member h4 { font-size: 17px; letter-spacing: -0.01em; }
.member .role { font-size: 14px; color: var(--indigo-600); font-weight: 500; margin-top: 2px; }

@media (max-width: 920px) {
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article-aside { position: static; flex-direction: row; flex-wrap: wrap; gap: 28px; border-top: 1px solid var(--slate-200); padding-top: 24px; }
  .aside-toc { display: none; }
  .story-split { grid-template-columns: 1fr; gap: 40px; }
  .story-media { order: 2; }
  .about-stats .grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats .cell:nth-child(2) { border-right: none; }
  .about-stats .cell:nth-child(1), .about-stats .cell:nth-child(2) { border-bottom: 1px solid var(--slate-100); }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .article-cover { height: 240px; }
  .about-stats .grid { grid-template-columns: 1fr; }
  .about-stats .cell { border-right: none; border-bottom: 1px solid var(--slate-100); }
  .about-stats .cell:last-child { border-bottom: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .story-media .float { left: 12px; bottom: -18px; }
}
