/* ==========================================================================
   TKOR Insights — tema Ghost
   Identidade alinhada ao tkor.com.br: navy #08285F, azul #3D72C1,
   Plus Jakarta Sans (títulos) + Inter (texto), raio 8px.
   ========================================================================== */

/* Layout: faixa navy de marca no topo, conteúdo editorial em branco, rodapé navy profundo */
:root {
    --navy: #08285F;
    --navy-2: #061D46;
    --navy-deep: #041633;
    --blue: #3D72C1;          /* links e rótulos sobre branco (AA) */
    --sky: #78A7EE;           /* destaque sobre navy */
    --blue-soft: #DBE7F8;
    --blue-wash: #EAF1FB;
    --green: #14935F;         /* sinal "ao vivo" */
    --ink: #111827;
    --slate: #4B5A70;
    --muted: #5F6B7A;
    --rule: #D8E0EA;
    --surface: #F5F8FC;
    --white: #FFFFFF;

    --font-sans: var(--gh-font-body, "Inter"), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-heading: var(--gh-font-heading, "Plus Jakarta Sans"), "Inter", system-ui, sans-serif;
    --font-mono: var(--font-sans);

    --gutter: 24px;
    --max: 1240px;
    --measure: 700px;
    --radius-s: 8px;
    --radius-m: 12px;
    --header-h: 72px;
    --shadow: 0 1px 2px rgba(8,40,95,.05), 0 20px 44px -24px rgba(8,40,95,.28);
}

@media (max-width: 640px) {
    :root { --gutter: 16px; --header-h: 60px; }
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.65;
    font-optical-sizing: auto;
    font-feature-settings: "cv11", "ss03";
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); font-weight: 600; letter-spacing: 0; word-spacing: .06em; line-height: 1.22; text-wrap: balance; }
/* Títulos pequenos (cards, feed, listas) em Inter: o Plus Jakarta fica apertado abaixo de ~22px */
.card__title, .feed__title, .report-card__list, .card--compact .card__title, .card--text .card__title {
    font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.006em; word-spacing: 0;
}
.card--lead .card__title { font-family: var(--font-heading); letter-spacing: -0.004em; word-spacing: .06em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: var(--gutter); top: -60px; z-index: 100;
    background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-s);
}
.skip-link:focus { top: 12px; }

.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--article { max-width: calc(var(--measure) + var(--gutter) * 2); }
.container--wide { max-width: calc(1080px + var(--gutter) * 2); }

/* Botões e links ---------------------------------------------------------- */
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 20px;
    border: 1px solid var(--navy); border-radius: var(--radius-s);
    background: var(--navy); color: var(--white);
    font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
    cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
.button:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.button--small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.button--block { width: 100%; }
.button--accent { background: var(--navy); border-color: var(--navy); color: var(--white); }
.button--accent:hover { background: var(--navy-2); border-color: var(--navy-2); }
.button--ghost { background: transparent; color: var(--navy); border-color: var(--rule); }
.button--ghost:hover { background: var(--surface); border-color: var(--slate); }

.link-more {
    display: inline-block; font-size: 15px; font-weight: 600; color: var(--blue);
    border-bottom: 1px solid transparent; transition: border-color .15s ease;
}
.link-more:hover { border-color: currentColor; }
.link-quiet { font-size: 15px; font-weight: 500; color: var(--navy); }
.link-quiet:hover { color: var(--blue); }
.link-inverse { color: var(--navy); font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--navy); }

.chip {
    display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px;
    border: 1px solid var(--rule); border-radius: 999px;
    font-size: 14px; color: var(--navy); background: var(--white);
    transition: border-color .15s ease, background-color .15s ease;
}
.chip:hover { border-color: var(--blue); background: var(--blue-wash); }

.empty { color: var(--slate); font-size: 15px; }
.empty--page { padding: 48px 0 96px; }

/* Header (faixa navy, como no tkor.com.br) ---------------------------------- */
.site-header {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
    background: var(--navy); color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-header__inner { display: flex; align-items: center; gap: 36px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--navy); }
.brand__logo { height: 36px; width: auto; }
.brand__icon { width: 36px; height: 36px; border-radius: 8px; }
.brand__wordmark { font-family: var(--font-heading); font-size: 17px; font-weight: 700; letter-spacing: .08em; }
.brand__pub {
    padding-left: 12px; border-left: 1px solid var(--rule);
    font-size: 15px; font-weight: 500; color: var(--slate); letter-spacing: 0;
}
.site-header .brand, .brand--inverse { color: var(--white); }
.site-header .brand__pub, .brand--inverse .brand__pub { color: var(--blue-soft); border-color: rgba(255,255,255,.22); }

