/* ============================================================
   JetLevel Blog — folha de estilo partilhada
   Marca: fundo #000, acento teal #12c7be, Sora (títulos) + Space Grotesk (texto)
   ============================================================ */

:root {
  --jl-bg: #000000;
  --jl-surface: #0a0a0a;
  --jl-card: #0d1114;
  --jl-border: rgba(255, 255, 255, 0.08);
  --jl-accent: #12c7be;
  --jl-accent-soft: rgba(18, 199, 190, 0.12);
  --jl-text: #ffffff;
  --jl-text-muted: rgba(255, 255, 255, 0.68);
  --jl-text-faint: rgba(255, 255, 255, 0.45);
  --jl-font-body: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --jl-font-head: 'Sora', 'Space Grotesk', system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--jl-bg);
  color: var(--jl-text);
  font-family: var(--jl-font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--jl-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- Cabeçalho ---------- */

.jl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--jl-border);
}

.jl-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.jl-logo {
  font-family: var(--jl-font-head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--jl-text);
  text-decoration: none;
}

.jl-logo span {
  color: var(--jl-accent);
}

.jl-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.jl-nav a {
  color: var(--jl-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.jl-nav a:hover {
  color: var(--jl-accent);
}

.jl-btn {
  display: inline-block;
  background: var(--jl-accent);
  color: #000000 !important;
  font-weight: 700;
  font-family: var(--jl-font-body);
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.jl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(18, 199, 190, 0.35);
}

.jl-btn--ghost {
  background: transparent;
  color: var(--jl-accent) !important;
  border: 1px solid var(--jl-accent);
}

/* ---------- Hero / cabeçalho de página ---------- */

.jl-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px 48px;
  text-align: center;
}

.jl-hero .jl-kicker {
  color: var(--jl-accent);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.jl-hero h1 {
  font-family: var(--jl-font-head);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.jl-hero p {
  color: var(--jl-text-muted);
  font-size: 19px;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Grelha de artigos ---------- */

.jl-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.jl-card {
  background: var(--jl-card);
  border: 1px solid var(--jl-border);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none !important;
  color: var(--jl-text);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.jl-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 199, 190, 0.5);
  box-shadow: 0 16px 40px rgba(18, 199, 190, 0.12);
}

.jl-card .jl-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jl-accent);
  background: var(--jl-accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
}

.jl-card h2 {
  font-family: var(--jl-font-head);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}

.jl-card p {
  color: var(--jl-text-muted);
  font-size: 15px;
  flex: 1;
}

.jl-card .jl-meta {
  font-size: 13px;
  color: var(--jl-text-faint);
}

/* ---------- Página de artigo ---------- */

.jl-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}

.jl-breadcrumb {
  font-size: 14px;
  color: var(--jl-text-faint);
  margin-bottom: 28px;
}

.jl-breadcrumb a {
  color: var(--jl-text-muted);
}

.jl-article .jl-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jl-accent);
  background: var(--jl-accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.jl-article h1 {
  font-family: var(--jl-font-head);
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 16px;
}

.jl-article .jl-meta {
  color: var(--jl-text-faint);
  font-size: 14px;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--jl-border);
}

.jl-article h2 {
  font-family: var(--jl-font-head);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin: 44px 0 16px;
}

.jl-article h3 {
  font-family: var(--jl-font-head);
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
}

.jl-article p {
  color: var(--jl-text-muted);
  margin-bottom: 18px;
}

.jl-article p strong,
.jl-article li strong {
  color: var(--jl-text);
}

.jl-article ul,
.jl-article ol {
  color: var(--jl-text-muted);
  margin: 0 0 18px 24px;
}

.jl-article li {
  margin-bottom: 10px;
}

.jl-article blockquote {
  border-left: 3px solid var(--jl-accent);
  background: var(--jl-accent-soft);
  border-radius: 0 14px 14px 0;
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 19px;
  font-style: italic;
  color: var(--jl-text);
}

.jl-article blockquote footer {
  margin-top: 10px;
  font-size: 14px;
  font-style: normal;
  color: var(--jl-text-faint);
}

/* Infográficos dentro do artigo */

.jl-infographic {
  background: var(--jl-card);
  border: 1px solid var(--jl-border);
  border-radius: 18px;
  padding: 28px;
  margin: 32px 0;
  text-align: center;
}

.jl-infographic svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 680px;
  margin: 0 auto;
}

.jl-infographic figcaption {
  margin-top: 16px;
  font-size: 14px;
  color: var(--jl-text-faint);
  font-style: italic;
}

.jl-infographic .ilabel {
  font-family: var(--jl-font-body);
  font-size: 13px;
  font-weight: 600;
  fill: var(--jl-text-muted);
}

.jl-infographic .ititle {
  font-family: var(--jl-font-head);
  font-size: 18px;
  font-weight: 700;
  fill: var(--jl-text);
}

.jl-infographic .ibox {
  fill: var(--jl-surface);
  stroke: var(--jl-accent);
  stroke-width: 1.5;
}

.jl-infographic .iarrow {
  fill: none;
  stroke: var(--jl-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jl-infographic .itext {
  font-family: var(--jl-font-body);
  font-size: 12px;
  font-weight: 500;
  fill: var(--jl-text-muted);
}

.jl-infographic .ihighlight {
  fill: var(--jl-accent);
  font-weight: 700;
}

/* Caixa de CTA dentro do artigo */

.jl-cta-box {
  background: linear-gradient(135deg, rgba(18, 199, 190, 0.14), rgba(18, 199, 190, 0.04));
  border: 1px solid rgba(18, 199, 190, 0.35);
  border-radius: 18px;
  padding: 32px;
  margin: 44px 0;
  text-align: center;
}

.jl-cta-box h2,
.jl-cta-box h3 {
  margin: 0 0 10px;
}

.jl-cta-box p {
  color: var(--jl-text-muted);
  margin-bottom: 22px;
}

/* Artigos relacionados */

.jl-related {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px 72px;
}

.jl-related > h2 {
  font-family: var(--jl-font-head);
  font-size: 26px;
  margin-bottom: 24px;
  text-align: center;
}

/* ---------- Rodapé ---------- */

.jl-footer {
  border-top: 1px solid var(--jl-border);
  background: var(--jl-surface);
}

.jl-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.jl-footer p {
  color: var(--jl-text-faint);
  font-size: 14px;
}

.jl-footer .jl-nav {
  font-size: 14px;
}

/* ---------- Botão flutuante WhatsApp ---------- */

.jl-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jl-whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.jl-whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

@media (max-width: 480px) {
  .jl-whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
}

/* ---------- Responsivo ---------- */

@media (max-width: 640px) {
  .jl-nav a:not(.jl-btn) {
    display: none;
  }

  .jl-hero {
    padding: 56px 20px 36px;
  }

  .jl-article {
    padding: 40px 20px 32px;
  }
}
