/*
Theme Name: Korun Inteligência
Theme URI: https://korun.com.br
Author: Korun
Author URI: https://korun.com.br
Description: Tema WordPress da Korun — Inteligência de sinais para decisão. Landing page dark com hero animado, soluções, estatísticas, metodologia, públicos, insights e CTA.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: korun
Tags: dark, one-page, corporate, custom-menu, custom-logo
*/

/* =========================================================
   Design tokens
   ========================================================= */
:root {
  /* Paleta do manual de marca: Carvão, Sinal, Alerta, Base, Concreto */
  --k-bg: #111111;
  --k-bg-soft: #161615;
  --k-surface: #1a1a19;
  --k-surface-2: #222221;
  --k-border: #2e2e2c;
  --k-border-soft: #242422;
  --k-text: #f5f4f0;
  --k-text-muted: #b9b9b4;
  --k-text-dim: #8a8a85;
  --k-blue: #2555FF;
  --k-blue-bright: #4d78ff;
  --k-blue-dark: #1c3fd8;
  --k-orange: #FF5A1F;
  --k-radius: 10px;
  --k-radius-lg: 16px;
  --k-container: 1240px;
  --k-font: 'Instrument Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--k-bg);
  color: var(--k-text);
  font-family: var(--k-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.15; }

p { margin: 0; }

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

.k-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--k-orange);
  margin-bottom: 14px;
}

.k-section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Buttons */
.k-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.k-btn svg { width: 13px; height: 13px; flex-shrink: 0; }

.k-btn--primary {
  background: var(--k-blue);
  color: #fff;
}
.k-btn--primary:hover { background: var(--k-blue-dark); }

.k-btn--outline {
  background: transparent;
  color: var(--k-text);
  border-color: var(--k-border);
}
.k-btn--outline:hover { border-color: var(--k-text-muted); }

/* =========================================================
   Header
   ========================================================= */
.k-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 17, 17, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--k-border-soft);
}

.k-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 78px;
}

.k-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.k-logo .custom-logo { width: 34px; height: 34px; object-fit: contain; }

.k-nav { display: flex; align-items: center; }

.k-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.k-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--k-text-muted);
  transition: color .2s ease;
}
.k-nav a:hover { color: #fff; }

.k-nav > ul > li.current-menu-item > a,
.k-nav > ul > li.k-current > a { color: #fff; position: relative; }
.k-nav > ul > li.current-menu-item > a::after,
.k-nav > ul > li.k-current > a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--k-orange);
}

/* Dropdowns */
.k-nav li { position: relative; }
.k-caret { width: 9px; height: 9px; opacity: .6; }

.k-nav li ul {
  position: absolute;
  top: 100%;
  left: 8px;
  min-width: 220px;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: var(--k-surface);
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
}
.k-nav li:hover > ul,
.k-nav li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}
.k-nav li ul a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13.5px;
}
.k-nav li ul a:hover { background: var(--k-surface-2); color: #fff; }

.k-header__cta { flex-shrink: 0; }
.k-header__cta .k-btn { padding: 12px 20px; font-size: 12px; }

/* Mobile toggle */
.k-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--k-border);
  border-radius: 6px;
  padding: 9px 11px;
  cursor: pointer;
}
.k-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 980px) {
  .k-menu-toggle { display: block; }
  .k-header__cta { display: none; }
  .k-nav {
    position: fixed;
    inset: 78px 0 auto 0;
    background: var(--k-bg-soft);
    border-bottom: 1px solid var(--k-border);
    padding: 16px 24px 24px;
    display: none;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .k-nav.is-open { display: block; }
  .k-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .k-nav a { padding: 13px 6px; font-size: 16px; }
  .k-nav li ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 16px;
    min-width: 0;
  }
  body.k-menu-open { overflow: hidden; }
  .k-menu-open .k-menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .k-menu-open .k-menu-toggle span:nth-child(2) { opacity: 0; }
  .k-menu-open .k-menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* =========================================================
   Hero
   ========================================================= */
.k-hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 110px;
}

