:root {
  --navy: #0a1326;
  --navy-2: #112240;
  --blue: #2563eb;
  --blue-2: #3c78f0;
  --muted: #64748b;
  --white: #ffffff;
  --soft: #f7f8f9;
  --line: rgba(10, 19, 38, .12);
  --shadow: 0 20px 50px rgba(10, 19, 38, .14);
  --radius: 8px;
  --max: 1140px;
  --header: 90px;
  --font-primary: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-secondary: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-secondary);
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 18px; color: #4b5664; }

h1, h2, h3, h4, .btn, .portal, .main-nav a, .phone-link, .section-title {
  font-family: var(--font-primary);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header);
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px rgba(10, 19, 38, .04);
}

.nav-wrap {
  height: 100%;
  display: grid;
  grid-template-columns: 190px 1fr 180px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  min-height: var(--header);
}

.brand img { width: 193px; height: auto; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: var(--header);
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--header);
  color: #3f444b;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.main-nav a:hover { color: var(--blue); }
.main-nav a:hover::after { transform: scaleX(1); }

.phone-link {
  color: #565d68;
  font-size: 13px;
  font-weight: 800;
}

.portal,
.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 24px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(37, 99, 235, .28);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.portal { justify-self: end; white-space: nowrap; }
.btn:hover, .portal:hover {
  background: #174fc9;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, .38);
}

.btn.secondary {
  background: #fff;
  color: var(--blue);
  border: 1px solid #dbe5f3;
  box-shadow: none;
}

.btn.danger {
  background: #b42318;
  box-shadow: 0 10px 26px rgba(180, 35, 24, .22);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  justify-self: end;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 6px auto;
  background: var(--navy);
  transition: transform .2s ease, opacity .2s ease;
}

.blog-hero {
  min-height: 285px;
  padding: 44px 0;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(10, 19, 38, .78), rgba(37, 99, 235, .76)),
    url("../../assets/bg-hero-suporte-ti.jpg") center / cover;
}

.blog-hero h1 {
  max-width: 870px;
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.03;
}

.blog-hero p {
  max-width: 780px;
  margin-bottom: 22px;
  color: rgba(255,255,255,.9);
  font-size: 19px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.blog-hero .eyebrow { color: #fff; opacity: .88; }

.blog-search-bar {
  background: #eef1f5;
  border-bottom: 1px solid #dfe5ee;
}

.public-search-form {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px 0;
}

.public-search-form label {
  color: #3f4856;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.public-search-field {
  display: flex;
  gap: 10px;
  align-items: center;
}

.public-search-field input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d2dae7;
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--navy);
  font: 500 14px var(--font-secondary);
}

.public-search-field .btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 12px;
}

.clear-search {
  color: #4b5664;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.clear-search:hover {
  color: var(--blue);
}

.blog-slider {
  position: relative;
  height: 420px;
  margin-top: var(--header);
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.slider-item {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transition: opacity .45s ease;
}

.slider-item.active {
  opacity: 1;
  z-index: 1;
}

.slider-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
}

.slider-content .eyebrow,
.slider-content h1,
.slider-content p {
  color: #fff;
}

.slider-content h1 {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.06;
}

.slider-content p {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: 18px;
}

.slider-btn {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
}

.slider-btn:hover {
  background: #f6f8ff;
  color: #174fc9;
}

.slider-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.slider-dots button.active {
  background: #fff;
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.category-nav a {
  padding: 8px 12px;
  border: 1px solid #dde6f2;
  border-radius: 999px;
  background: #fff;
  color: #3f444b;
  font-size: 13px;
  font-weight: 800;
}

.category-nav a.active,
.category-nav a:hover {
  border-color: rgba(37,99,235,.25);
  background: rgba(37,99,235,.08);
  color: var(--blue);
}

.category-nav-top {
  margin-top: var(--header);
  background: #05070d;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.category-nav-top .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.category-toggle {
  display: none;
}

.category-toggle strong {
  margin-left: 8px;
  color: rgba(255,255,255,.82);
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.category-nav-top a,
.category-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 15px;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background .2s ease;
  cursor: pointer;
}

.category-nav-top a.active,
.category-nav-top a:hover,
.category-toggle:hover {
  background: var(--blue);
  color: #fff;
}

.section { padding: 68px 0; }
.soft { background: var(--soft); }

.section-title {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.featured-section {
  margin-bottom: 48px;
}

.more-featured-section {
  margin-top: 56px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.featured-grid.single {
  grid-template-columns: 1fr;
}

.featured-card p {
  margin: 14px 0 0;
  color: #4b5664;
  font-size: 17px;
}

.featured-image-card {
  position: relative;
  display: block;
  height: 340px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #071121;
}

.featured-grid.single .featured-image-card {
  height: 390px;
}

.featured-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,17,33,.08), rgba(7,17,33,.82));
}

