: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 {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.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;
}
.admin-posts-table {
  table-layout: fixed;
}

.admin-posts-table th:nth-child(1),
.admin-posts-table td:nth-child(1) { width: 34px; }

.admin-posts-table th:nth-child(2),
.admin-posts-table td:nth-child(2) {
  width: auto;
  min-width: 190px;
  white-space: normal;
}

.admin-posts-table th:nth-child(3),
.admin-posts-table td:nth-child(3) { width: 82px; }

.admin-posts-table th:nth-child(4),
.admin-posts-table td:nth-child(4) { width: 118px; }

.admin-posts-table th:nth-child(5),
.admin-posts-table td:nth-child(5) { width: 116px; }

.admin-posts-table th:nth-child(6),
.admin-posts-table td:nth-child(6) { width: 68px; }

.admin-posts-table th:nth-child(7),
.admin-posts-table td:nth-child(7) { width: 112px; }

.admin-posts-table th:nth-child(8),
.admin-posts-table td:nth-child(8) { width: 168px; }

.admin-posts-table .table-actions {
  flex-wrap: wrap;
}

.admin-posts-table .btn {
  padding: 7px 10px;
}

.admin-posts-table td:nth-child(2) strong,
.admin-posts-table td:nth-child(2) small {
  white-space: normal;
  overflow-wrap: anywhere;
}

.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; }
.posts-table tr.post-row-scheduled td {
  background: #fff9db;
}

.posts-table tr.post-row-due td {
  background: #ffd8d3;
}

.posts-table tr.post-row-scheduled:hover td {
  background: #fff3bf;
}

.posts-table tr.post-row-due:hover td {
  background: #ffc4bd;
}

.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 {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.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;
  }
}

.social-editor {
  border-top: 1px solid rgba(0, 0, 0, .1);
  margin-top: 12px;
  padding-top: 20px;
}

.social-editor h2 {
  font-size: 1.35rem;
  margin: 0 0 14px;
}

.social-block {
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 8px;
  margin: 0 0 18px;
  padding: 16px;
}

.social-block-header,
.copy-image-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.social-block h3 {
  font-size: 1rem;
  margin: 0;
}

.social-block textarea {
  min-height: 120px;
}

.char-counter {
  color: #4f5f75;
  font-weight: 700;
  margin-top: -4px;
}

.char-counter.over-limit {
  color: #b42318;
}

.tag-list.compact {
  margin: 4px 0 14px;
}

a.tag {
  color: var(--navy);
  text-decoration: none;
}

a.tag:hover {
  background: var(--blue);
  color: var(--white);
}

.filter-note {
  color: var(--muted);
  margin-top: -10px;
}

.filter-note a {
  color: var(--blue);
  font-weight: 700;
}

.slug-preview {
  margin-top: 10px;
}

.slug-preview label {
  font-size: 13px;
}