.k-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.k-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.k-hero__title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.04;
}
.k-hero__title .is-blue { color: var(--k-blue-bright); }

.k-hero__lead {
  margin: 28px 0 40px;
  max-width: 440px;
  font-size: 17px;
  color: var(--k-text-muted);
}

.k-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Floating labels over the visual */
.k-hero__visual {
  position: relative;
  min-height: 380px;
}

.k-hero__tag {
  position: absolute;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--k-text-muted);
  line-height: 1.5;
}
.k-hero__tag::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--dot, #fff);
}
.k-hero__tag::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 100%;
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, var(--k-border), transparent);
}
.k-hero__tag--1 { top: 4%; left: 6%; --dot: var(--k-blue-bright); }
.k-hero__tag--2 { top: 12%; left: 46%; --dot: var(--k-orange); }
.k-hero__tag--3 { top: 26%; right: 2%; --dot: #e5e7eb; }

@media (max-width: 980px) {
  .k-hero { padding: 64px 0 80px; }
  .k-hero__inner { grid-template-columns: 1fr; }
  .k-hero__visual { min-height: 300px; }
}

/* =========================================================
   Clients strip
   ========================================================= */
.k-clients {
  border-top: 1px solid var(--k-border-soft);
  border-bottom: 1px solid var(--k-border-soft);
  background: var(--k-bg-soft);
  padding: 44px 0 52px;
  text-align: center;
}

.k-clients__label {
  font-size: 14px;
  color: var(--k-text-muted);
  margin-bottom: 34px;
}

.k-clients__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 56px;
}

.k-client {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #8b909c;
  filter: grayscale(1);
  opacity: .85;
  transition: opacity .2s ease, color .2s ease;
}
.k-client:hover { opacity: 1; color: #c9cdd6; }
.k-client svg { width: 30px; height: 30px; }
.k-client__name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.1;
  text-align: left;
}
.k-client__name small {
  display: block;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: #6b7079;
}

/* =========================================================
   Solutions
   ========================================================= */
.k-solutions { padding: 96px 0 0; }

.k-solutions__head { margin-bottom: 44px; }

.k-cards-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.k-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--k-surface);
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius);
  padding: 28px 26px 24px;
  transition: border-color .25s ease, transform .25s ease;
}
.k-card:hover { border-color: #2c3550; transform: translateY(-4px); }

.k-card__icon {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--k-blue-bright);
}
.k-card__icon svg { width: 100%; height: 100%; }

.k-card__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.k-card__title .is-blue { color: var(--k-blue-bright); }

.k-card__text {
  font-size: 14px;
  color: var(--k-text-muted);
  flex-grow: 1;
}

.k-card__arrow {
  margin-top: 26px;
  align-self: flex-end;
  color: var(--k-text-muted);
  transition: color .2s ease, transform .2s ease;
}
.k-card__arrow svg { width: 20px; height: 20px; }
.k-card:hover .k-card__arrow { color: #fff; transform: translateX(4px); }

@media (max-width: 1080px) { .k-cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .k-cards-4 { grid-template-columns: 1fr; } }

/* =========================================================
   Products
   ========================================================= */
.k-products { padding: 0 0 96px; }

.k-products__head { margin-bottom: 44px; }

.k-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.k-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--k-orange);
  border: 1px solid rgba(255, 90, 31, .5);
  border-radius: 999px;
  padding: 2px 9px;
  margin-left: 10px;
  vertical-align: middle;
}

@media (max-width: 1080px) { .k-cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .k-cards-3 { grid-template-columns: 1fr; } }

/* =========================================================
   Stats
   ========================================================= */
.k-stats { padding: 56px 0 0; }

.k-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--k-surface);
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius);
  overflow: hidden;
}

.k-stat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 30px 28px;
}
.k-stat + .k-stat { border-left: 1px solid var(--k-border-soft); }

