/* ==========================================================================
   VISSECHI ASSESSORIA CONTÁBIL — LAYOUT 2.0
   Paleta: Azul-Marinho Profundo + Dourado/Bronze Sutil + Off-White Executivo
   Fontes (nativas no Google Fonts e no Editor Wix): Playfair Display & Plus Jakarta Sans
   ========================================================================== */

:root {
  --navy-950: #07111e;
  --navy-900: #0b192c;
  --navy-800: #132a46;
  --navy-700: #1d3b63;
  --gold-700: #96702b;
  --gold-600: #b68d40;
  --gold-500: #cca459;
  --gold-200: #ebd9b4;
  --gold-100: #fbf6ec;
  --bg-page: #f8f9fb;
  --bg-warm: #f3f1ec;
  --surface: #ffffff;
  --border: #e2e8f0;
  --border-gold: rgba(182, 141, 64, 0.32);
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --whatsapp: #1ebea5;
  --whatsapp-dark: #128c7e;
  --whatsapp-green: #25d366;
  --shadow-sm: 0 2px 8px rgba(11, 25, 44, 0.05);
  --shadow-md: 0 12px 32px rgba(11, 25, 44, 0.08);
  --shadow-lg: 0 24px 54px rgba(11, 25, 44, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.22s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   MODO REVISÃO (DESTACA TEXTO ORIGINAL VS. SUGESTÕES NOVAS)
   ========================================================================== */
.review-toolbar {
  display: none !important;
}

.review-toolbar label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  user-select: none;
}

.review-switch {
  appearance: none;
  width: 38px;
  height: 21px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: background 0.25s ease;
}

.review-switch::after {
  content: '';
  position: absolute;
  top: 2.5px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s ease;
}

.review-switch:checked {
  background: var(--gold-600);
}

.review-switch:checked::after {
  transform: translateX(16px);
}

.review-legend {
  display: none;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
}

body.review-mode .review-legend {
  display: flex;
}

.legend-pill {
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 600;
}

.legend-pill.orig {
  background: rgba(16, 185, 129, 0.22);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.45);
}

.legend-pill.sugg {
  background: rgba(204, 164, 89, 0.25);
  color: #fde68a;
  border: 1px solid rgba(204, 164, 89, 0.5);
}

body.review-mode [data-origin="original"] {
  outline: 2px dashed rgba(16, 185, 129, 0.65);
  outline-offset: 6px;
  position: relative;
  border-radius: 6px;
}

body.review-mode [data-origin="original"]::before {
  content: '✓ Texto Original Mantido';
  position: absolute;
  top: -13px;
  right: 8px;
  background: #059669;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 99px;
  z-index: 20;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  pointer-events: none;
}

body.review-mode [data-origin="sugestao"] {
  outline: 2px dashed rgba(182, 141, 64, 0.85);
  outline-offset: 6px;
  position: relative;
  border-radius: 6px;
}

body.review-mode [data-origin="sugestao"]::before {
  content: '★ Nova Sugestão 2.0';
  position: absolute;
  top: -13px;
  right: 8px;
  background: var(--gold-600);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 99px;
  z-index: 20;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  pointer-events: none;
}

/* ==========================================================================
   TOPBAR & HEADER
   ========================================================================== */
.topbar {
  background-color: var(--navy-950);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-items {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar-item svg {
  color: var(--gold-500);
  flex-shrink: 0;
}

.topbar-item a:hover {
  color: var(--gold-500);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-social a {
  color: rgba(255, 255, 255, 0.78);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.topbar-social a:hover {
  color: var(--gold-500);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 42px;
  max-height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-900);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold-600);
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-700);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: var(--navy-900);
  cursor: pointer;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 13px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.24s ease;
  text-align: center;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-700));
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(182, 141, 64, 0.28);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(182, 141, 64, 0.38);
  filter: brightness(1.05);
}

.btn-navy {
  background: var(--navy-900);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(11, 25, 44, 0.2);
}

