/* Blog da GShield — visual "cara da loja" (direcao B, aprovada em 13/10/2026) */
:root {
  --gs-dark: #222222;
  --gs-dark-2: #333333;
  --gs-orange: #ffa300;
  --gs-orange-strong: #e58f00;
  --gs-orange-text: #8a5300;
  --gs-orange-soft: #fff4e0;
  --gs-text: #1c1c1e;
  --gs-muted: #66666b;
  --gs-line: #e9e9e6;
  --gs-bg: #f6f6f3;
  --gs-card: #ffffff;
  --gs-radius: 12px;
  --gs-wrap: 1180px;
  --gs-read: 740px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--gs-text); background: var(--gs-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.gs-wrap { max-width: var(--gs-wrap); margin: 0 auto; padding: 0 20px; }
.gs-skip { position: absolute; left: -999px; top: 8px; background: var(--gs-orange); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.gs-skip:focus { left: 8px; }

/* cabecalho escuro igual a loja */
.gs-header { background: var(--gs-dark); color: #fff; position: sticky; top: 0; z-index: 50; }
.gs-header-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.gs-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex-shrink: 0; }
.gs-brand img { width: 34px; height: 38px; object-fit: contain; }
.gs-brand-name { font-weight: 800; font-size: 18px; letter-spacing: -.01em; line-height: 1.1; }
.gs-brand-name span { color: var(--gs-orange); }
.gs-brand-name .gs-brand-cap { display: block; font-size: 11px; color: #b9b9b9; font-weight: 500; letter-spacing: .02em; }
.gs-search-btn { flex: 1; max-width: 460px; margin-left: auto; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-radius: 10px; border: 0; background: #fff; color: #555; font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.gs-search-btn kbd { margin-left: auto; font-family: inherit; font-size: 11px; color: #888; border: 1px solid #ddd; border-radius: 6px; padding: 1px 6px; }
.gs-cta { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; background: var(--gs-orange); color: #1a1100; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.gs-cta:hover { background: #ffb52e; }
.gs-catbar { background: var(--gs-dark-2); }
.gs-catbar ul { list-style: none; margin: 0 auto; padding: 0 20px; max-width: var(--gs-wrap); display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.gs-catbar ul::-webkit-scrollbar { display: none; }
.gs-catbar a { display: block; padding: 11px 12px; color: #e6e6e6; text-decoration: none; font-size: 13.5px; font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; }
.gs-catbar a:hover, .gs-catbar a[aria-current="page"] { color: var(--gs-orange); border-bottom-color: var(--gs-orange); }

/* titulos de secao e hero */
.gs-hero { background: var(--gs-dark); color: #fff; padding: 44px 0 40px; }
.gs-hero .gs-eyebrow { color: var(--gs-orange); }
.gs-hero h1 { margin: 8px 0 10px; font-size: clamp(30px, 4.6vw, 48px); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; max-width: 18ch; }
.gs-hero p { margin: 0; color: #cfcfcf; font-size: 17px; max-width: 60ch; }
.gs-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gs-orange-text); }
.gs-section { padding: 34px 0 10px; }
.gs-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.gs-section-head h2, .gs-section-head h1 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.gs-section-head a { font-size: 13px; font-weight: 600; color: var(--gs-orange-text); text-decoration: none; }

/* cards */
.gs-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gs-featured { display: grid; gap: 20px; grid-template-columns: 1.6fr 1fr; margin-bottom: 8px; }
.gs-featured-side { display: grid; gap: 20px; }
.gs-card { background: var(--gs-card); border: 1px solid var(--gs-line); border-radius: var(--gs-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.gs-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.07); }
.gs-card-img { display: block; aspect-ratio: 4 / 3; background: #ecebe6; overflow: hidden; }
.gs-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gs-card h3 { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 700; letter-spacing: -.005em; }
.gs-card h3 a { text-decoration: none; }
.gs-card h3 a:hover { color: var(--gs-orange-strong); }
.gs-card p { margin: 0; color: var(--gs-muted); font-size: 14px; line-height: 1.5; }
.gs-card-meta { margin-top: auto; display: flex; align-items: center; gap: 8px; color: var(--gs-muted); font-size: 12.5px; }
.gs-card.is-big .gs-card-img { aspect-ratio: 16 / 10; }
.gs-card.is-big h3 { font-size: 24px; }
.gs-pill { display: inline-block; align-self: flex-start; background: var(--gs-orange); color: #1a1100; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 6px; text-decoration: none; letter-spacing: .01em; }
.gs-dot { width: 3px; height: 3px; border-radius: 50%; background: #b5b5b5; }

/* paginacao */
.gs-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 32px 0 6px; }
.gs-pagination .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; border: 1px solid var(--gs-line); text-decoration: none; font-weight: 600; font-size: 14px; }
.gs-pagination .current { background: var(--gs-dark); color: #fff; border-color: var(--gs-dark); }
.gs-pagination .dots { background: transparent; border: 0; }
.gs-pagination a:hover { border-color: var(--gs-orange); color: var(--gs-orange-text); }
.gs-pages-info { text-align: center; color: var(--gs-muted); font-size: 12.5px; margin: 6px 0 0; }
.gs-empty { background: #fff; border: 1px dashed var(--gs-line); border-radius: var(--gs-radius); padding: 40px; text-align: center; color: var(--gs-muted); }

/* post */
.gs-post-head { background: #fff; border-bottom: 1px solid var(--gs-line); }
.gs-post-head-in { max-width: var(--gs-read); margin: 0 auto; padding: 26px 20px 28px; }
.gs-crumbs { font-size: 13px; color: var(--gs-muted); margin-bottom: 14px; }
.gs-crumbs a { text-decoration: none; color: var(--gs-muted); }
.gs-crumbs a:hover { color: var(--gs-orange-text); }
.gs-post-head h1 { margin: 12px 0 12px; font-size: clamp(28px, 4.2vw, 42px); line-height: 1.14; letter-spacing: -.02em; font-weight: 800; }
.gs-lead { margin: 0 0 16px; font-size: 19px; line-height: 1.55; color: #3d3d42; }
.gs-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13.5px; color: var(--gs-muted); }
.gs-byline strong { color: var(--gs-text); font-weight: 600; }
.gs-cover { max-width: 980px; margin: 24px auto 0; padding: 0 20px; }
.gs-cover img { width: 100%; border-radius: 14px; display: block; background: #ecebe6; }
.gs-read { max-width: var(--gs-read); margin: 0 auto; padding: 8px 20px 20px; }
.gs-toc { background: #fff; border: 1px solid var(--gs-line); border-left: 4px solid var(--gs-orange); border-radius: 0; padding: 16px 20px; margin: 26px 0 8px; }
.gs-toc summary { font-weight: 800; font-size: 15px; cursor: pointer; list-style: none; }
.gs-toc summary::-webkit-details-marker { display: none; }
.gs-toc summary::after { content: " +"; color: var(--gs-orange-strong); }
.gs-toc[open] summary::after { content: " −"; }
.gs-toc ol { margin: 10px 0 0; padding-left: 20px; }
.gs-toc li { margin: 5px 0; font-size: 15px; }
.gs-toc a { text-decoration: none; }
.gs-toc a:hover { color: var(--gs-orange-strong); text-decoration: underline; }

/* corpo do texto */
.gshield-post-body { font-size: 18px; line-height: 1.75; color: #26262a; overflow-wrap: anywhere; }
.gshield-post-body > * { margin: 0 0 1.15em; }
.gshield-post-body h2 { font-size: 27px; line-height: 1.22; margin: 1.7em 0 .6em; letter-spacing: -.015em; font-weight: 800; color: var(--gs-text); }
.gshield-post-body h3 { font-size: 21px; line-height: 1.3; margin: 1.5em 0 .5em; font-weight: 750; color: var(--gs-text); }
.gshield-post-body h4 { font-size: 18px; margin: 1.3em 0 .4em; }
.gshield-post-body a { color: var(--gs-orange-text); text-decoration: underline; text-decoration-color: var(--gs-orange); text-underline-offset: 3px; text-decoration-thickness: 2px; font-weight: 600; }
.gshield-post-body a:hover { color: var(--gs-orange-strong); }
.gshield-post-body ul, .gshield-post-body ol { padding-left: 1.3em; }
.gshield-post-body li { margin: .35em 0; }
.gshield-post-body li::marker { color: var(--gs-orange-strong); font-weight: 700; }
.gshield-post-body img { border-radius: 10px; }
.gshield-post-body figure { margin: 1.6em 0; }
.gshield-post-body figcaption { font-size: 13.5px; color: var(--gs-muted); text-align: center; margin-top: 8px; }
.gshield-post-body blockquote { margin: 1.6em 0; padding: 14px 20px; background: var(--gs-orange-soft); border-left: 4px solid var(--gs-orange); color: #4a3a1d; }
.gshield-post-body table { width: 100%; border-collapse: collapse; font-size: 15.5px; background: #fff; border: 1px solid var(--gs-line); border-radius: 10px; overflow: hidden; display: block; overflow-x: auto; }
.gshield-post-body th, .gshield-post-body td { padding: 10px 14px; border-bottom: 1px solid var(--gs-line); text-align: left; vertical-align: top; }
.gshield-post-body thead th { background: var(--gs-dark); color: #fff; font-weight: 700; }
.gshield-post-body tbody th { background: #fafaf8; font-weight: 700; }
.gshield-post-body tr:last-child td, .gshield-post-body tr:last-child th { border-bottom: 0; }
.gshield-post-body hr { border: 0; border-top: 1px solid var(--gs-line); margin: 2em 0; }
.gshield-post-body iframe { max-width: 100%; border-radius: 10px; }
.gshield-post-body code { background: #efeee9; padding: 2px 6px; border-radius: 5px; font-size: .9em; }

/* produtos citados */
.gs-produtos { max-width: var(--gs-read); margin: 10px auto 0; padding: 0 20px; }
.gs-produtos h2 { font-size: 20px; font-weight: 800; margin: 0 0 12px; }
.gs-produtos-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.gs-produto { background: #fff; border: 1px solid var(--gs-line); border-radius: var(--gs-radius); padding: 12px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.gs-produto img { aspect-ratio: 1; object-fit: contain; width: 100%; background: #fff; border-radius: 8px; }
.gs-produto span { font-size: 13.5px; line-height: 1.35; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gs-produto b { margin-top: auto; text-align: center; background: var(--gs-orange); color: #1a1100; border-radius: 8px; padding: 8px; font-size: 13.5px; }
.gs-produto:hover { border-color: var(--gs-orange); }
.gs-loja-box { max-width: var(--gs-read); margin: 26px auto 0; padding: 0 20px; }
.gs-loja-box div { background: var(--gs-dark); color: #fff; border-radius: var(--gs-radius); padding: 20px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.gs-loja-box p { margin: 0; font-weight: 700; font-size: 17px; }
.gs-loja-box small { display: block; color: #bdbdbd; font-weight: 500; font-size: 13.5px; }

/* rodape */
.gs-footer { background: var(--gs-dark); color: #cfcfcf; margin-top: 56px; padding: 44px 0 24px; font-size: 14px; }
.gs-footer-grid { display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr 1fr; }
.gs-footer h4 { color: #fff; font-size: 14px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .06em; }
.gs-footer ul { list-style: none; margin: 0; padding: 0; }
.gs-footer li { margin: 7px 0; }
.gs-footer a { color: #cfcfcf; text-decoration: none; }
.gs-footer a:hover { color: var(--gs-orange); }
.gs-social { display: flex; flex-wrap: wrap; gap: 8px; }
.gs-social a { width: 38px; height: 38px; border-radius: 10px; background: var(--gs-dark-2); display: inline-flex; align-items: center; justify-content: center; }
.gs-social svg { width: 18px; height: 18px; }
.gs-footer-bottom { border-top: 1px solid #383838; margin-top: 30px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 12.5px; color: #9a9a9a; }

/* 404 */
.gs-404 { text-align: center; padding: 70px 20px; }
.gs-404 h1 { font-size: clamp(30px, 5vw, 46px); margin: 10px 0; font-weight: 800; }
.gs-404 h1 .accent { color: var(--gs-orange-strong); }
.gs-404 p { color: var(--gs-muted); }

/* busca (overlay usado pelo main.js) */
.gshield-search-overlay { position: fixed; inset: 0; background: rgba(20,20,20,.62); display: none; align-items: flex-start; justify-content: center; padding: 10vh 16px 16px; z-index: 200; }
.gshield-search-overlay.is-open { display: flex; }
.gshield-search-modal { width: 100%; max-width: 640px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.gshield-search-input { width: 100%; border: 0; border-bottom: 1px solid var(--gs-line); padding: 18px 20px; font: inherit; font-size: 18px; outline: none; }
.gshield-search-meta { display: flex; justify-content: space-between; gap: 10px; padding: 8px 20px; font-size: 12px; color: var(--gs-muted); background: #fafaf8; }
.gshield-search-meta kbd { font-family: inherit; border: 1px solid #ddd; border-radius: 4px; padding: 0 4px; }
.gshield-search-results { max-height: 60vh; overflow-y: auto; }
.gshield-search-result { display: block; padding: 12px 20px; border-bottom: 1px solid var(--gs-line); text-decoration: none; }
.gshield-search-result h4 { margin: 0 0 4px; font-size: 15.5px; }
.gshield-search-result p { margin: 0; font-size: 13.5px; color: var(--gs-muted); }
.gshield-search-result:hover, .gshield-search-result[aria-selected="true"] { background: var(--gs-orange-soft); }
.gshield-search-result mark { background: #ffe1a6; color: inherit; padding: 0 1px; }
.gshield-search-empty { padding: 26px 20px; color: var(--gs-muted); font-size: 14px; }
.gshield-search-suggestion { margin-top: 8px; font-size: 13px; }
.gshield-search-suggestion a { color: var(--gs-orange-text); }

@media (max-width: 900px) {
  .gs-featured { grid-template-columns: 1fr; }
  .gs-footer-grid { grid-template-columns: 1fr 1fr; }
  .gs-footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .gs-header-in { height: 58px; gap: 10px; }
  .gs-brand-cap { display: none; }
  .gs-brand-name { font-size: 16px; }
  .gs-search-btn { height: 38px; padding: 0 10px; }
  .gs-search-btn span, .gs-search-btn kbd { display: none; }
  .gs-search-btn { flex: 0 0 auto; width: 38px; justify-content: center; margin-left: auto; }
  .gs-cta { height: 38px; padding: 0 12px; font-size: 13px; }
  .gs-hero { padding: 30px 0 26px; }
  .gshield-post-body { font-size: 17px; }
  .gshield-post-body h2 { font-size: 23px; }
  .gs-lead { font-size: 17px; }
  .gs-card.is-big h3 { font-size: 20px; }
  .gs-footer-grid { grid-template-columns: 1fr; }
}
