/* ================================================================
   CARTÓRIO VOTUPORANGA – main.css
   Design tokens → componentes → seções → responsivo
================================================================ */

/* ── Scroll Reveal ───────────────────────────────────────────── */
.will-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .will-reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  --bg-main:             #020106;
  --bg-surface:          #0A0A0F;
  --bg-light:            #FAFAF6;
  --bg-surface-light:    #F1ECD2;
  --gold-primary:        #CEBC89;
  --gold-light:          #F1ECD2;
  --gold-dark:           #947C4C;
  --text-primary:        #F1ECD2;
  --text-secondary:      #CEBC89;
  --text-muted:          #947C4C;
  --text-dark:           #1A1A1A;
  --text-dark-secondary: #3D3D3D;
  --border-soft:         #483E2E;
  --brown-gold:          #483E2E;
  --font-heading:        'Oswald', sans-serif;
  --font-body:           'Montserrat', sans-serif;
  --gradient-gold:       linear-gradient(135deg, #F1ECD2 0%, #CEBC89 50%, #947C4C 100%);
  --shadow-card:         0 8px 40px rgba(0, 0, 0, 0.07);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg-main); color: var(--text-primary); overflow-x: hidden; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font-body); }
section[id] { scroll-margin-top: 80px; }

/* ── Shared helpers ─────────────────────────────────────────── */
.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 3px;
  color: var(--gold-primary); text-transform: uppercase;
}
.section-divider { width: 60px; height: 2px; background: var(--gold-primary); }

/* ── Buttons ────────────────────────────────────────────────── */
/* Base compartilhado */
.btn-primary,
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; white-space: nowrap; width: fit-content;
  transition: background .25s, color .25s, border-color .25s, opacity .25s;
}

/* Primário: fill ouro — CTA principal e formulário */
.btn-primary {
  background: var(--gradient-gold);
  border: 1px solid transparent;
  color: var(--bg-main);
}
.btn-primary:hover { opacity: .88; }

/* Outline: vazado — CTAs secundárias; fill no hover */
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
}
.btn-outline:hover {
  background: var(--gradient-gold);
  border-color: transparent;
  color: var(--bg-main);
}

/* ================================================================
   NAVBAR
================================================================ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; height: 80px;
  background: var(--bg-surface);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 64px; z-index: 1000; transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.6); }

.nav-left { display: flex; align-items: center; }
.nav-logo-img { height: 80px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-primary); transition: color .2s; }
.nav-links a:hover { color: var(--gold-primary); }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: 13px; }

.nav-social { display: flex; align-items: center; gap: 10px; }
.nav-social-link {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary); opacity: .7;
  transition: opacity .2s, color .2s;
}
.nav-social-link:hover { opacity: 1; color: var(--gold-primary); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient-gold); padding: 12px 24px;
  color: var(--bg-main); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: opacity .2s; white-space: nowrap;
}
.nav-cta:hover { opacity: .88; }

.nav-hamburger {
  display: none; background: none; border: none;
  cursor: pointer; color: var(--text-primary); padding: 4px;
}

.nav-mobile { display: none; }
.nav-mobile.open {
  display: flex; flex-direction: column;
  position: fixed; top: 80px; left: 0; width: 100%;
  background: var(--bg-surface); z-index: 999;
  border-top: 1px solid var(--border-soft);
}
.nav-mobile a {
  padding: 16px 24px; font-size: 15px; font-weight: 500;
  color: var(--text-primary); border-bottom: 1px solid var(--border-soft);
  transition: background .2s;
}
.nav-mobile a:hover { background: rgba(206,188,137,.08); color: var(--gold-primary); }

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative; height: 800px; overflow: hidden;
  margin-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  background-color: #1a1518;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #020106EE 0%, #020106AA 50%, #02010660 100%);
}
.hero-content {
  position: absolute; left: 120px; top: 220px; width: 750px;
  display: flex; flex-direction: column; gap: 32px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border: 1px solid var(--gold-primary);
  width: fit-content; color: var(--gold-primary); font-size: 11px; font-weight: 600; letter-spacing: 2px;
}
.hero-title {
  font-family: var(--font-heading); font-size: 64px; font-weight: 500;
  color: var(--text-primary); line-height: 1.1; max-width: 700px;
}
.hero-sub {
  font-size: 18px; color: var(--text-primary); line-height: 1.6; opacity: .8; max-width: 600px;
}
.hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ================================================================
   LINKS ÚTEIS
================================================================ */
.links-uteis {
  background: #fafaf6;
  padding: 28px 0;
  overflow: hidden;
}

.lu-track-wrap {
  position: relative;
  overflow: hidden;
  /* Fade nas bordas */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.lu-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: lu-scroll 28s linear infinite;
}

.lu-track:hover { animation-play-state: paused; }

@keyframes lu-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.lu-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 160px;
  height: 64px;
  transition: opacity .2s;
  opacity: .55;
}

.lu-item:hover { opacity: 1; }

.lu-item img {
  max-width: 140px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter .2s;
}

.lu-item:hover img { filter: grayscale(0%); }

/* ================================================================
   CALCULADORA DE CUSTAS
================================================================ */
.calculadora {
  background: #111118; padding: 80px 120px;
  border-top: 1px solid var(--border-soft);
}

.calc-inner {
  display: flex; flex-direction: column; gap: 48px;
  max-width: 760px; margin: 0 auto; text-align: center;
}

.calc-header { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.calc-header h2 {
  font-family: var(--font-heading); font-size: 44px; font-weight: 500;
  color: var(--text-primary); line-height: 1.15;
}
.calc-header p { font-size: 16px; color: var(--text-primary); opacity: .7; line-height: 1.6; }

.calc-form {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}

.calc-input-wrap { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.calc-label { font-size: 12px; font-weight: 600; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; text-align: left; }

.calc-input-row {
  display: flex; align-items: center;
  border: 1px solid var(--border-soft);
  background: transparent;
  transition: border-color .2s;
}
.calc-input-row:focus-within { border-color: var(--gold-primary); }

.calc-prefix {
  padding: 0 16px; font-size: 16px; font-weight: 600;
  color: var(--gold-primary); border-right: 1px solid var(--border-soft);
  height: 56px; display: flex; align-items: center; flex-shrink: 0;
  transition: border-color .2s;
}
.calc-input-row:focus-within .calc-prefix { border-color: var(--gold-primary); }

.calc-input {
  flex: 1; height: 56px; padding: 0 20px;
  background: transparent; border: none; outline: none;
  font-family: var(--font-body); font-size: 20px; font-weight: 600;
  color: var(--text-primary); letter-spacing: .5px;
}
.calc-input::placeholder { color: var(--text-muted); opacity: .4; font-weight: 400; font-size: 16px; }


.calc-btn { align-self: center; }

/* ── Modal resultado ──────────────────────────────────── */
.calc-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.96);
  z-index: 2100; width: 90%; max-width: 480px;
  background: var(--bg-surface); border: 1px solid var(--border-soft);
  display: flex; flex-direction: column;
  transition: transform .25s cubic-bezier(0.25,0.46,0.45,0.94), opacity .25s;
  opacity: 0; pointer-events: none;
}
.calc-modal:not([hidden]) {
  opacity: 1; pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.calc-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px; border-bottom: 1px solid var(--border-soft);
  background: var(--bg-main);
}
.calc-modal-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-size: 11px; font-weight: 600;
  letter-spacing: 3px; color: var(--gold-primary); text-transform: uppercase;
}

