/* ============================================================
   INNOVA NPL — FOLHA DE ESTILOS ÚNICA (consolidada em 08/09/2026)
   Antes esse CSS estava duplicado (parte externo, parte solto em
   <style> dentro de cada página). Agora existe um só lugar: mude
   aqui e a mudança aparece em todas as páginas.
   ============================================================ */

/* ===== VARIÁVEIS DA MARCA (ver manual da marca Innova NPL) ===== */
:root {
  --gold: #E5CD4A;
  --gold-dark: #AA8840;
  --gold-mid: #B79743;
  --gold-light: #D3C05E;
  --yellow: #f1d052;
  --bg-dark: #0d0c0a;
  --bg-panel: #1a1815;
  --bg-input: rgba(255,255,255,0.95);
  --text-white: #ffffff;
  --text-muted: rgba(255,255,255,0.75);
  --font: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
#formulario { scroll-margin-top: 90px; }
/* Texto corrido justificado (títulos, tags, labels e botões não são <p>, não são afetados) */
p { text-align: justify; text-align-last: left; }
.faq-answer-inner { text-align: justify; text-align-last: left; }
/* Exceções: textos curtos com quebra de linha manual (<br>), a justificação distorceria o espaçamento */
.cta p { text-align: center; }
.hero .subtitle { text-align: left; }

/* ===== BARRA DE NAVEGAÇÃO ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,12,10,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229,205,74,0.15);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 20px;
}
.brand { margin-right: 8px; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  white-space: nowrap;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
  padding: 6px 4px;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
/* ===== BOTÃO CTA DOURADO (Portal do Cliente) ===== */
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1815 !important;
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.2px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.3s, box-shadow 0.3s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229,205,74,0.35);
  color: #1a1815 !important;
}
.nav-cta::after { display: none; }
/* Menu mobile */
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.menu-toggle span { width: 26px; height: 3px; background: var(--gold); border-radius: 2px; transition: 0.3s; }

/* ===== HERO (home) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #0d0c0a 0%, #1a1815 60%, #2a2418 100%);
  overflow: hidden;
}
.hero-watermark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/capa-fan-page.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0.16;
  pointer-events: none;
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { display: flex; align-items: center; gap: 60px; }
.hero-left { flex: 1; }
.hero-right { flex: 1; display: flex; justify-content: center; }
.hero-badge {
  display: inline-block;
  background: rgba(229,205,74,0.12);
  border: 1px solid rgba(229,205,74,0.3);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--gold); display: block; }
.hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero .subtitle strong { color: var(--gold); font-weight: 700; }

/* ===== CARD DE CONSULTA DE CPF (home) ===== */
.consulta-card {
  width: 100%;
  max-width: 440px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(229,205,74,0.2);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(8px);
}
.consulta-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.consulta-card p.consulta-hint { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 20px; }
.consulta-card input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  border: 2px solid transparent;
  background: var(--bg-input);
  color: #302a2c;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  margin-bottom: 14px;
  transition: border-color 0.3s;
}
.consulta-card input:focus { border-color: var(--gold); }
.consulta-card button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1815;
  border: none;
  border-radius: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.consulta-card button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(229,205,74,0.3); }
