/* ============================================================
   Chatys — Central de Ajuda | ajuda.chatys.com.br
   Design System: mesmas variáveis do app.chatys.com.br
   ============================================================ */

:root {
  --bg: #f4f6fb;
  --card: #fff;
  --border: #e5e9f2;
  --border-light: #eef1f7;
  --text: #172033;
  --text-secondary: #687089;
  --text-muted: #98a0b4;
  --primary: #6956e8;
  --primary-hover: #5845da;
  --primary-light: rgba(105,86,232,.11);
  --green: #18aa75;
  --teal: #5ee1c5;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow-sm: 0 3px 12px rgba(31,39,68,.05);
  --shadow: 0 10px 35px rgba(31,39,68,.08);
  --shadow-md: 0 20px 55px rgba(31,39,68,.13);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Manrope', sans-serif;
  letter-spacing: -.025em;
  line-height: 1.2;
}

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

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

/* ── HEADER ────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 32px));
  z-index: 100;
  height: 64px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 20px;
  box-shadow: 0 4px 24px rgba(31,39,68,.07);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  flex-shrink: 0;
}
.header-logo .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #8b7aff, #5ee1c5);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.header-logo .logo-icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.2; }
.header-logo .badge {
  font-size: .55rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--teal);
  background: rgba(94,225,197,.15);
  padding: 3px 6px;
  border-radius: 6px;
  vertical-align: middle;
  margin-left: 3px;
}

.header-search {
  flex: 1;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}
.header-search input {
  width: 100%;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 14px 0 38px;
  font-family: 'DM Sans', sans-serif;
  font-size: .84rem;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border .2s, box-shadow .2s;
}
.header-search input:focus {
  border-color: #8d7df2;
  box-shadow: 0 0 0 3px rgba(105,86,232,.09);
  background: #fff;
}
.header-search .search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.header-search .search-icon svg { width: 15px; height: 15px; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.header-nav a {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 7px 13px;
  border-radius: 9px;
  transition: background .15s, color .15s;
}
.header-nav a:hover { background: var(--primary-light); color: var(--primary); }
.btn-app {
  background: linear-gradient(135deg, #7461ef, #5f4bdd) !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 5px 15px rgba(105,86,232,.22);
}
.btn-app:hover { box-shadow: 0 8px 20px rgba(105,86,232,.32) !important; transform: translateY(-1px); }

/* ── HERO ──────────────────────────────────────── */
.hero {
  background: linear-gradient(115deg, #12182a 0%, #2a2360 55%, #6956e8 100%);
  padding: 140px 24px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  right: -200px;
  top: -300px;
}
.hero::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(94,225,197,.07);
  left: -100px;
  bottom: -200px;
}
.hero > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(94,225,197,.12);
  border: 1px solid rgba(94,225,197,.25);
  color: var(--teal);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  margin-bottom: 14px;
  font-weight: 900;
}
.hero p {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 36px;
}

.hero-search {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.hero-search input {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 14px;
  padding: 0 18px 0 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  background: rgba(255,255,255,.95);
  color: var(--text);
  outline: none;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  transition: box-shadow .2s;
}
.hero-search input:focus { box-shadow: 0 20px 60px rgba(0,0,0,.35), 0 0 0 3px rgba(105,86,232,.25); }
.hero-search input::placeholder { color: var(--text-muted); }
.hero-search .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
}
.hero-search .search-icon svg { width: 20px; height: 20px; }