.calc-modal-body {
  padding: 32px 28px; display: flex; flex-direction: column; gap: 0;
}

.calc-result-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
}
.calc-result-row--total { padding-top: 20px; }

.calc-result-label {
  font-size: 13px; color: var(--text-muted); font-weight: 500; letter-spacing: .5px;
}
.calc-result-value {
  font-family: var(--font-heading); font-size: 20px; font-weight: 500;
  color: var(--text-primary);
}
.calc-result-value--total {
  font-size: 28px; background: var(--gradient-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.calc-result-divider { height: 1px; background: var(--border-soft); }
.calc-result-divider--gold { height: 2px; background: var(--gradient-gold); margin: 4px 0; }

.calc-modal-disclaimer {
  font-size: 11px; color: var(--text-muted); opacity: .6;
  line-height: 1.6; margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

.calc-modal-actions {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px;
}
.calc-modal-actions .btn-primary,
.calc-modal-actions .btn-outline { flex: 1; justify-content: center; }

/* ── Responsivo ──────────────────────────────────────── */
@media (max-width: 640px) {
  .calculadora { padding: 60px 20px; }
  .calc-header h2 { font-size: 30px; }
  .calc-input { font-size: 16px; }
}

/* ================================================================
   SERVIÇOS
================================================================ */
.servicos {
  background: var(--bg-main); padding: 80px 120px;
  display: flex; flex-direction: column; gap: 48px;
}
.servicos-header { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.servicos-header h2 { font-family: var(--font-heading); font-size: 44px; font-weight: 500; color: var(--text-primary); }
.servicos-header p  { font-size: 16px; color: var(--text-primary); opacity: .7; line-height: 1.6; text-align: center; max-width: 600px; }

.servicos-row { display: flex; gap: 20px; }
/* Row 2: 3 cards com mesma largura da row 1 (25% cada) */
.servicos-row--3 .service-card { flex: none; width: calc(25% - 15px); }

.service-card {
  flex: 1; background: var(--bg-surface); padding: 24px;
  border-left: 3px solid var(--gold-primary);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 280px; transition: transform .25s;
}
.service-card:hover { transform: translateY(-3px); }

.sc-mid  { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.sc-footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border-soft); }

.sc-consult-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase;
  color: var(--gold-primary); opacity: .65;
  transition: opacity .2s, gap .2s;
  text-decoration: none;
}
.sc-consult-btn:hover { opacity: 1; gap: 9px; }

.sc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.sc-top svg, .sc-top i { color: var(--gold-primary); width: 24px; height: 24px; }
.sc-num  { font-family: var(--font-heading); font-size: 36px; font-weight: 500; color: var(--gold-primary); opacity: .1; }
.sc-title    { font-family: var(--font-heading); font-size: 18px; font-weight: 500; color: var(--text-primary); }
.sc-subtitle { font-size: 12px; font-weight: 600; letter-spacing: .5px; color: var(--gold-primary); text-transform: uppercase; opacity: .85; }
.sc-desc     { font-size: 13px; color: var(--text-primary); opacity: .6; line-height: 1.6; }
.sc-exemplos { font-size: 12px; color: var(--text-primary); opacity: .5; line-height: 1.5; border-top: 1px solid var(--border-soft); padding-top: 8px; margin-top: 4px; }

.servicos-pagamento {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding-top: 8px;
}
.servicos-pagamento-label {
  font-family: var(--font-heading); font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-primary); opacity: .7;
}
.servicos-pagamento-divider {
  width: 40px; height: 1px; background: var(--border-soft);
}
.servicos-pagamento-metodos {
  font-size: 14px; color: var(--text-primary); opacity: .5;
  letter-spacing: .3px;
}

/* ================================================================
   PROTESTO
================================================================ */
.protesto {
  background: var(--bg-light); padding: 80px 120px;
  display: flex; align-items: center; gap: 64px;
}
.protesto-left { flex: 1; display: flex; flex-direction: column; gap: 32px; }
.badge-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient-gold); padding: 8px 20px;
  width: fit-content; color: var(--bg-main); font-size: 11px; font-weight: 600; letter-spacing: 2px;
}
.protesto-left h2 { font-family: var(--font-heading); font-size: 48px; font-weight: 500; color: var(--text-dark); line-height: 1.1; white-space: pre-line; }
.protesto-left > p { font-size: 16px; color: var(--text-dark-secondary); line-height: 1.7; }

.stats { display: flex; gap: 32px; }
.stat  { display: flex; flex-direction: column; gap: 4px; }
.stat-num   { font-family: var(--font-heading); font-size: 40px; font-weight: 500; color: var(--gold-dark); }
.stat-label { font-size: 12px; color: var(--text-dark-secondary); }

.protesto-img { width: 480px; height: 500px; flex-shrink: 0; overflow: hidden; }
.protesto-img img { width: 100%; height: 100%; object-fit: cover; }
.protesto-ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.protesto-links {
  display: flex; gap: 24px; align-items: center;
}
.protesto-consult-link {
  color: var(--text-dark-secondary); opacity: 1;
}
.protesto-consult-link:hover { color: var(--gold-dark); opacity: 1; }

/* ================================================================
   B2B
================================================================ */
/* ── Abertura de Firmas ─────────────────────────────────────── */
.abertura-firmas {
  background: #2E2820; padding: 80px 120px;
  display: flex; align-items: center; gap: 64px;
}
.af-img { width: 480px; height: 500px; flex-shrink: 0; overflow: hidden; }
.af-img img { width: 100%; height: 100%; object-fit: cover; }
.af-right { flex: 1; display: flex; flex-direction: column; gap: 32px; }
.af-right h2 {
  font-family: var(--font-heading); font-size: 48px; font-weight: 500;
  color: var(--text-primary); line-height: 1.1;
}
.af-right > p { font-size: 16px; color: var(--text-primary); opacity: .75; line-height: 1.7; }

.b2b {
  background: #111118; padding: 80px 120px;
  display: flex; align-items: center; gap: 64px;
}
.b2b-left { flex: 1; display: flex; flex-direction: column; gap: 32px; }
.b2b-left h2 { font-family: var(--font-heading); font-size: 44px; font-weight: 500; color: var(--text-primary); line-height: 1.15; white-space: pre-line; }
.b2b-left > p { font-size: 16px; color: var(--text-primary); opacity: .7; line-height: 1.7; }