.site-nav { display: flex; align-items: center; gap: 28px; flex: 1; min-width: 0; }
.site-nav .nav { display: flex; gap: 26px; list-style: none; }
.site-nav .nav a, .site-nav__external {
    display: block; padding: 8px 0; font-size: 14.5px; font-weight: 500; color: var(--blue-soft);
    border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease;
}
.site-nav .nav a:hover, .site-nav__external:hover { color: var(--white); }
.site-nav .nav-current a { border-color: var(--sky); color: var(--white); }
.site-nav__external { margin-left: auto; }

.site-header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.site-header .link-quiet { color: var(--white); font-size: 14.5px; }
.site-header .link-quiet:hover { color: var(--sky); }
.site-header .button { background: var(--white); border-color: var(--white); color: var(--navy); }
.site-header .button:hover { background: var(--blue-soft); border-color: var(--blue-soft); }
.icon-button {
    display: inline-grid; place-items: center; width: 40px; height: 40px;
    border: 0; border-radius: var(--radius-s); background: transparent; color: var(--navy); cursor: pointer;
}
.icon-button:hover { background: var(--surface); }
.site-header .icon-button { color: var(--white); }
.site-header .icon-button:hover { background: rgba(255, 255, 255, .1); }

.menu-toggle { display: none; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
    display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-open .menu-toggle__bars { background: transparent; }
.menu-open .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
    .site-header__inner { gap: 16px; }
    .menu-toggle { display: inline-grid; }
    .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 8px var(--gutter) 24px; background: var(--navy-2); border-bottom: 1px solid rgba(255,255,255,.1);
    }
    .menu-open .site-nav { display: flex; }
    .site-nav .nav { flex-direction: column; gap: 0; }
    .site-nav .nav a, .site-nav__external { padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.1); }
    .site-nav .nav-current a { border-color: rgba(255,255,255,.1); color: var(--sky); }
    .site-nav__external { margin-left: 0; border-bottom: 0; }
}
@media (max-width: 640px) {
    .hide-sm { display: none; }
    .brand { gap: 10px; }
    .brand__icon { width: 32px; height: 32px; }
    .brand__pub { font-size: 14px; padding-left: 10px; }
    .site-header__actions { gap: 4px; }
}

/* Faixa azul da home: espaço de banner com link ---------------------------- */
.brand-band { background: var(--navy); color: var(--white); padding-block: 28px; }
.brand-band:not(:has(.banner)) { padding-block: 0; }
.banner { display: block; border-radius: var(--radius-m); }
.banner--image { overflow: hidden; }
.banner--image img { width: 100%; height: auto; }
.banner--text {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 20px 24px; border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .04); transition: border-color .15s ease, background-color .15s ease;
}
.banner--text:hover { border-color: var(--sky); background: rgba(255, 255, 255, .07); }
.banner__text { font-family: var(--font-heading); font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; word-spacing: .06em; line-height: 1.3; }
.banner__button {
    flex-shrink: 0; display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px;
    border-radius: var(--radius-s); background: var(--white); color: var(--navy); font-size: 14.5px; font-weight: 600;
}
.banner--text:hover .banner__button { background: var(--blue-soft); }
@media (max-width: 640px) {
    .brand-band { padding-block: 20px; }
    .banner--text { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; }
}

/* Títulos de seção -------------------------------------------------------- */
.section { padding: 56px 0 8px; }
.section__header {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
    margin-bottom: 28px; padding-top: 14px; border-top: 2px solid var(--navy);
}
.section-title { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; color: var(--navy); }

