/*
Theme Name: Assescor Core
Theme URI: https://assescor.com.br
Author: Engenharia Assescor
Description: Tema sob medida de alta performance e conversão para a Assescor.
Version: 1.3.0
*/

:root {
  --navy: #0B192C;
  --navy-dark: #060D17;
  --navy-light: #1E293B;
  --navy-gradient: linear-gradient(135deg, #060D17 0%, #0B192C 100%);
  --gold: #C5A059;
  --gold-hover: #B08C45;
  --gold-gradient: linear-gradient(135deg, #DFB76C 0%, #C5A059 100%);
  --bg-main: #F8FAFC;
  --bg-secondary: #F1F5F9;
  --card-bg: #FFFFFF;
  --border-color: #E2E8F0;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --whatsapp: #25D366;
  --whatsapp-hover: #1EBE5D;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 25px -5px rgba(11, 25, 44, 0.08);
  --shadow-gold: 0 4px 14px rgba(197, 160, 89, 0.35);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.container-pro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-wrapper {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--navy);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 992px) {
  .nav-desktop { display: flex; }
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover { color: var(--navy); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-client-area {
  display: none;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

@media (min-width: 768px) {
  .btn-client-area { display: inline-flex; }
}

.btn-cta-gold {
  background: var(--gold-gradient);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1.3rem;
  border-radius: 6px;
  box-shadow: var(--shadow-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
}

.btn-cta-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: var(--navy-gradient);
  color: #FFFFFF;
  padding: 4.5rem 0 5.5rem 0;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-container { grid-template-columns: 1.25fr 0.75fr; }
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(197, 160, 89, 0.4);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
}

.dot-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-main-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 1.2rem 0;
}

@media (min-width: 768px) {
  .hero-main-title { font-size: 3rem; }
}

.text-gold { color: var(--gold); }

.hero-description {
  font-size: 1.05rem;
  color: #94A3B8;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 576px) {
  .hero-cta-group { flex-direction: row; align-items: center; }
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.85rem;
}

.btn-cta-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
}

.hero-metrics-grid dt {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
}

.hero-metrics-grid dd {
  font-size: 0.75rem;
  color: #94A3B8;
}

.image-wrapper-card {
  position: relative;
}

.hero-placeholder-banner {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 4rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  color: #64748B;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.security-badge-floating {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: #FFFFFF;
  color: var(--navy);
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.security-badge-floating p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.icon-circle-gold {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: grid;
  place-items: center;
  color: var(--navy);
  flex-shrink: 0;
}

/* ==========================================================================
   Secções Gerais e Títulos
   ========================================================================== */
.section-padded {
  padding: 4.5rem 0;
}

.bg-secondary-soft {
  background-color: var(--bg-secondary);
}

.section-title-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.sub-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title-wrap h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}

@media (min-width: 768px) {
  .section-title-wrap h2 { font-size: 2.25rem; }
}

.section-title-wrap p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   Grelhas e Cards de Diferenciais
   ========================================================================== */
.grid-three-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-three-col { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-three-col { grid-template-columns: repeat(3, 1fr); }
}

.grid-four-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid-four-col { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-four-col { grid-template-columns: repeat(4, 1fr); }
}

.pro-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pro-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.icon-box-primary {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.pro-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.pro-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Cards de Serviços
   ========================================================================== */
.service-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.service-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.service-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.service-link:hover { color: var(--gold); }

/* ==========================================================================
   Banner de Transição de Contador
   ========================================================================== */
.banner-strip {
  background: var(--navy-gradient);
  color: #FFFFFF;
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.banner-strip-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 992px) {
  .banner-strip-content { flex-direction: row; align-items: center; }
}

/* ==========================================================================
   Tabelas e Planos (Vanilla JS Tabs)
   ========================================================================== */
.tabs-nav-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.tab-btn.active {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.featured-badge {
  background: var(--gold-gradient);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  align-self: flex-start;
  margin-bottom: 0.75rem;
}

.price-box {
  margin: 1.25rem 0;
  font-weight: 800;
}

.price-currency { font-size: 1.1rem; vertical-align: top; }
.price-val { font-size: 2.25rem; }
.price-period { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

.plan-target {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.plan-perks {
  list-style: none;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.plan-perks li {
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  padding-left: 1.2rem;
  position: relative;
}

.plan-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 900;
}

.perks-light li { color: #E2E8F0; }

.btn-cta-outline-dark {
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: 0.7rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.btn-cta-outline-dark:hover {
  background: var(--navy);
  color: #FFFFFF;
}

/* Comparador de Planos Responsivo */
.comparison-scroll-wrapper {
  margin-top: 3.5rem;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: #FFFFFF;
}

.table-pro {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
  font-size: 0.85rem;
}

.table-pro th, .table-pro td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.table-pro th {
  background: var(--navy);
  color: #FFFFFF;
  text-align: left;
}

.check-col { text-align: center; color: var(--whatsapp); font-weight: 900; }
.dash-col { text-align: center; color: #CBD5E1; }

/* ==========================================================================
   Formulário de Contacto e Conversão
   ========================================================================== */
.contact-split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .contact-split-layout { grid-template-columns: 1fr 1.2fr; }
}

.contact-card-list { list-style: none; margin-top: 1.5rem; }
.contact-card-list li { margin-bottom: 1.25rem; }
.contact-card-list strong { font-size: 0.9rem; color: var(--navy); display: block; }
.contact-card-list p { font-size: 0.85rem; color: var(--text-muted); }

.form-container-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 576px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.9rem;
  background: #FAFAFA;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: #FFFFFF;
}

.btn-submit-full {
  width: 100%;
  background: var(--navy);
  color: #FFFFFF;
  border: none;
  padding: 0.85rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-submit-full:hover { opacity: 0.95; }

.lgpd-notice {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-gradient);
  color: #F8FAFC;
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr 1.1fr; }
}

.footer-col h4 {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-col p {
  color: #94A3B8;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; font-size: 0.85rem; }
.footer-links a { color: #94A3B8; }
.footer-links a:hover { color: var(--gold); }

.footer-contact-list { list-style: none; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 0.8rem;
}

.footer-contact-list svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: #64748B;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ==========================================================================
   WhatsApp Flutuante
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: var(--whatsapp);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.floating-whatsapp:hover { background-color: var(--whatsapp-hover); }