/* =========================================
   NORTE FINANCEIRO — style.css
   Paleta: Navy #0D1B2A / #1B3A5C | Dourado #C9A84C
   ========================================= */

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

:root {
  --navy-dark:  #0D1B2A;
  --navy-mid:   #1B3A5C;
  --gold:       #C9A84C;
  --gold-light: #E8C96A;
  --white:      #FFFFFF;
  --off-white:  #F5F5F0;
  --gray:       #9BA4B0;
  --text:       #1A1A2E;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* UTILS */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.section { padding: 80px 0; }

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}
.logo img { height: 40px; width: 40px; object-fit: cover; border-radius: 50%; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav a:hover, .nav a.active { color: var(--gold); }
.btn-nav {
  background: var(--gold);
  color: var(--navy-dark) !important;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--gold-light) !important; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--navy-dark);
  padding: 12px 24px 20px;
  gap: 16px;
}
.nav-mobile a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}
.nav-mobile.open { display: flex; }

/* HERO */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,27,42,0.92) 50%, rgba(13,27,42,0.5));
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding-top: 80px;
  padding-bottom: 80px;
}
.hero-tag {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* BUTTONS */
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: border-color 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1.5px solid var(--gold);
  transition: background 0.2s, color 0.2s;
  display: inline-block;
  margin-top: 32px;
}
.btn-outline:hover { background: var(--gold); color: var(--navy-dark); }

/* SECTION TITLES */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy-dark);
  margin-bottom: 12px;
}
.section-sub {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 48px;
}

/* PILLARS */
.pillars { background: var(--off-white); }
.pillars .section-title, .pillars .section-sub { text-align: center; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 24px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.card-icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy-dark);
  margin-bottom: 10px;
}
.card p { color: #555; font-size: 0.95rem; }

/* PLANILHA CTA */
.planilha-cta { background: var(--navy-dark); }
.planilha-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.planilha-text .section-title { color: var(--white); }
.planilha-text p { color: rgba(255,255,255,0.75); margin-bottom: 24px; }
.badge {
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
}
.check-list {
  list-style: none;
  margin-bottom: 32px;
}
.check-list li {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  padding: 6px 0;
}
.planilha-img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* YOUTUBE */
.youtube-section { background: var(--white); }
.youtube-section .section-title { color: var(--navy-dark); }
.video-placeholder { margin: 0 auto 16px; max-width: 640px; }
.video-thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.video-thumb img { width: 100%; display: block; }
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold);
  color: var(--navy-dark);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  padding-left: 4px;
}
.play-btn:hover { background: var(--gold-light); transform: translate(-50%, -50%) scale(1.08); }
.video-title {
  margin-top: 14px;
  font-size: 1rem;
  color: var(--navy-dark);
  font-weight: 600;
}

/* FOOTER */
.footer { background: var(--navy-dark); padding: 60px 0 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 56px; margin-bottom: 12px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.85rem; max-width: 260px; }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* PAGES INTERNAS */
.page-hero {
  background: var(--navy-dark);
  padding: 80px 0 60px;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1rem; }
.gold-line {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 16px auto 0;
  border-radius: 2px;
}
.page-content { padding: 72px 0; }
.page-content h2 {
  font-family: 'Playfair Display', serif;
  color: var(--navy-dark);
  font-size: 1.5rem;
  margin: 40px 0 12px;
}
.page-content h2:first-child { margin-top: 0; }
.page-content p { color: #444; margin-bottom: 16px; line-height: 1.75; }

/* PLANILHA PAGE */
.download-box {
  background: var(--navy-dark);
  border-radius: 10px;
  padding: 48px;
  text-align: center;
  margin: 48px 0;
}
.download-box h2 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.download-box p { color: rgba(255,255,255,0.7); margin-bottom: 28px; }

/* BLOG PAGE */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.blog-card {
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.blog-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.blog-card-body { padding: 24px; }
.blog-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.blog-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy-dark);
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card p { color: #666; font-size: 0.9rem; margin-bottom: 16px; }
.blog-card a {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
}
.coming-soon {
  text-align: center;
  padding: 60px 0;
  color: var(--gray);
}
.coming-soon h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--navy-mid);
  margin-bottom: 8px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .planilha-inner { grid-template-columns: 1fr; gap: 36px; }
  .planilha-img { order: -1; }
  .hero-content { max-width: 100%; }
  .footer-inner { flex-direction: column; }
  .blog-grid { grid-template-columns: 1fr; }
  .download-box { padding: 32px 24px; }
}