/* Sinal "ao vivo": o único elemento animado do tema -------------------------- */
.signal {
    position: relative; display: inline-block; width: 9px; height: 9px; flex-shrink: 0;
    border-radius: 50%; background: var(--green);
}
.signal::after {
    content: ""; position: absolute; inset: -5px; border-radius: 50%;
    border: 2px solid var(--green); opacity: 0; animation: signal 2.4s ease-out infinite;
}
@keyframes signal {
    0% { transform: scale(.4); opacity: .8; }
    80%, 100% { transform: scale(1.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .signal::after { animation: none; }
    * { scroll-behavior: auto !important; }
}

/* Cards ------------------------------------------------------------------ */
.card { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card__media { display: block; overflow: hidden; border-radius: var(--radius-m); background: var(--surface); aspect-ratio: 16 / 9; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card__media:hover img { transform: scale(1.025); }
.card__body { display: flex; flex-direction: column; gap: 8px; }
.card__tag { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--blue); }
.card__tag:hover { color: var(--navy); }
.card__title { font-size: 19px; line-height: 1.3; color: var(--ink); }
.card__title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .25s ease; }
.card__title a:hover { background-size: 100% 1px; }
.card__excerpt { font-size: 15.5px; line-height: 1.55; color: var(--slate); }

.card--lead { gap: 20px; }
.card--lead .card__title { font-size: clamp(26px, 2.9vw, 38px); line-height: 1.18; color: var(--navy); }
.card--lead .card__excerpt { font-size: 18px; max-width: 62ch; }

.card--compact { flex-direction: row; gap: 16px; }
.card--compact .card__media { flex: 0 0 120px; aspect-ratio: 1; }
.card--compact .card__title { font-size: 16.5px; }

.card--text { padding: 20px 0; border-bottom: 1px solid var(--rule); gap: 8px; }
.card--text .card__title { font-size: 18px; }

.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--slate); }
.post-meta__author { font-weight: 600; color: var(--ink); }

/* Grids ------------------------------------------------------------------ */
.grid { display: grid; gap: 40px 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--ruled { gap: 0 40px; }
@media (max-width: 1080px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .grid--ruled { gap: 0; }
}

/* Abertura da home -------------------------------------------------------- */
.opening { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; padding: 36px 0 16px; }
.opening__main { display: flex; flex-direction: column; gap: 36px; }
.opening__secondary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding-top: 32px; border-top: 1px solid var(--rule); }
.opening__secondary:empty { display: none; }
.opening__empty { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 260px; padding: 40px; border-radius: var(--radius-m); background: var(--surface); color: var(--slate); }
.opening__empty-title { font-family: var(--font-heading); font-size: 24px; font-weight: 600; color: var(--navy); word-spacing: .06em; }
.opening__feed { padding-left: 32px; border-left: 1px solid var(--rule); }
@media (max-width: 1080px) {
    .opening { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .opening__feed { padding-left: 0; border-left: 0; padding-top: 0; }
}
@media (max-width: 640px) { .opening__secondary { grid-template-columns: minmax(0, 1fr); } }

/* Feed de notícias (linha do tempo de monitoramento) ------------------------ */
.feed__header { margin-bottom: 8px; }
.feed__list { list-style: none; margin-bottom: 20px; }
.feed__item {
    position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px;
    padding: 16px 0; border-bottom: 1px solid var(--rule);
}
.feed__item:last-child { border-bottom: 0; }
.feed__time {
    display: flex; flex-direction: column; gap: 2px; padding-top: 3px;
    font-size: 12.5px; font-weight: 500; line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums;
}
.feed__clock { color: var(--blue); }
.feed__title { font-size: 16.5px; line-height: 1.35; font-weight: 600; }
.feed__title a:hover { color: var(--blue); }
.feed__excerpt { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--slate); }

.feed--large .feed__item { grid-template-columns: 96px minmax(0, 1fr); gap: 24px; padding: 24px 0; }
.feed--large .feed__title { font-size: 21px; line-height: 1.3; }
.feed--large .feed__time { font-size: 13px; }
@media (max-width: 640px) {
    .feed--large .feed__item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .feed--large .feed__time { flex-direction: row; gap: 10px; }
}