.btn-navy:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold-500);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid rgba(11, 25, 44, 0.22);
}

.btn-outline-navy:hover {
  border-color: var(--gold-600);
  color: var(--gold-700);
  background: var(--gold-100);
}

.btn-whatsapp {
  background: #1fa855;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(31, 168, 85, 0.28);
}

.btn-whatsapp:hover {
  background: #198f47;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.86rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-700);
  background: var(--gold-100);
  border: 1px solid var(--border-gold);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.eyebrow-dark {
  background: rgba(204, 164, 89, 0.14);
  color: var(--gold-500);
  border-color: rgba(204, 164, 89, 0.35);
}

/* ==========================================================================
   HERO SECTION (HOME)
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 82% 18%, rgba(182, 141, 64, 0.18), transparent 42%),
              linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 58%, var(--navy-800) 100%);
  color: #ffffff;
  padding: 88px 0 96px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 54px;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 3.8vw, 3.35rem);
  line-height: 1.16;
  font-weight: 700;
  margin-bottom: 22px;
  color: #ffffff;
}

.hero h1 span {
  color: var(--gold-500);
}

.hero-lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-trust-note {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(204, 164, 89, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card-title {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  color: #ffffff;
}

.hero-card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy-950);
  background: var(--gold-500);
  padding: 4px 10px;
  border-radius: 99px;
}

.hero-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}

.hero-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-check-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(204, 164, 89, 0.18);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-check-item strong {
  display: block;
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.hero-check-item span {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero-card-cta {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-card-cta p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* ==========================================================================
   STATS / CREDIBILITY BAR
   ========================================================================== */
.stats-strip {
  margin-top: -38px;
  position: relative;
  z-index: 10;
}

.stats-box {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: 28px 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  border-right: 1px solid var(--border);
  padding-right: 18px;
}

.stat-item:last-child {
  border-right: none;
  padding-right: 0;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.15;
  margin-bottom: 4px;
}

.stat-number span {
  color: var(--gold-600);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   SECTIONS & TYPOGRAPHY
   ========================================================================== */
.section {
  padding: 88px 0;
}

.section-warm {
  background-color: var(--bg-warm);
}

.section-white {
  background-color: var(--surface);
}

.section-navy {
  background: linear-gradient(145deg, var(--navy-950), var(--navy-900));
  color: #ffffff;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 2.8vw, 2.55rem);
  line-height: 1.22;
  color: var(--navy-900);
  margin-bottom: 16px;
}

.section-navy .section-title {
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.04rem;
  color: var(--text-muted);
}

.section-navy .section-subtitle {
  color: rgba(255, 255, 255, 0.76);
}

/* ==========================================================================
   ABOUT INTRO + TAX COMMITMENT (HOME)
   ========================================================================== */
.intro-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 52px;
  align-items: center;
}

.intro-text p {
  margin-bottom: 18px;
  font-size: 1.02rem;
  color: var(--text-body);
}

.mission-quote-card {
  background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
  color: #ffffff;
  padding: 38px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(204, 164, 89, 0.35);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.mission-quote-card .quote-mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 0.8;
  color: var(--gold-500);
  opacity: 0.65;
  margin-bottom: 12px;
}

.mission-quote-card blockquote {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  line-height: 1.48;
  margin-bottom: 20px;
  color: #ffffff;
}

.mission-quote-card .divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  margin: 22px 0;
}

.mission-quote-card p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.96rem;
  margin-bottom: 22px;
}

.free-quote-banner {
  background: rgba(204, 164, 89, 0.16);
  border: 1px solid rgba(204, 164, 89, 0.42);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.free-quote-banner strong {
  color: var(--gold-200);
  font-size: 1rem;
}

/* ==========================================================================
   SERVICES CARDS (HOME & SERVICOS)
   ========================================================================== */
.services-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  transition: all 0.28s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-900), var(--gold-600));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--gold-100);
  color: var(--navy-900);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  color: var(--navy-900);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-body);
  font-size: 0.97rem;
  margin-bottom: 22px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-900);
}

