/* =====================================================
   Skills Hub — Lens & Minarelli
   Reutiliza o design system do site (navy #001E3C, dourado
   #AF873C/#D4B068, Montserrat) e acrescenta os componentes
   da biblioteca filtrável. Compartilhado pelas versões PT e EN.
   ===================================================== */

:root {
  --navy-deep: #001E3C;
  --navy: #0A2850;
  --navy-soft: #A2B7BA;
  --gold: #AF873C;
  --gold-light: #D4B068;
  --cream: #FFFFFF;
  --white: #ffffff;
  --ink: #001E3C;
  --muted: #2C3E50;
  --line: rgba(0, 30, 60, 0.14);
  --sans: "Montserrat", "Avenir Next", Arial, sans-serif;
  --brand-font: "Montserrat", "Avenir Next", Arial, sans-serif;
  --max: 1180px;
  --header-offset-desktop: 120px;
  --header-offset-mobile: 110px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
main[id], section[id] { scroll-margin-top: var(--header-offset-desktop); }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container { width: min(100% - 40px, var(--max)); margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-size: 12px; font-weight: 700;
  text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
h1, h2, h3 { margin: 0; color: var(--navy-deep); line-height: 1.08; letter-spacing: 0; }
h1 { font-family: var(--sans); font-size: clamp(36px, 5.5vw, 56px); max-width: 760px; font-weight: 400; line-height: 1.12; }
h2 { font-family: var(--sans); font-size: clamp(26px, 3.4vw, 36px); max-width: 760px; font-weight: 300; line-height: 1.22; }
h3 { font-family: var(--sans); font-size: 20px; font-weight: 600; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: 17px; color: var(--muted); max-width: 680px; font-weight: 400; line-height: 1.65; }
.section { padding: 92px 0; }

.btn {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
  padding: 12px 22px; border: 1px solid transparent; font-weight: 700; cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-light); }
.btn-light { color: var(--white); border-color: rgba(255,255,255,.45); background: transparent; }
.btn-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ---------- HEADER (idêntico ao site) ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--navy-deep); border-bottom: 1px solid rgba(212,176,104,.22); backdrop-filter: blur(14px); }
.nav { min-height: 100px; display: grid; grid-template-columns: max-content minmax(0, max-content) 1fr; column-gap: 26px; row-gap: 6px; align-items: center; min-width: 0; }
.site-header .brand { grid-column: 1; }
.brand { display: inline-grid; gap: 6px; color: var(--white); align-content: center; min-width: 0; }
.brand-main { font-family: var(--brand-font); font-size: 25px; line-height: 1; font-weight: 300; text-transform: lowercase; white-space: nowrap; }
.brand-sub { color: var(--gold-light); font-size: 7.5px; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
.links { grid-column: 2; display: grid; grid-template-rows: auto auto; row-gap: 6px; align-items: center; min-width: 0; color: var(--white); font-size: 0.78rem; font-weight: 400; }
.links a:not(.btn):hover { color: var(--gold-light); }
.links a.nav-draft4 { color: var(--gold-light); white-space: nowrap; }
.links a.nav-draft4:hover { color: var(--white); }
.nav-main-links { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; white-space: nowrap; }
.nav-draft4-stack { display: flex; justify-content: flex-end; align-items: center; }
.language-switcher { grid-column: 3; justify-self: end; align-self: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; line-height: 1; white-space: nowrap; }
.language-switcher a { display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 24px; padding: 0; border: 0; font-size: 19.5px; line-height: 1; opacity: .88; transition: opacity .2s ease, transform .2s ease; }
.language-switcher a:hover { opacity: 1; transform: translateY(-1px); }
.menu { display: none; background: transparent; border: 0; color: var(--white); font-weight: 700; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.menu svg { width: 26px; height: 26px; stroke: var(--white); stroke-width: 2; fill: none; }

/* ---------- HERO ---------- */
.sh-hero { position: relative; background: var(--navy-deep); color: var(--white); overflow: hidden; }
.sh-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,22,47,.98) 0%, rgba(5,22,47,.9) 45%, rgba(5,22,47,.55) 100%);
}
.sh-hero .container { position: relative; padding: 120px 0 64px; display: grid; align-content: center; }
.sh-hero h1 { color: var(--white); margin-bottom: 22px; overflow-wrap: break-word; }
.sh-hero .lead { color: rgba(255,255,255,.82); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-light); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-lead-complement { margin-top: 16px; color: rgba(255,255,255,.72); font-size: 16px; max-width: 680px; line-height: 1.65; }