/* Split: guias + relatório ------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; padding: 56px 0 8px; }
.split .section__header { margin-bottom: 4px; }
@media (max-width: 1080px) { .split { grid-template-columns: minmax(0, 1fr); } }

.report-card {
    display: flex; flex-direction: column; gap: 14px; height: 100%;
    padding: 28px; border-radius: var(--radius-m); background: var(--surface);
}
.report-card__kicker { font-size: 14px; font-weight: 600; color: var(--blue); letter-spacing: 0; }
.report-card__cover { width: 140px; border-radius: var(--radius-s); box-shadow: 0 12px 28px -12px rgba(8, 40, 95, .45); }
.report-card__title { font-size: 23px; line-height: 1.25; color: var(--navy); }
.report-card p { font-size: 15.5px; color: var(--slate); }
.report-card__list { list-style: none; margin-top: 8px; border-top: 1px solid var(--rule); }
.report-card__list li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; font-weight: 500; }
.report-card__list a:hover { color: var(--blue); }

/* Newsletter -------------------------------------------------------------- */
.newsletter-band { margin: 72px 0 16px; padding: 64px 0; background: var(--navy-deep); color: var(--white); }
.newsletter-band__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.newsletter-band__kicker { font-size: 14px; font-weight: 600; color: var(--sky); margin-bottom: 10px; }
.newsletter-band h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 14px; }
.newsletter-band__copy p:last-child { max-width: 52ch; color: #C6D5EA; font-size: 17px; }
.fine-print { margin-top: 12px; font-size: 13.5px; color: rgba(255,255,255,.6); }
@media (max-width: 860px) { .newsletter-band__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

.subscribe-form__row { display: flex; gap: 8px; }
.subscribe-form input {
    flex: 1; min-width: 0; height: 48px; padding: 0 16px;
    border: 1px solid var(--rule); border-radius: var(--radius-s);
    background: var(--white); color: var(--ink); font: inherit; font-size: 16px;
}
.subscribe-form input::placeholder { color: #8A96A8; }
.subscribe-form input:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.subscribe-form .button { min-height: 48px; }
.subscribe-form--band .button, .subscribe-form--inverse .button { background: var(--white); border-color: var(--white); color: var(--navy); }
.subscribe-form--band .button:hover, .subscribe-form--inverse .button:hover { background: var(--blue-soft); border-color: var(--blue-soft); }
.subscribe-form--band input, .subscribe-form--inverse input { border-color: transparent; }
.subscribe-form__loading, .subscribe-form__msg { display: none; }
.subscribe-form.loading .subscribe-form__label { display: none; }
.subscribe-form.loading .subscribe-form__loading { display: inline; }
.subscribe-form__msg { margin-top: 10px; font-size: 14.5px; }
.subscribe-form.success .subscribe-form__msg--ok { display: block; }
.subscribe-form.error .subscribe-form__msg--erro { display: block; }
.subscribe-form.success .subscribe-form__row { display: none; }
.subscribe-form--band .subscribe-form__msg--ok, .subscribe-form--inverse .subscribe-form__msg--ok { color: var(--sky); }
.subscribe-form__msg--ok { color: var(--blue); }
.subscribe-form__msg--erro { color: #C2410C; }
.subscribe-form--band .subscribe-form__msg--erro, .subscribe-form--inverse .subscribe-form__msg--erro { color: #FDBA8C; }
@media (max-width: 420px) {
    .subscribe-form__row { flex-direction: column; }
    .subscribe-form input { flex: none; width: 100%; }
}

/* CTA TKOR ---------------------------------------------------------------- */
.cta-tkor { margin-top: 72px; padding: 56px 0; background: var(--blue-wash); border-top: 1px solid var(--blue-soft); }
.cta-tkor__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-tkor h2 { max-width: 26ch; font-size: clamp(24px, 2.4vw, 30px); color: var(--navy); margin-bottom: 10px; }
.cta-tkor p { max-width: 60ch; color: var(--slate); }
.cta-tkor__actions { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
@media (max-width: 860px) {
    .cta-tkor__inner { flex-direction: column; align-items: flex-start; }
    .cta-tkor__actions { flex-wrap: wrap; }
}

/* Footer ------------------------------------------------------------------ */
.site-footer { padding: 64px 0 32px; background: var(--navy); color: rgba(255,255,255,.75); font-size: 15px; }
.cta-tkor + .site-footer, .site-main:has(> .cta-tkor:last-child) + .site-footer { margin-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 4fr); gap: 40px; }
.site-footer__about { display: flex; flex-direction: column; gap: 16px; }
.site-footer__about p { max-width: 42ch; }
.site-footer__company a { color: var(--white); border-bottom: 1px solid rgba(255,255,255,.4); }
.site-footer__social { display: flex; gap: 8px; }
.site-footer__social a {
    display: inline-grid; place-items: center; width: 38px; height: 38px;
    border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-s); color: var(--white);
}
.site-footer__social a:hover { border-color: var(--sky); color: var(--sky); }
.site-footer__col h2 { margin-bottom: 14px; font-size: 15px; font-weight: 600; color: var(--white); letter-spacing: 0; }
.site-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer__col ul + ul { margin-top: 10px; }
.site-footer__col a:hover { color: var(--white); }
.site-footer__news p { margin-bottom: 14px; }
.site-footer__bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14);
    font-size: 13.5px; color: rgba(255,255,255,.55);
}
@media (max-width: 1080px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* Arquivos (editorias, temas, autores) -------------------------------------- */
.archive-header { padding: 40px 0 32px; margin-bottom: 36px; border-bottom: 1px solid var(--rule); }
.archive-header__title { display: flex; align-items: center; gap: 14px; font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.004em; color: var(--navy); }
.archive-header__desc { margin-top: 12px; max-width: 64ch; font-size: 18px; color: var(--slate); }
.archive-header__links { margin-top: 10px; font-size: 15px; }
.archive-header__links a { color: var(--blue); }
.archive-header--author { display: flex; align-items: center; gap: 24px; }
.archive-grid { padding-bottom: 32px; }

.archive-lead { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--rule); }
.archive-lead__side .card--text:first-child { padding-top: 0; }
.archive-lead__side .card--text:last-child { border-bottom: 0; }
@media (max-width: 1080px) { .archive-lead { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

.news-archive { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; padding-bottom: 64px; }
.news-archive .feed__item:first-child { padding-top: 0; }
.side-box { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border-radius: var(--radius-m); background: var(--surface); }
.side-box h2 { font-size: 21px; color: var(--navy); margin-bottom: 8px; }
.side-box p { font-size: 15px; color: var(--slate); margin-bottom: 18px; }
.side-box .subscribe-form__row { flex-direction: column; }
.side-box .subscribe-form input { flex: none; width: 100%; }
@media (max-width: 1080px) { .news-archive { grid-template-columns: minmax(0, 1fr); } }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: 14px; color: var(--slate); }
.breadcrumb a { color: var(--blue); font-weight: 500; }
.breadcrumb a:hover { color: var(--navy); }

.pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 32px 0 72px; }
.pagination__info { font-size: 14px; color: var(--slate); }

.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--surface); }
.avatar--md { width: 64px; height: 64px; }
.avatar--lg { width: 88px; height: 88px; }