.consulta-card button:disabled { background: #ccc; cursor: not-allowed; color: #666; }

/* ===== MODAL DA CONSULTA (popup centralizado, home) ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  background: #1a1815;
  border: 1px solid rgba(229,205,74,0.3);
  border-radius: 16px;
  padding: 34px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  overflow-y: auto;
  margin: 0 auto;
}
/* Telas de computador: quadro mais largo e mais alto, pra informação caber sem rolagem interna */
@media (min-width: 768px) {
  .modal-box { max-width: 760px; max-height: 95vh; padding: 32px 44px; }
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.modal-close:hover { background: var(--gold); color: #1a1815; }
.modal-loading { text-align: center; padding: 30px 0; color: var(--text-muted); }
.modal-result {
  font-size: 1rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
  color: var(--text-white);
}
.modal-result a { color: var(--gold); text-decoration: underline; font-weight: 700; }
.modal-result .nao-encontrado { color: var(--text-muted); font-weight: 700; text-align: center; display: block; padding: 20px 0; }
.modal-btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1815;
  border: none;
  border-radius: 10px;
  font-family: var(--font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.3s;
}
.modal-btn:hover { transform: translateY(-2px); }
.modal-btn.secondary { background: rgba(255,255,255,0.08); color: var(--gold); border: 1px solid rgba(229,205,74,0.3); }
.modal-info-form input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: #2a2a28;
  color: var(--text-white);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  margin-bottom: 12px;
}
.modal-info-form input:focus { border-color: var(--gold); }
#modalContent { width: 100%; }

/* ===== SEÇÕES GENÉRICAS ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-panel); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head .tag {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 span { color: var(--gold); }
.section-head p { color: var(--text-muted); }
.section .container, .cta .container, .footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HERO INTERNA (páginas internas) ===== */
.hero-interna {
  padding: 160px 0 60px;
  background: linear-gradient(135deg, #0d0c0a 0%, #1a1815 60%, #2a2418 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-interna .tag {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.hero-interna h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-interna h1 span { color: var(--gold); }
.hero-interna p { color: var(--text-muted); max-width: 640px; margin: 0 auto; }
/* Brilho decorativo — só na página Master Service */
.page-master-service .hero-interna::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(229,205,74,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== SEÇÃO NOSSA REDE / ASSESSORIAS (home) ===== */
.parceiras-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.parceira-logo-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(229,205,74,0.15);
  border-radius: 14px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 130px;
}
.parceira-logo-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.parceira-logo-card img { max-height: 60px; width: auto; max-width: 100%; object-fit: contain; }
.parceira-logo-card span { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.parceira-logo-card a:hover span { color: var(--gold); }
.parceira-interna {
  background: linear-gradient(135deg, rgba(229,205,74,0.12), rgba(170,136,64,0.08));
  border: 1px solid rgba(229,205,74,0.35);
  border-radius: 14px;
  padding: 30px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.parceira-interna .icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(229,205,74,0.15);
  border-radius: 50%;
  font-size: 1.4rem;
}
.parceira-interna h3 { color: var(--gold); text-transform: uppercase; font-size: 0.95rem; }
.parceira-interna p { color: var(--text-muted); font-size: 0.85rem; max-width: 260px; }
.btn-interna {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1815;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-top: 8px;
  transition: transform 0.3s;
}
.btn-interna:hover { transform: translateY(-2px); }

/* ===== SEÇÃO RENEGOCIE (home) ===== */
.renegocie { text-align: center; }
.renegocie h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.renegocie h2 span { color: var(--gold); }
.renegocie .sub { color: var(--text-muted); margin-bottom: 30px; }
.logos-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.logo-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(229, 205, 74, 0.15);
  border-radius: 14px;
  padding: 30px 40px;
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, border-color 0.3s;
}
.logo-item:hover { transform: translateY(-4px); border-color: var(--gold); }
.logo-item img { max-height: 150px; width: auto; max-width: 100%; object-fit: contain; }

/* ===== CARDS / GRID GENÉRICOS (páginas internas) ===== */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid-3 .card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(229,205,74,0.15);
  border-radius: 14px;
  padding: 30px;
  transition: transform 0.3s, border-color 0.3s;
}
.grid-3 .card:hover { transform: translateY(-4px); border-color: var(--gold); }
.grid-3 .card .icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(229,205,74,0.15);
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.grid-3 .card h3 { color: var(--gold); text-transform: uppercase; font-size: 1rem; margin-bottom: 12px; }
.grid-3 .card ul { list-style: none; }
.grid-3 .card li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 6px 0 6px 18px;
  position: relative;
}
.grid-3 .card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ===== ETAPAS (páginas internas) ===== */
.etapas { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.etapa {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(229,205,74,0.15);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.etapa:hover { transform: translateY(-4px); border-color: var(--gold); }
.etapa h3 { color: var(--gold); text-transform: uppercase; font-size: 0.95rem; margin-bottom: 10px; }
.etapa p { color: var(--text-muted); font-size: 0.85rem; }

/* ===== FORMULÁRIOS (Contato, Para Sua Empresa) ===== */
.form-card {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(229,205,74,0.2);
  border-radius: 16px;
  padding: 36px;
}
.form-row { display: flex; gap: 16px; margin-bottom: 16px; }
.form-group { flex: 1; }
.form-card input, .form-card textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 2px solid transparent;
  background: var(--bg-input);
  color: #302a2c;
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  margin-bottom: 16px;
  transition: border-color 0.3s;
}
.form-card input:focus, .form-card textarea:focus { border-color: var(--gold); }
.form-card textarea { min-height: 140px; resize: vertical; }
.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  cursor: pointer;
}
.checkbox-container input { width: auto; margin: 3px 0 0; }
.checkbox-container a { color: var(--gold); text-decoration: underline; }
.btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1815;
  border: none;
  border-radius: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(229,205,74,0.3); }
.success-box {
  display: none;
  text-align: center;
  padding: 40px 20px;
  color: var(--text-white);
  font-size: 1rem;
}
.success-box strong { color: var(--gold); font-size: 1.2rem; }

/* ===== ACORDEÃO FAQ (Perguntas Frequentes) ===== */
.faq { max-width: 760px; margin: 0 auto; }
.faq-group-title {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 44px 0 16px;
}
.faq-group-title:first-child { margin-top: 0; }
.faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(229,205,74,0.15);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
  text-align: left;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(229,205,74,0.15);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== MASTER SERVICE — INTRO / DIFERENCIAIS / FERRAMENTAS ===== */
.ms-intro { padding: 90px 0; }
.ms-intro-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
.ms-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(229,205,74,0.15);
  border-radius: 14px;
  padding: 30px;
  transition: transform 0.3s, border-color 0.3s;
}
.ms-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.ms-card .icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(229,205,74,0.15);
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.ms-card h3 { color: var(--gold); text-transform: uppercase; font-size: 1rem; margin-bottom: 12px; }
.ms-card p { color: var(--text-muted); font-size: 0.9rem; }