/* ---------- INTRODUÇÃO (duas colunas, igual à landing) ---------- */
.kh-intro { background: var(--white); padding: 92px 0; }
.kh-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: start; }
.kh-intro-text h2 { color: var(--gold); font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; line-height: 1.22; max-width: 520px; margin-bottom: 22px; }
.kh-intro-text p { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 520px; }
.kh-intro-text p + p { margin-top: 16px; }
.kh-topics h3 { font-size: 14px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.kh-topics-list { display: grid; margin: 0; padding: 0; list-style: none; }
.kh-topics-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(175,135,60,.22); color: var(--muted); font-size: 15px; line-height: 1.5; }
.kh-topics-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.kh-topics-list li:last-child { border-bottom: none; }

/* ---------- BIBLIOTECA: painel de filtros ---------- */
.sh-library { background: #F7F5F2; padding: 72px 0 92px; }
.sh-library-title h2 { color: var(--gold); font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; line-height: 1.22; margin-bottom: 10px; }
.sh-library-lead { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 760px; margin-bottom: 34px; }

.sh-filters { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); box-shadow: 0 18px 44px rgba(5,22,47,.06); padding: 28px 26px; display: grid; gap: 22px; }

.sh-search label { display: block; font-size: 13px; font-weight: 700; color: var(--navy-deep); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.sh-search-box { position: relative; max-width: 560px; }
.sh-search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 2; pointer-events: none; }
.sh-search input[type="search"] {
  width: 100%; min-height: 48px; padding: 10px 40px 10px 42px;
  border: 1px solid var(--line); background: #FBFAF8; color: var(--ink);
  font: inherit; font-size: 15.5px;
}
.sh-search input[type="search"]:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(175,135,60,.18); }
.sh-search-clear {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; display: none; align-items: center; justify-content: center;
  background: transparent; border: 0; color: var(--muted); cursor: pointer; font-size: 20px; line-height: 1;
}
.sh-search-clear.visivel { display: inline-flex; }