.b2b-features { display: flex; flex-direction: column; gap: 20px; }
.b2b-feat { display: flex; align-items: center; gap: 16px; }
.b2b-feat-icon {
  width: 44px; height: 44px; background: var(--brown-gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold-primary);
}
.b2b-feat-texts { display: flex; flex-direction: column; gap: 4px; }
.b2b-feat-title { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.b2b-feat-desc  { font-size: 13px; color: var(--text-primary); opacity: .6; }

.b2b-img { width: 480px; height: 500px; flex-shrink: 0; overflow: hidden; }
.b2b-img img { width: 100%; height: 100%; object-fit: cover; }

/* ================================================================
   INSTITUCIONAL
================================================================ */
.institucional {
  background: var(--bg-main); padding: 80px 120px;
  display: flex; align-items: center; gap: 64px;
}
/* Coluna esquerda: foto + botão de vídeo */
.inst-photo-col { width: 420px; flex-shrink: 0; display: flex; flex-direction: column; gap: 0; }
.inst-photo { width: 100%; height: 520px; overflow: hidden; }
.inst-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Botão de vídeo institucional */
.inst-video-btn {
  display: flex; align-items: center; gap: 16px;
  width: 100%; padding: 18px 20px;
  background: var(--bg-surface); border: 1px solid var(--border-soft);
  border-top: none;
  color: var(--text-primary); cursor: pointer;
  transition: background .25s, border-color .25s;
  font-family: var(--font-body); text-align: left;
}
.inst-video-btn:hover { background: rgba(206,188,137,.08); border-color: var(--gold-primary); }
.inst-video-play {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0;
  border: 1px solid var(--gold-primary); color: var(--gold-primary);
  transition: background .25s, color .25s;
}
.inst-video-btn:hover .inst-video-play { background: var(--gold-primary); color: var(--bg-main); }
.inst-video-label { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-secondary); }

/* Modal de vídeo */
.inst-video-modal {
  position: fixed; inset: 0; z-index: 1100;
  display: none; align-items: center; justify-content: center;
}
.inst-video-modal:not([hidden]) { display: flex; }
.inst-video-modal-backdrop {
  position: absolute; inset: 0; background: rgba(2,1,6,.88);
}
.inst-video-modal-inner {
  position: relative; z-index: 1; width: 90%; max-width: 900px;
}
.inst-video-modal-close {
  position: absolute; top: -44px; right: 0;
  background: none; border: 1px solid var(--border-soft);
  color: var(--text-primary); width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color .2s, color .2s;
}
.inst-video-modal-close:hover { border-color: var(--gold-primary); color: var(--gold-primary); }
.inst-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; }
.inst-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.inst-right { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.inst-right h2 { font-family: var(--font-heading); font-size: 44px; font-weight: 500; color: var(--text-primary); line-height: 1.15; }
.inst-quote { font-size: 16px; font-style: italic; color: var(--text-secondary); line-height: 1.7; }

.inst-author { display: flex; flex-direction: column; gap: 4px; }
.inst-author-name { font-family: var(--font-heading); font-size: 22px; font-weight: 500; color: var(--text-primary); }
.inst-author-role { font-size: 13px; color: var(--text-muted); }
.inst-divider { height: 1px; background: var(--border-soft); }

/* Destaques da Titular */
.inst-highlights { display: flex; flex-direction: column; gap: 12px; }
.inst-highlight-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text-secondary);
}
.inst-highlight-item i, .inst-highlight-item svg { color: var(--gold-primary); flex-shrink: 0; }

/* Google Maps embed */
.footer-map { overflow: hidden; border: 1px solid var(--border-soft); }
.footer-map iframe { display: block; width: 100%; height: 200px; border: 0; filter: grayscale(1) invert(0.9) contrast(0.8); }

.inst-badges { display: flex; gap: 0; }
.inst-badge {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 20px 12px;
  border: 1px solid var(--border-soft);
  position: relative; text-align: center;
}
.inst-badge + .inst-badge { border-left: none; }
.inst-badge::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--gradient-gold);
}
.inst-badge-num   { font-family: var(--font-heading); font-size: 34px; font-weight: 500; color: var(--gold-primary); line-height: 1; }
.inst-badge-label { font-size: 11px; color: var(--text-muted); line-height: 1.45; }

/* ── Botão "Conhecer mais" ───────────────────────────────────── */
.inst-more-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; border: 1px solid var(--gold-primary);
  padding: 16px 32px;
  color: var(--gold-primary); font-family: var(--font-body);
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; width: fit-content;
  transition: background .25s, color .25s, border-color .25s;
}
.inst-more-btn:hover {
  background: var(--gradient-gold); border-color: transparent; color: var(--bg-main);
}
.inst-more-btn i, .inst-more-btn svg { flex-shrink: 0; transition: transform .25s ease; }
.inst-more-btn:hover i, .inst-more-btn:hover svg { transform: translateX(4px); }

/* ── Overlay ─────────────────────────────────────────────────── */
.inst-overlay {
  position: fixed; inset: 0;
  background: rgba(2, 1, 6, 0.78);
  backdrop-filter: blur(3px);
  z-index: 1999;
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
}
.inst-overlay.is-open { opacity: 1; pointer-events: auto; }

/* ── Drawer ──────────────────────────────────────────────────── */
.inst-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(560px, 92vw);
  background: var(--bg-surface);
  border-left: 1px solid var(--border-soft);
  z-index: 2000;
  overflow-y: auto;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .48s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.inst-drawer.is-open { transform: translateX(0); }

.inst-drawer-header {
  position: sticky; top: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-soft);
  padding: 22px 32px;
  display: flex; align-items: center; justify-content: space-between;
  z-index: 1;
}
.inst-drawer-title {
  font-family: var(--font-heading); font-size: 11px;
  font-weight: 600; letter-spacing: 3px;
  color: var(--gold-primary); text-transform: uppercase;
}
.inst-drawer-close {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: none; border: 1px solid var(--border-soft);
  color: var(--text-muted); cursor: pointer;
  transition: border-color .2s, color .2s;
}
.inst-drawer-close:hover { border-color: var(--gold-primary); color: var(--gold-primary); }

.inst-drawer-body {
  padding: 40px 32px;
  display: flex; flex-direction: column; gap: 24px;
  flex: 1;
}
.inst-drawer-section { display: flex; flex-direction: column; gap: 16px; }
.inst-drawer-subtitle {
  font-family: var(--font-heading); font-size: 24px; font-weight: 500;
  color: var(--text-primary); line-height: 1.2;
}
.inst-drawer-lead {
  font-size: 14px; color: var(--gold-primary);
  font-style: italic; line-height: 1.65;
}
.inst-drawer-p {
  font-size: 15px; color: var(--text-primary);
  line-height: 1.8; opacity: .85;
}
.inst-drawer-list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.inst-drawer-list li {
  font-size: 15px; color: var(--text-primary); line-height: 1.7; opacity: .85;
  padding-left: 14px; position: relative;
}
.inst-drawer-list li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 4px; height: 4px; background: var(--gold-primary); border-radius: 50%;
}
.inst-drawer-list li strong { color: var(--text-primary); opacity: 1; font-weight: 700; }
.inst-drawer-sep { height: 1px; background: var(--border-soft); }

