/* ============================================================
   EDUARDO NUGAS — BLOG SHARED STYLES
   Importado por todos os artigos e pelo index do blog.
   Paleta e tokens idênticos ao site principal.
============================================================ */

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

:root {
  --navy:    #03174a;
  --navy-mid:#041f63;
  --accent:  #35b3cc;
  --accent-2:#1a8fa8;
  --white:   #f5f7fa;
  --muted:   #8a9bbf;
  --text:    #c5d0e8;
  --gold:    #c9a84c;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', Arial, sans-serif;
  --r-sm: 6px; --r-md: 12px; --r-lg: 24px;
  --transition: 0.35s cubic-bezier(.4,0,.2,1);
}

@font-face {
  font-family: 'DM Sans Fallback';
  src: local('Arial');
  ascent-override: 94%; descent-override: 24%;
  line-gap-override: 0%; size-adjust: 104%;
}
@font-face {
  font-family: 'Playfair Fallback';
  src: local('Georgia');
  ascent-override: 88%; descent-override: 22%;
  line-gap-override: 0%; size-adjust: 112%;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.3;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ---- HEADER ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding: 18px 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(3,23,74,0.85);
  border-bottom: 1px solid rgba(53,179,204,0.1);
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--white);
}
.logo span { color: var(--accent); }

.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a {
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.05em; color: var(--muted);
  transition: color var(--transition);
}
.header-nav a:hover, .header-nav a.active { color: var(--accent); }
.header-cta {
  background: var(--accent); color: var(--navy) !important;
  font-weight: 500 !important;
  padding: 8px 18px; border-radius: var(--r-sm);
  transition: background var(--transition), transform var(--transition) !important;
}
.header-cta:hover { background: var(--accent-2) !important; transform: translateY(-1px); }

/* ---- CONTAINER ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---- FOOTER ---- */
.site-footer {
  background: rgba(2,12,40,0.95);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 40px 0 28px;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 0.78rem; color: var(--muted); }
.footer-copy a { color: var(--accent); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.78rem; color: var(--muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }

/* ---- WA FLOAT ---- */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 200; }
.wa-btn {
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff;
  font-family: var(--font-body); font-weight: 500; font-size: 0.82rem;
  padding: 12px 20px 12px 16px; border-radius: 50px;
  box-shadow: 0 4px 24px rgba(37,211,102,0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(37,211,102,0.45); }
.wa-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---- TAG / PILL ---- */
.tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(53,179,204,0.3);
  padding: 5px 14px; border-radius: 20px;
}

/* ---- ARTICLE PROSE ---- */
.prose { font-size: 1rem; line-height: 1.85; color: var(--text); }
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--white); font-weight: 700;
  margin: 52px 0 18px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  line-height: 1.2;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; color: var(--white);
  font-weight: 700; margin: 36px 0 12px;
}
.prose p { margin-bottom: 20px; font-weight: 300; color: var(--muted); }
.prose p strong { color: var(--white); font-weight: 500; }
.prose ul, .prose ol {
  padding-left: 0; margin-bottom: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.prose ul li, .prose ol li {
  padding-left: 20px; position: relative;
  font-size: 0.95rem; color: var(--muted); font-weight: 300;
}
.prose ul li::before {
  content: '·'; position: absolute; left: 0;
  color: var(--accent); font-weight: 700; font-size: 1.2rem; line-height: 1.4;
}
.prose ol { counter-reset: ol-counter; }
.prose ol li { counter-increment: ol-counter; }
.prose ol li::before {
  content: counter(ol-counter) '.';
  position: absolute; left: 0;
  color: var(--accent); font-size: 0.8rem; font-weight: 600;
  top: 3px;
}
.prose a { color: var(--accent); border-bottom: 1px solid rgba(53,179,204,0.3); transition: border-color var(--transition); }
.prose a:hover { border-color: var(--accent); }
.prose blockquote {
  border-left: 2px solid var(--accent);
  padding: 16px 24px; margin: 32px 0;
  background: rgba(53,179,204,0.05);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic; color: var(--text);
}
.prose .highlight-box {
  background: rgba(53,179,204,0.07);
  border: 1px solid rgba(53,179,204,0.2);
  border-radius: var(--r-md);
  padding: 24px 28px; margin: 32px 0;
}
.prose .highlight-box p { margin-bottom: 0; color: var(--text); }
.prose .highlight-box strong { color: var(--accent); }

/* ---- CTA INLINE ---- */
.inline-cta {
  background: rgba(53,179,204,0.07);
  border: 1px solid rgba(53,179,204,0.2);
  border-radius: var(--r-lg);
  padding: 40px;
  text-align: center;
  margin: 56px 0;
}
.inline-cta h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; color: var(--white);
  margin-bottom: 10px; font-weight: 700;
}
.inline-cta p { font-size: 0.9rem; color: var(--muted); margin-bottom: 24px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--navy);
  font-family: var(--font-body); font-weight: 500; font-size: 0.9rem;
  padding: 13px 26px; border-radius: var(--r-sm);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--accent-2); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(53,179,204,0.3);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  .header-nav { display: none; }
  .header-nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(3,23,74,0.98);
    padding: 24px; gap: 16px; z-index: 99;
    border-bottom: 1px solid rgba(53,179,204,0.1);
  }
  .hamburger-btn { display: flex; }
  .inline-cta { padding: 28px 20px; }
}

.hamburger-btn {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