.ms-diferenciais { background: var(--bg-panel); padding: 90px 0; }
.ms-diferenciais-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
.ms-dif-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(229,205,74,0.15);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.3s, border-color 0.3s;
}
.ms-dif-item:hover { transform: translateY(-4px); border-color: var(--gold); }
.ms-dif-item h3 { color: var(--gold); text-transform: uppercase; font-size: 0.95rem; margin-bottom: 10px; }
.ms-dif-item p { color: var(--text-muted); font-size: 0.88rem; }
.ms-dif-item ul { list-style: none; margin-top: 10px; }
.ms-dif-item li { color: var(--text-muted); font-size: 0.88rem; padding: 5px 0 5px 18px; position: relative; }
.ms-dif-item li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

.ms-ferramentas { padding: 90px 0; }
.ferramentas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
.ferramenta-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(229,205,74,0.15);
  border-radius: 14px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.ferramenta-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.ferramenta-card .icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(229,205,74,0.15);
  border-radius: 50%;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}
.ferramenta-card h3 { color: var(--gold); text-transform: uppercase; font-size: 0.95rem; margin-bottom: 10px; }
.ferramenta-card p { color: var(--text-muted); font-size: 0.88rem; }

/* ===== MASTER SERVICE — GRÁFICOS ===== */
.ms-graficos { padding: 90px 0; }
.ms-graficos .section-head p { max-width: 640px; margin: 0 auto; }
.chart-panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(229,205,74,0.2);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.chart-panel::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(229,205,74,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.chart-title { color: var(--gold); font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.chart-sub { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 24px; }

/* Gráficos renderizados via Chart.js — o wrapper dá uma altura fixa
   ao canvas; o Chart.js (responsive + maintainAspectRatio:false)
   cuida do redimensionamento e evita que eixos/datas fiquem cortados. */
.chart-canvas-wrap { position: relative; height: 340px; }
.chart-legend-note { color: var(--text-muted); font-size: 0.78rem; margin-top: 14px; text-align: center; }

.timeline { position: relative; padding: 40px 0 20px; }
.timeline-line {
  position: absolute;
  top: 20px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 15px rgba(229,205,74,0.5);
}
.timeline-items { display: flex; justify-content: space-between; gap: 20px; position: relative; }
.timeline-item { flex: 1; text-align: center; position: relative; padding-top: 30px; }
.timeline-dot {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 16px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(229,205,74,0.7);
  transition: transform 0.3s, box-shadow 0.3s;
}
.timeline-item:hover .timeline-dot { transform: translateX(-50%) scale(1.4); box-shadow: 0 0 25px rgba(229,205,74,1); }
.timeline-date { color: var(--gold); font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; }
.timeline-desc { color: var(--text-muted); font-size: 0.8rem; line-height: 1.5; }
.timeline-desc strong { color: var(--text-white); }

/* ===== MASTER SERVICE — NÚMEROS ===== */
.ms-numeros { background: var(--bg-panel); padding: 90px 0; }
.numeros-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 40px; }
.numero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(229,205,74,0.2);
  border-radius: 14px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.numero-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.numero-value { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--gold); display: block; margin-bottom: 8px; }