/* ── Galeria Sobre Nós ───────────────────────────────────────── */
.inst-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.inst-gallery-item {
  display: block; padding: 0; border: none; background: transparent;
  cursor: pointer; border-radius: 6px; overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid transparent;
  transition: border-color .2s, transform .2s;
}
.inst-gallery-item:hover { border-color: var(--gold-primary); transform: scale(1.03); }
.inst-gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity .2s;
}
.inst-gallery-item:hover img { opacity: .85; }

@media (max-width: 480px) {
  .inst-gallery { grid-template-columns: repeat(2, 1fr); }
  .inst-badges { flex-direction: column; }
  .inst-badge + .inst-badge { border-left: 1px solid var(--border-soft); border-top: none; }
  /* Ajustes adicionais já cobertos no bloco 480px do responsivo principal */
}

/* ── Lightbox ─────────────────────────────────────────────────── */
.inst-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s;
}
.inst-lightbox.is-open { opacity: 1; }
.inst-lightbox[hidden] { display: none; }
.inst-lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.9);
}
.inst-lightbox-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 900px; padding: 20px;
  gap: 12px;
}
.inst-lightbox-img {
  max-width: 100%; max-height: 85vh;
  object-fit: contain; border-radius: 6px;
  flex: 1;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
}
.inst-lightbox-close {
  position: absolute; top: -12px; right: 8px;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-surface); border: 1px solid var(--border-soft);
  color: var(--text-primary); cursor: pointer;
  transition: border-color .2s, color .2s;
}
.inst-lightbox-close:hover { border-color: var(--gold-primary); color: var(--gold-primary); }
.inst-lightbox-prev,
.inst-lightbox-next {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  background: rgba(10,10,15,.7); border: 1px solid var(--border-soft);
  color: var(--text-primary); cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.inst-lightbox-prev:hover,
.inst-lightbox-next:hover { border-color: var(--gold-primary); color: var(--gold-primary); background: rgba(10,10,15,.95); }
.inst-lightbox-counter {
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  font-size: 12px; color: var(--gold-primary); letter-spacing: 1px;
}

/* ================================================================
   MISSÃO, VISÃO E VALORES
================================================================ */
.mvv {
  background: #111118; padding: 80px 120px;
  display: flex; flex-direction: column; gap: 48px;
}

.mvv-header {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
}
.mvv-header h2 {
  font-family: var(--font-heading); font-size: 44px; font-weight: 500;
  color: var(--text-primary); line-height: 1.15;
}

.mvv-cards {
  display: flex; gap: 32px;
}

.mvv-card {
  flex: 1; display: flex; flex-direction: column;
  background: var(--bg-main); border: 1px solid var(--border-soft);
  overflow: hidden;
}

.mvv-card-accent {
  height: 3px; width: 100%;
  background: var(--gradient-gold);
  flex-shrink: 0;
}

.mvv-card-body {
  display: flex; flex-direction: column; gap: 20px;
  padding: 32px;
}

.mvv-card-top {
  display: flex; align-items: center; gap: 12px;
  color: var(--gold-primary);
}
.mvv-card-top i, .mvv-card-top svg { flex-shrink: 0; }

.mvv-card-label {
  font-family: var(--font-heading); font-size: 11px; font-weight: 600;
  letter-spacing: 3px; color: var(--gold-primary); text-transform: uppercase;
}

.mvv-card-divider {
  height: 1px; background: var(--border-soft);
}

.mvv-card-text {
  font-size: 15px; color: var(--text-primary); line-height: 1.7;
}

.mvv-values-list {
  list-style: none; display: flex; flex-direction: column; gap: 14px;
}

.mvv-value-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text-primary);
}

.mvv-value-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-primary); flex-shrink: 0;
}

/* ================================================================
   NOTÍCIAS
================================================================ */
/* ── Avaliações ─────────────────────────────────────────────── */
.avaliacoes {
  background: var(--bg-light); padding: 48px 120px 80px;
  display: flex; flex-direction: column; gap: 48px;
  border-top: 1px solid var(--gold-dark);
}
.avaliacoes-header {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  text-align: center;
}
.avaliacoes-divider {
  width: 48px; height: 2px; background: var(--gradient-gold);
}
.avaliacoes-title {
  font-family: var(--font-heading); font-size: 36px; font-weight: 500;
  color: var(--text-dark); line-height: 1.2;
  max-width: 680px;
}
.avaliacoes-shortcode { width: 100%; }

.noticias {
  background: var(--bg-light); padding: 80px 120px;
  display: flex; flex-direction: column; gap: 48px;
}
.noticias-header { display: flex; justify-content: space-between; align-items: flex-end; }
.noticias-header-left { display: flex; flex-direction: column; gap: 16px; }
.noticias-header-left h2 { font-family: var(--font-heading); font-size: 44px; font-weight: 500; color: var(--text-dark); }
.noticias-header-left p { font-size: 16px; color: var(--text-dark-secondary); opacity: .7; }
.noticias-empty { font-size: 16px; color: var(--text-dark-secondary); }

.noticias-cta {
  display: flex; justify-content: center;
  margin-top: 48px;
}
.noticias-cta-btn {
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  padding: 14px 40px;
}

.noticias-nav { display: flex; align-items: center; gap: 12px; }
.news-nav-btn {
  width: 48px; height: 48px; border: 1px solid var(--gold-dark);
  background: none; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-dark); transition: background .2s, color .2s, border-color .2s;
}
.news-nav-btn:hover { background: rgba(148,124,76,.15); }
.news-nav-btn--next {
  background: var(--gradient-gold); border: none; color: var(--bg-main);
}
.news-nav-btn--next:hover { opacity: .88; background: var(--gradient-gold); }

