/* KPS — camada oficial de identidade, agosto de 2026. */
:root {
  --kneip-navy: #0a1628 !important;
  --kneip-gold: #c5a050 !important;
  --kneip-light: #ffffff !important;
  --kneip-dark: #0a1628 !important;
  --primary: #0a1628 !important;
  --primary-foreground: #ffffff !important;
  --accent: #c5a050 !important;
  --accent-foreground: #0a1628 !important;
  --ring: #c5a050 !important;
  --border: #dce3eb !important;
  --card-foreground: #0a1628 !important;
}

html { scroll-behavior: smooth; }
body {
  color: #0a1628;
  background: #ffffff;
  font-family: "Open Sans", Arial, sans-serif;
  font-style: normal;
}

*, *::before, *::after { font-style: normal !important; }
h1, h2, h3, h4, h5, h6 { font-family: Montserrat, Arial, sans-serif; }

/* Azul institucional anterior era #001F3F; a identidade vigente usa #0A1628. */
.text-primary { color: #0a1628 !important; }
.bg-primary { background-color: #0a1628 !important; }
.border-primary { border-color: #0a1628 !important; }
.from-primary { --tw-gradient-from: #0a1628 var(--tw-gradient-from-position) !important; }
.to-primary { --tw-gradient-to: #0a1628 var(--tw-gradient-to-position) !important; }
.via-primary { --tw-gradient-via: #0a1628 var(--tw-gradient-via-position) !important; }

.text-accent { color: #c5a050 !important; }
.bg-accent { background-color: #c5a050 !important; }
.border-accent { border-color: #c5a050 !important; }
.hover\:bg-accent:hover { background-color: #e0b95c !important; }
.hover\:text-accent:hover { color: #c5a050 !important; }
.from-accent { --tw-gradient-from: #c5a050 var(--tw-gradient-from-position) !important; }
.to-accent { --tw-gradient-to: #c5a050 var(--tw-gradient-to-position) !important; }

header {
  border-color: #e2e8f0 !important;
  box-shadow: 0 8px 28px rgba(10, 22, 40, .07) !important;
}

header img[alt="Kneip Phygital Strategy"] {
  object-fit: contain;
  filter: none !important;
}

section[data-loc*="Hero.tsx"] {
  color: #ffffff !important;
  background: #0a1628 url("/manus-storage/hero_bg_kps_650610c2.jpg") center / cover no-repeat !important;
}

section[data-loc*="Hero.tsx"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(10,22,40,.83) 0%, rgba(10,22,40,.7) 48%, rgba(10,22,40,.58) 100%);
}

section[data-loc*="Hero.tsx"] > * { position: relative; z-index: 1; }
section[data-loc*="Hero.tsx"] h1,
section[data-loc*="Hero.tsx"] p { color: #ffffff !important; }
section[data-loc*="Hero.tsx"] h1 span { color: #e0b95c !important; }

button,
a[class*="bg-accent"],
a[class*="bg-primary"] {
  border-radius: 4px !important;
  box-shadow: none !important;
}

[class*="rounded-2xl"],
[class*="rounded-3xl"] { border-radius: 12px !important; }

[class*="shadow-xl"],
[class*="shadow-2xl"] { box-shadow: 0 18px 44px rgba(10, 22, 40, .1) !important; }

section[data-loc*="ClientLogos.tsx"],
section[data-loc*="AboutKPS.tsx"] { background: #f8fafc !important; }

section[data-loc*="KneipSolutions.tsx"],
section[data-loc*="Testimonials.tsx"],
section[data-loc*="Contact.tsx"] { background: #ffffff !important; }

section[data-loc*="Testimonials.tsx"] p { font-style: normal !important; }

footer { background: #0a1628 !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