/* Artigo ------------------------------------------------------------------ */
.article__header { padding: 40px 0 32px; }
.article__title { font-size: clamp(31px, 4.2vw, 48px); line-height: 1.16; letter-spacing: -0.006em; color: var(--navy); }
.article__dek { margin-top: 18px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--slate); }
.article__byline {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    margin-top: 28px; padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.byline { display: flex; align-items: center; gap: 12px; }
.byline__text { display: flex; flex-direction: column; gap: 2px; }
.byline__name { font-weight: 600; color: var(--ink); font-size: 15.5px; }
.byline__name:hover { color: var(--blue); }
.byline__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--slate); }

.share { display: flex; align-items: center; gap: 6px; }
.share__label { margin-right: 6px; font-size: 14px; color: var(--slate); }
.share__btn {
    position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px;
    border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--white);
    color: var(--navy); cursor: pointer; transition: border-color .15s ease, color .15s ease;
}
.share__btn:hover { border-color: var(--blue); color: var(--blue); }
.share__copied {
    position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
    padding: 4px 8px; border-radius: var(--radius-s); background: var(--navy); color: var(--white);
    font-size: 12.5px; white-space: nowrap; pointer-events: none;
}
.share__copied:empty { display: none; }
@media (max-width: 640px) { .share__label { display: none; } }

.article__image { margin: 0 auto 48px; }
.article__image img { width: 100%; border-radius: var(--radius-m); }
.article__image figcaption { margin-top: 10px; font-size: 14px; color: var(--slate); text-align: center; }

/* Conteúdo (Koenig) ------------------------------------------------------- */
.gh-content {
    display: grid;
    grid-template-columns:
        [full-start] minmax(var(--gutter), 1fr)
        [wide-start] minmax(0, 190px)
        [main-start] min(var(--measure), calc(100% - var(--gutter) * 2))
        [main-end] minmax(0, 190px)
        [wide-end] minmax(var(--gutter), 1fr)
        [full-end];
    font-size: 18px; line-height: 1.78; color: #1B2433;
}
.gh-content > * { grid-column: main-start / main-end; margin: 0; }
.gh-content > * + * { margin-top: 1.4em; }
.gh-content > .kg-width-wide { grid-column: wide-start / wide-end; }
.gh-content > .kg-width-full { grid-column: full-start / full-end; }
.gh-content > .kg-width-full img { border-radius: 0; }

.gh-content > h2 { margin-top: 2.1em; font-size: 29px; line-height: 1.22; color: var(--navy); }
.gh-content > h3 { margin-top: 1.8em; font-size: 23px; line-height: 1.3; color: var(--navy); }
.gh-content > h4 { margin-top: 1.6em; font-size: 19px; }
.gh-content > h2 + *, .gh-content > h3 + *, .gh-content > h4 + * { margin-top: .7em; }