.service-link svg {
  color: var(--gold-600);
  transition: transform 0.22s ease;
}

.service-link:hover {
  color: var(--gold-700);
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   JOURNEY SECTION: ABRIR EMPRESA OU TROCAR DE CONTADOR
   ========================================================================== */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.journey-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 38px;
}

.journey-card.highlight {
  background: linear-gradient(160deg, rgba(204, 164, 89, 0.14), rgba(255, 255, 255, 0.04));
  border-color: rgba(204, 164, 89, 0.42);
}

.journey-card h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.journey-card > p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 28px;
  font-size: 0.96rem;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-600);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-item strong {
  display: block;
  color: #ffffff;
  font-size: 0.96rem;
  margin-bottom: 3px;
}

.step-item span {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   PAGE HERO (INTERNAL PAGES: SERVIÇOS, SOBRE, BLOG)
   ========================================================================== */
.page-hero {
  background: radial-gradient(circle at 80% 25%, rgba(182, 141, 64, 0.18), transparent 45%),
              linear-gradient(135deg, var(--navy-950), var(--navy-900));
  color: #ffffff;
  padding: 68px 0 74px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 660px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

/* ==========================================================================
   DETAILED SERVICES BLOCKS (SERVICOS.HTML)
   ========================================================================== */
.service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 0.36fr 0.64fr;
  gap: 38px;
  align-items: start;
}

.service-detail-meta .tag-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-700);
  display: block;
  margin-bottom: 8px;
}

.service-detail-meta h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--navy-900);
  margin-bottom: 14px;
}

.service-detail-meta p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.check-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-page);
  border-radius: 10px;
  border-left: 3px solid var(--gold-600);
  font-size: 0.97rem;
  color: var(--text-main);
}

.check-bullets li svg {
  color: var(--gold-600);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   VALUES GRID (SOBRE.HTML)
   ========================================================================== */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.mvv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.mvv-card.navy {
  background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
  color: #ffffff;
  border-color: rgba(204, 164, 89, 0.35);
}

.mvv-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--navy-900);
}

.mvv-card.navy h3 {
  color: var(--gold-500);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.value-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-600);
  line-height: 1;
  margin-bottom: 12px;
}

.value-card h4 {
  font-size: 1.12rem;
  color: var(--navy-900);
  margin-bottom: 8px;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.22s ease;
}

.faq-item.open {
  border-color: var(--gold-600);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold-600);
  color: #ffffff;
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--text-body);
  font-size: 0.96rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   BLOG CARDS & MODAL
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.26s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.blog-thumb {
  height: 190px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  position: relative;
}

.blog-category {
  align-self: flex-start;
  background: rgba(204, 164, 89, 0.22);
  border: 1px solid rgba(204, 164, 89, 0.5);
  color: var(--gold-200);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 11px;
  border-radius: 99px;
}

.blog-thumb-icon {
  color: var(--gold-500);
  opacity: 0.9;
}

.blog-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.blog-body h3 {
  font-family: var(--font-serif);
  font-size: 1.24rem;
  line-height: 1.35;
  color: var(--navy-900);
  margin-bottom: 12px;
}

.blog-body p {
  font-size: 0.93rem;
  color: var(--text-body);
  margin-bottom: 20px;
  flex: 1;
}

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(145deg, var(--navy-950), var(--navy-900));
  color: #ffffff;
  padding: 38px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(204, 164, 89, 0.3);
}

.contact-info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  margin-bottom: 12px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 26px 0;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(204, 164, 89, 0.16);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-500);
  margin-bottom: 3px;
}

.contact-info-item p,
.contact-info-item a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.96rem;
}

.map-embed {
  margin-top: 22px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  height: 200px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-control {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg-page);
  color: var(--text-main);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-600);
  background: #ffffff;
}

textarea.form-control {
  min-height: 115px;
  resize: vertical;
}