.k-stat__icon { display: block; width: 34px; height: 34px; color: var(--k-blue-bright); flex-shrink: 0; margin-top: 3px; }
.k-stat__icon svg { width: 100%; height: 100%; }

.k-stat__value {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.k-stat__value small {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-left: 4px;
}
.k-stat__label { font-size: 13px; color: var(--k-text-muted); margin-top: 4px; }

@media (max-width: 980px) {
  .k-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .k-stat + .k-stat { border-left: none; }
  .k-stat:nth-child(even) { border-left: 1px solid var(--k-border-soft); }
  .k-stat:nth-child(n+3) { border-top: 1px solid var(--k-border-soft); }
}
@media (max-width: 560px) {
  .k-stats__grid { grid-template-columns: 1fr; }
  .k-stat:nth-child(even) { border-left: none; }
  .k-stat:nth-child(n+2) { border-top: 1px solid var(--k-border-soft); }
}

/* =========================================================
   How it works
   ========================================================= */
.k-how { padding: 80px 0 96px; }

.k-how__eyebrow { margin-bottom: 34px; }

.k-how__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  position: relative;
}

.k-step { position: relative; padding-right: 20px; }

.k-step__icon {
  display: block;
  width: 46px;
  height: 46px;
  color: var(--k-blue-bright);
  margin-bottom: 20px;
}
.k-step__icon svg { width: 100%; height: 100%; }

.k-step__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--k-text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.k-step__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.k-step__text { font-size: 13.5px; color: var(--k-text-muted); }

.k-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 46px;
  width: 22px;
  height: 10px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10' fill='none'%3E%3Cpath d='M0 5h20m0 0L16 1m4 4-4 4' stroke='%238a8a85' stroke-width='1.4'/%3E%3C/svg%3E");
}

@media (max-width: 980px) {
  .k-how__grid { grid-template-columns: repeat(2, 1fr); }
  .k-step:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) {
  .k-how__grid { grid-template-columns: 1fr; }
  .k-step::after { display: none !important; }
}

/* =========================================================
   Audiences (Para quem é)
   ========================================================= */
.k-audiences { padding: 0 0 90px; }

.k-audiences__eyebrow { margin-bottom: 34px; }

.k-audience {
  position: relative;
  overflow: hidden;
  border-radius: var(--k-radius);
  border: 1px solid var(--k-border);
  background: var(--k-surface);
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px 24px;
  transition: border-color .25s ease, transform .25s ease;
}
.k-audience:hover { border-color: #3a3f4e; transform: translateY(-4px); }

.k-audience__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) brightness(.55);
  transition: filter .35s ease, transform .35s ease;
}
.k-audience:hover .k-audience__media { filter: grayscale(.6) brightness(.65); transform: scale(1.04); }

.k-audience::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(5,5,7,.96) 18%, rgba(5,5,7,.55) 55%, rgba(5,5,7,.25));
}

.k-audience__body { position: relative; z-index: 2; }

.k-audience__icon {
  display: block;
  width: 40px;
  height: 40px;
  color: var(--k-orange);
  margin-bottom: 16px;
}
.k-audience__icon svg { width: 100%; height: 100%; }

.k-audience__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.k-audience__text { font-size: 13px; color: #b6bcc6; margin-bottom: 18px; }

.k-audience__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--k-orange);
}
.k-audience__link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.k-audience__link:hover svg { transform: translateX(4px); }

/* =========================================================
   Insights
   ========================================================= */
.k-insights { padding: 0 0 90px; }

.k-insights__eyebrow { margin-bottom: 34px; }

.k-insights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.k-insight {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  background: var(--k-surface);
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius);
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
}
.k-insight:hover { border-color: #2c3550; transform: translateY(-4px); }

.k-insight__media {
  position: relative;
  min-height: 150px;
  background: var(--k-surface-2);
  background-size: cover;
  background-position: center;
}
.k-insight__media svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.k-insight__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.k-insight__kicker {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--k-orange);
  margin-bottom: 9px;
}