.sh-filter-group > .sh-filter-label { display: block; font-size: 13px; font-weight: 700; color: var(--navy-deep); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.sh-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.sh-chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 16px;
  border: 1px solid var(--line); background: #FBFAF8; color: var(--muted);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.sh-chip:hover { border-color: var(--gold); color: var(--navy-deep); }
.sh-chip[aria-pressed="true"] { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }
.sh-chip[aria-pressed="true"] .sh-chip-count { color: var(--gold-light); }
.sh-chip-count { color: var(--gold); font-weight: 700; font-size: 12.5px; }

.sh-more { border: 1px solid var(--line); background: #FBFAF8; }
.sh-more summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 10px 16px; font-size: 13px; font-weight: 700;
  color: var(--navy-deep); text-transform: uppercase; letter-spacing: .08em;
}
.sh-more summary::-webkit-details-marker { display: none; }
.sh-more summary::after { content: "▾"; color: var(--gold); transition: transform .2s ease; }
.sh-more[open] summary::after { transform: rotate(180deg); }
.sh-more-inner { padding: 6px 16px 18px; display: grid; gap: 18px; }
.sh-check-group legend { font-size: 12.5px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; padding: 0; margin-bottom: 8px; }
.sh-check-group { border: 0; padding: 0; margin: 0; }
.sh-check-list { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.sh-check-list label { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.sh-check-list input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--gold); cursor: pointer; }

.sh-filter-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.sh-limpar { background: transparent; border: 1px solid var(--line); color: var(--muted); min-height: 44px; padding: 8px 18px; font-weight: 700; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.sh-limpar:hover { border-color: var(--gold); color: var(--navy-deep); }
.sh-limpar[hidden] { display: none; }

/* ---------- BIBLIOTECA: contagem e grade ---------- */
.sh-count { margin: 30px 0 18px; font-size: 15px; font-weight: 600; color: var(--navy-deep); }
.sh-count strong { color: var(--gold); }
.sh-status { margin: 26px 0; padding: 22px 24px; background: var(--white); border-left: 3px solid var(--gold); color: var(--muted); font-size: 15.5px; white-space: pre-line; }
.sh-status[hidden] { display: none; }

.sh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sh-card {
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  box-shadow: 0 14px 36px rgba(5,22,47,.05); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.sh-card:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(5,22,47,.1); }
.sh-card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #EFEBE4; }
.sh-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.sh-card-media .sh-card-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.sh-card-icon svg { width: 54px; height: 54px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.sh-card-badge {
  position: absolute; left: 14px; top: 14px;
  background: var(--navy-deep); color: var(--gold-light);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  padding: 5px 10px;
}
.sh-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sh-card-body h3 { font-size: 18.5px; }
.sh-card-body h3 a { transition: color .2s ease; }
.sh-card-body h3 a:hover { color: var(--gold); }
.sh-card-author { color: var(--gold); font-size: 13.5px; font-weight: 700; }
.sh-card-summary {
  color: var(--muted); font-size: 14.5px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sh-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.sh-card-tag { background: rgba(175,135,60,.1); color: var(--gold); font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 2px; }
.sh-card-cta { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sh-card-cta .btn { min-height: 44px; padding: 9px 18px; font-size: 14px; }
.sh-card-more { color: var(--gold); font-size: 13.5px; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; transition: color .2s ease; }
.sh-card-more:hover { color: var(--navy-deep); }

/* ---------- PARA QUEM É (navy, igual à landing) ---------- */
.kh-publicos { background: var(--navy-deep); color: var(--white); padding: 92px 0; }
.kh-publicos .section-head-title { color: var(--gold-light); font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; line-height: 1.22; margin-bottom: 10px; }
.kh-publicos .section-lead { color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.65; max-width: 720px; margin-bottom: 46px; }
.kh-pub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kh-pub-card { border-left: 3px solid var(--gold-light); background: rgba(255,255,255,.055); padding: 28px 24px; display: grid; align-content: start; gap: 12px; }
.kh-pub-card h3 { color: var(--gold-light); font-size: 18px; font-weight: 700; }
.kh-pub-card p { color: rgba(255,255,255,.84); font-size: 15px; line-height: 1.6; }

/* ---------- CONHECIMENTO APLICADO ---------- */
.kh-applied { background: var(--white); padding: 92px 0; }
.kh-applied-inner { max-width: 880px; margin: 0 auto; border-left: 4px solid var(--gold); padding-left: 38px; }
.kh-applied-inner h2 { color: var(--gold); font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; line-height: 1.22; margin-bottom: 22px; }
.kh-applied-inner p { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 820px; }
.kh-applied-inner p + p { margin-top: 16px; }

/* ---------- CTA FINAL ---------- */
.kh-cta { position: relative; background: var(--navy-deep); color: var(--white); overflow: hidden; padding: 92px 0; }
.kh-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,22,47,.98), rgba(5,22,47,.82)); }
.kh-cta .container { position: relative; }
.kh-cta h2 { color: var(--white); font-weight: 300; max-width: 700px; }
.kh-cta .lead { color: rgba(255,255,255,.8); margin-top: 14px; }
.kh-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- PÁGINA DE DETALHE ---------- */
.sh-detail-hero { background: var(--navy-deep); color: var(--white); padding: 64px 0 48px; }
.sh-detail-hero .eyebrow { color: var(--gold-light); }
.sh-detail-hero .eyebrow::before { background: var(--gold-light); }
.sh-detail-hero h1 { color: var(--white); font-size: clamp(30px, 4.2vw, 44px); margin-bottom: 14px; }
.sh-detail-author { color: var(--gold-light); font-weight: 700; font-size: 15.5px; }
.sh-detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sh-detail-meta .sh-card-tag { background: rgba(212,176,104,.16); color: var(--gold-light); }
.sh-detail { background: var(--white); padding: 64px 0 92px; }
.sh-detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 52px; align-items: start; }
.sh-detail-body p { color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.sh-detail-body p + p { margin-top: 16px; }
.sh-detail-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.sh-detail-aside { display: grid; gap: 26px; }
.sh-detail-cover { border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(5,22,47,.08); }
.sh-detail-cover img { width: 100%; height: auto; }
.sh-detail-block h2 { font-size: 14px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.sh-detail-block .sh-card-tags { gap: 8px; }
.sh-video-embed { position: relative; aspect-ratio: 16 / 9; background: #05162F; margin-top: 34px; box-shadow: 0 18px 44px rgba(5,22,47,.12); }
.sh-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sh-infografico { margin-top: 34px; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(5,22,47,.08); }
.sh-infografico img { width: 100%; height: auto; }
.sh-voltar { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--gold); font-weight: 700; font-size: 14.5px; transition: color .2s ease; }
.sh-voltar:hover { color: var(--navy-deep); }

/* ---------- FOOTER (idêntico ao site) ---------- */
footer { background: #05162F; color: rgba(255,255,255,.74); padding: 40px 0 18px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
footer a:hover { color: var(--gold-light); }
.footer-brand { display: grid; justify-items: start; text-align: left; }
.footer-brand .brand { justify-items: start; text-align: left; }
.footer-brand .brand-main { color: var(--white); }
footer .brand-sub { color: var(--gold-light); font-size: 7.5px; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
.footer-message { display: grid; justify-items: end; text-align: right; align-content: start; }
.footer-statement { display: block; color: var(--white); font-family: var(--brand-font); font-size: 25px; font-weight: 300; line-height: 1; text-align: right; white-space: nowrap; }
.footer-ai-line { display: block; margin-top: 6px; color: var(--gold-light); font-size: 7.5px; font-weight: 700; letter-spacing: .12em; line-height: 1.3; text-align: right; white-space: nowrap; }
.footer-contact { margin-top: 28px; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 17px; }
.footer-nav { margin-top: 24px; padding: 18px 0 4px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 22px; font-size: 13.5px; border-top: 1px solid rgba(209,176,113,.18); }
.footer-nav a { color: rgba(255,255,255,.78); transition: color .2s ease; }
.footer-nav a:hover { color: var(--gold-light); }
.copyright { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(209,176,113,.22); display: flex; justify-content: center; align-items: center; text-align: center; font-size: 13px; }
.copyright-line { font-size: 13px; font-weight: 400; }
.copyright-brand { color: var(--white); }
.copyright-brand:hover { color: var(--gold-light); }
.copyright-separator { color: rgba(255,255,255,.74); }
.powered-by { color: var(--gold-light); white-space: nowrap; font-size: 13px; font-weight: 400; }
.powered-by:hover { color: var(--white); }

/* ---------- utilitários ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--gold); color: var(--white); padding: 12px 20px; font-weight: 700; }
.skip-link:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }
.sh-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #ffffff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.whatsapp-float:hover { transform: translateY(-3px); background: #20bd5a; box-shadow: 0 18px 42px rgba(0,0,0,.34); }
.whatsapp-float svg { width: 34px; height: 34px; fill: currentColor; }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
  .language-switcher { order: 2; flex-direction: row; }
  .links { display: none; }
  .menu { display: inline-flex; order: 3; }
  .links.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-deep); padding: 16px 20px 20px; border-bottom: 1px solid rgba(212,176,104,.22); box-shadow: 0 20px 40px rgba(0,0,0,.25); }
  .links.open .nav-main-links { display: block; }
  .links.open .nav-draft4-stack { display: block; }
  .links.open a { min-height: 48px; display: flex; align-items: center; padding: 8px 4px; border-bottom: 1px solid rgba(255,255,255,.06); white-space: normal; }
  .links.open .nav-main-links a:last-child { border-bottom: 0; }
  .links.open .nav-draft4-stack .nav-draft4 { min-height: auto; padding: 8px 4px; border-bottom: 0; }
}
@media (max-width: 1080px) {
  .kh-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .kh-pub-grid { grid-template-columns: repeat(2, 1fr); }
  .sh-grid { grid-template-columns: repeat(2, 1fr); }
  .sh-detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .sh-detail-aside { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 680px) {
  main[id], section[id] { scroll-margin-top: var(--header-offset-mobile); }
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 60px 0; }
  .kh-intro, .kh-publicos, .kh-applied, .kh-cta { padding: 60px 0; }
  .sh-library { padding: 52px 0 64px; }
  .sh-hero .container { padding: 96px 0 48px; }
  h1 { font-size: 36px; line-height: 1.15; }
  h2 { font-size: 28px; }
  .sh-grid { grid-template-columns: 1fr; }
  .kh-pub-grid { grid-template-columns: 1fr; }
  .sh-filters { padding: 22px 18px; }
  .kh-applied-inner { padding-left: 22px; }
  .hero-actions .btn, .kh-cta-actions .btn { width: 100%; }
  .brand-main { font-size: 20px; }
  .brand-sub { font-size: 6.5px; }
  .nav { min-height: 90px; gap: 12px; }
  footer { padding: 34px 0 18px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; justify-items: center; text-align: center; }
  .footer-brand, .footer-brand .brand { justify-items: center; text-align: center; }
  .footer-message { justify-items: center; text-align: center; }
  footer .brand-sub, .footer-statement, .footer-ai-line { white-space: normal; text-align: center; }
  .footer-contact { margin-top: 24px; font-size: 15px; }
  .footer-nav { gap: 10px 16px; font-size: 12.5px; padding: 14px 0 2px; }
  .copyright { margin-top: 24px; }
  .whatsapp-float { right: 18px; bottom: 18px; width: 54px; height: 54px; }
  .whatsapp-float svg { width: 31px; height: 31px; }
}
@media (max-width: 380px) {
  .container { width: min(100% - 24px, var(--max)); }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .sh-card:hover, .whatsapp-float:hover { transform: none; }
  .btn, .sh-card, .whatsapp-float, .sh-chip, .language-switcher a { transition: none; }
}