.hero-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.hero-links span { font-size: .75rem; color: rgba(255,255,255,.45); }
.hero-links a {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  padding: 6px 13px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.hero-links a:hover { background: rgba(255,255,255,.16); color: #fff; }

/* ── SEARCH RESULTS (dropdown) ─────────────────── */
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
  overflow: hidden;
  display: none;
  z-index: 50;
  max-height: 380px;
  overflow-y: auto;
}
.search-results.open { display: block; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-light);
  transition: background .15s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: #f5f3ff; }
.search-result-item .result-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: .85rem;
}
.search-result-item .result-cat {
  font-size: .65rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.search-result-item .result-title {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}
.search-no-results { padding: 28px; text-align: center; color: var(--text-secondary); font-size: .85rem; }

/* ── MAIN CONTENT ──────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 60px 0; }
.section-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── CATEGORIES GRID ───────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d8d2ff;
}

.cat-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.cat-icon.purple { background: #eeebff; }
.cat-icon.green  { background: #e8faf3; }
.cat-icon.blue   { background: #e8f2ff; }
.cat-icon.teal   { background: #e6fdf8; }
.cat-icon.yellow { background: #fffbe8; }
.cat-icon.coral  { background: #fff1ee; }
.cat-icon.indigo { background: #eef1ff; }
.cat-icon.pink   { background: #ffeef6; }

.cat-card h3 {
  font-size: .92rem;
  font-weight: 800;
  color: var(--text);
}
.cat-card p {
  font-size: .78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.cat-card .cat-count {
  font-size: .7rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.cat-card .cat-count svg { width: 12px; height: 12px; }

/* ── POPULAR ARTICLES ──────────────────────────── */
.articles-list { display: flex; flex-direction: column; gap: 8px; }

.article-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  box-shadow: var(--shadow-sm);
}
.article-item:hover {
  border-color: #d8d2ff;
  box-shadow: var(--shadow);
  transform: translateX(3px);
}
.article-item .art-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: .85rem;
}
.article-item .art-meta { flex: 1; min-width: 0; }
.article-item .art-cat {
  font-size: .65rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 2px;
}
.article-item .art-title {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.article-item .art-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color .15s, transform .15s;
}
.article-item:hover .art-arrow { color: var(--primary); transform: translateX(3px); }
.article-item .art-arrow svg { width: 16px; height: 16px; }

/* ── CONTACT SECTION ───────────────────────────── */
.contact-section {
  background: linear-gradient(115deg, #12182a 0%, #2a2360 55%, #6956e8 100%);
  border-radius: 22px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
  margin: 0 0 60px;
}
.contact-section::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  right: -60px;
  top: -120px;
}
.contact-section > * { position: relative; z-index: 1; }
.contact-section h2 { font-size: 1.4rem; color: #fff; margin-bottom: 8px; }
.contact-section p { font-size: .85rem; color: rgba(255,255,255,.6); max-width: 480px; }
.contact-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #7461ef, #5f4bdd);
  color: #fff;
  box-shadow: 0 6px 18px rgba(105,86,232,.25);
}
.btn-primary:hover { box-shadow: 0 10px 24px rgba(105,86,232,.35); }
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn svg { width: 15px; height: 15px; }

/* ── FOOTER ────────────────────────────────────── */
.site-footer {
  background: #12182a;
  color: rgba(255,255,255,.6);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
}
.footer-logo .logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #8b7aff, #5ee1c5);
  display: grid;
  place-items: center;
}
.footer-logo .logo-icon svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.2; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: .78rem; color: rgba(255,255,255,.45); transition: color .15s; }
.footer-links a:hover { color: rgba(255,255,255,.8); }
.footer-copy {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 18px;
  margin-top: 4px;
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  text-align: center;
}

/* ── BREADCRUMB ────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--text-secondary); transition: color .15s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb svg { width: 13px; height: 13px; color: var(--text-muted); }

/* ── CATEGORY PAGE ─────────────────────────────── */
.cat-page-hero {
  padding: 110px 24px 50px;
  background: linear-gradient(115deg, #12182a 0%, #2a2360 55%, #6956e8 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cat-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(94,225,197,.1), transparent 50%);
}
.cat-page-hero > * { position: relative; z-index: 1; }
.cat-page-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin: 0 auto 18px;
}
.cat-page-hero h1 { font-size: 2rem; color: #fff; margin-bottom: 10px; }
.cat-page-hero p { font-size: .9rem; color: rgba(255,255,255,.6); max-width: 480px; margin: 0 auto; }

.cat-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 24px 80px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
}

.cat-sidebar { position: sticky; top: 90px; height: fit-content; }
.cat-sidebar-title {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding: 0 4px;
}
.sidebar-nav-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.sidebar-nav-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: .82rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: background .15s, color .15s;
}
.sidebar-nav-list a:hover { background: var(--primary-light); color: var(--primary); }
.sidebar-nav-list a.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}
.sidebar-nav-list .nav-emoji { font-size: .9rem; width: 20px; text-align: center; }