.k-insight__title { font-size: 16.5px; font-weight: 600; line-height: 1.35; }

.k-insight__link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--k-blue-bright);
}
.k-insight__link svg { width: 13px; height: 13px; transition: transform .2s ease; }
.k-insight:hover .k-insight__link svg { transform: translateX(4px); }

@media (max-width: 1080px) { .k-insights__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .k-insight { grid-template-columns: 1fr; }
  .k-insight__media { min-height: 130px; }
}

/* =========================================================
   CTA banner
   ========================================================= */
.k-cta { padding: 0 0 90px; }

.k-cta__box {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid rgba(255, 90, 31, .45);
  border-radius: var(--k-radius-lg);
  background:
    radial-gradient(ellipse 60% 120% at 75% 50%, rgba(37, 85, 255, .18), transparent 65%),
    radial-gradient(ellipse 40% 100% at 92% 80%, rgba(255, 90, 31, .12), transparent 60%),
    var(--k-bg-soft);
  padding: 56px;
}

.k-cta__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: .8;
}

.k-cta__title {
  position: relative;
  z-index: 1;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.k-cta__title .is-blue {
  color: var(--k-blue-bright);
  box-shadow: inset 0 -3px 0 var(--k-orange);
}

.k-cta__action { position: relative; z-index: 1; flex-shrink: 0; }

@media (max-width: 860px) {
  .k-cta__box { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
}

/* =========================================================
   Footer
   ========================================================= */
.k-footer {
  border-top: 1px solid var(--k-border-soft);
  background: var(--k-bg-soft);
  padding: 64px 0 0;
}

.k-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(0, .8fr)) 1.1fr;
  gap: 36px;
  padding-bottom: 52px;
}

.k-footer__brand .k-logo { font-size: 21px; margin-bottom: 18px; }

.k-footer__desc {
  font-size: 13.5px;
  color: var(--k-text-muted);
  max-width: 230px;
  margin-bottom: 22px;
}

.k-footer__social { display: flex; gap: 10px; }
.k-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--k-border);
  border-radius: 6px;
  color: var(--k-text-muted);
  transition: color .2s ease, border-color .2s ease;
}
.k-footer__social a:hover { color: #fff; border-color: var(--k-text-muted); }
.k-footer__social svg { width: 15px; height: 15px; }

.k-footer__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--k-text-dim);
  margin-bottom: 18px;
}