.news-carousel {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.news-carousel::-webkit-scrollbar { display: none; }

.blog-card {
  flex: 0 0 calc(33.333% - 19px); width: calc(33.333% - 19px); background: #fff;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card); transition: transform .25s; scroll-snap-align: start;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card a { color: inherit; }

.blog-card-img { position: relative; height: 260px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-tag {
  position: absolute; top: 20px; left: 20px;
  background: var(--gradient-gold); padding: 6px 14px;
  color: var(--bg-main); font-size: 10px; font-weight: 700; letter-spacing: 1px;
}

.blog-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.blog-date  { display: flex; align-items: center; gap: 8px; color: var(--gold-dark); font-size: 12px; font-weight: 500; }
.blog-title { font-family: var(--font-heading); font-size: 24px; font-weight: 500; color: var(--text-dark); line-height: 1.2; }
.blog-title a:hover { color: var(--gold-dark); }
.blog-desc  { font-size: 14px; color: var(--text-dark-secondary); line-height: 1.6; }
.blog-divider { height: 1px; background: #E8E4D9; }
.blog-footer  { display: flex; justify-content: space-between; align-items: center; }
.blog-read-more {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-dark); font-size: 13px; font-weight: 600; letter-spacing: .5px;
  cursor: pointer; transition: gap .2s;
}
.blog-read-more:hover { gap: 12px; }
.blog-time { font-size: 11px; color: var(--text-dark-secondary); opacity: .5; }

/* ================================================================
   FOOTER
================================================================ */
.footer { background: var(--bg-main); display: flex; flex-direction: column; }
.footer-main { display: flex; gap: 64px; padding: 80px 120px; }
.footer-left { flex: 1; display: flex; flex-direction: column; gap: 32px; }
.footer-form-title { font-family: var(--font-heading); font-size: 36px; font-weight: 500; color: var(--text-primary); }
.footer-form-desc  { font-size: 14px; color: var(--text-primary); opacity: .6; line-height: 1.6; }

.form-fields { display: flex; flex-direction: column; gap: 16px; }
.form-row    { display: flex; gap: 16px; }
.form-group  { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.form-group label { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: transparent; border: 1px solid var(--border-soft);
  padding: 0 16px; height: 44px; color: var(--text-primary);
  font-family: var(--font-body); font-size: 14px; outline: none; width: 100%;
  transition: border-color .2s;
}
.form-group select { cursor: pointer; appearance: none; }
.form-group textarea { height: 135px; padding: 16px; resize: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold-primary); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); opacity: .5; }
select option { background: var(--bg-surface); color: var(--text-primary); }

.form-submit {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gradient-gold); padding: 16px 32px;
  color: var(--bg-main); font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; border: 1px solid transparent;
  cursor: pointer; transition: opacity .25s; width: fit-content;
}
.form-submit:hover { opacity: .88; }
.form-submit:disabled { opacity: .6; cursor: not-allowed; }

.form-feedback {
  font-size: 14px; padding: 12px 16px; border-radius: 2px; display: none;
}
.form-feedback.success { display: block; background: rgba(206,188,137,.15); color: var(--gold-primary); border: 1px solid var(--gold-primary); }
.form-feedback.error   { display: block; background: rgba(220,53,69,.1); color: #dc3545; border: 1px solid #dc3545; }

.footer-right { width: 400px; flex-shrink: 0; display: flex; flex-direction: column; gap: 32px; }
.footer-contact { display: flex; flex-direction: column; gap: 20px; }
.footer-contact-title { font-family: var(--font-heading); font-size: 24px; font-weight: 500; color: var(--text-primary); }
.contact-row { display: flex; align-items: center; gap: 12px; color: var(--text-primary); font-size: 15px; transition: color .2s; }
.contact-row:hover { color: var(--gold-primary); }
.contact-row svg, .contact-row i { color: var(--gold-primary); flex-shrink: 0; }
.footer-divider { height: 1px; background: var(--border-soft); }
.footer-block { display: flex; flex-direction: column; gap: 12px; }
.footer-block-title { font-family: var(--font-heading); font-size: 16px; font-weight: 500; color: var(--text-primary); letter-spacing: 1px; text-transform: uppercase; }
.footer-block-text  { font-size: 14px; color: var(--text-primary); opacity: .7; line-height: 1.6; }
.footer-emol {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; border: 1px solid var(--gold-primary);
  color: var(--gold-primary); font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.footer-emol:hover {
  background: var(--gradient-gold); border-color: transparent; color: var(--bg-main);
}

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 120px; background: var(--bg-surface);
}
.footer-copy { display: flex; flex-direction: column; gap: 4px; }
.footer-copy p { font-size: 11px; color: var(--text-muted); }
.footer-copy p:last-child { opacity: .6; }
.footer-social { display: flex; align-items: center; gap: 14px; }
.footer-social-link {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: color .2s;
}
.footer-social-link:hover { color: var(--gold-primary); }

.footer-legal { display: flex; gap: 24px; }
.footer-legal a, .footer-legal-btn {
  font-size: 11px; color: var(--text-muted); transition: color .2s;
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: var(--font-body);
}
.footer-legal a:hover, .footer-legal-btn:hover { color: var(--gold-primary); }

/* ── Botão flutuante WhatsApp ─────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 8000;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}

/* ================================================================
   RESPONSIVE
================================================================ */

/* ── Contenção em telas maiores que 1440px (canvas do design) ── */
@media (min-width: 1441px) {
  /* Seções de conteúdo: padding cresce para manter inner content em 1200px */
  .servicos,
  .protesto,
  .abertura-firmas,
  .b2b,
  .institucional,
  .mvv,
  .noticias,
  .avaliacoes {
    padding-left: calc((100% - 1200px) / 2);
    padding-right: calc((100% - 1200px) / 2);
  }
  .footer-main {
    padding-left: calc((100% - 1200px) / 2);
    padding-right: calc((100% - 1200px) / 2);
  }
  .footer-bottom {
    padding-left: calc((100% - 1200px) / 2);
    padding-right: calc((100% - 1200px) / 2);
  }
  /* Navbar: manter gap proporcional ao canvas de 1440px (padding 64px) */
  .navbar {
    padding-left: calc((100% - 1312px) / 2);
    padding-right: calc((100% - 1312px) / 2);
  }
  /* Hero: conteúdo começa a 1/2 da diferença para ficar alinhado ao grid */
  .hero-content {
    left: calc((100% - 1200px) / 2);
  }
}

@media (max-width: 1280px) {
  .navbar, .footer-bottom { padding-left: 40px; padding-right: 40px; }
  .servicos, .protesto, .abertura-firmas, .b2b, .institucional, .mvv, .noticias, .avaliacoes, .footer-main { padding-left: 60px; padding-right: 60px; }
  .calculadora { padding-left: 60px; padding-right: 60px; }
  .hero-content { left: 60px; }
}

@media (max-width: 1024px) {
  .nav-links { gap: 20px; }
  .hero-content { width: calc(100% - 120px); }
  .hero-title { font-size: 48px; }
  .protesto, .abertura-firmas, .b2b { flex-direction: column; }
  .institucional { flex-direction: column; }
  .protesto-img, .af-img, .b2b-img { width: 100%; height: 380px; }
  .inst-photo-col { width: 100%; }
  .inst-photo { width: 100%; height: auto; }
  .servicos-row--3 .service-card { flex: 1; width: auto; }
}

@media (max-width: 900px) {
  .nav-links, .nav-phone, .nav-cta, .nav-social { display: none; }
  .nav-hamburger { display: flex; }
  .servicos-row { flex-wrap: wrap; }
  .service-card { min-width: calc(50% - 10px); min-height: 280px; }
  .servicos-row--3 .service-card { min-width: calc(50% - 10px); width: auto; }
  .blog-card { min-width: 80%; }
}

/* ── Tablet portrait: 768px ──────────────────────────────────── */
@media (max-width: 768px) {
  /* Hero */
  .hero-content { left: 40px; width: calc(100% - 80px); }
  .hero-title { font-size: 44px; }

  /* Seções: padding intermediário */
  .servicos,
  .protesto, .abertura-firmas, .b2b,
  .institucional, .mvv,
  .noticias, .avaliacoes { padding-left: 40px; padding-right: 40px; }
  .calculadora { padding-left: 40px; padding-right: 40px; }

  /* Footer: empilha no tablet portrait */
  .footer-main { flex-direction: column; padding-left: 40px; padding-right: 40px; }
  .footer-right { width: 100%; }
  .footer-bottom { padding-left: 40px; padding-right: 40px; }

  /* Imagens: altura proporcional ao viewport mais estreito */
  .protesto-img, .af-img, .b2b-img { height: 300px; }
  .inst-photo { height: auto; }

  /* Stats: permite quebrar para evitar compressão */
  .stats { flex-wrap: wrap; gap: 24px; }

  /* Blog cards: dois visíveis por vez */
  .blog-card { min-width: calc(50% - 14px); }
}

@media (max-width: 640px) {
  .navbar { padding: 0 20px; }
  .hero { height: auto; min-height: 700px; padding-bottom: 60px; }
  /* Hero: centralizado */
  .hero-content { left: 20px; top: 60px; width: calc(100% - 40px); text-align: center; align-items: center; }
  .hero-title { font-size: 36px; }
  .hero-sub { font-size: 15px; }
  .hero-ctas { flex-direction: column; align-items: center; }

  /* Botões: texto pode quebrar linha */
  .btn-primary, .btn-outline { white-space: normal; text-align: center; justify-content: center; }

  /* Padding geral */
  .servicos, .protesto, .abertura-firmas, .b2b, .institucional, .mvv, .noticias, .avaliacoes { padding: 60px 20px; }
  .calculadora { padding: 60px 20px; }

  /* Serviços */
  .avaliacoes-title { font-size: 26px; }
  .servicos-header { text-align: center; }
  .servicos-header h2 { font-size: 32px; }
  .servicos-row--3 .service-card { min-width: 100%; width: 100%; flex: 1 1 100%; }

  /* Stats */
  .stats { flex-wrap: wrap; gap: 20px; }

  /* MVV */
  .mvv-cards { flex-direction: column; }
  .mvv-header h2 { font-size: 32px; }

  /* Seções com foto+texto */
  .service-card { min-width: 100%; }
  .protesto-left { text-align: center; align-items: center; }
  .protesto-left h2 { font-size: 32px; }
  .protesto-ctas { justify-content: center; }
  .af-right { text-align: center; align-items: center; }
  .af-right h2 { font-size: 32px; }
  .b2b-left { text-align: center; align-items: center; }
  .b2b-left h2, .inst-right h2 { font-size: 32px; }
  .b2b-features { align-self: stretch; text-align: left; }
  .b2b-feat { text-align: left; }
  .inst-right { text-align: center; align-items: center; }
  .inst-author { align-items: center; }
  .inst-highlights { align-items: flex-start; align-self: stretch; }
  .inst-highlight-item { justify-content: flex-start; }
  .inst-badges { justify-content: center; }
  .inst-badge { flex: 1; }

  /* Notícias */
  .noticias-header { flex-direction: column; align-items: center; gap: 20px; text-align: center; }
  .noticias-header-left { align-items: center; }
  .noticias-header-left h2 { font-size: 32px; }
  .noticias-nav { align-self: center; }

  /* Footer / Contato */
  .footer-main { flex-direction: column; padding: 60px 20px; }
  .footer-right { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 16px; padding: 20px; text-align: center; }
  .form-row { flex-direction: column; }
  .blog-card { min-width: 85%; }
  .inst-photo { width: 100%; height: auto; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
}

/* ── Smartphones pequenos: 480px ─────────────────────────────── */
@media (max-width: 480px) {
  /* Hero: telas menores que 480px */
  .hero { min-height: 620px; }
  .hero-content { left: 16px; top: 56px; width: calc(100% - 32px); }
  .hero-title { font-size: 30px; }
  .hero-sub { font-size: 14px; }

  /* Sections: margens mais curtas */
  .servicos, .protesto, .abertura-firmas, .b2b, .institucional, .mvv, .noticias, .avaliacoes { padding: 48px 16px; }
  .calculadora { padding: 48px 16px; }
  .footer-main { padding: 48px 16px; }
  .footer-bottom { padding: 14px 16px; }

  /* Imagens: reduzidas para caber sem peso visual excessivo */
  .protesto-img, .af-img, .b2b-img { height: 240px; }
  .inst-photo { height: auto; }

  /* Tipografia: escala para telas muito pequenas */
  .protesto-left h2, .af-right h2, .b2b-left h2, .inst-right h2 { font-size: 28px; }
  .noticias-header-left h2 { font-size: 28px; }
  .mvv-header h2 { font-size: 28px; }
  .avaliacoes-title { font-size: 22px; }
  .calc-header h2 { font-size: 26px; }
  .stat-num { font-size: 32px; }

  /* Buttons: padding reduzido */
  .btn-primary, .btn-outline { padding: 14px 20px; }

  /* Blog cards: largura total */
  .blog-card { min-width: 92%; }
}

/* ================================================================
   PÁGINA ARCHIVE – Notícias e Artigos
================================================================ */

/* ── Page Header ─────────────────────────────────────────────── */
.archive-page-header {
  position: relative;
  height: 300px;
  background-color: var(--bg-main);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  margin-top: 80px; /* compensa navbar fixa */
}

.archive-header-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #020106DD 0%, #020106AA 40%, #020106DD 100%);
  z-index: 1;
}

.archive-header-content {
  position: relative; z-index: 2;
  width: 100%;
  height: 100%;
  padding-left: 120px;
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.archive-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
}
.archive-breadcrumb a  { color: var(--gold-primary); }
.archive-breadcrumb span:first-of-type { color: var(--gold-primary); opacity: .5; }
.archive-breadcrumb span:last-child  { color: var(--text-primary); }

.archive-page-title {
  font-family: var(--font-heading); font-size: 48px; font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.05;
}

.archive-page-sub {
  font-family: var(--font-body); font-size: 15px;
  color: var(--text-primary); opacity: .8;
  max-width: 500px; line-height: 1.6;
}

/* ── Content Area ────────────────────────────────────────────── */
.archive-content-area {
  display: flex; flex-direction: row; gap: 40px;
  padding: 48px 64px;
  background: var(--bg-light);
  min-height: 60vh;
}

/* ── Main Column ─────────────────────────────────────────────── */
.archive-main {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 28px;
}

.archive-empty {
  font-family: var(--font-body); font-size: 16px;
  color: var(--text-dark-secondary);
}

/* ── Post Card Horizontal ────────────────────────────────────── */
.post-card-h {
  display: flex; flex-direction: row;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.10);
  overflow: hidden;
}

.post-card-h__img {
  width: 280px; flex-shrink: 0;
  overflow: hidden;
}
.post-card-h__img a,
.post-card-h__img-placeholder {
  display: block; width: 100%; height: 100%;
}
.post-card-h__img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .35s;
}
.post-card-h:hover .post-card-h__img img { transform: scale(1.04); }
.post-card-h__img-placeholder { background: var(--bg-surface); }

