/* =========================================================
   Futuro Digital — Blog de IA
   Design system: Dark futurista (neón ciano → violeta)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --bg: #07080d;
  --bg-2: #0b0d16;
  --surface: #11131e;
  --surface-2: #161a28;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #eef2ff;
  --text-soft: #aeb6cf;
  --text-mute: #6b7393;

  /* Accents */
  --cyan: #22d3ee;
  --violet: #a855f7;
  --teal: #2dd4bf;
  --accent: var(--cyan);
  --grad: linear-gradient(120deg, var(--cyan), var(--violet));
  --grad-soft: linear-gradient(120deg, rgba(34, 211, 238, 0.18), rgba(168, 85, 247, 0.18));

  /* Glow */
  --glow-cyan: 0 0 0 1px rgba(34, 211, 238, 0.35), 0 8px 40px -8px rgba(34, 211, 238, 0.45);
  --glow-violet: 0 0 0 1px rgba(168, 85, 247, 0.35), 0 8px 40px -8px rgba(168, 85, 247, 0.4);

  /* Shadows / elevation */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 30px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-full: 999px;

  /* Spacing rhythm (4/8) */
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  /* Type scale */
  --fz-xs: 0.78rem;
  --fz-sm: 0.875rem;
  --fz-base: 1rem;
  --fz-lg: 1.125rem;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 240ms;

  /* z-index scale */
  --z-nav: 100;
  --z-overlay: 200;
  --z-progress: 300;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: var(--fz-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100dvh;
}

/* Ambient background glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 80% -10%, rgba(168, 85, 247, 0.14), transparent 60%),
    radial-gradient(50% 50% at 0% 0%, rgba(34, 211, 238, 0.12), transparent 55%),
    var(--bg);
}
/* Subtle grid texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  pointer-events: none;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.display {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
.eyebrow {
  font-size: var(--fz-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede { color: var(--text-soft); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 60ch; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section-head { max-width: 64ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .h2 { margin-top: 0.6rem; }
.stack-sm > * + * { margin-top: 0.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.7rem 1.3rem;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: var(--fz-sm);
  letter-spacing: 0.01em;
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: var(--grad);
  color: #07080d;
  box-shadow: 0 10px 30px -10px rgba(34, 211, 238, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(168, 85, 247, 0.65); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(34, 211, 238, 0.5); background: rgba(34, 211, 238, 0.06); }
.btn .ico { width: 18px; height: 18px; }

/* ---------- Chips / tags ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-full);
  font-size: var(--fz-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
}
.tag {
  display: inline-block;
  font-size: var(--fz-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), backdrop-filter var(--dur);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 8, 13, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 70px;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad);
  display: grid; place-items: center;
  box-shadow: 0 6px 20px -6px rgba(34, 211, 238, 0.7);
  flex: none;
}
.brand-mark svg { width: 20px; height: 20px; color: #07080d; }
.brand b { color: var(--text); }
.brand span { color: var(--cyan); }
.brand-logo { height: 38px; width: auto; display: block; }
.footer .brand-logo { height: 42px; }
.mobile-menu .brand-logo { height: 34px; }

.nav-links { display: flex; align-items: center; gap: 0.4rem; }
.nav-links a {
  position: relative;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-sm);
  font-size: var(--fz-sm);
  font-weight: 500;
  color: var(--text-soft);
  transition: color var(--dur) var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.32rem; height: 2px;
  background: var(--grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(2rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 8vw, 6rem); overflow: hidden; }
.hero-orbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55;
  will-change: transform;
}
.orb.a { width: 420px; height: 420px; background: radial-gradient(circle, var(--cyan), transparent 70%); top: -120px; left: -80px; animation: float1 14s var(--ease-in-out) infinite; }
.orb.b { width: 480px; height: 480px; background: radial-gradient(circle, var(--violet), transparent 70%); top: -60px; right: -120px; animation: float2 18s var(--ease-in-out) infinite; }
.orb.c { width: 300px; height: 300px; background: radial-gradient(circle, var(--teal), transparent 70%); bottom: -140px; left: 40%; opacity: 0.35; animation: float1 20s var(--ease-in-out) infinite reverse; }

@keyframes float1 { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(40px,30px,0); } }
@keyframes float2 { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(-50px,40px,0); } }

.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: center; }
.hero-copy { max-width: 46rem; }
.hero h1 { margin: 1rem 0 1.2rem; }
.hero .lede { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.stat .num { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
.stat .lbl { font-size: var(--fz-sm); color: var(--text-mute); }

/* Floating hero visual card */
.hero-visual { position: relative; }
.glass-card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  padding: 1.4rem;
  overflow: hidden;
}
.glass-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(34,211,238,0.5), transparent 40%, rgba(168,85,247,0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.code-line { display: flex; gap: 0.6rem; font-family: "Space Grotesk", monospace; font-size: var(--fz-sm); padding: 0.3rem 0; color: var(--text-soft); }
.code-line .k { color: var(--cyan); }
.code-line .v { color: var(--violet); }
.pulse-row { display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(45,212,191,0.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(45,212,191,0.6);} 70% { box-shadow: 0 0 0 12px rgba(45,212,191,0);} 100% { box-shadow: 0 0 0 0 rgba(45,212,191,0);} }

/* ---------- Marquee / ticker ---------- */
.ticker { border-block: 1px solid var(--border); padding-block: 1rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 3rem; width: max-content; animation: marquee 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text-mute); font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }
.ticker-item svg { width: 18px; height: 18px; color: var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Article cards ---------- */
.grid { display: grid; gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
  will-change: transform;
}
.card:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, 0.4); box-shadow: var(--shadow-md), 0 0 40px -16px rgba(34, 211, 238, 0.5); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card-media .ph { position: absolute; inset: 0; }
.card-media .tag { position: absolute; top: 0.85rem; left: 0.85rem; z-index: 2; background: rgba(7,8,13,0.7); backdrop-filter: blur(6px); padding: 0.3rem 0.7rem; border-radius: var(--r-full); border: 1px solid var(--border-strong); }
.card-body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.2rem 1.3rem 1.4rem; flex: 1; }
.card-title { font-size: var(--fz-lg); font-weight: 600; line-height: 1.25; }
.card:hover .card-title { color: #fff; }
.card-excerpt { color: var(--text-soft); font-size: var(--fz-sm); flex: 1; }
.card-meta { display: flex; align-items: center; gap: 0.7rem; font-size: var(--fz-xs); color: var(--text-mute); margin-top: 0.4rem; }
.card-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-mute); }