.featured-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.featured-image-card:hover img {
  transform: scale(1.03);
}

.featured-image-card h3 {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.12;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.post-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e8edf4;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(10, 19, 38, .06);
}

.post-card-image {
  aspect-ratio: 16 / 9;
  background: #e8edf4;
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: #6d7882;
  font-size: 13px;
  font-weight: 700;
}

.post-card h2,
.post-card h3 {
  margin: 0 0 10px;
  color: #243044;
  font-size: 21px;
  line-height: 1.25;
}

.post-card p { margin-bottom: 22px; }
.post-card .btn { margin-top: auto; align-self: flex-start; }

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.empty-state {
  max-width: 720px;
  padding: 30px;
  border: 1px solid #e8edf4;
  border-radius: var(--radius);
  background: #fff;
}

.article-shell {
  padding: 150px 0 70px;
}

.article-header {
  width: 100%;
  margin-bottom: 30px;
}

.article-header h1 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
}

.article-summary {
  max-width: none;
  color: #4b5664;
  font-size: 19px;
}

.featured-image {
  margin: 0 0 38px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e8edf4;
}

.featured-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 54px;
  align-items: start;
}

.article-layout aside {
  position: sticky;
  top: 104px;
  align-self: start;
  z-index: 2;
}

.article-layout aside .sidebar-box:first-child {
  margin-top: 0;
}

.article-content {
  color: #2f3947;
  font-size: 18px;
}

.article-content p { font-size: 18px; }
.article-content h2 {
  margin: 34px 0 14px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.18;
}

.article-content h3 {
  margin: 28px 0 12px;
  color: var(--navy);
  font-size: 23px;
}

.article-content a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
}

.article-content ul,
.article-content ol {
  margin: 0 0 20px;
  padding-left: 24px;
  color: #4b5664;
}

.article-content blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--blue);
  background: #f8fafc;
  color: #243044;
}

.article-content pre {
  overflow-x: auto;
  padding: 16px;
  border-radius: var(--radius);
  background: #071121;
  color: #fff;
}

.article-content code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #eef4ff;
  color: #174fc9;
}

.article-content pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.article-content img {
  max-width: 100%;
  height: auto;
  margin: 10px 0 18px;
  border-radius: var(--radius);
}

.article-content img.img-left {
  float: left;
  max-width: min(46%, 320px);
  margin: 6px 22px 14px 0;
}

.article-content img.img-right {
  float: right;
  max-width: min(46%, 320px);
  margin: 6px 0 14px 22px;
}

.article-content img.img-center {
  margin-inline: auto;
}

.article-content img.img-full {
  display: block;
  width: 100%;
  margin-inline: auto;
}

.sidebar-box,
.ad-placeholder {
  padding: 22px;
  border: 1px solid #e8edf4;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(10, 19, 38, .05);
}

.sidebar-box h2,
.ad-placeholder h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 20px;
  background: rgba(37, 99, 235, .08);
  color: #174fc9;
  font-size: 13px;
  font-weight: 700;
}

.admin-page {
  min-height: 100vh;
  padding: 34px 0;
  background: var(--soft);
  font-size: 75%;
}

.admin-page .container {
  width: min(100% - 24px, 1680px);
  max-width: none;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
}

.admin-card {
  padding: 16px;
  border: 1px solid #e8edf4;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(10, 19, 38, .06);
}

.admin-card + .admin-card { margin-top: 18px; }
.admin-card h2 { margin: 0 0 14px; font-size: 20px; }
.narrow-admin { max-width: 860px; }

.settings-details {
  margin-bottom: 10px;
  border: 1px solid #e8edf4;
  border-radius: var(--radius);
  background: #fbfdff;
}

.settings-details summary {
  padding: 10px 12px;
  color: #243044;
  font-weight: 800;
  cursor: pointer;
}

.settings-details .form-grid {
  padding: 0 12px 12px;
}

.login-card {
  width: min(480px, calc(100% - 40px));
  margin: 70px auto 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field.full { grid-column: 1 / -1; }

label {
  display: block;
  margin-bottom: 6px;
  color: #243044;
  font-size: 12px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid #d9e1ec;
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  font: inherit;
}

input[type="checkbox"] {
  width: auto;
  min-height: 0;
  margin-right: 8px;
  accent-color: var(--blue);
}

textarea { min-height: 150px; resize: vertical; }
.summary-textarea { min-height: 54px; }

.editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.rich-editor {
  margin-bottom: 10px;
  border: 1px solid #d9e1ec;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 7px;
  border-bottom: 1px solid #e8edf4;
  background: #f8fafc;
}

.editor-image-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border-bottom: 1px solid #e8edf4;
  background: #fff;
}