.post-card-h__body {
  flex: 1; min-width: 0;
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 12px;
  justify-content: center;
}

.post-card-h__tag {
  display: inline-block;
  background: var(--gradient-gold);
  color: var(--bg-main);
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  padding: 4px 12px; border-radius: 4px;
  letter-spacing: .5px;
  align-self: flex-start;
}

.post-card-h__title {
  font-family: var(--font-heading); font-size: 22px; font-weight: 500;
  line-height: 1.25; color: var(--text-dark);
}
.post-card-h__title a { color: inherit; }
.post-card-h__title a:hover { color: var(--gold-dark); }

.post-card-h__excerpt {
  font-family: var(--font-body); font-size: 14px;
  line-height: 1.6; color: var(--text-dark-secondary);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-h__meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 4px;
}

.post-card-h__date {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  color: var(--gold-dark);
}

.post-card-h__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 4px;
  border: 1px solid var(--gold-dark);
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  color: var(--gold-dark);
  transition: background .2s;
}
.post-card-h__btn:hover { background: rgba(148,124,76,.08); }

/* ── Pagination ──────────────────────────────────────────────── */
.archive-pagination .nav-links {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px;
  padding: 16px 0;
}

.archive-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 14px;
  border-radius: 6px; border: 1px solid #E0DDD4;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: #3D3D3D;
  transition: background .2s, color .2s;
}
.archive-pagination .page-numbers:hover:not(.current) { background: rgba(0,0,0,.05); }
.archive-pagination .page-numbers.current {
  background: var(--gradient-gold); border-color: transparent;
  color: var(--bg-main); font-weight: 600;
}
.archive-pagination .prev.page-numbers,
.archive-pagination .next.page-numbers { padding: 0 12px; }

