/* ═══════════════════════════════════════════════════
   VALMIR PEDROSO — valmirpedroso.com.br
   Design: Luxury Editorial · Azul-marinho + Dourado
   ═══════════════════════════════════════════════════ */

:root {
  --navy:    #1A3A5C;
  --navy2:   #0F2540;
  --navy3:   #162d47;
  --blue:    #1F6BA3;
  --gold:    #C89A0F;
  --gold2:   #e6b412;
  --gold-lt: #FFF8E0;
  --white:   #FFFFFF;
  --off:     #F4F6F9;
  --gray:    #6B7280;
  --dark:    #111827;
  --text:    #1F2937;
  --border:  #E5E7EB;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', sans-serif;

  --radius: 10px;
  --shadow: 0 4px 24px rgba(26,58,92,.12);
  --shadow-lg: 0 12px 48px rgba(26,58,92,.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.gold { color: var(--gold2); }
.light { color: var(--white) !important; }

/* ─── UTILITIES ──────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.bg-white { background: var(--white); }
.bg-dark { background: var(--navy2); color: var(--white); }
.bg-subtle { background: var(--off); }

.section-header { text-align: center; margin-bottom: 52px; }
.section-kicker {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px; display: block;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  color: var(--navy); line-height: 1.2;
}
.bg-dark .section-header h2 { color: var(--white); }
.section-desc { color: var(--gray); max-width: 540px; margin: 12px auto 0; font-size: 15px; }

/* ─── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 4px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  text-decoration: none; cursor: pointer; border: none;
  transition: all .2s ease; letter-spacing: .03em;
}
.btn-gold { background: var(--gold); color: var(--navy2); }
.btn-gold:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,154,15,.4); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.5); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy2); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 15px; }

/* ─── NAVBAR ─────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,37,64,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200,154,15,.2);
  transition: all .3s;
}
.navbar.scrolled { background: rgba(15,37,64,.99); }
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-v {
  width: 40px; height: 40px; background: var(--gold);
  color: var(--navy2); font-family: var(--font-display);
  font-weight: 900; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px; flex-shrink: 0;
}
.logo-v.small { width: 32px; height: 32px; font-size: 16px; }
.logo-text {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  color: var(--white); line-height: 1.1;
  display: flex; flex-direction: column;
}
.logo-text em { font-style: normal; font-size: 10px; font-weight: 400; color: var(--gold); letter-spacing: .06em; font-family: var(--font-body); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8);
  text-decoration: none; padding: 8px 14px; border-radius: 4px;
  letter-spacing: .03em; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important; color: var(--navy2) !important;
  padding: 8px 18px !important; border-radius: 4px;
}
.nav-cta:hover { background: var(--gold2) !important; }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 22px; cursor: pointer; }

/* ─── HERO ───────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--navy2); position: relative; overflow: hidden;
  padding-top: 68px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,154,15,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,154,15,.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 60% 50%, rgba(31,107,163,.25) 0%, transparent 70%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 1fr 400px; gap: 60px;
  align-items: center;
}
.hero-kicker {
  font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px; display: block;
}
.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 62px);
  line-height: 1.1; color: var(--white);
  margin-bottom: 24px; font-weight: 900;
}
.hero-desc {
  font-size: 17px; color: rgba(255,255,255,.7);
  max-width: 460px; line-height: 1.8; margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(200,154,15,.25);
  border-radius: 12px; overflow: hidden;
  backdrop-filter: blur(10px);
  animation: fadeUp .8s ease .2s both;
}
.photo-placeholder {
  height: 260px; background: rgba(255,255,255,.04);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid rgba(200,154,15,.15);
}
.photo-inner {
  text-align: center; color: rgba(255,255,255,.3);
}
.photo-inner p { font-size: 12px; margin-top: 8px; }
.hero-stats {
  display: flex; align-items: center;
  padding: 20px;
}
.stat { flex: 1; text-align: center; }
.stat-n {
  display: block; font-family: var(--font-display);
  font-size: 22px; font-weight: 700; color: var(--gold);
}
.stat-l { font-size: 10px; color: rgba(255,255,255,.5); letter-spacing: .04em; }
.stat-div { width: 1px; height: 36px; background: rgba(255,255,255,.1); }
.hero-badge {
  margin: 0 20px 16px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(200,154,15,.15); border: 1px solid rgba(200,154,15,.3);
  color: var(--gold); font-size: 11px; font-weight: 600;
  padding: 6px 12px; border-radius: 20px; letter-spacing: .04em;
}

/* ─── SERVICE CARDS ──────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  text-decoration: none; color: inherit;
  transition: all .25s; display: block;
  border-top: 3px solid transparent;
}
.service-card:hover {
  border-top-color: var(--gold);
  transform: translateY(-4px); box-shadow: var(--shadow);
}
.card-icon { font-size: 36px; margin-bottom: 16px; }
.service-card h3 {
  font-family: var(--font-display); font-size: 20px;
  color: var(--navy); margin-bottom: 10px;
}
.service-card p { font-size: 14px; color: var(--gray); line-height: 1.7; }
.card-link { display: inline-block; margin-top: 16px; color: var(--gold); font-weight: 600; font-size: 13px; }

/* ─── SOBRE ──────────────────────────────────────── */
.sobre-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.sobre-text h2 { font-family: var(--font-display); font-size: clamp(24px, 3.5vw, 34px); margin-bottom: 20px; }
.sobre-text p { color: rgba(255,255,255,.75); font-size: 15px; margin-bottom: 14px; line-height: 1.8; }
.sobre-numeros { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.numero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(200,154,15,.2);
  border-radius: var(--radius); padding: 24px;
  text-align: center;
}
.numero-card span {
  display: block; font-family: var(--font-display);
  font-size: 32px; font-weight: 700; color: var(--gold);
  line-height: 1;
}
.numero-card p { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 6px; }

/* ─── LIVRO DESTAQUE ─────────────────────────────── */
.livro-destaque { display: grid; grid-template-columns: 340px 1fr; gap: 60px; align-items: center; }
.capa-mock {
  background: var(--navy2); border-radius: 8px;
  padding: 40px 32px; text-align: center;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(200,154,15,.3);
  position: relative;
}
.capa-mock::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 8px;
  background: var(--gold); border-radius: 8px 0 0 8px;
}
.capa-topo { font-size: 9px; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.capa-titulo {
  font-family: var(--font-display); font-size: 22px; font-weight: 900;
  color: var(--white); line-height: 1.2; margin-bottom: 14px;
}
.capa-sub { font-size: 13px; color: var(--gold); margin-bottom: 30px; font-style: italic; }
.capa-autor { font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: .08em; border-top: 1px solid rgba(200,154,15,.2); padding-top: 16px; }
.livro-info h2 { font-family: var(--font-display); font-size: clamp(24px, 3.5vw, 32px); color: var(--navy); margin-bottom: 14px; }
.livro-info > p { color: var(--gray); font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
.livro-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 28px; }
.livro-features li { font-size: 14px; color: var(--text); }

/* ─── AULAS PREVIEW ──────────────────────────────── */
.aulas-preview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aula-mini {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 16px;
  text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px; font-weight: 600;
  transition: all .2s;
  border-top: 3px solid transparent;
}
.aula-mini:hover, .aula-mini.active-card {
  border-top-color: var(--gold);
  box-shadow: var(--shadow);
}
.aula-num {
  font-family: var(--font-display); font-size: 24px; font-weight: 900;
  color: var(--navy); opacity: .25; display: block; line-height: 1;
}

/* ─── CTA SECTION ────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  padding: 64px 0;
  border-top: 3px solid var(--gold);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-inner h2 { font-family: var(--font-display); font-size: 28px; color: var(--white); }
.cta-inner p { color: rgba(255,255,255,.65); margin-top: 6px; }

/* ─── FOOTER ─────────────────────────────────────── */
.footer {
  background: var(--navy2);
  border-top: 1px solid rgba(200,154,15,.15);
  padding: 48px 0 0;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap; padding-bottom: 40px;
}
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand strong { display: block; color: var(--white); font-size: 15px; margin-bottom: 4px; }
.footer-brand p { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.55); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: var(--white);
  padding: 10px 18px; border-radius: 4px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: all .2s;
}
.footer-wa:hover { background: #20ba58; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 16px 24px; text-align: center;
}
.footer-copy p { font-size: 11px; color: rgba(255,255,255,.3); }

/* ─── PAGE HERO (inner pages) ────────────────────── */
.page-hero {
  background: var(--navy2); padding: 120px 0 60px;
  border-bottom: 1px solid rgba(200,154,15,.2);
}
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(30px, 5vw, 48px);
  color: var(--white); margin: 10px 0 14px;
}
.page-hero p { color: rgba(255,255,255,.65); font-size: 16px; max-width: 560px; }