/* ── ARTICLE LIST (category page) ──────────────── */
.cat-articles { display: flex; flex-direction: column; gap: 10px; }
.cat-article-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  box-shadow: var(--shadow-sm);
}
.cat-article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #d8d2ff;
}
.cat-article-card .art-num {
  font-family: 'Manrope', sans-serif;
  font-size: .75rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.cat-article-card h3 { font-size: .95rem; margin-bottom: 5px; color: var(--text); }
.cat-article-card p { font-size: .8rem; color: var(--text-secondary); line-height: 1.5; }
.cat-article-card .art-tag {
  display: inline-flex;
  font-size: .62rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 8px;
}
.art-tag.new { background: #e8faf3; color: #13845e; }
.art-tag.popular { background: var(--primary-light); color: var(--primary); }

/* ── ARTICLE PAGE ──────────────────────────────── */
.article-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  display: grid;
  grid-template-columns: 240px 1fr 200px;
  gap: 36px;
}

.article-body {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}
.article-header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border-light); }
.article-header .article-cat {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--primary);
  margin-bottom: 10px;
}
.article-header h1 { font-size: 1.7rem; color: var(--text); margin-bottom: 12px; }
.article-meta { display: flex; align-items: center; gap: 16px; }
.article-meta span { font-size: .73rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.article-meta svg { width: 13px; height: 13px; }

.article-content { font-size: .9rem; line-height: 1.75; color: var(--text-secondary); }
.article-content h2 { font-size: 1.2rem; color: var(--text); margin: 32px 0 12px; padding-top: 8px; }
.article-content h3 { font-size: 1rem; color: var(--text); margin: 24px 0 8px; }
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { padding-left: 22px; margin-bottom: 16px; }
.article-content li { margin-bottom: 7px; }
.article-content strong { color: var(--text); font-weight: 700; }
.article-content code {
  background: #f0eeff;
  color: var(--primary);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: .82em;
  font-family: 'Courier New', monospace;
}
.article-content .tip {
  background: #e8faf3;
  border-left: 3px solid var(--green);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: .84rem;
  color: #15704f;
}
.article-content .tip strong { color: #0f5a3f; }
.article-content .warn {
  background: #fffbe8;
  border-left: 3px solid #f5b800;
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: .84rem;
  color: #7a5d00;
}
.article-content .step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.article-content .step-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7461ef, #5f4bdd);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: .75rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.article-feedback {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}
.article-feedback p { font-size: .85rem; color: var(--text-secondary); margin-bottom: 14px; }
.feedback-btns { display: flex; justify-content: center; gap: 10px; }
.feedback-btn {
  padding: 8px 20px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--card);
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.feedback-btn:hover { background: var(--primary-light); border-color: #c8c0ff; color: var(--primary); }

.toc-sidebar { position: sticky; top: 90px; height: fit-content; }
.toc-title {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.toc-list a {
  font-size: .78rem;
  color: var(--text-secondary);
  padding: 5px 10px;
  border-radius: 7px;
  border-left: 2px solid transparent;
  display: block;
  transition: color .15s, border-color .15s, background .15s;
}
.toc-list a:hover { color: var(--primary); border-left-color: var(--primary); background: var(--primary-light); }
.toc-list a.active { color: var(--primary); border-left-color: var(--primary); font-weight: 600; }

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-layout, .article-layout { grid-template-columns: 1fr; }
  .cat-sidebar, .toc-sidebar { position: static; }
}
@media (max-width: 720px) {
  .site-header { top: 8px; height: 58px; padding: 0 14px; }
  .header-search { display: none; }
  .hero { padding: 110px 18px 55px; }
  .hero h1 { font-size: 1.8rem; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-card { padding: 16px 14px; }
  .contact-section { flex-direction: column; padding: 28px 22px; }
  .contact-actions { flex-direction: column; width: 100%; }
  .contact-actions .btn { justify-content: center; }
  .article-body { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
  .header-nav a:not(.btn-app) { display: none; }
}