/* ── Sidebar ─────────────────────────────────────────────────── */
.archive-sidebar {
  width: 360px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 32px;
}

/* ── Widget Box ──────────────────────────────────────────────── */
.widget-box {
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.10);
  overflow: hidden;
}

.widget-header {
  height: 52px; padding: 0 24px;
  display: flex; align-items: center; gap: 10px;
}
.widget-header span {
  font-family: var(--font-heading); font-size: 16px; font-weight: 600;
  letter-spacing: 1px;
}
.widget-header--gold { background: var(--gradient-gold); }
.widget-header--gold span,
.widget-header--gold i { color: var(--bg-main) !important; }
.widget-header--dark  { background: var(--bg-surface); }
.widget-header--dark span { color: var(--text-primary); }
.widget-header--dark i { color: var(--gold-primary) !important; }

.widget-list { list-style: none; padding: 8px 0; }
.widget-list--thumb { padding: 4px 0; }

.widget-list__item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 24px;
  border-bottom: 1px solid #E8E4D9;
}
.widget-list__item:last-child { border-bottom: none; }

/* Número (Mais Lidos) */
.widget-list__num {
  font-family: var(--font-heading); font-size: 28px; font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .5; flex-shrink: 0; line-height: 1;
}

/* Thumbnail (Mais Recentes) */
.widget-list__thumb {
  display: block; width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 6px; overflow: hidden;
}
.widget-list__thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.widget-list__info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.widget-list__title {
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  line-height: 1.4; color: var(--text-dark);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.widget-list__title:hover { color: var(--gold-dark); }
.widget-list__date {
  font-family: var(--font-body); font-size: 11px;
  color: var(--gold-dark);
}

/* ── Widget CTA WhatsApp ─────────────────────────────────────── */
.widget-cta-wa {
  background: var(--bg-surface);
  border-radius: 8px; padding: 28px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.widget-cta-wa__icon { width: 36px; height: 36px; color: var(--gold-primary); }
.widget-cta-wa__title {
  font-family: var(--font-heading); font-size: 22px; font-weight: 600;
  color: var(--text-primary); text-align: center;
}
.widget-cta-wa__desc {
  font-family: var(--font-body); font-size: 13px;
  color: var(--text-primary); opacity: .7;
  line-height: 1.5; text-align: center;
}
.widget-cta-wa__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px 24px; border-radius: 6px;
  background: var(--gradient-gold);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  color: var(--bg-main);
  transition: opacity .2s;
}
.widget-cta-wa__btn:hover { opacity: .88; }

/* ── Max-width constraint (>1440px) ──────────────────────────── */
@media (min-width: 1441px) {
  .archive-content-area {
    padding-left: calc((100% - 1200px) / 2);
    padding-right: calc((100% - 1200px) / 2);
  }
  .archive-header-content {
    padding-left: calc((100% - 1200px) / 2);
  }
}

/* ── Responsivo ──────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .archive-content-area { padding: 48px 60px; }
  .archive-header-content { padding-left: 60px; }
}

@media (max-width: 1024px) {
  .archive-content-area { gap: 32px; }
  .archive-sidebar { width: 300px; }
}

@media (max-width: 900px) {
  .archive-content-area { flex-direction: column; }
  .archive-sidebar { width: 100%; }
  .post-card-h__img { width: 220px; }
}

@media (max-width: 768px) {
  .archive-header-content { padding-left: 40px; }
  .archive-page-title { font-size: 40px; }
  .archive-content-area { padding: 48px 40px; }
  .post-card-h__img { width: 180px; }
}

@media (max-width: 640px) {
  .archive-page-header { height: 240px; }
  .archive-page-title { font-size: 34px; }
  .archive-header-content { padding-left: 20px; gap: 12px; }
  .archive-content-area { padding: 32px 20px; }
  .post-card-h { flex-direction: column; }
  .post-card-h__img { width: 100%; height: 200px; }
  .post-card-h__img img { height: 200px; }
}

/* ================================================================
   SINGLE POST
================================================================ */

/* ── Article Page Header ──────────────────────────────────────── */
.article-page-header {
  background: #111118;
  padding: 120px 120px 48px;
  display: flex; flex-direction: column;
  gap: 16px;
}

.article-header-content {
  width: 100%;
  display: flex; flex-direction: column;
  gap: 16px;
}

.article-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.article-breadcrumb a,
.article-breadcrumb span {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  color: var(--gold-primary);
}
.article-breadcrumb span:last-child { color: var(--text-primary); }
.article-breadcrumb a:hover { text-decoration: underline; }

.article-meta {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}

.article-tag {
  display: inline-block;
  background: var(--gradient-gold);
  color: var(--bg-main);
  font-family: var(--font-body); font-size: 10px; font-weight: 700;
  letter-spacing: 1px; padding: 5px 14px; border-radius: 4px;
}

.article-date-meta,
.article-time-meta {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  color: var(--gold-dark);
}
.article-time-meta { opacity: .7; color: var(--gold-primary); }

.article-page-title {
  font-family: var(--font-heading); font-size: 42px; font-weight: 700;
  line-height: 1.15; color: var(--text-primary);
  max-width: 900px;
}

/* ── Single Content Area ─────────────────────────────────────── */
.single-content-area {
  display: flex; flex-direction: row; gap: 40px;
  padding: 48px 64px;
  background: var(--bg-light);
  min-height: 60vh;
}

.single-main {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 32px;
}

/* ── Article Content Card ─────────────────────────────────────── */
.article-content-card {
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.10);
  overflow: hidden;
}