/* Imagens de capa dentro de cartões (preenchem o contentor, zero CLS) */
.card-img, .featured-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur) var(--ease-out); }
.card:hover .card-img { transform: scale(1.05); }
.featured:hover .featured-img { transform: scale(1.03); }

/* Placeholder gradients (no external images, zero CLS) */
.ph { background: var(--grad-soft); position: relative; }
.ph::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px); background-size: 18px 18px; opacity: 0.5; }
.ph-1 { background: linear-gradient(140deg, rgba(34,211,238,0.35), rgba(168,85,247,0.2)); }
.ph-2 { background: linear-gradient(140deg, rgba(168,85,247,0.35), rgba(45,212,191,0.18)); }
.ph-3 { background: linear-gradient(140deg, rgba(45,212,191,0.3), rgba(34,211,238,0.18)); }
.ph-4 { background: linear-gradient(140deg, rgba(168,85,247,0.3), rgba(34,211,238,0.25)); }
.ph-glyph { position: absolute; inset: 0; display: grid; place-items: center; }
.ph-glyph svg { width: 30%; max-width: 90px; color: rgba(255,255,255,0.22); }

/* ---------- Featured (large) article ---------- */
.featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.featured:hover { border-color: rgba(168,85,247,0.4); box-shadow: 0 0 60px -24px rgba(168,85,247,0.5); }
.featured-media { position: relative; min-height: 320px; }
.featured-body { padding: clamp(1.6rem, 3vw, 2.6rem); display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.featured-body h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.featured-body .read-more { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--cyan); font-weight: 600; font-size: var(--fz-sm); }
.featured-body .read-more svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
.featured:hover .read-more svg { transform: translateX(4px); }