.gh-content a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gh-content a:hover { color: var(--navy); }
.gh-content strong { font-weight: 600; }
.gh-content ul, .gh-content ol { padding-left: 1.3em; }
.gh-content li + li { margin-top: .45em; }
.gh-content li::marker { color: var(--blue); }
.gh-content hr { width: 100%; height: 1px; border: 0; background: var(--rule); margin-top: 2.4em; margin-bottom: 1em; }

.gh-content blockquote:not([class]) {
    padding: 4px 0 4px 24px; border-left: 3px solid var(--blue);
    font-size: 21px; line-height: 1.55; color: var(--navy);
}
.gh-content blockquote.kg-blockquote-alt {
    padding: 8px 0; font-size: 26px; line-height: 1.4; font-style: normal; text-align: center; color: var(--navy);
}

.gh-content figure img { border-radius: var(--radius-m); }
.gh-content figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--slate); text-align: center; }

.gh-content code { padding: 2px 6px; border-radius: var(--radius-s); background: var(--surface); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .86em; }
.gh-content pre { overflow-x: auto; padding: 20px; border-radius: var(--radius-m); background: var(--navy-deep); color: #E6EEF8; font-size: 15px; line-height: 1.6; }
.gh-content pre code { padding: 0; background: none; font-size: inherit; }

.gh-content table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; display: block; overflow-x: auto; }
.gh-content th { text-align: left; font-weight: 600; color: var(--navy); background: var(--surface); }
.gh-content th, .gh-content td { padding: 10px 14px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.gh-content td { font-variant-numeric: tabular-nums; }

/* "Leitura TKOR": callout card do editor */
.gh-content .kg-callout-card {
    padding: 20px 24px; border-radius: var(--radius-m);
    font-size: 17px; line-height: 1.6;
}
.gh-content .kg-callout-card-accent,
.gh-content .kg-callout-card-green {
    background: var(--blue-wash); color: var(--ink); border-left: 3px solid var(--blue);
}
.gh-content .kg-callout-card-accent a { color: var(--blue); }
.gh-content .kg-callout-card-blue { background: #EAF0FA; border-left: 3px solid var(--navy); }
.gh-content .kg-callout-card-grey { background: var(--surface); }

.gh-content .kg-button-card a.kg-btn-accent, .gh-content .kg-product-card a.kg-product-card-btn-accent { background: var(--navy); color: var(--white); text-decoration: none; border-radius: var(--radius-s); }
.gh-content .kg-bookmark-card a.kg-bookmark-container { text-decoration: none; border-radius: var(--radius-m); border-color: var(--rule); }
.gh-content .kg-toggle-card { border-color: var(--rule); border-radius: var(--radius-m); }
.gh-content .kg-toggle-heading-text { color: var(--navy); }

/* Sumário automático */
.toc { margin-bottom: 1.6em; border: 1px solid var(--rule); border-radius: var(--radius-m); background: var(--white); }
.toc summary { padding: 14px 20px; font-size: 15.5px; font-weight: 600; color: var(--navy); cursor: pointer; list-style-position: inside; }
.toc__list { margin: 0; padding: 0 20px 16px 38px; list-style: none; font-size: 16px; line-height: 1.5; }
.toc__list li + li { margin-top: .5em; }
.toc__list a { color: var(--ink); text-decoration: none; }
.toc__list a:hover { color: var(--blue); text-decoration: underline; }
.toc__list .toc__sub { margin-left: 18px; font-size: 15px; }
.toc__list .toc__sub a { color: var(--slate); }

/* Rodapé do artigo -------------------------------------------------------- */
.article__footer { padding-top: 48px; display: flex; flex-direction: column; gap: 32px; }
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.article__tags:empty { display: none; }

.cta-inline { padding: 32px; border-radius: var(--radius-m); background: var(--navy); color: var(--white); }
.cta-inline__title { font-size: 23px; margin-bottom: 10px; }
.cta-inline p { color: rgba(255,255,255,.78); margin-bottom: 20px; font-size: 16px; }
.cta-inline .button { background: var(--white); border-color: var(--white); color: var(--navy); }
.cta-inline .button:hover { background: var(--blue-soft); border-color: var(--blue-soft); }

.nl-inline { display: flex; flex-direction: column; gap: 18px; padding: 28px 32px; border-radius: var(--radius-m); background: var(--surface); }
.nl-inline h2 { font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.nl-inline p { font-size: 15.5px; color: var(--slate); }

.author-box { display: flex; gap: 18px; align-items: flex-start; padding-top: 28px; border-top: 1px solid var(--rule); }
.author-box__name { font-weight: 600; font-size: 17px; }
.author-box__name a:hover { color: var(--blue); }
.author-box__bio { margin-top: 4px; font-size: 15.5px; color: var(--slate); }

.comments { padding-top: 48px; padding-bottom: 24px; }

.related { margin-top: 64px; padding: 56px 0 64px; background: var(--surface); }
.related .section__header { border-top-color: var(--navy); }

/* Página de erro ---------------------------------------------------------- */
.error { padding: 96px var(--gutter) 64px; text-align: center; }
.error__code { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 15px; color: var(--blue); margin-bottom: 12px; }
.error__title { max-width: 22ch; margin: 0 auto 16px; font-size: clamp(28px, 3.4vw, 40px); color: var(--navy); }
.error p { color: var(--slate); }
.error__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* Impressão --------------------------------------------------------------- */
@media print {
    .site-header, .site-footer, .share, .cta-inline, .nl-inline, .comments, .related, .cta-tkor, .newsletter-band, .toc { display: none !important; }
    .gh-content { display: block; font-size: 12pt; }
}

/* Editorial hierarchy for the home and archives. */
.editorial-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px 28px;
    margin-top: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--rule);
}
.editorial-intro h1 {
    font-family: var(--font-heading);
    font-size: clamp(29px, 4vw, 46px);
    line-height: 1.12;
    color: var(--navy);
    letter-spacing: -0.02em;
}
.editorial-intro p { margin-top: 8px; color: var(--slate); }
.opening--editorial { gap: clamp(24px, 4vw, 48px); padding-top: 28px; }
.opening--editorial .opening__main { gap: 17px; }
.opening--editorial .card--lead .card__media img { aspect-ratio: 16 / 8.5; }
.editorial-news { list-style: none; margin: 4px 0 14px; padding: 0; }
.editorial-news li + li { border-top: 1px solid var(--rule); }
.editorial-news__link {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px 0;
    text-decoration: none;
}
.editorial-news__link img {
    flex: 0 0 104px;
    width: 104px;
    height: 72px;
    border-radius: 6px;
    object-fit: cover;
}
.editorial-news__link time {
    display: block;
    font-size: 12px;
    color: var(--slate);
    margin-bottom: 4px;
}
.editorial-news__link strong { display: block; color: var(--navy); font-size: 16px; line-height: 1.34; }
.editorial-news__link:hover strong { color: var(--blue); text-decoration: underline; }
.editorial-guides { margin-top: 20px; row-gap: 32px; }
.editorial-resources { display: flex; flex-direction: column; gap: 18px; }
.editorial-reference { border: 1px solid var(--rule); }
.editorial-reference > a { display: inline-block; margin: 6px 0; font-weight: 700; color: var(--navy); }
.editorial-reference > a:hover { color: var(--blue); }
.editorial-reference p { margin-bottom: 0; }
.editorial-market { padding-bottom: 44px; }
.editorial-news-archive { margin-bottom: 40px; }
.editorial-archive-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 16px;
}
.editorial-archive-nav a { color: var(--blue); font-weight: 650; }
.editorial-report { max-width: 620px; margin: 0 0 32px; }
@media (max-width: 760px) {
    .editorial-intro { align-items: flex-start; flex-direction: column; margin-top: 26px; }
    .opening--editorial .opening__feed { border-top: 1px solid var(--rule); padding-top: 22px; }
    .editorial-split { gap: 32px; padding-top: 36px; }
}
@media (max-width: 460px) {
    .editorial-news__link img { flex-basis: 86px; width: 86px; height: 62px; }
}