.editor-image-panel .form-actions,
.editor-image-panel .editor-upload-status {
  grid-column: 1 / -1;
}

.editor-image-panel .editor-upload-status {
  min-height: 18px;
  margin: 0;
  color: #64748b;
}

.editor-toolbar button {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  background: #fff;
  color: #243044;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.editor-toolbar button:hover {
  border-color: rgba(37,99,235,.35);
  color: var(--blue);
}

.editor-canvas {
  min-height: 280px;
  padding: 14px;
  outline: none;
  font-size: 15px;
  line-height: 1.65;
}

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

.editor-canvas img.img-left {
  float: left;
  max-width: min(46%, 320px);
  margin: 6px 18px 12px 0;
}

.editor-canvas img.img-right {
  float: right;
  max-width: min(46%, 320px);
  margin: 6px 0 12px 18px;
}

.editor-canvas img.img-center {
  display: block;
  margin: 10px auto 16px;
}

.editor-canvas img.img-full {
  display: block;
  width: 100%;
  margin: 10px auto 16px;
}

.form-actions,
.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-page .btn {
  min-height: 30px;
  padding: 0 11px;
  border-radius: 16px;
  font-size: 11px;
  box-shadow: none;
  white-space: nowrap;
}

.admin-page p {
  margin-bottom: 12px;
  font-size: 12px;
}

.admin-toolbar,
.bulk-bar,
.inline-edit {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-bottom: 16px;
}

.admin-toolbar-row {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}

.admin-toolbar-row .admin-toolbar,
.admin-toolbar-row .bulk-bar {
  margin-bottom: 0;
}

.search-field {
  flex: 1;
  min-width: 240px;
}

.bulk-bar {
  justify-content: flex-end;
  padding: 8px;
  border-radius: var(--radius);
  background: #f8fafc;
}

.bulk-bar select { max-width: 240px; }

.inline-edit {
  align-items: end;
  padding: 12px 0;
  border-bottom: 1px solid #e8edf4;
}

.inline-edit > div {
  flex: 1;
}

.inline-edit small {
  display: block;
  margin-top: 5px;
  color: #6d7882;
}

.notice {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(37, 99, 235, .08);
  color: #174fc9;
  font-weight: 700;
}

.error {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #fff1f0;
  color: #b42318;
  font-weight: 700;
}

.posts-table {
  width: 100%;
  border-collapse: collapse;
}

.table-scroll {
  max-height: calc(100vh - 220px);
  overflow: auto;
  border: 1px solid #e8edf4;
  border-radius: var(--radius);
}