/* ─── SERVIÇOS PAGE ──────────────────────────────── */
.servicos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.servico-detalhe {
  background: var(--off); border-radius: var(--radius);
  padding: 36px 32px; border-top: 4px solid var(--gold);
}
.servico-detalhe h3 { font-family: var(--font-display); font-size: 22px; color: var(--navy); margin: 8px 0 14px; font-size: 20px; }
.servico-detalhe p { font-size: 14px; color: var(--gray); line-height: 1.8; margin-bottom: 16px; }
.servico-detalhe ul { padding-left: 18px; }
.servico-detalhe li { font-size: 13px; color: var(--text); margin-bottom: 4px; }

/* ─── LIVROS PAGE ────────────────────────────────── */
.livro-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 48px;
  background: var(--off); border-radius: var(--radius);
  padding: 40px; margin-bottom: 32px; align-items: center;
  border: 1px solid var(--border);
}
.preco-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 20px; margin-top: 20px;
}
.preco { font-family: var(--font-display); font-size: 36px; font-weight: 900; color: var(--navy); }
.preco span { font-size: 16px; font-weight: 400; color: var(--gray); }

/* ─── AULAS PAGE ─────────────────────────────────── */
.aulas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aula-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: all .25s; display: block;
}
.aula-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.aula-card-header {
  background: var(--navy); padding: 20px;
  display: flex; align-items: center; gap: 12px;
}
.aula-cap { font-family: var(--font-display); font-size: 28px; font-weight: 900; color: var(--gold); line-height: 1; }
.aula-card-title { font-size: 13px; font-weight: 600; color: var(--white); }
.aula-card-body { padding: 18px; }
.aula-card-body p { font-size: 13px; color: var(--gray); line-height: 1.6; }
.aula-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.tag {
  font-size: 10px; font-weight: 600; background: var(--off);
  color: var(--navy); padding: 3px 8px; border-radius: 10px;
}