/* ---------- Categories bento ---------- */
.bento { display: grid; gap: 1.2rem; grid-template-columns: repeat(4, 1fr); }
.cat-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-md); border: 1px solid var(--border);
  background: var(--surface); padding: 1.6rem;
  min-height: 180px; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.cat-card .glow { position: absolute; width: 160px; height: 160px; border-radius: 50%; filter: blur(50px); opacity: 0; transition: opacity var(--dur); top: -40px; right: -40px; }
.cat-card:hover .glow { opacity: 0.5; }
.cat-card .cat-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--border-strong); background: rgba(255,255,255,0.03); }
.cat-card .cat-ico svg { width: 24px; height: 24px; color: var(--cyan); }
.cat-card h4 { font-size: 1.15rem; }
.cat-card .count { font-size: var(--fz-xs); color: var(--text-mute); }
.cat-card.span-2 { grid-column: span 2; }

/* ---------- Newsletter ---------- */
.newsletter {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--border-strong);
  background: linear-gradient(140deg, rgba(34,211,238,0.08), rgba(168,85,247,0.08));
  padding: clamp(2rem, 5vw, 4rem); text-align: center;
}
.newsletter .orb { position: absolute; }
.newsletter-form { display: flex; gap: 0.6rem; max-width: 460px; margin: 1.8rem auto 0; flex-wrap: wrap; }
.field {
  flex: 1; min-width: 220px; min-height: 48px;
  padding: 0.75rem 1.1rem; border-radius: var(--r-full);
  background: rgba(7,8,13,0.6); border: 1px solid var(--border-strong); color: var(--text);
  transition: border-color var(--dur);
}
.field::placeholder { color: var(--text-mute); }
.field:focus { outline: none; border-color: var(--cyan); }
.form-note { font-size: var(--fz-xs); color: var(--text-mute); margin-top: 0.9rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.footer h5 { font-size: var(--fz-sm); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 1rem; }
.footer-links a { display: block; padding: 0.3rem 0; color: var(--text-soft); font-size: var(--fz-sm); transition: color var(--dur); }
.footer-links a:hover { color: var(--cyan); }
.footer-about p { color: var(--text-soft); font-size: var(--fz-sm); max-width: 34ch; margin-top: 1rem; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,0.03); transition: transform var(--dur), border-color var(--dur), color var(--dur); }
.socials a:hover { transform: translateY(-3px); border-color: var(--cyan); color: var(--cyan); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--text-mute); font-size: var(--fz-xs); }

/* ---------- Reading progress (article) ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: var(--z-progress); background: transparent; }
.progress-bar { height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px rgba(34,211,238,0.6); transform-origin: left; }

/* ---------- Article page ---------- */
.article-hero { padding-top: clamp(2rem, 5vw, 3.5rem); }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: var(--fz-sm); color: var(--text-mute); margin-bottom: 1.4rem; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.6; }
.article-title { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 20ch; margin: 0.6rem 0 1.4rem; }
.byline { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; color: var(--text-soft); font-size: var(--fz-sm); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); flex: none; display: grid; place-items: center; font-weight: 700; color: #07080d; }
.byline .meta-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--text-mute); }
.cover { aspect-ratio: 21 / 9; border-radius: var(--r-lg); overflow: hidden; margin-block: clamp(2rem, 4vw, 3rem); border: 1px solid var(--border); }