.posts-table th,
.posts-table td {
  padding: 9px 8px;
  border-bottom: 1px solid #e8edf4;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.posts-table.compact th,
.posts-table.compact td {
  padding: 8px 7px;
  font-size: 12px;
}

.posts-table th {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #fff;
  color: #243044;
  font-size: 11px;
  text-transform: uppercase;
}

.posts-table td:nth-child(2) {
  max-width: 460px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.posts-table td:nth-child(2) strong,
.posts-table td:nth-child(2) small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-actions {
  flex-wrap: nowrap;
  gap: 5px;
}

.status {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 20px;
  background: #eef4ff;
  color: #174fc9;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.status.draft { background: #fff7e6; color: #9a5b00; }
.status.archived { background: #f1f1f1; color: #555; }

.blog-cta {
  padding: 58px 0;
  color: #fff;
  background: #0a1326;
}

.blog-cta p,
.blog-cta h2 { color: #fff; }

.cta-wrap {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.cta-wrap div { max-width: 740px; }
.cta-wrap h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.site-footer {
  color: rgba(255,255,255,.78);
  background: #071121;
}

.footer-main {
  padding: 58px 0 42px;
  display: grid;
  grid-template-columns: 1.25fr .75fr .75fr 1fr;
  gap: 36px;
}

.footer-brand img {
  width: 190px;
  height: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-contact p { color: rgba(255,255,255,.74); }

.footer-col h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.76); }
.footer-col a:hover { color: #fff; }
.footer-contact strong { color: #fff; }

.footer-bottom {
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.58);
  font-size: 14px;
}

.footer-alert-btn {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: #071121;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.footer-alert-btn:hover {
  color: var(--blue);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #25d366;
  color: #fff;
  z-index: 60;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(37,211,102,.35);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.notify-box {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 55;
  max-width: 260px;
  padding: 14px;
  border: 1px solid #e8edf4;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 36px rgba(10,19,38,.16);
}

.notify-box[hidden] { display: none; }
.notify-box p { margin-bottom: 10px; font-size: 13px; }
.notify-box .form-actions { gap: 6px; }

.share-feedback {
  min-height: 18px;
  margin: 10px 0 0;
  color: #64748b;
  font-size: 13px;
}

.share-after-content {
  clear: both;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid #e8edf4;
}

@media (max-width: 980px) {
  .nav-wrap { grid-template-columns: 170px 1fr 44px; }
  .brand img { width: 170px; }
  .portal { display: none; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--header);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    min-height: auto;
    padding: 28px 20px;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
  }
  .menu-open .main-nav { display: flex; }
  .main-nav a {
    width: 100%;
    height: auto;
    padding: 16px 0;
    border-bottom: 1px solid #e8edf4;
    font-size: 16px;
  }
  .main-nav a::after { display: none; }
  .post-grid,
  .article-layout,
  .footer-main,
  .form-grid { grid-template-columns: 1fr; }
  .article-layout aside { position: static; }
  .cta-wrap,
  .admin-header { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  :root { --header: 78px; }
  .container { width: min(100% - 28px, var(--max)); }
  .blog-hero {
    min-height: 230px;
    padding: 36px 0;
    background-image:
      linear-gradient(180deg, rgba(10, 19, 38, .78), rgba(37, 99, 235, .78)),
      url("../../assets/bg-hero-suporte-ti-mobile.jpg");
  }
  .section,
  .article-shell { padding: 46px 0; }
  .article-shell { padding-top: 118px; }
  .posts-table { display: block; overflow-x: auto; }
  .footer-bottom { flex-direction: column; }
  .blog-slider { height: 380px; }
  .category-nav-top a { min-height: 40px; font-size: 12px; }
  .category-nav-top .container {
    width: 100%;
    display: block;
  }
  .category-toggle {
    display: inline-flex;
    width: 100%;
    justify-content: flex-start;
    min-height: 40px;
  }
  .category-toggle span {
    margin-right: 8px;
    font-size: 18px;
    line-height: 1;
  }
  .category-links {
    display: none;
  }
  .category-links a {
    flex: 0 0 auto;
  }
  .category-nav-top.open .category-links {
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .public-search-form {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 0;
  }
  .public-search-field {
    flex-wrap: wrap;
  }
  .public-search-field input {
    flex: 1 1 100%;
  }
  .public-search-field .btn {
    flex: 1 1 auto;
  }
  .article-content img.img-left,
  .article-content img.img-right,
  .editor-canvas img.img-left,
  .editor-canvas img.img-right {
    float: none;
    max-width: 100%;
    margin: 10px 0 18px;
  }
  .admin-page .container { width: min(100% - 14px, 1680px); }
  .admin-toolbar-row { grid-template-columns: 1fr; }
  .admin-toolbar,
  .bulk-bar,
  .inline-edit { align-items: stretch; flex-direction: column; }
}

/* Ajustes finais do admin: interface mais densa e lista com cabeçalho fixo. */
.admin-page {
  font-size: 12px;
}

.admin-page h1 { font-size: 28px; }
.admin-page h2 { font-size: 18px; }
.admin-page label,
.admin-page input,
.admin-page textarea,
.admin-page select,
.admin-page p,
.admin-page small,
.admin-page td,
.admin-page th {
  font-size: 12px;
}

.admin-page .container {
  width: min(100% - 20px, 1800px);
}

.admin-page .admin-card {
  padding: 14px;
}

.admin-page .btn {
  min-height: 28px;
  padding: 0 10px;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.admin-toolbar-row {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 8px 0;
  background: #fff;
  border-bottom: 1px solid #e8edf4;
}

.admin-toolbar-row .admin-toolbar {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto auto;
}

.admin-toolbar-row .bulk-bar {
  display: grid;
  grid-template-columns: minmax(180px, 240px) auto;
}

.table-scroll {
  height: calc(100vh - 190px);
  max-height: none;
  overflow: auto;
}

.posts-table {
  min-width: 1120px;
}

.posts-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  box-shadow: 0 1px 0 #e8edf4;
}

.posts-table.compact td,
.posts-table.compact th {
  padding: 7px 6px;
}

.posts-table td {
  white-space: nowrap;
}

.posts-table td:nth-child(2) {
  width: 38%;
  max-width: 620px;
}

.posts-table td:nth-child(7) {
  min-width: 180px;
}

.table-actions {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
}

@media (max-width: 760px) {
  .admin-toolbar-row,
  .admin-toolbar-row .admin-toolbar,
  .admin-toolbar-row .bulk-bar {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }
  .editor-image-panel {
    grid-template-columns: 1fr;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .featured-image-card,
  .featured-grid.single .featured-image-card {
    height: 260px;
  }
}