.k-footer ul { list-style: none; margin: 0; padding: 0; }
.k-footer ul li { margin-bottom: 11px; }
.k-footer ul a {
  font-size: 13.5px;
  color: var(--k-text-muted);
  transition: color .2s ease;
}
.k-footer ul a:hover { color: #fff; }

.k-footer__contact li { color: var(--k-text-muted); font-size: 13.5px; }
.k-footer__contact .k-btn { margin-top: 14px; padding: 11px 18px; font-size: 11px; }

.k-footer__bottom {
  border-top: 1px solid var(--k-border-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  font-size: 12.5px;
  color: var(--k-text-dim);
}
.k-footer__bottom a { color: var(--k-text-dim); }
.k-footer__bottom a:hover { color: var(--k-text-muted); }
.k-footer__legal { display: flex; gap: 8px; align-items: center; }
.k-footer__legal .sep { opacity: .5; }

@media (max-width: 1080px) {
  .k-footer__grid { grid-template-columns: repeat(3, 1fr); }
  .k-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .k-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Blog / content fallback (index, single, page, archive)
   ========================================================= */
.k-content { padding: 72px 0 96px; }
.k-content--narrow .k-container { max-width: 820px; }

.k-page-title {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 700;
  margin-bottom: 40px;
}

.k-post-list { display: grid; gap: 20px; }

.k-post-card {
  background: var(--k-surface);
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius);
  padding: 30px;
  transition: border-color .25s ease;
}
.k-post-card:hover { border-color: #2c3550; }

.k-post-card__meta {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--k-orange);
  margin-bottom: 10px;
}
.k-post-card__title { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.k-post-card__title a:hover { color: var(--k-blue-bright); }
.k-post-card__excerpt { color: var(--k-text-muted); font-size: 14.5px; }

.k-entry { color: #d3d7de; }
.k-entry h2, .k-entry h3 { margin: 1.6em 0 .6em; }
.k-entry p { margin-bottom: 1.2em; }
.k-entry a { color: var(--k-blue-bright); }
.k-entry img { border-radius: var(--k-radius); }

.k-pagination { margin-top: 44px; display: flex; gap: 8px; }
.k-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--k-border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--k-text-muted);
}
.k-pagination .page-numbers.current { background: var(--k-blue); border-color: var(--k-blue); color: #fff; }
.k-pagination a.page-numbers:hover { border-color: var(--k-text-muted); color: #fff; }

/* =========================================================
   Páginas internas
   ========================================================= */
.k-page-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 64px;
  border-bottom: 1px solid var(--k-border-soft);
  background: var(--k-bg-soft);
}
.k-page-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.k-page-hero .k-container { position: relative; z-index: 1; }
.k-page-hero__title { font-size: clamp(34px, 5vw, 54px); font-weight: 700; letter-spacing: -0.01em; }
.k-page-hero__lead { margin-top: 18px; max-width: 600px; font-size: 16.5px; color: var(--k-text-muted); }

.k-details { padding: 72px 0 96px; display: grid; gap: 24px; }

.k-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 48px;
  align-items: start;
  background: var(--k-surface);
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius-lg);
  padding: 44px;
  scroll-margin-top: 100px;
}

.k-detail__icon { display: block; width: 52px; height: 52px; color: var(--k-blue-bright); margin-bottom: 20px; }
.k-detail__icon svg { width: 100%; height: 100%; }
.k-detail__icon--orange { color: var(--k-orange); }

.k-detail__title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.k-detail__title .is-blue { color: var(--k-blue-bright); }

.k-detail__text { font-size: 15px; color: var(--k-text-muted); }

.k-detail__cta { margin-top: 26px; }

.k-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.k-list li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  color: var(--k-text-muted);
}
.k-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Ccircle cx='9' cy='9' r='8.2' stroke='%232555FF' stroke-width='1.4'/%3E%3Cpath d='M5.5 9.2l2.3 2.3 4.7-4.8' stroke='%232555FF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.k-list--titled li strong { display: block; color: var(--k-text); font-size: 14.5px; margin-bottom: 2px; }

@media (max-width: 860px) {
  .k-detail { grid-template-columns: 1fr; gap: 24px; padding: 30px 24px; }
}

/* Seções da página Quem Somos */
.k-about { padding: 72px 0 0; }
.k-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.k-about__grid p { color: var(--k-text-muted); font-size: 15.5px; margin-bottom: 1.1em; }
.k-about__grid p strong { color: var(--k-text); }
@media (max-width: 860px) { .k-about__grid { grid-template-columns: 1fr; gap: 8px; } }

/* Contato */
.k-contact { padding: 72px 0 96px; }
.k-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) { .k-contact__grid { grid-template-columns: 1fr; } }

.k-info-list { display: grid; gap: 16px; }
.k-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--k-surface);
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius);
  padding: 22px;
}
.k-info-card__icon { display: block; width: 30px; height: 30px; color: var(--k-blue-bright); flex-shrink: 0; margin-top: 2px; }
.k-info-card__icon svg { width: 100%; height: 100%; }
.k-info-card h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--k-text-dim);
  margin-bottom: 5px;
}
.k-info-card p, .k-info-card a { font-size: 15px; color: var(--k-text); }
.k-info-card a:hover { color: var(--k-blue-bright); }