.form-feedback {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  font-weight: 600;
  font-size: 0.94rem;
}

/* ==========================================================================
   FOOTER & FLOATING WHATSAPP
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.76);
  padding: 72px 0 32px;
  border-top: 3px solid var(--gold-600);
}

.footer-grid,
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .footer-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-brand img,
.footer-logo,
.brand-col img {
  height: 42px;
  max-height: 44px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
}

.footer-col h4 {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--gold-500);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.58);
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 998;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1fa855;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 12px 28px rgba(31, 168, 85, 0.4);
}

.whatsapp-float:hover {
  background: #178a44;
  transform: translateY(-3px) scale(1.02);
}

/* Modal Artigo Blog */
.article-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 17, 30, 0.72);
  backdrop-filter: blur(6px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.article-modal-backdrop.active {
  display: flex;
}

.article-modal {
  background: var(--surface);
  max-width: 760px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  padding: 42px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  background: var(--bg-page);
  border: 1px solid var(--border);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
}

.article-modal h2 {
  font-family: var(--font-serif);
  color: var(--navy-900);
  font-size: 1.85rem;
  margin: 12px 0 18px;
}

.article-modal p {
  margin-bottom: 16px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid,
  .intro-grid,
  .journey-grid,
  .contact-grid,
  .service-detail-card {
    grid-template-columns: 1fr;
  }

  .stats-box {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .values-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.open {
    display: flex;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .services-grid-4,
  .mvv-grid,
  .values-grid,
  .blog-grid,
  .stats-box,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
  }

  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 15px;
    border-radius: 50%;
  }

  .review-toolbar {
    left: 14px;
    bottom: 14px;
    max-width: calc(100vw - 92px);
  }
}

/* ==========================================================================
   ELEMENTOS ADICIONAIS: CONSULTA NBS, BRAND MOCKUPS & BLOG 2026/2027
   ========================================================================== */

/* Link destacado de Consulta NBS no Menu */
.nav-link.nav-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-100);
  color: var(--gold-700);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
}

.nav-link.nav-highlight:hover,
.nav-link.nav-highlight.active {
  background: var(--gold-600);
  color: #ffffff;
  border-color: var(--gold-600);
}

.nav-link.nav-highlight::after {
  display: none;
}

/* Banner Chamada Consulta NBS na Home / Serviços */
.nbs-callout-section {
  background: linear-gradient(135deg, var(--navy-950) 0%, #151412 100%);
  border-top: 1px solid rgba(204, 164, 89, 0.35);
  border-bottom: 1px solid rgba(204, 164, 89, 0.35);
  padding: 56px 0;
  color: #ffffff;
}

.nbs-callout-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
}

.nbs-callout-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  color: #ffffff;
  margin: 10px 0 14px;
}

.nbs-callout-content p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.nbs-callout-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.nbs-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  background: rgba(201, 162, 75, 0.14);
  border: 1px solid rgba(201, 162, 75, 0.4);
  color: var(--gold-200);
  padding: 4px 12px;
  border-radius: 6px;
}

.nbs-callout-card {
  background: rgba(29, 27, 24, 0.9);
  border: 1px solid rgba(201, 162, 75, 0.38);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.nbs-callout-card .tool-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-500);
  background: rgba(201, 162, 75, 0.15);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.nbs-callout-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.nbs-callout-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

/* Moldura e Showcase de Marca & Papelaria */
.brand-showcase-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(204, 164, 89, 0.35);
}

.brand-showcase-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.brand-badge-overlay {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(11, 25, 44, 0.88);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(204, 164, 89, 0.4);
}

/* Imagens reais nos Cards do Blog */
.blog-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: var(--navy-950);
}

.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.03);
}

.blog-card-img-wrap .blog-category {
  display: none !important; /* A chamada da matéria e badge já estão perfeitamente integrados na própria arte executiva */
}

@media (max-width: 992px) {
  .nbs-callout-grid {
    grid-template-columns: 1fr;
  }
}