/* ─── BLOG PAGE ──────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.blog-post {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 24px;
  transition: box-shadow .2s;
}
.blog-post:hover { box-shadow: var(--shadow); }
.post-body { padding: 24px; }
.post-cat { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; display: block; }
.post-title { font-family: var(--font-display); font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.post-excerpt { font-size: 13px; color: var(--gray); line-height: 1.7; }
.post-meta { font-size: 11px; color: var(--gray); margin-top: 14px; }
.sidebar-card {
  background: var(--navy); border-radius: var(--radius);
  padding: 24px; margin-bottom: 20px;
}
.sidebar-card h4 { font-family: var(--font-display); font-size: 16px; color: var(--white); margin-bottom: 12px; }
.sidebar-card ul { list-style: none; }
.sidebar-card li { border-bottom: 1px solid rgba(255,255,255,.1); padding: 8px 0; }
.sidebar-card a { font-size: 13px; color: rgba(255,255,255,.7); text-decoration: none; }
.sidebar-card a:hover { color: var(--gold); }

/* ─── WA FLOAT ───────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  background: #25D366; color: var(--white);
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  text-decoration: none; transition: all .25s;
}
.wa-float:hover { background: #20ba58; transform: scale(1.1); }

/* ─── ANIMATIONS ─────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeUp .6s ease both; }
.fade-in-2 { animation: fadeUp .6s ease .15s both; }
.fade-in-3 { animation: fadeUp .6s ease .3s both; }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .sobre-grid { grid-template-columns: 1fr; }
  .livro-destaque { grid-template-columns: 1fr; }
  .livro-card { grid-template-columns: 1fr; }
  .servicos-grid { grid-template-columns: 1fr; }
  .aulas-grid { grid-template-columns: 1fr 1fr; }
  .aulas-preview { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--navy2); padding: 16px;
    border-bottom: 1px solid rgba(200,154,15,.2);
  }
  .nav-links.open { display: flex; }
  .livro-features { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .aulas-grid { grid-template-columns: 1fr; }
  .aulas-preview { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
}