.k-form-box {
  background: var(--k-surface);
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius-lg);
  padding: 36px;
}
.k-form { display: grid; gap: 18px; }
.k-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .k-form__row { grid-template-columns: 1fr; } }
.k-form label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--k-text-dim);
  margin-bottom: 7px;
}
.k-form input, .k-form textarea {
  width: 100%;
  background: var(--k-surface-2);
  border: 1px solid var(--k-border);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--k-text);
  font: inherit;
  font-size: 14.5px;
}
.k-form input:focus, .k-form textarea:focus {
  outline: none;
  border-color: var(--k-blue);
  box-shadow: 0 0 0 3px rgba(37, 85, 255, .18);
}
.k-form textarea { min-height: 140px; resize: vertical; }

.k-notice {
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid;
}
.k-notice--ok { color: #34d399; border-color: rgba(52, 211, 153, .4); background: rgba(52, 211, 153, .08); }
.k-notice--erro { color: #f87171; border-color: rgba(248, 113, 113, .4); background: rgba(248, 113, 113, .08); }
body:not(.k-escuro) .k-notice--ok { color: #047857; }
body:not(.k-escuro) .k-notice--erro { color: #b91c1c; }

/* =========================================================
   Tema claro — padrão do site (Base #F2F0EA do manual de marca).
   Aplicado sempre, exceto quando o estilo Escuro é escolhido no
   Personalizar (classe k-escuro no body).
   ========================================================= */
body:not(.k-escuro) {
  /* Base (#F2F0EA) e Concreto (#B9B9B4) do manual de marca */
  --k-bg: #f2f0ea;
  --k-bg-soft: #ebe9e1;
  --k-surface: #fbfaf6;
  --k-surface-2: #e9e7df;
  --k-border: #dcd9cd;
  --k-border-soft: #e4e1d7;
  --k-text: #111111;
  --k-text-muted: #5f5e57;
  --k-text-dim: #8f8e85;
}

body:not(.k-escuro) .k-header {
  background: rgba(242, 240, 234, 0.9);
}

body:not(.k-escuro) .k-nav a:hover,
body:not(.k-escuro) .k-nav > ul > li.current-menu-item > a,
body:not(.k-escuro) .k-nav > ul > li.k-current > a,
body:not(.k-escuro) .k-nav li ul a:hover,
body:not(.k-escuro) .k-footer ul a:hover,
body:not(.k-escuro) .k-footer__social a:hover,
body:not(.k-escuro) .k-card:hover .k-card__arrow { color: #111111; }

body:not(.k-escuro) .k-menu-toggle span { background: #111111; }

body:not(.k-escuro) .k-logo { color: #111111; }

body:not(.k-escuro) .k-card,
body:not(.k-escuro) .k-stats__grid,
body:not(.k-escuro) .k-insight,
body:not(.k-escuro) .k-post-card { box-shadow: 0 2px 6px rgba(17, 17, 17, .05); }

body:not(.k-escuro) .k-card:hover,
body:not(.k-escuro) .k-insight:hover,
body:not(.k-escuro) .k-post-card:hover { border-color: #b9c4ef; }

body:not(.k-escuro) .k-nav li ul { box-shadow: 0 20px 40px rgba(17, 17, 17, .12); }

body:not(.k-escuro) .k-client { color: #7c8494; }
body:not(.k-escuro) .k-client:hover { color: #3f4652; }
body:not(.k-escuro) .k-client__name small { color: #9aa1ad; }

/* Cards de público mantêm imagem escura, então o texto continua claro */
body:not(.k-escuro) .k-audience__title { color: #fff; }

body:not(.k-escuro) .k-hero__tag--3 { --dot: #111111; }

/* Layout interno (blog, posts, páginas) */
body:not(.k-escuro) .k-entry { color: #2f3642; }

body:not(.k-escuro) .k-cta__box {
  border-color: rgba(255, 90, 31, .35);
  background:
    radial-gradient(ellipse 60% 120% at 75% 50%, rgba(37, 85, 255, .10), transparent 65%),
    radial-gradient(ellipse 40% 100% at 92% 80%, rgba(255, 90, 31, .08), transparent 60%),
    var(--k-bg-soft);
}

/* Accessibility helpers */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}

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