.tkor-panorama-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 16px;
    background: #051a40;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #b9cae2;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
}
.tkor-panorama-strip__inner { display: inline-flex; align-items: center; gap: 10px; }
.tkor-panorama-strip b { color: #fff; font-weight: 600; }
.tkor-panorama-strip__short { display: none; }
.tkor-panorama-strip__arrow { color: #fff; transition: transform .2s; }
.tkor-panorama-strip:hover { color: #fff; }
.tkor-panorama-strip:hover .tkor-panorama-strip__arrow { transform: translateX(3px); }
.tkor-panorama-strip:focus-visible { outline: 2px solid #87a9da; outline-offset: -3px; }

.site-header .button--member {
    min-height: 38px;
    padding-inline: 14px;
    border-radius: 8px;
    font-weight: 600;
    color: #fff;
}
.site-header .button--member-entry {
    background: transparent;
    border-color: rgba(255, 255, 255, .35);
}
.site-header .button--member-entry:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .65);
}
.site-header .button--member-subscribe {
    background: #3d72c1;
    border-color: #3d72c1;
}
.site-header .button--member-subscribe:hover {
    background: #87a9da;
    border-color: #87a9da;
    color: #08285f;
}
.site-header .button--member:focus-visible { outline: 2px solid #87a9da; outline-offset: 3px; }
.brand__icon { object-fit: contain; }

@media (max-width: 640px) {
    .tkor-panorama-strip { font-size: 11.5px; }
    .tkor-panorama-strip__long { display: none; }
    .tkor-panorama-strip__short { display: inline; }
    .site-header__inner { gap: 8px; }
    .site-header .button--member { padding-inline: 10px; font-size: 13px; }
    .site-header .icon-button { width: 36px; }
}
@media (max-width: 475px) {
    .site-header .brand__pub { display: none; }
    .site-header .brand { gap: 8px; }
}
@media (max-width: 360px) {
    .site-header .button--member { padding-inline: 8px; }
    .site-header .icon-button { width: 32px; }
}
@media print {
    .tkor-panorama-strip { display: none; }
}

.site-header {
    background: #fff;
    color: var(--navy);
    border-bottom: 1px solid var(--rule);
}
.tkor-panorama-strip { background: #f0f5fc; border-bottom-color: var(--rule); color: var(--navy); }
.tkor-panorama-strip b, .tkor-panorama-strip__arrow, .tkor-panorama-strip:hover { color: var(--navy); }
.site-header__inner { gap: clamp(12px, 2.5vw, 34px); }
.site-header .brand, .site-header .icon-button { color: var(--navy); }
.site-header .brand__pub {
    color: var(--navy);
    border-color: var(--rule);
    font-family: var(--font-heading);
    font-weight: 700;
}
.site-header .site-nav .nav a, .site-header .site-nav__external { color: var(--navy); }
.site-header .site-nav .nav a:hover, .site-header .site-nav__external:hover { color: var(--blue); }
.site-header .site-nav .nav-current a { border-color: var(--blue); }
.site-header .icon-button:hover { background: var(--surface); }
.site-header .button--member-subscribe { background: var(--navy); border-color: var(--navy); color: #fff; }
.site-header .button--member-subscribe:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
#newsletter { scroll-margin-top: calc(var(--header-h) + 24px); }
.subscribe-label-short { display: none; }

.comment-access {
    display: grid;
    gap: 14px;
    padding: clamp(18px, 4vw, 30px);
    margin: 0 0 24px;
    border: 1px solid var(--rule);
    border-radius: 10px;
    background: var(--surface);
    color: var(--navy);
}
.comment-access h2 { font-size: 22px; }
.comment-access__intro, .comment-access__terms p { color: var(--slate); }
.comment-access__terms { font-size: 14px; }
.comment-access__terms summary { color: var(--blue); cursor: pointer; }
.comment-access__terms p { margin: 8px 0; }
.comment-access__fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.comment-access__fields label { display: grid; gap: 5px; font-weight: 600; font-size: 14px; }
.comment-access__fields input {
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    background: white;
    border: 1px solid var(--rule);
    border-radius: 6px;
    color: var(--ink);
}
.comment-access input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.comment-access__check { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; }
.comment-access__check input { margin-top: 4px; accent-color: var(--blue); }
.comment-access .button { justify-self: start; }
.comment-access__ok, .comment-access__error { display: none; font-size: 14px; }
.comment-access.success .comment-access__ok, .comment-access.error .comment-access__error { display: block; }
.comment-access.loading .button { opacity: .65; pointer-events: none; }
@media (max-width: 1080px) {
    .site-header .site-nav { background: #fff; border-bottom-color: var(--rule); }
    .site-header .site-nav .nav a { border-bottom-color: var(--rule); }
    .site-header .site-nav .nav-current a { color: var(--blue); border-bottom-color: var(--rule); }
}
@media (max-width: 640px) {
    .site-header .brand__wordmark { display: none; }
    .site-header .brand__pub {
        display: inline;
        padding-left: 0;
        border: 0;
        font-size: clamp(12px, 3.8vw, 15px);
        white-space: nowrap;
    }
    .site-header .brand { gap: 6px; }
    .site-header .button--member { padding-inline: 8px; font-size: 12px; }
    .site-header__actions { gap: 1px; }
    .comment-access__fields { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 420px) {
    .subscribe-label-full { display: none; }
    .subscribe-label-short { display: inline; }
}
@media (min-width: 641px) and (max-width: 1190px) {
    .site-header .brand__wordmark { display: none; }
    .site-header .brand__pub { padding-left: 0; border: 0; }
}