.slug-preview-row {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.slug-preview-row input[readonly] {
  background: #f8fafc;
  color: var(--navy);
  font-size: 14px;
}

.related-posts-section {
  border-top: 1px solid var(--line);
  margin-top: 42px;
  padding-top: 34px;
}

.feed-links {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.feed-links input[readonly] {
  background: #f8fafc;
  font-size: 14px;
}

.blog-hero {
  position: relative;
}

.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  opacity: .88;
  animation: heroArrowFloat 2.4s ease-in-out infinite;
}

.hero-scroll-indicator span {
  width: 15px;
  height: 15px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

@keyframes heroArrowFloat {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}

.analytics-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.analytics-card {
  border: 1px solid #e8edf4;
  border-radius: var(--radius);
  background: #f8fafc;
  padding: 14px;
}

.analytics-card span,
.analytics-card small {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.analytics-card strong {
  display: block;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.1;
  margin: 6px 0;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 18px;
}

.analytics-grid > div {
  min-width: 0;
}

.analytics-grid .posts-table {
  min-width: 420px;
}

.analytics-grid .posts-table td:first-child {
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 980px) {
  .analytics-cards,
  .analytics-grid { grid-template-columns: 1fr; }
}
.analytics-online-panel {
  margin-top: 18px;
}

.analytics-online-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.analytics-online-head p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
}

.analytics-online-head strong {
  min-width: 70px;
  text-align: right;
  color: var(--navy);
  font-size: 40px;
  line-height: 1;
}

.online-chart-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 8px;
}

.online-chart {
  width: 100%;
  height: 72px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  border: 1px solid #e8edf4;
  background: #f8fafc;
  padding: 4px;
}

.online-chart span {
  flex: 1 1 0;
  min-width: 2px;
  border-radius: 2px;
}

.online-chart-enter span {
  background: #2563eb;
}

.online-chart-leave {
  align-items: flex-start;
}

.online-chart-leave span {
  background: #dc2626;
}

.online-chart-axis {
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 2px;
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wide-scroll .posts-table,
.analytics-events-table {
  min-width: 1180px;
}

.analytics-notes p {
  color: #334155;
  line-height: 1.65;
  margin: 10px 0 0;
}

@media (max-width: 720px) {
  .analytics-online-head {
    align-items: stretch;
    flex-direction: column;
  }

  .analytics-online-head strong {
    text-align: left;
  }
}
.admin-page .analytics-panel,
.admin-page .analytics-online-panel,
.admin-page .analytics-grid,
.admin-page .analytics-notes,
.admin-page .analytics-events-section {
  max-width: 100%;
  min-width: 0;
}

.admin-page .analytics-grid {
  overflow: hidden;
}

.admin-page .analytics-grid .table-scroll,
.admin-page .wide-scroll {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.admin-page .analytics-grid .posts-table,
.admin-page .analytics-events-table {
  display: table;
  width: 100%;
}

.admin-page .analytics-grid .posts-table td,
.admin-page .analytics-grid .posts-table th,
.admin-page .analytics-events-table td,
.admin-page .analytics-events-table th {
  white-space: nowrap;
}

.admin-page .analytics-grid .posts-table td:first-child {
  min-width: 240px;
}
.admin-page .analytics-link-full {
  color: #174ea6;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-page .analytics-link-full:hover {
  text-decoration: underline;
}

.admin-page .analytics-links-table {
  min-width: 680px;
}

.admin-page .analytics-links-table td:first-child,
.admin-page .analytics-events-table td:nth-child(4) {
  min-width: 420px;
  max-width: none;
  white-space: normal;
}

.admin-page .analytics-events-table {
  min-width: 1100px;
}

.admin-page .analytics-events-table td:nth-child(3) {
  min-width: 260px;
  max-width: 360px;
  white-space: normal;
}

.admin-page .analytics-grid .analytics-links-table td:first-child {
  max-width: none;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.analytics-line-panel {
  margin-top: 18px;
}

.analytics-line-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.analytics-line-head p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
}

.chart-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.chart-toggles label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #dbe5f2;
  border-radius: 8px;
  background: #f8fafc;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.line-chart-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.analytics-line-chart {
  display: block;
  width: 100%;
  height: auto;
  min-height: 220px;
  border: 1px solid #e8edf4;
  border-radius: 8px;
  background: #ffffff;
}

.chart-grid-line {
  stroke: #e8edf4;
  stroke-width: 1;
}

.analytics-events-section .table-scroll {
  max-height: 560px;
  overflow: auto;
}

.analytics-events-section thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
}
.analytics-pager {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.analytics-pager .btn {
  padding: 8px 12px;
}
.analytics-line-chart {
  display: block;
  width: 100%;
  height: 260px;
  min-height: 260px;
}

.analytics-line-chart polyline {
  vector-effect: non-scaling-stroke;
}

.analytics-notes {
  display: block;
}
.analytics-custom-date[hidden] {
  display: none;
}

.chart-axis-line {
  stroke: #94a3b8;
  stroke-width: 1.4;
}

.chart-axis-text {
  fill: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.chart-axis-label {
  fill: #334155;
  font-size: 13px;
  font-weight: 800;
}

.chart-point {
  cursor: pointer;
}

.chart-point:hover {
  stroke: #0f172a;
  stroke-width: 2;
}

.line-chart-help {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}
.analytics-google-panels {
  margin-top: 18px;
}

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

.analytics-mini-chart {
  min-width: 0;
  border: 1px solid #e8edf4;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.analytics-mini-chart h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.heatmap-chart {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 6px;
  overflow-x: auto;
}

.heatmap-days {
  display: grid;
  grid-template-rows: repeat(7, 16px);
  gap: 2px;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.heatmap-cells {
  display: grid;
  grid-template-columns: repeat(24, 16px);
  grid-template-rows: repeat(7, 16px);
  gap: 2px;
}

.heatmap-cells span {
  display: block;
  background: #4285f4;
}

.heatmap-axis {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  color: #64748b;
  font-size: 12px;
  margin-top: 6px;
}

.device-row + .device-row {
  margin-top: 16px;
}

.device-row strong {
  display: block;
  margin-bottom: 6px;
  color: #334155;
  font-size: 13px;
}

.device-stack {
  display: flex;
  height: 24px;
  overflow: hidden;
  background: #eef2f7;
}

.device-stack span {
  min-width: 1px;
}

.device-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
}

.device-values i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
}

.weekday-chart {
  display: grid;
  gap: 6px;
}

.bar-row {
  display: grid;
  grid-template-columns: 22px 1fr 42px;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.bar-row i {
  display: block;
  height: 18px;
  background: #4285f4;
}

.bar-row b {
  font-weight: 800;
  text-align: right;
}

.hour-chart {
  min-height: 150px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  border-bottom: 1px solid #94a3b8;
  padding: 12px 0 0;
}

.hour-chart span {
  flex: 1 1 0;
  min-width: 4px;
  background: #4285f4;
}

@media (max-width: 900px) {
  .analytics-mini-grid {
    grid-template-columns: 1fr;
  }
}
.metric-bar-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.metric-bar-label {
  white-space: nowrap;
}

.metric-bars {
  display: grid;
  gap: 3px;
}

.metric-bars i {
  position: relative;
  display: block;
  min-width: 2px;
  height: 12px;
  border-radius: 2px;
}

.metric-bars b {
  position: absolute;
  left: calc(100% + 5px);
  top: 50%;
  transform: translateY(-50%);
  color: #334155;
  font-size: 10px;
  line-height: 1;
}

.hour-chart {
  overflow-x: auto;
  align-items: stretch;
  min-height: 180px;
}

.hour-chart .hour-group {
  flex: 1 0 24px;
  min-width: 24px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 6px;
  align-items: end;
}

.hour-bars {
  height: 130px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
}

.hour-bars i {
  width: 5px;
  min-height: 2px;
  border-radius: 2px 2px 0 0;
}

.hour-group > span {
  min-width: 0;
  background: transparent;
  color: #64748b;
  font-size: 10px;
  text-align: center;
}

.analytics-audience-panel {
  margin-top: 18px;
}

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

.audience-heatmap {
  display: grid;
  grid-template-columns: 32px minmax(390px, 1fr);
  gap: 6px;
  overflow-x: auto;
}

.audience-heatmap .heatmap-cells span {
  background: #2563eb;
}

.analytics-note-small {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 12px;
}

@media (max-width: 900px) {
  .analytics-audience-grid {
    grid-template-columns: 1fr;
  }
}


.affiliate-banner {
  width: 100%;
  margin: 26px 0;
  overflow: hidden;
  text-align: center;
}
.affiliate-banner img,
.affiliate-banner iframe {
  max-width: 100%;
}
.affiliate-grid-break {
  grid-column: 1 / -1;
}
.article-content .affiliate-banner {
  margin: 28px 0;
}