.numero-label { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1815;
  text-align: center;
  padding: 70px 0;
}
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; text-transform: uppercase; margin-bottom: 14px; }
.cta p { font-size: 1.05rem; font-weight: 500; margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta .btn-dark {
  display: inline-block;
  background: #1a1815;
  color: var(--gold);
  padding: 15px 34px;
  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: transform 0.3s;
}
.cta .btn-dark:hover { transform: translateY(-2px); }

/* ===== RODAPÉ ===== */
.footer { background: #0a0908; border-top: 1px solid rgba(229,205,74,0.15); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer h4 { color: var(--gold); font-size: 0.95rem; font-weight: 700; text-transform: uppercase; margin-bottom: 16px; letter-spacing: 1px; }
.footer p, .footer a { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }
.footer a:hover { color: var(--gold); }
.footer .brand-footer { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer .brand-footer img { height: 44px; }
.social-links { display: flex; gap: 14px; margin-top: 14px; }
.social-links a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  font-size: 1.1rem;
  transition: background 0.3s, transform 0.3s;
}
.social-links a:hover { background: var(--gold); color: #1a1815; transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ===== BANNER DE COOKIES ===== */
#cookieBanner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 860px;
  background: #1a1815;
  border: 1px solid rgba(229,205,74,0.35);
  border-radius: 14px;
  padding: 20px 24px;
  z-index: 9999;
  font-family: var(--font);
  display: none;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
#cookieBanner .cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; }
#cookieBanner .cookie-text { flex: 1; font-size: 0.9rem; line-height: 1.6; margin: 0; color: rgba(255,255,255,0.9); }
#cookieBanner .cookie-text a { color: var(--gold); text-decoration: underline; }
#cookieBanner .cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
#cookieBanner .cookie-btns button {
  padding: 10px 22px;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
  border: none;
}
#cookieBanner .btn-aceitar { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #1a1815; }
#cookieBanner .btn-recusar { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4) !important; }

/* ===== TEXTOS (quebra de linha correta dentro do modal/resultado) ===== */
.modal-result, .modal-content p, .modal-content span,
.resultado, .resultado p, .mensagem, .mensagem p {
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  line-height: 1.6;
  font-size: 15px;
}
/* Telas de computador: texto um pouco mais compacto no popup, cabe mais sem precisar rolar */
@media (min-width: 768px) {
  .modal-result, .modal-content p, .modal-content span { font-size: 14px; line-height: 1.45; }
}
.modal-result a, .modal-content a, .resultado a {
  display: block;
  word-break: break-all;
  overflow-wrap: break-word;
}
.modal-btn, .btn, .button {
  width: 100%;
  max-width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  box-sizing: border-box;
  margin-top: 10px;
}
.modal-info-form input, input[type="text"], input[type="tel"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 14px;
  font-size: 16px; /* evita zoom automático no iOS */
}

/* ===== RESPONSIVO — TABLET / CELULAR ===== */
@media (max-width: 992px) {
  .hero-content { flex-direction: column; gap: 40px; text-align: center; }
  .hero .subtitle { margin-left: auto; margin-right: auto; }
  .consulta-card { margin: 0 auto; }
  .form-row { flex-direction: column; gap: 0; }
  .nav-links {
    position: fixed;
    top: 76px; right: 0;
    flex-direction: column;
    background: rgba(13,12,10,0.98);
    width: 260px;
    height: calc(100vh - 76px);
    padding: 40px 30px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    align-items: flex-start;
  }
  .nav-links.open { transform: translateX(0); }
  .menu-toggle { display: flex; }
  .nav-links .nav-cta { width: 100%; text-align: center; }
}
@media (max-width: 768px) {
  .chart-canvas-wrap { height: 300px; }
  .timeline-items { flex-direction: column; gap: 30px; }
  .timeline-line { display: none; }
  .timeline-item { padding-top: 0; padding-left: 30px; text-align: left; }
  .timeline-dot { top: 4px; left: 0; transform: none; }
  .timeline-item:hover .timeline-dot { transform: scale(1.4); }
  #cookieBanner { bottom: 10px; padding: 16px; }
  #cookieBanner .cookie-inner { flex-direction: column; align-items: center; text-align: center; }
  #cookieBanner .cookie-btns { width: 100%; justify-content: center; }
  #cookieBanner .cookie-btns button { flex: 1; max-width: 160px; }
}
@media (max-width: 600px) {
  .modal, .modal-content, .modal-box { padding: 16px 12px; border-radius: 12px; }
  .modal-result, .modal-content p { font-size: 14px; line-height: 1.55; text-align: center; }
  .modal-btn, .btn, .button { padding: 13px 14px; font-size: 14px; }
  h1, h2, h3 { font-size: 18px; word-break: break-word; }
  .section { padding: 60px 0; }
}
@media (max-width: 400px) {
  .modal, .modal-content, .modal-box { padding: 12px 10px; }
  .modal-result, .modal-content p { font-size: 13px; }
}

/* ===== reCAPTCHA v3: move o selinho para a esquerda, liberando o canto direito para o chat ===== */
.grecaptcha-badge {
  left: 4px !important; right: auto !important; bottom: 4px !important;
  transform: scale(0.72) !important; transform-origin: bottom left !important;
}

/* ===== CHATBOT ===== */
.chat-bolha {
  position: fixed; right: 24px; bottom: 24px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; transition: transform 0.2s;
}
.chat-bolha:hover { transform: scale(1.06); }
.chat-bolha .chat-badge {
  position: absolute; top: -4px; right: -4px; width: 14px; height: 14px;
  background: #ff6b6b; border-radius: 50%; border: 2px solid #0d0c0a; display: none;
}
.chat-painel {
  position: fixed; right: 24px; bottom: 96px; z-index: 999;
  width: 420px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 190px);
  background: #1a1815; border: 1px solid rgba(229,205,74,0.25); border-radius: 16px;
  display: none; flex-direction: column; overflow: hidden; box-sizing: border-box;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.chat-painel.aberto { display: flex; }
.chat-cabecalho {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #1a1815;
  padding: 14px 16px; display: flex; align-items: center; justify-content: space-between;
}
.chat-cabecalho strong { font-size: 0.95rem; text-transform: uppercase; }
.chat-cabecalho span { font-size: 0.72rem; opacity: 0.8; display: block; }
.chat-fechar { background: none; border: none; color: #1a1815; font-size: 20px; cursor: pointer; line-height: 1; }
.chat-mensagens { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 85%; padding: 10px 13px; border-radius: 12px; font-size: 0.85rem; line-height: 1.45; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; box-sizing: border-box; }
.chat-msg.cliente { align-self: flex-end; background: var(--gold); color: #1a1815; border-bottom-right-radius: 3px; }
.chat-msg.bot { align-self: flex-start; background: rgba(255,255,255,0.06); color: var(--text-white); border-bottom-left-radius: 3px; }
.chat-msg.bot a { color: var(--gold); text-decoration: underline; word-break: break-all; }
.chat-msg.bot a:hover { color: var(--gold-light); }
.chat-msg.erro { align-self: flex-start; background: rgba(255,107,107,0.12); color: #ff9b9b; }
.chat-digitando { align-self: flex-start; font-size: 0.8rem; color: var(--text-muted); font-style: italic; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(255,255,255,0.08); }
.chat-form input { flex: 1; padding: 10px 12px; background: #0d0c0a; border: 1px solid rgba(229,205,74,0.25); border-radius: 8px; color: #fff; font-family: inherit; font-size: 0.85rem; }
.chat-form input:focus { outline: none; border-color: var(--gold); }
.chat-form button { background: var(--gold); border: none; border-radius: 8px; width: 40px; cursor: pointer; font-size: 1rem; }
.chat-form button:disabled { opacity: 0.5; cursor: default; }
@media (max-width: 480px) {
  .chat-painel { right: 16px; left: 16px; width: auto; bottom: 88px; height: 60vh; max-height: calc(100vh - 160px); }
  .chat-bolha { right: 16px; bottom: 16px; }
}