.prose { max-width: 70ch; margin-inline: auto; }
.prose > * + * { margin-top: 1.4rem; }
.prose p { color: var(--text-soft); font-size: 1.08rem; line-height: 1.8; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.6rem; }
.prose h3 { font-size: 1.35rem; margin-top: 2rem; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose ul.bullets { display: grid; gap: 0.7rem; padding-left: 0; }
.prose ul.bullets li { position: relative; padding-left: 1.6rem; color: var(--text-soft); }
.prose ul.bullets li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.prose blockquote {
  border-left: 3px solid var(--cyan); padding: 0.4rem 0 0.4rem 1.4rem; margin-inline: 0;
  font-size: 1.2rem; font-style: italic; color: var(--text);
}
.prose pre {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 1.2rem 1.4rem; overflow-x: auto; font-family: "Space Grotesk", monospace; font-size: var(--fz-sm); line-height: 1.7;
}
.prose pre .k { color: var(--cyan); } .prose pre .v { color: var(--violet); } .prose pre .c { color: var(--text-mute); }
.prose figure img, .prose .ph { border-radius: var(--r-md); }
/* Caixas de exemplo de prompt (mau vs bom) */
.pbox { border: 1px solid var(--border); border-radius: var(--r-md); padding: 1rem 1.2rem; font-size: 1rem; line-height: 1.6; color: var(--text-soft); }
.pbox + .pbox { margin-top: 0.8rem; }
.pbox .pbox-label { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 0.5rem; }
.pbox.bad { border-color: rgba(248,113,113,0.4); background: rgba(248,113,113,0.05); }
.pbox.bad .pbox-label { color: #f87171; }
.pbox.good { border-color: rgba(45,212,191,0.45); background: rgba(45,212,191,0.06); }
.pbox.good .pbox-label { color: var(--teal); }
.pbox em { font-style: normal; color: var(--text); }
.prose figcaption { font-size: var(--fz-sm); color: var(--text-mute); text-align: center; margin-top: 0.7rem; }
.article-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; max-width: 70ch; margin: 3rem auto 0; }

.author-card {
  max-width: 70ch; margin: 3rem auto 0; display: flex; gap: 1.2rem; align-items: center;
  padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface);
}
.author-card .avatar { width: 60px; height: 60px; font-size: 1.2rem; }
.author-card h4 { font-size: 1.1rem; }
.author-card p { color: var(--text-soft); font-size: var(--fz-sm); }

/* ---------- Page header (category/about) ---------- */
.page-head { position: relative; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2rem, 4vw, 3rem); overflow: hidden; }
.filter-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.filter-chip { padding: 0.5rem 1rem; border-radius: var(--r-full); border: 1px solid var(--border-strong); background: rgba(255,255,255,0.03); color: var(--text-soft); font-size: var(--fz-sm); font-weight: 600; transition: all var(--dur) var(--ease-out); }
.filter-chip:hover { color: var(--text); border-color: rgba(34,211,238,0.5); }
.filter-chip.active { background: var(--grad); color: #07080d; border-color: transparent; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 0.4rem; margin-top: 3rem; }
.page-btn { min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--border); color: var(--text-soft); font-weight: 600; transition: all var(--dur); }
.page-btn:hover { border-color: var(--cyan); color: var(--text); }
.page-btn.active { background: var(--grad); color: #07080d; border-color: transparent; }

/* ---------- About specifics ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.value {
  padding: 1.6rem; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur);
}
.value:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.value .v-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); margin-bottom: 1rem; }
.value .v-ico svg { width: 24px; height: 24px; color: var(--cyan); }
.value h4 { margin-bottom: 0.5rem; }
.value p { color: var(--text-soft); font-size: var(--fz-sm); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.member { text-align: center; padding: 1.6rem; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); transition: transform var(--dur), border-color var(--dur); }
.member:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.member .avatar { width: 72px; height: 72px; margin: 0 auto 1rem; font-size: 1.4rem; }
.member h4 { font-size: 1.05rem; }
.member .role { color: var(--cyan); font-size: var(--fz-sm); }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.06s; }
[data-reveal][data-delay="2"] { transition-delay: 0.12s; }
[data-reveal][data-delay="3"] { transition-delay: 0.18s; }
[data-reveal][data-delay="4"] { transition-delay: 0.24s; }
[data-reveal][data-delay="5"] { transition-delay: 0.30s; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  background: rgba(7, 8, 13, 0.96); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; padding: 1.2rem var(--gutter);
  transform: translateX(100%); transition: transform 0.4s var(--ease-out);
  visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 2rem; }
.mobile-menu nav a { font-family: "Space Grotesk", sans-serif; font-size: 1.6rem; font-weight: 600; padding: 0.8rem 0; border-bottom: 1px solid var(--border); color: var(--text); }
.mobile-menu nav a:active { color: var(--cyan); }
.mobile-menu .btn { margin-top: 2rem; justify-content: center; }

/* ---------- Responsive ---------- */
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .featured { grid-template-columns: 1fr; }
  .featured-media { min-height: 220px; }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .cat-card.span-2 { grid-column: span 1; }
  .hero-stats { gap: 1.5rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .orb { animation: none !important; }
  .ticker-track { animation: none !important; }
}
