@import url("/styles/tokens.css");
/* Estilos compartilhados das páginas de post do blog Alento NR1 */
:root {
  --teal: #14D0B8;
  --blue: #1268FB;
  --navy: #0A1445;
  --gradient: linear-gradient(135deg, #1268FB 0%, #14D0B8 100%);
  --gradient-text: linear-gradient(135deg, #1268FB, #14D0B8);
  --gray: #5B6478;
  --gray-light: #F4F8FC;
  --border: rgba(18,104,251,0.12);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Quattrocento Sans', Inter, system-ui, sans-serif;
  background: #F7FAFC; color: var(--navy);
}

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 6vw;
  background: rgba(250,252,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.25rem; font-weight: 700; color: var(--navy);
  letter-spacing: -0.03em; text-decoration: none;
}
.nav-logo span {
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-logo img { width: 47px; height: 40px; display: block; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--gray);
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }

.post-hero { padding: 130px 6vw 40px; max-width: 760px; margin: 0 auto; }
.breadcrumb { font-size: 0.78rem; color: var(--gray); margin-bottom: 20px; }
.breadcrumb a { color: var(--blue); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

.post-meta-top {
  display: flex; gap: 12px; font-size: 0.78rem; color: var(--gray);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px;
}
.post-meta-top .tag { color: var(--blue); font-weight: 600; }

#post-title {
  font-family: 'Quattrocento Sans', Inter, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 18px;
}
#post-excerpt { font-size: 1.1rem; line-height: 1.7; color: var(--gray); margin-bottom: 32px; }

.post-cover-banner {
  height: 280px; background: var(--gradient); border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem; margin-bottom: 48px;
  position: relative; overflow: hidden;
}
.post-cover-banner::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.1), transparent 60%);
}

.post-body {
  max-width: 720px; margin: 0 auto;
  padding: 0 6vw 80px;
  font-size: 1.02rem; line-height: 1.8; color: #1f2a44;
}
.post-body h2 {
  font-family: 'Quattrocento Sans', Inter, system-ui, sans-serif;
  font-size: 1.8rem; color: var(--navy); margin: 40px 0 16px;
  letter-spacing: -0.01em; line-height: 1.25;
}
.post-body h3 {
  font-size: 1.2rem; font-weight: 700; color: var(--navy);
  margin: 32px 0 12px;
}
.post-body p { margin-bottom: 18px; }
.post-body ul, .post-body ol { margin: 0 0 20px 24px; }
.post-body li { margin-bottom: 8px; }
.post-body a { color: var(--blue); font-weight: 600; }
.post-body a:hover { text-decoration: underline; }
.post-body blockquote {
  border-left: 4px solid var(--blue);
  padding: 12px 20px; margin: 24px 0;
  background: var(--gray-light); border-radius: 0 12px 12px 0;
  color: var(--gray); font-style: italic;
}
.post-body code {
  background: var(--gray-light);
  padding: 2px 6px; border-radius: 4px;
  font-size: 0.92em; font-family: 'SF Mono', Menlo, monospace;
}
.post-body pre {
  background: var(--navy); color: white;
  padding: 18px 20px; border-radius: 10px;
  overflow-x: auto; margin: 20px 0; font-size: 0.88rem;
}
.post-body pre code { background: transparent; color: inherit; padding: 0; }
.post-body img { max-width: 100%; border-radius: 12px; margin: 24px 0; }
.post-body hr { border: none; height: 1px; background: var(--border); margin: 40px 0; }

.post-footer {
  max-width: 720px; margin: 40px auto 0;
  padding: 32px 6vw 0; border-top: 1px solid var(--border);
  text-align: center;
}
.post-footer a {
  display: inline-block; margin-top: 16px;
  color: var(--blue); font-weight: 600; text-decoration: none;
  font-size: 0.92rem;
}

.loading-state, .error-state {
  max-width: 720px; margin: 200px auto;
  text-align: center; padding: 0 6vw; color: var(--gray);
}
.error-state h2 {
  font-family: 'Quattrocento Sans', Inter, system-ui, sans-serif;
  font-size: 2rem; color: var(--navy); margin-bottom: 12px;
}
.error-state a {
  display: inline-block; margin-top: 20px;
  color: var(--blue); font-weight: 600; text-decoration: none;
}

footer { background: var(--navy); padding: 60px 6vw 32px; margin-top: 80px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
  gap: 40px; flex-wrap: wrap;
}
.footer-logo { font-size: 1.2rem; font-weight: 700; color: white; margin-bottom: 12px; }
.footer-logo span {
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.footer-desc { font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.78); text-decoration: none; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  max-width: 1100px; margin: 28px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.55); flex-wrap: wrap; gap: 8px;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .post-cover-banner { height: 200px; font-size: 4rem; }
}
