/* ============================================================
   Rafael Plate — estilo das páginas de artigo (áreas de foco)
   Identidade: navy profundo + âmbar + branco quente
   ============================================================ */

:root {
  --ink: #070d18;
  --navy: #0c1626;
  --navy-2: #101c30;
  --amber: #e0a458;
  --amber-soft: #f0c987;
  --terra: #b97f35;
  --cream: #f7f1e7;
  --warm-white: #fbf8f2;
  --text-light: #edf1f7;
  --text-dim: #9daabb;
  --text-dark: #241f18;
  --text-dark-dim: #6b6152;
  --sage-light: #9daabb;
}

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

body.article-page {
  font-family: "Inter", -apple-system, sans-serif;
  background: var(--warm-white);
  color: var(--text-dark);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.serif { font-family: "Playfair Display", "Fraunces", Georgia, serif; }
.mono { font-family: "JetBrains Mono", monospace; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.max-w { width: min(1080px, 92vw); margin: 0 auto; }
::selection { background: var(--amber); color: var(--ink); }

/* ---------- topbar ---------- */
#topbar {
  background: var(--ink);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem clamp(1rem, 4vw, 3rem);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
#topbar .crp span { color: var(--amber-soft); }
#topbar .right { display: flex; align-items: center; gap: 1rem; }
.topbar-socials { display: flex; gap: 0.5rem; }
.tsoc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid rgba(237, 241, 247, 0.18);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.tsoc-ig { color: #e4405f; border-color: rgba(228, 64, 95, 0.5); }
.tsoc-sp { color: #1db954; border-color: rgba(29, 185, 84, 0.5); }
.tsoc-yt { color: #ff0000; border-color: rgba(255, 0, 0, 0.5); }
.tsoc:hover { color: #fff; }
.tsoc-ig:hover { background: #e4405f; border-color: #e4405f; }
.tsoc-sp:hover { background: #1db954; border-color: #1db954; }
.tsoc-yt:hover { background: #ff0000; border-color: #ff0000; }
.cta-top {
  background: var(--amber);
  color: #241703;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  letter-spacing: 0.06em;
  transition: background 0.3s;
}
.cta-top:hover { background: var(--amber-soft); }

/* ---------- navbar ---------- */
#navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  background: rgba(12, 22, 38, 0.97);
  color: var(--text-light);
  transition: box-shadow 0.4s;
}
#navbar.scrolled { box-shadow: 0 8px 30px rgba(7, 13, 24, 0.35); }
.nav-logo { display: flex; align-items: center; gap: 0.7rem; }
.nav-logo-img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(4, 8, 16, 0.55)); }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-name { font-size: 1.05rem; font-weight: 500; }
.nav-logo-tag { font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a {
  font-size: 0.82rem; color: var(--text-dim);
  transition: color 0.3s; position: relative;
}
.nav-links a:hover { color: var(--text-light); }
.nav-cta {
  border: 1px solid rgba(240, 201, 135, 0.5);
  color: var(--amber-soft);
  font-size: 0.8rem; font-weight: 500;
  padding: 0.5rem 1.2rem; border-radius: 100px;
  transition: background 0.3s, color 0.3s;
}
.nav-cta:hover { background: var(--amber); color: #241703; }
.mobile-menu-btn {
  display: none; background: none; border: none; color: var(--text-light); cursor: pointer;
}
#mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-2);
  color: var(--text-light);
  padding: 0.5rem 1.5rem 1.2rem;
}
#mobile-nav.open { display: flex; }
.mob-link { padding: 0.7rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 0.92rem; }
.mobile-cta { color: var(--amber-soft); font-weight: 500; border-bottom: none; }

/* ---------- hero do artigo ---------- */
.article-hero {
  background: linear-gradient(180deg, var(--ink) 0%, var(--navy) 70%, var(--navy-2) 100%);
  color: var(--text-light);
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem);
}
.article-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 2.2rem;
  transition: color 0.3s;
}
.article-back:hover { color: var(--amber-soft); }
.article-label {
  font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1rem;
}
.article-h1 {
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.08;
  margin-bottom: 0.8rem;
}
.article-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-dim);
  font-style: italic;
  font-family: "Playfair Display", Georgia, serif;
}

/* ---------- corpo do artigo ---------- */
.article-body { padding: clamp(3rem, 7vw, 5rem) 0; }
.article-content { max-width: 46rem; }
.article-section { margin-bottom: 2.6rem; }
.article-section-title {
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  margin-bottom: 0.9rem;
  color: var(--text-dark);
}
.article-section-text {
  font-size: 1rem;
  color: #4d443a;
}
.article-cfp-note {
  display: flex; gap: 0.9rem; align-items: flex-start;
  background: #f1e8da;
  border-left: 3px solid var(--amber);
  border-radius: 0 14px 14px 0;
  padding: 1.3rem 1.5rem;
  margin: 3rem 0;
  color: var(--terra);
}
.article-cfp-note svg { flex-shrink: 0; margin-top: 0.15rem; }
.article-cfp-note p { font-size: 0.88rem; color: #4d443a; }

.article-related { margin-top: 3rem; border-top: 1px solid rgba(36, 31, 24, 0.12); padding-top: 1.8rem; }
.article-related-label {
  font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 1rem;
}
.article-related-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.article-related-link {
  font-size: 0.82rem; font-weight: 500;
  border: 1px solid rgba(185, 127, 53, 0.4);
  color: var(--terra);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.article-related-link:hover { background: var(--amber); color: #241703; transform: translateY(-2px); }

/* ---------- CTA + rodapé ---------- */
#cta-section {
  background: radial-gradient(ellipse at 50% 130%, rgba(224, 164, 88, 0.2), transparent 60%), var(--navy);
}
.section-label {
  display: flex;
  font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--amber);
}
#cta-section em { color: var(--amber-soft); }
.btn-cta-final {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: linear-gradient(135deg, var(--amber-soft), var(--amber));
  color: #241703;
  font-weight: 600; font-size: 1rem;
  padding: 1.1rem 2.4rem;
  border-radius: 100px;
  box-shadow: 0 10px 34px rgba(224, 164, 88, 0.35);
  transition: transform 0.4s, box-shadow 0.4s;
}
.btn-cta-final:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(224, 164, 88, 0.5); }

footer {
  background: var(--ink);
  color: var(--text-dim);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.2rem;
}
.footer-brand-name { font-size: 1.3rem; color: var(--text-light); }
.footer-brand-crp { font-size: 0.68rem; letter-spacing: 0.14em; color: var(--amber-soft); margin: 0.3rem 0 0.9rem; }
.footer-brand-desc { font-size: 0.85rem; max-width: 22rem; }
.footer-col h4 {
  font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1rem; font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { font-size: 0.86rem; padding: 0.26rem 0; }
.footer-col a { transition: color 0.3s; }
.footer-col a:hover { color: var(--amber-soft); }
.footer-lgpd p { font-size: 0.78rem; margin-bottom: 0.8rem; }
.footer-lgpd a { color: var(--amber-soft); font-size: 0.85rem; font-weight: 500; }
.footer-bottom {
  margin-top: 2.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  align-items: center; justify-content: space-between;
  font-size: 0.72rem;
}

/* ---------- whatsapp flutuante ---------- */
#wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.4s, box-shadow 0.4s;
}
#wa-float:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 16px 40px rgba(37, 211, 102, 0.55); }

/* ---------- responsivo ---------- */
.hidden-mobile { display: initial; }
@media (max-width: 860px) {
  #topbar .hidden-mobile, .nav-cta.hidden-mobile { display: none; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  #topbar { flex-direction: column; gap: 0.3rem; align-items: flex-start; }
  #wa-float { width: 52px; height: 52px; right: 1rem; bottom: 1rem; }
}