.article-featured-img {
  width: 100%; height: 400px;
  overflow: hidden;
}
.article-featured-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* ── Article Body ─────────────────────────────────────────────── */
.article-body {
  padding: 36px 40px;
  display: flex; flex-direction: column; gap: 24px;
}

/* Typography for WordPress content */
.article-body p {
  font-family: var(--font-body); font-size: 16px;
  line-height: 1.8; color: #1A1A1A;
}

.article-body h2 {
  font-family: var(--font-heading); font-size: 26px; font-weight: 600;
  color: #1A1A1A; line-height: 1.25;
  margin-top: 8px;
}

.article-body h3 {
  font-family: var(--font-heading); font-size: 22px; font-weight: 600;
  color: #1A1A1A; line-height: 1.3;
}

.article-body h4 {
  font-family: var(--font-heading); font-size: 18px; font-weight: 600;
  color: #1A1A1A;
}

.article-body a {
  color: var(--gold-dark); text-decoration: underline;
}
.article-body a:hover { opacity: .8; }

.article-body strong { font-weight: 700; }
.article-body em { font-style: italic; }

/* Callout / Blockquote */
.article-body blockquote {
  background: #F8F6F0;
  border-left: 4px solid var(--gold-primary);
  border-radius: 6px;
  padding: 24px 28px;
  font-family: var(--font-body); font-size: 14px;
  font-style: italic; font-weight: 500;
  line-height: 1.7; color: #3D3D3D;
}
.article-body blockquote p { font-size: 14px; color: #3D3D3D; }

/* Lists */
.article-body ul,
.article-body ol {
  padding-left: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.article-body ul li,
.article-body ol li {
  font-family: var(--font-body); font-size: 16px;
  line-height: 1.7; color: #1A1A1A;
  padding-left: 6px;
}
.article-body ul { list-style: none; }
.article-body ul li::before {
  content: '•';
  color: var(--gold-primary);
  font-weight: 700;
  margin-right: 10px;
}
.article-body ol { list-style: decimal; }
.article-body ol li::marker { color: var(--gold-primary); font-weight: 700; }

/* Images inside content */
.article-body figure,
.article-body .wp-block-image { margin: 8px 0; }
.article-body figure img,
.article-body .wp-block-image img {
  border-radius: 6px; max-width: 100%;
}
.article-body figcaption,
.article-body .wp-block-image figcaption {
  font-family: var(--font-body); font-size: 12px;
  color: #3D3D3D; text-align: center; margin-top: 8px;
}

/* ── Article Divider ──────────────────────────────────────────── */
.article-divider {
  height: 1px; background: #E8E4D9;
  width: 100%;
}

/* ── Author / Share Row ───────────────────────────────────────── */
.article-author-share {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}

.article-author {
  display: flex; align-items: center; gap: 12px;
}

.article-author-avatar {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 20px;
  background: var(--bg-surface);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 16px; font-weight: 600;
  color: var(--gold-primary);
}

.article-author-meta {
  display: flex; flex-direction: column; gap: 2px;
}
.article-author-name {
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  color: #1A1A1A;
}
.article-author-role {
  font-family: var(--font-body); font-size: 11px;
  color: #3D3D3D;
}

.article-share {
  display: flex; align-items: center; gap: 10px;
}
.share-label {
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  color: #3D3D3D;
}
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 17px;
  background: #F0EDE5; border: none; cursor: pointer;
  color: var(--gold-dark);
  transition: background .2s;
  text-decoration: none;
}
.share-btn:hover { background: #E8E3D8; }

/* ── Continue Lendo ───────────────────────────────────────────── */
.continue-lendo {
  display: flex; flex-direction: column; gap: 24px;
}

.continue-lendo__header {
  display: flex; align-items: center; gap: 16px;
}
.continue-lendo__line {
  width: 40px; height: 3px; flex-shrink: 0;
  background: linear-gradient(180deg, #F1ECD2 0%, #947C4C 100%);
  border-radius: 2px;
}
.continue-lendo__title {
  font-family: var(--font-heading); font-size: 28px; font-weight: 500;
  color: #1A1A1A; white-space: nowrap;
}
.continue-lendo__divider {
  flex: 1; height: 1px; background: #E8E4D9;
}

.continue-lendo__cards {
  display: flex; flex-direction: column; gap: 20px;
}

/* ── Max-width constraint single (>1440px) ───────────────────── */
@media (min-width: 1441px) {
  .single-content-area {
    padding-left: calc((100% - 1200px) / 2);
    padding-right: calc((100% - 1200px) / 2);
  }
  .article-page-header {
    padding-left: calc((100% - 1200px) / 2);
    padding-right: calc((100% - 1200px) / 2);
  }
}

/* ── Single Responsivo ───────────────────────────────────────── */
@media (max-width: 1280px) {
  .single-content-area { padding: 48px 60px; }
  .article-page-header { padding: 120px 60px 48px; }
}

@media (max-width: 1024px) {
  .single-content-area { gap: 32px; }
}

@media (max-width: 900px) {
  .single-content-area { flex-direction: column; }
  .single-content-area .archive-sidebar { width: 100%; }
}

@media (max-width: 768px) {
  .article-page-header { padding: 120px 40px 40px; }
  .article-page-title { font-size: 36px; }
  .single-content-area { padding: 48px 40px; }
}

@media (max-width: 640px) {
  .article-page-header { padding: 96px 20px 32px; }
  .article-page-title { font-size: 30px; }
  .single-content-area { padding: 32px 20px; }
  .article-featured-img { height: 220px; }
  .article-body { padding: 24px 20px; }
  .article-author-share { flex-direction: column; align-items: flex-start; gap: 20px; }
}
