:root {
  --color-primary: #0bb3a7;
  --color-primary-strong: #07847c;
  --color-secondary: #3d7eff;
  --color-background: #f5f8fb;
  --color-surface: #ffffff;
  --color-surface-soft: #edf4f7;
  --color-text: #101820;
  --color-muted: #5d6b78;
  --color-border: #d9e3e8;
  --color-header: rgba(255, 255, 255, 0.94);
  --color-footer: #0a141a;
  --shadow-card: 0 16px 38px rgba(16, 24, 32, 0.1);
  --radius: 8px;
  --container: 1120px;
  --header-container-height: 72px;
  --brand-nav-height: 44px;
  --header-height: calc(var(--header-container-height) + var(--brand-nav-height));
}

body.dark-theme {
  --color-primary: #18d5c8;
  --color-primary-strong: #6ff5ec;
  --color-secondary: #8ab4ff;
  --color-background: #071014;
  --color-surface: #101b21;
  --color-surface-soft: #16242b;
  --color-text: #eef7f8;
  --color-muted: #a9b7bf;
  --color-border: #283941;
  --color-header: rgba(7, 16, 20, 0.94);
  --color-footer: #03080a;
  --shadow-card: 0 18px 42px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

picture,
video,
iframe,
embed,
object,
svg,
canvas {
  max-width: 100%;
}

iframe,
video {
  width: 100%;
  aspect-ratio: 16 / 9;
}

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

th,
td {
  overflow-wrap: anywhere;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: #041112;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-header);
  backdrop-filter: blur(14px);
  transform: translateY(0);
  transition: transform 0.28s ease;
  will-change: transform;
}

.site-header.is-scroll-hidden {
  transform: translateY(calc(-100% - 2px));
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--container));
  min-height: var(--header-container-height);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  text-decoration: none;
}

.brand-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: var(--radius);
  background:
    url("assets/favicon.svg") center / cover no-repeat,
    var(--color-primary);
  color: transparent;
  font-size: 0.9rem;
  overflow: hidden;
  text-indent: -999px;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  font-family: "Trebuchet MS", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-system,
.brand-domain {
  color: var(--color-primary);
}

.brand-android {
  color: var(--color-text);
}

.brand-system,
.brand-android {
  font-weight: 400;
}

.brand-domain {
  margin-left: 2px;
  font-size: 0.72em;
  font-weight: 600;
}

.header-actions {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.search-toggle,
.theme-toggle,
.menu-toggle {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
}

.search-toggle span {
  position: relative;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-toggle span::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.theme-toggle-icon {
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}

.menu-toggle {
  gap: 4px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.main-nav {
  position: absolute;
  top: calc(var(--header-height) + 8px);
  right: 16px;
  left: 16px;
  display: none;
  max-height: calc(100vh - var(--header-height) - 24px);
  overflow-y: auto;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.main-nav.is-open {
  display: block;
}

.main-nav ul,
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 13px 12px;
  border-radius: var(--radius);
  color: var(--color-muted);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--color-surface-soft);
  color: var(--color-primary-strong);
}

.main-nav a[href="/melhor-pelo-preco"],
.main-nav a[href="melhor-pelo-preco"],
.main-nav a[href="/melhor-pelo-preco.html"],
.main-nav a[href="melhor-pelo-preco.html"] {
  color: var(--color-primary-strong);
}

.brand-nav {
  width: 100%;
  height: var(--brand-nav-height);
  overflow-x: auto;
  overflow-y: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface-soft);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.brand-nav::-webkit-scrollbar {
  display: none;
}

.brand-nav ul {
  display: flex;
  align-items: stretch;
  width: max-content;
  min-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 16px;
  list-style: none;
}

.brand-nav li {
  display: flex;
  align-items: stretch;
}

.brand-nav-title {
  position: relative;
}

.brand-nav-title::before {
  position: absolute;
  top: 0;
  right: 100%;
  width: 100vw;
  height: 100%;
  background: #f8fbfd;
  content: "";
}

.brand-nav a,
.brand-nav-title span {
  display: flex;
  align-items: center;
  padding: 0 15px;
  white-space: nowrap;
}

.brand-nav a {
  border-bottom: 3px solid transparent;
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.brand-nav a:hover,
.brand-nav a:focus-visible {
  border-bottom-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
  color: var(--color-primary-strong);
}

.brand-nav-title span {
  position: relative;
  z-index: 1;
  height: 100%;
  margin-right: 18px;
  padding: 0 18px 0 22px;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fbfd;
  color: #07847c;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brand-nav-title span::after {
  position: absolute;
  top: 0;
  right: -18px;
  width: 0;
  height: 0;
  border-top: calc(var(--brand-nav-height) / 2) solid transparent;
  border-bottom: calc(var(--brand-nav-height) / 2) solid transparent;
  border-left: 18px solid #f8fbfd;
  content: "";
}

body:not(.dark-theme) .brand-nav-title::before,
body:not(.dark-theme) .brand-nav-title span {
  background: linear-gradient(180deg, #4a545c 0%, #242c33 100%);
}

body:not(.dark-theme) .brand-nav-title span {
  border-right-color: rgba(255, 255, 255, 0.1);
  color: #18d5c8;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

body:not(.dark-theme) .brand-nav-title span::after {
  border-left-color: #2f3840;
}

.site-search {
  position: absolute;
  top: calc(var(--header-height) + 8px);
  right: 16px;
  left: 16px;
  display: none;
  max-height: calc(100vh - var(--header-height) - 24px);
  overflow-y: auto;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.site-search.is-open {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.search-scope {
  position: relative;
  flex: 0 0 auto;
}

.search-scope summary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid var(--color-border);
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--color-surface-soft);
  color: var(--color-muted);
  cursor: pointer;
  font-size: 0.88rem;
  list-style: none;
}

.search-scope summary::-webkit-details-marker {
  display: none;
}

.search-scope summary::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.search-scope-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 70;
  min-width: 220px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.search-scope-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--color-text);
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.search-scope-menu a:hover,
.search-scope-menu a:focus-visible {
  background: var(--color-surface-soft);
  color: var(--color-primary-strong);
}

.search-submit {
  flex: 0 0 auto;
  display: inline-grid;
  width: 50px;
  min-height: 46px;
  place-items: center;
  border: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--color-primary);
  color: #041112;
  cursor: pointer;
}

.search-submit span {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-submit span::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.site-search input {
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-background);
  color: var(--color-text);
  outline: none;
}

.site-search input:focus {
  border-color: var(--color-primary);
}

.search-results {
  flex: 0 0 100%;
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.search-result {
  display: block;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface-soft);
  text-decoration: none;
}

.search-result strong,
.search-result span {
  display: block;
}

.search-result strong {
  font-size: 0.95rem;
}

.search-result span {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.86rem;
}

.search-empty {
  margin: 0;
  padding: 10px 2px 2px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.home-intro {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 22px;
  width: 100%;
  margin: var(--header-height) auto 0;
  padding: 70px 0 58px;
  overflow: hidden;
  background-image: url("assets/hero-systema-android.png");
  background-image: image-set(
    url("assets/hero-systema-android.webp") type("image/webp"),
    url("assets/hero-systema-android.png") type("image/png")
  );
  background-position: center right;
  background-size: cover;
  color: #ffffff;
}

.home-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 9, 13, 0.94) 0%, rgba(3, 9, 13, 0.76) 54%, rgba(3, 9, 13, 0.32) 100%),
    linear-gradient(0deg, rgba(3, 9, 13, 0.52), rgba(3, 9, 13, 0.1));
}

.home-intro > * {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.home-intro h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.home-intro p:not(.section-kicker) {
  max-width: 760px;
  margin: 18px 0 0;
  color: #dfe8ec;
  font-size: 1.08rem;
}

.home-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-intro-actions .button {
  margin-top: 0;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
}

.home-intro-actions .button-primary {
  border-color: transparent;
  background: var(--color-primary);
  color: #041112;
}

.hero {
  position: relative;
  display: grid;
  min-height: 340px;
  margin-top: var(--header-height);
  padding: 32px 16px 30px;
  overflow: hidden;
  background-image: url("assets/hero-systema-android.png");
  background-image: image-set(
    url("assets/hero-systema-android.webp") type("image/webp"),
    url("assets/hero-systema-android.png") type("image/png")
  );
  background-position: center right;
  background-size: cover;
  color: #ffffff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 9, 13, 0.9) 0%, rgba(3, 9, 13, 0.68) 52%, rgba(3, 9, 13, 0.2) 100%),
    linear-gradient(0deg, rgba(3, 9, 13, 0.46), rgba(3, 9, 13, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(100%, var(--container));
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.hero h2,
.section-header h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1,
.hero h2 {
  max-width: 590px;
  font-size: clamp(1.48rem, 4.6vw, 2.55rem);
}

.hero p:not(.section-kicker) {
  max-width: 510px;
  margin: 14px 0 0;
  color: #dfe8ec;
  font-size: 0.96rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 24px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--color-primary);
  color: #041112;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffffff;
}

body:not(.dark-theme) .hero .button:not(.button-primary),
body:not(.dark-theme) .home-intro .button:not(.button-primary) {
  border-color: rgba(255, 255, 255, 0.28);
  background: #ffffff;
  color: #101820;
}

.content-section {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 46px 0 64px;
}

.brand-page {
  width: min(100% - 32px, var(--container));
  margin: var(--header-height) auto 0;
}

.brand-page-hero {
  padding: 44px 0 28px;
  border-bottom: 1px solid var(--color-border);
}

.brand-page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.08;
}

.brand-page-hero p:not(.section-kicker) {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 1.04rem;
}

.brand-page-count {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-primary-strong);
  font-size: 0.9rem;
  font-weight: 800;
}

.brand-page-list {
  padding-top: 42px;
}

.brand-page-overview,
.brand-page-method,
.brand-page-faq {
  padding: 34px 0 8px;
}

.brand-page-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
}

.brand-page-panel,
.brand-method-card,
.brand-faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.brand-page-panel {
  padding: 24px;
}

.brand-page-panel h2,
.brand-page-panel h3,
.brand-method-card h3 {
  margin-top: 0;
}

.brand-page-panel p {
  color: var(--color-muted);
}

.brand-page-panel-main {
  background:
    radial-gradient(circle at top right, rgba(11, 211, 194, 0.16), transparent 36%),
    var(--color-surface);
}

.brand-page-points {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--color-muted);
}

.brand-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.brand-method-card {
  padding: 20px;
}

.brand-method-card p,
.brand-faq-item p {
  color: var(--color-muted);
}

.brand-faq-grid {
  display: grid;
  gap: 12px;
}

.brand-faq-item {
  padding: 0;
  overflow: hidden;
}

.brand-faq-item summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 800;
  color: var(--color-text);
}

.brand-faq-item p {
  margin: 0;
  padding: 0 18px 18px;
}

@media (max-width: 760px) {
  .brand-page-overview,
  .brand-method-grid {
    grid-template-columns: 1fr;
  }

  .brand-page-panel,
  .brand-method-card {
    padding: 18px;
  }

  .brand-page-method,
  .brand-page-faq {
    padding-top: 26px;
  }
}

.brand-empty-state {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.brand-empty-state h2 {
  margin: 0;
  font-size: 1.35rem;
}

.brand-empty-state p {
  max-width: 680px;
  margin: 12px 0 18px;
  color: var(--color-muted);
}

.news-carousel-section {
  width: min(100% - 32px, 1280px);
  margin: 0 auto;
  padding: 46px 0 32px;
}

.carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.carousel-header h2 {
  margin: 0;
  font-size: clamp(1.55rem, 6vw, 2.25rem);
  line-height: 1.08;
}

.carousel-controls {
  display: inline-flex;
  flex-shrink: 0;
  gap: 8px;
}

.carousel-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.carousel-button:hover,
.carousel-button:focus-visible {
  border-color: var(--color-primary);
  color: var(--color-primary-strong);
}

.carousel-button span {
  display: block;
  margin-top: -2px;
  font-size: 2rem;
  line-height: 1;
}

.news-carousel {
  overflow: hidden;
  padding: 28px 24px 36px;
  border-radius: 26px;
}

.carousel-track {
  display: flex;
  gap: 28px;
  transition: transform 0.35s ease;
  will-change: transform;
}

.carousel-card {
  flex: 0 0 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 26px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  transform-origin: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.carousel-card a {
  display: grid;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.carousel-card img {
  width: 100%;
  height: 330px;
  object-fit: contain;
  object-position: center;
  background: #f3f6f8;
}

.carousel-card span,
.carousel-card h3,
.carousel-card p {
  margin-right: 24px;
  margin-left: 24px;
}

.carousel-card span {
  margin-top: 22px;
  color: var(--color-primary-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.carousel-card h3 {
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 1.5rem;
  line-height: 1.22;
}

.carousel-card p {
  margin-top: 0;
  margin-bottom: 26px;
  color: var(--color-muted);
}

.carousel-card:hover h3,
.carousel-card:focus-within h3 {
  color: var(--color-primary-strong);
}

.carousel-card:hover,
.carousel-card:focus-within {
  z-index: 2;
  border-color: var(--color-primary);
  box-shadow: 0 34px 80px rgba(16, 24, 32, 0.28);
  transform: translateY(-10px) scale(1.08);
}

body.dark-theme .carousel-card:hover,
body.dark-theme .carousel-card:focus-within {
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.55);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 4px;
}

.carousel-dot {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.carousel-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--color-border);
  transform: translate(-50%, -50%);
}

.carousel-dot.is-active::before {
  width: 24px;
  background: var(--color-primary);
}

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: clamp(1.65rem, 7vw, 2.45rem);
}

.section-header p {
  color: var(--color-muted);
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.card-image {
  position: relative;
  display: block;
  isolation: isolate;
  flex: 0 0 auto;
  height: 210px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 32%, rgba(18, 213, 200, 0.22), transparent 26%),
    linear-gradient(135deg, #14242b, #071015 62%, #0c2026);
  text-decoration: none;
}

.card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.08) 42%, transparent 72%),
    linear-gradient(135deg, rgba(11, 179, 167, 0.16), rgba(61, 126, 255, 0.10));
  background-size: 100% 100%;
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.card-image.is-image-loaded::before {
  opacity: 0;
  animation: none;
}

.card-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  transition: opacity 0.22s ease, transform 0.25s ease;
}

.image-loading-enhanced .card-image img {
  opacity: 1;
}

.article-card:hover .card-image img,
.article-card:focus-within .card-image img {
  transform: scale(1.01);
}

@keyframes card-image-loading {
  0% {
    background-position: 160% 0, center;
  }
  100% {
    background-position: -60% 0, center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-image::before {
    animation: none;
  }
}

.card-image-two {
  background:
    linear-gradient(135deg, rgba(255, 176, 32, 0.78), rgba(11, 179, 167, 0.68)),
    linear-gradient(135deg, #1b242a, #0b1115);
}

.card-image-three {
  background:
    linear-gradient(135deg, rgba(61, 126, 255, 0.8), rgba(18, 213, 200, 0.65)),
    linear-gradient(135deg, #121e28, #060a0d);
}

.card-image-four {
  background:
    linear-gradient(135deg, rgba(11, 179, 167, 0.72), rgba(150, 104, 255, 0.7)),
    linear-gradient(135deg, #12232b, #070d10);
}

.card-image-five {
  background:
    linear-gradient(135deg, rgba(61, 126, 255, 0.74), rgba(255, 255, 255, 0.34)),
    linear-gradient(135deg, #182530, #081014);
}

.card-image-six {
  background:
    linear-gradient(135deg, rgba(24, 213, 200, 0.74), rgba(255, 176, 32, 0.58)),
    linear-gradient(135deg, #142226, #070d10);
}

.card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.card-category {
  color: var(--color-primary-strong);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-content h2,
.card-content h3 {
  margin: 10px 0 8px;
  font-size: 1.22rem;
  line-height: 1.25;
  display: -webkit-box;
  min-height: calc(1.25em * 3);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.card-content h2 a,
.card-content h3 a {
  text-decoration: none;
}

.card-content h2 a:hover,
.card-content h2 a:focus-visible,
.card-content h3 a:hover,
.card-content h3 a:focus-visible {
  color: var(--color-primary-strong);
}

.card-content p {
  margin: 0;
  color: var(--color-muted);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.empty-state {
  padding: 22px;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-muted);
}

.empty-state p {
  margin: 0;
}

.site-footer {
  background: var(--color-footer);
  color: #dce6eb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 46px 0 32px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1.1rem;
}

.site-footer p {
  margin: 0;
  color: #b8c7cf;
}

.site-footer a {
  display: inline-block;
  padding: 5px 0;
  color: #dce6eb;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--color-primary);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.footer-bottom {
  display: grid;
  gap: 12px;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom small {
  color: #b8c7cf;
}

.article-page {
  width: min(100% - 32px, 920px);
  margin: var(--header-height) auto 0;
  padding: 38px 0 64px;
}

.post {
  color: var(--color-text);
  overflow-wrap: anywhere;
}

.post-header {
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--color-primary-strong);
  font-weight: 800;
  text-decoration: none;
}

.post-header h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(1.65rem, 6vw, 3.15rem);
  line-height: 1.08;
}

.post-intro {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.post-meta span {
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
}

.article-byline {
  display: grid;
  gap: 12px;
  margin: 18px 0 24px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-muted);
}

.site-header .article-byline {
  display: none;
}

.article-byline p {
  margin: 0;
  color: var(--color-text);
  font-weight: 800;
}

.article-byline a {
  color: var(--color-primary);
  text-decoration: none;
}

.article-byline a:hover,
.article-byline a:focus-visible {
  text-decoration: underline;
}

.article-byline dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.article-byline div {
  display: grid;
  gap: 3px;
}

.article-byline dt {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-byline dd {
  margin: 0;
  color: var(--color-text);
  font-weight: 700;
}

.author-article-list ul {
  display: grid;
  gap: 10px;
}

.author-article-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.author-article-list span {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.post-featured-image {
  margin: 28px 0 0;
}

.post-featured-image picture {
  display: block;
}

.post-featured-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
  background: #f3f6f8;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.post-featured-image figcaption {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.comparison-visual-frame {
  position: relative;
}

.comparison-visual-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  padding: 18px;
  pointer-events: none;
}

.post-featured-image.comparison-visual-frame .comparison-visual-overlay {
  inset: 0 0 auto;
  aspect-ratio: 16 / 9;
  max-height: 520px;
}

.comparison-device-label {
  position: absolute;
  bottom: 18px;
  max-width: calc(50% - 42px);
  padding: 10px 16px;
  border: 1px solid rgba(18, 213, 200, 0.45);
  border-radius: 999px;
  background: rgba(4, 13, 18, 0.76);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.48);
}

.comparison-device-label-left {
  left: 18px;
}

.comparison-device-label-right {
  right: 18px;
}

.comparison-vs-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 58%),
    linear-gradient(135deg, #0f1720, #323b45);
  box-shadow:
    0 0 0 5px rgba(18, 213, 200, 0.12),
    0 0 30px rgba(18, 213, 200, 0.38),
    0 12px 26px rgba(0, 0, 0, 0.38);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.comparison-card-visual .comparison-visual-overlay {
  inset: 0;
  aspect-ratio: auto;
  max-height: none;
  padding: 10px;
}

.comparison-card-visual .comparison-device-label {
  bottom: 8px;
  max-width: calc(50% - 24px);
  padding: 5px 9px;
  font-size: 0.68rem;
  line-height: 1.1;
}

.comparison-card-visual .comparison-device-label-left {
  left: 8px;
}

.comparison-card-visual .comparison-device-label-right {
  right: 8px;
}

.comparison-card-visual .comparison-vs-badge {
  width: 34px;
  height: 34px;
  border-width: 1px;
  font-size: 0.66rem;
  box-shadow:
    0 0 0 4px rgba(18, 213, 200, 0.10),
    0 0 20px rgba(18, 213, 200, 0.30),
    0 8px 18px rgba(0, 0, 0, 0.34);
}

@media (max-width: 640px) {
  .post-featured-image.comparison-visual-frame .comparison-visual-overlay {
    padding: 10px;
  }

  .post-featured-image.comparison-visual-frame .comparison-device-label {
    bottom: 10px;
    max-width: calc(50% - 27px);
    padding: 7px 10px;
    font-size: 0.68rem;
  }

  .post-featured-image.comparison-visual-frame .comparison-device-label-left {
    left: 10px;
  }

  .post-featured-image.comparison-visual-frame .comparison-device-label-right {
    right: 10px;
  }

  .post-featured-image.comparison-visual-frame .comparison-vs-badge {
    width: 38px;
    height: 38px;
    font-size: 0.68rem;
  }
}

.seo-phone-gallery {
  padding-top: 26px;
}

.seo-phone-gallery h2 {
  margin-bottom: 10px;
}

.seo-image-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.seo-image-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.seo-image-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.seo-image-grid img[src*="comparativo-iphone-"] {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #f3f6f8;
}

.post-featured-image img[src*="apple.com/newsroom/images"],
.seo-image-grid img[src*="apple.com/newsroom/images"],
.card-image img[src*="apple.com/newsroom/images"] {
  object-fit: contain;
  background: #f3f6f8;
}

.post-featured-image img[src*="ate-800"],
.seo-image-grid img[src*="ate-800"],
.post-featured-image img[src*="ate-1500"],
.seo-image-grid img[src*="ate-1500"],
.post-featured-image img[src*="ate-1800"],
.seo-image-grid img[src*="ate-1800"],
.post-featured-image img[src*="ate-2000"],
.seo-image-grid img[src*="ate-2000"] {
  object-fit: contain;
  background: #f3f6f8;
}

.seo-image-grid figcaption {
  padding: 12px 14px 14px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.verdict-box,
.final-verdict {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-primary);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.verdict-box h2,
.final-verdict h2,
.article-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 6vw, 2rem);
  line-height: 1.15;
}

.verdict-box p,
.final-verdict p,
.article-section p {
  margin: 0 0 16px;
  color: var(--color-muted);
}

.final-verdict p:last-child,
.article-section p:last-child {
  margin-bottom: 0;
}

.quick-summary,
.answer-box,
.pros-cons,
.technical-review-block,
.buy-verdict,
.source-box,
.source-block,
.faq-block,
.related-posts {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.quick-summary {
  border-left: 5px solid var(--color-primary);
}

.answer-box {
  border-left: 5px solid #2563eb;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(11, 179, 167, 0.08));
}

.source-box,
.source-block {
  border-left: 5px solid #64748b;
}

.pros-box {
  border-left: 5px solid #14a44d;
}

.cons-box {
  border-left: 5px solid #d94848;
}

.buy-verdict {
  border-left: 5px solid var(--color-secondary);
}

.faq-block h3 {
  margin: 18px 0 8px;
  font-size: 1.08rem;
}

.quick-summary ul,
.pros-cons ul,
.source-box ul,
.source-block ul,
.related-posts ul {
  margin: 0;
  padding-left: 20px;
  color: var(--color-muted);
}

.quick-summary li + li,
.pros-cons li + li,
.source-box li + li,
.source-block li + li {
  margin-top: 8px;
}

.affiliate-disclosure {
  max-width: 860px;
  margin: 16px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface-soft);
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.affiliate-disclosure strong {
  color: var(--color-text);
}

.content-disclosure {
  max-width: 860px;
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface-soft);
  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.content-disclosure strong {
  color: var(--color-text);
}

.content-disclosure span {
  display: inline-block;
  margin-top: 2px;
}

.analysis-summary-card {
  position: relative;
  max-width: 920px;
  margin: 18px 0 0;
  padding: 20px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--color-primary) 24%, var(--color-border));
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(11, 211, 194, 0.11), rgba(61, 126, 255, 0.055)),
    var(--color-surface);
  box-shadow: var(--shadow-card);
}

.analysis-summary-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), rgba(61, 126, 255, 0.75));
}

.analysis-summary-card .section-kicker {
  margin: 0 0 8px;
  color: var(--color-primary-strong);
}

.analysis-summary-card h2 {
  margin: 0 0 16px;
  font-size: clamp(1.28rem, 3vw, 1.75rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

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

.analysis-summary-item {
  padding: 15px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.analysis-summary-item span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 8px;
  padding: 4px 9px;
  border: 1px solid rgba(11, 211, 194, 0.24);
  border-radius: 999px;
  background: rgba(11, 211, 194, 0.1);
  color: var(--color-primary-strong);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.analysis-summary-item p,
.analysis-summary-item ul {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.analysis-summary-item ul {
  padding-left: 18px;
}

.analysis-summary-item li + li {
  margin-top: 6px;
}

.analysis-summary-verdict {
  grid-column: 1 / -1;
  border-color: color-mix(in srgb, var(--color-primary) 34%, var(--color-border));
  background:
    linear-gradient(135deg, rgba(11, 211, 194, 0.13), rgba(61, 126, 255, 0.06)),
    var(--color-surface-soft);
}

.related-posts {
  border-left: 5px solid var(--color-primary);
}

.related-posts h2 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 5vw, 1.8rem);
}

.related-posts ul {
  display: grid;
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.related-posts li {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.related-posts li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.related-posts a {
  color: var(--color-text);
  font-weight: 800;
  text-decoration: none;
}

.related-posts a:hover,
.related-posts a:focus-visible {
  color: var(--color-primary-strong);
  text-decoration: underline;
}

.related-posts span,
.editable-placeholder {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.editable-placeholder {
  padding: 2px 6px;
  border: 1px dashed var(--color-border);
  border-radius: 6px;
  background: var(--color-surface-soft);
}

.article-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}

.technical-review-block {
  margin: 30px 0;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top left, rgba(11, 179, 167, 0.14), transparent 36%),
    var(--color-surface);
  box-shadow: var(--shadow-card);
}

.technical-review-block > h3 {
  margin: 22px 0 12px;
  font-size: 1.05rem;
}

.technical-review-block > h3:first-child {
  margin-top: 0;
}

.technical-review-block > ul {
  margin: 0 0 20px;
  padding-left: 1.35rem;
}

.technical-review-block > ul:last-child {
  margin-bottom: 0;
}

.technical-review-block > ul li + li {
  margin-top: 6px;
}

.technical-review-head {
  margin-bottom: 18px;
}

.technical-review-head .section-kicker {
  margin-bottom: 8px;
}

.technical-review-head h2 {
  margin: 0 0 8px;
}

.technical-review-head p {
  max-width: 760px;
}

.technical-review-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.4fr) minmax(0, 0.9fr);
  gap: 16px;
  align-items: stretch;
}

.technical-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface-soft);
}

.technical-card h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.technical-pros {
  border-top: 4px solid #16a34a;
}

.technical-specs {
  border-top: 4px solid var(--color-primary);
}

.technical-cons {
  border-top: 4px solid #ef4444;
}

.technical-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--color-muted);
}

.technical-card li + li {
  margin-top: 8px;
}

.technical-review-block .responsive-table-wrap {
  margin-top: 8px;
}

.article-section table.phone-spec-table {
  min-width: 0;
  margin: 0;
}

.article-section table.phone-spec-table th {
  width: 34%;
}

/* Bloco de compra: restrito ao conteudo das postagens. */
.post .buy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.post .buy-info {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
}

.post .buy-info strong {
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.3;
}

.post .buy-price {
  color: #16a34a;
  font-size: 16px;
  font-weight: 800;
}

.post .buy-info small {
  color: var(--color-muted);
  font-size: 13px;
}

.post .buy-store {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 30px;
}

.post .buy-store-logo {
  display: inline-block;
  width: 80px;
  height: 30px;
  border-radius: 4px;
  background: #172334;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
}

.post .buy-price-cta,
.post .buy-price-cta:visited {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: stretch;
  min-width: 156px;
  min-height: 42px;
  overflow: hidden;
  border-radius: 4px;
  background: #b7d46a;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(139, 191, 18, 0.18);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.post .buy-price-cta-label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  padding: 0 8px;
  background: #8bbf12;
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.08;
  text-align: left;
  text-transform: uppercase;
}

.post .buy-price-cta-label::after {
  position: absolute;
  top: 0;
  right: -22px;
  width: 24px;
  height: 100%;
  background: #8bbf12;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  content: "";
}

.post .buy-price-cta-value {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 0 12px 0 24px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.post .buy-price-cta:hover {
  box-shadow: 0 10px 22px rgba(139, 191, 18, 0.28);
  color: #ffffff;
  transform: translateY(-1px);
}

.post .buy-price-cta:focus-visible {
  outline: 3px solid rgba(139, 191, 18, 0.36);
  outline-offset: 3px;
}

.post .buy-button,
.post .buy-button:visited {
  flex: 0 0 auto;
  padding: 12px 18px;
  border-radius: 10px;
  background: #16a34a;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.post .buy-button:hover {
  background: #15803d;
  color: #ffffff;
  transform: translateY(-1px);
}

.post .buy-button:focus-visible {
  outline: 3px solid rgba(22, 163, 74, 0.32);
  outline-offset: 3px;
}

body.dark-theme .post .buy-box {
  box-shadow: var(--shadow-card);
}

body.dark-theme .post .buy-price {
  color: #4ade80;
}

@media (max-width: 640px) {
  .post .buy-box {
    align-items: stretch;
    flex-direction: column;
  }

  .post .buy-price-cta {
    align-self: flex-start;
  }

  .post .buy-button {
    width: 100%;
    white-space: normal;
  }

  .analysis-summary-grid {
    grid-template-columns: 1fr;
  }

  .analysis-summary-card,
  .analysis-summary-item {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .post .buy-price-cta,
  .post .buy-button {
    transition: none;
  }

  .post .buy-price-cta:hover,
  .post .buy-button:hover {
    transform: none;
  }
}

.article-section figure {
  margin: 18px 0;
}

.article-section img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.article-section ol.phone-ranking-list {
  display: grid;
  gap: 16px;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: phone-ranking;
}

.article-section ol.phone-ranking-list > li {
  position: relative;
  min-height: 52px;
  padding: 16px 18px 16px 62px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(11, 179, 167, 0.08), rgba(61, 126, 255, 0.04)),
    var(--color-surface);
  counter-increment: phone-ranking;
}

.article-section ol.phone-ranking-list > li:empty,
.article-section ol.phone-ranking-list > li:has(> br:only-child) {
  display: none;
}

.article-section ol.phone-ranking-list > li > :where(strong, b):first-child {
  display: block;
  margin-bottom: 8px;
  color: var(--color-primary-strong);
  font-size: clamp(1.14rem, 1.8vw, 1.34rem);
  font-weight: 850;
  line-height: 1.22;
}

.article-section ol.phone-ranking-list > li::before {
  content: counter(phone-ranking);
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #041112;
  font-weight: 800;
  line-height: 1;
}

.article-section :where(figure, img, iframe, video, table, .comparison-table, .article-inline-gallery) {
  max-width: 100%;
}

.article-section :where(iframe, video) {
  display: block;
  border: 0;
  background: var(--color-surface-soft);
}

.article-section :where(table) {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.article-section :where(th, td) {
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.ad-slot,
.adsbygoogle,
[data-ad-slot] {
  display: block;
  width: 100%;
  min-height: 250px;
  overflow: hidden;
}

.article-inline-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.article-inline-gallery figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.article-inline-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #f3f6f8;
}

.article-inline-gallery figcaption {
  padding: 12px 14px 14px;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.seo-link-hub ul,
.model-hub ul {
  display: grid;
  gap: 0.75rem;
}

.seo-link-hub a,
.model-hub a,
.post-header h1 a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.post-header h1 a:hover,
.post-header h1 a:focus-visible {
  color: var(--color-primary);
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.article-section table.comparison-table,
.article-section table.spec-table,
.article-section table.pros-cons-table {
  width: 100%;
  min-width: 640px;
  margin: 18px 0 24px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--color-text);
}

.article-section table.comparison-table th,
.article-section table.comparison-table td,
.article-section table.spec-table th,
.article-section table.spec-table td,
.article-section table.pros-cons-table th,
.article-section table.pros-cons-table td {
  padding: 14px 16px;
  border-width: 0 1px 1px 0;
  border-color: var(--color-border);
  border-style: solid;
  text-align: left;
  vertical-align: top;
}

.article-section table.comparison-table th,
.article-section table.spec-table th,
.article-section table.pros-cons-table th {
  background: var(--color-surface-soft);
  color: var(--color-text);
  font-weight: 900;
}

.article-section table.comparison-table tr:last-child td,
.article-section table.spec-table tr:last-child td,
.article-section table.pros-cons-table tr:last-child td {
  border-bottom: 0;
}

.article-section table.comparison-table th:last-child,
.article-section table.comparison-table td:last-child,
.article-section table.spec-table th:last-child,
.article-section table.spec-table td:last-child,
.article-section table.pros-cons-table th:last-child,
.article-section table.pros-cons-table td:last-child {
  border-right: 0;
}

.article-section table.comparison-table ul,
.article-section table.spec-table ul,
.article-section table.pros-cons-table ul {
  margin: 0;
  padding-left: 1.15rem;
}

.article-section table.comparison-table li + li,
.article-section table.spec-table li + li,
.article-section table.pros-cons-table li + li {
  margin-top: 0.35rem;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--color-border);
}

.comparison-row:last-child {
  border-bottom: 0;
}

.comparison-row > div {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border);
}

.comparison-row > div:last-child {
  border-bottom: 0;
}

.comparison-head {
  background: var(--color-surface-soft);
  color: var(--color-text);
  font-weight: 800;
}

.price-comparison .comparison-table {
  margin: 18px 0;
}

.price-note,
.price-source {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--color-surface-soft);
}

.price-source {
  font-size: 0.95rem;
}

.price-mobile-label {
  color: var(--color-primary);
  font-weight: 900;
}

.comparison-mobile-label {
  color: var(--color-primary);
  font-weight: 900;
}

@media (min-width: 861px) {
  .price-mobile-label,
  .comparison-mobile-label {
    display: none;
  }
}

@media (max-width: 860px) {
  .price-comparison .comparison-table {
    border: 0;
    background: transparent;
  }

  .price-comparison .comparison-head {
    display: none;
  }

  .price-comparison .comparison-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
  }

  .price-comparison .comparison-row > div {
    padding: 0;
    border: 0;
  }

  .price-comparison .price-topic {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    font-weight: 800;
  }

  .price-comparison .price-phone-value {
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface-soft);
    color: var(--color-muted);
  }

  .price-comparison .price-phone-value::before {
    content: none;
  }
}

.recommendation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.recommendation-grid div {
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.recommendation-grid h3 {
  margin: 0 0 12px;
}

.recommendation-grid ul {
  margin: 0;
  padding-left: 20px;
  color: var(--color-muted);
}

.recommendation-grid li + li {
  margin-top: 6px;
}

@media (max-width: 420px) {
  :root {
    --header-container-height: 64px;
    --brand-nav-height: 42px;
  }

  .header-container {
    width: min(100% - 20px, var(--container));
  }

  .brand {
    gap: 8px;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
    font-size: 0.78rem;
  }

  .brand-name {
    max-width: 132px;
    font-size: 0.94rem;
  }

  .header-actions {
    gap: 6px;
  }

  .search-toggle,
  .theme-toggle,
  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .main-nav,
  .site-search {
    right: 10px;
    left: 10px;
  }

  .hero {
    min-height: 285px;
    padding: 28px 16px 24px;
    background-position: 62% center;
  }

  .hero p:not(.section-kicker) {
    margin-top: 12px;
    font-size: 0.92rem;
  }

  .button {
    width: 100%;
    margin-top: 20px;
  }

  .content-section,
  .news-carousel-section,
  .article-page,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 24px, var(--container));
  }

  .content-section {
    padding: 38px 0 52px;
  }

  .home-intro {
    padding: 48px 0 36px;
    background-position: 64% center;
  }

  .home-intro > * {
    width: min(100% - 24px, var(--container));
  }

  .home-intro h1 {
    font-size: 2rem;
  }

  .home-intro p:not(.section-kicker) {
    font-size: 1rem;
  }

  .home-intro-actions {
    display: grid;
  }

  .news-carousel-section {
    padding: 32px 0 12px;
  }

  .news-carousel {
    padding: 14px 10px 22px;
    border-radius: 20px;
  }

  .carousel-header {
    align-items: flex-start;
  }

  .carousel-card img {
    height: 245px;
  }

  .carousel-card h3 {
    font-size: 1.24rem;
  }

  .carousel-card:hover,
  .carousel-card:focus-within {
    transform: translateY(-4px) scale(1.03);
  }

  .card-image img {
    height: 100%;
  }

  .card-image {
    height: 180px;
  }

  .card-content {
    padding: 16px;
  }

  .post-header {
    padding-top: 22px;
  }

  .post-header h1 {
    font-size: clamp(1.55rem, 7vw, 2.25rem);
    line-height: 1.12;
  }

  .post-intro {
    font-size: 1rem;
  }

  .verdict-box,
  .final-verdict,
  .quick-summary,
  .answer-box,
  .pros-cons,
  .buy-verdict,
  .source-box,
  .source-block,
  .faq-block,
  .related-posts,
  .recommendation-grid div {
    padding: 18px;
  }
}

@media (min-width: 640px) {
  .carousel-card {
    flex-basis: calc((100% - 28px) / 2);
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .comparison-row {
    grid-template-columns: 0.8fr 1fr 1fr;
  }

  .comparison-row > div {
    border-right: 1px solid var(--color-border);
    border-bottom: 0;
  }

  .comparison-row > div:last-child {
    border-right: 0;
  }

  .recommendation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .seo-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  :root {
    --header-container-height: 144px;
    --brand-nav-height: 44px;
  }

  .site-header {
    border-bottom: 0;
    background: var(--color-surface);
    box-shadow: 0 8px 24px rgba(16, 24, 32, 0.08);
    backdrop-filter: none;
  }

  .header-container {
    display: grid;
    grid-template-columns: auto minmax(380px, 760px) auto;
    grid-template-rows: 88px 50px;
    grid-template-areas:
      "brand search actions"
      "nav nav nav";
    align-items: center;
    justify-content: space-between;
    width: min(100% - 32px, 1280px);
    min-height: var(--header-container-height);
    gap: 0 18px;
  }

  .brand {
    grid-area: brand;
    height: auto;
  }

  .brand-icon {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: 1.74rem;
  }

  .header-actions {
    grid-area: actions;
    justify-self: end;
    height: auto;
  }

  .search-toggle,
  .menu-toggle {
    display: none;
  }

  .main-nav {
    grid-area: nav;
    position: static;
    display: block;
    flex: 0 0 100vw;
    width: 100vw;
    min-width: 100vw;
    margin: 0 0 0 calc(50% - 50vw);
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0;
    border: 0;
    border-top: 1px solid #657079;
    border-bottom: 1px solid #273139;
    border-radius: 0;
    background: linear-gradient(180deg, #4a545c 0%, #242c33 100%);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.18);
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: min(100% - 32px, 1280px);
    margin: 0 auto;
    gap: 0;
  }

  .main-nav a {
    padding: 18px 12px;
    border-radius: 0;
    color: #ffffff;
    font-size: 0.88rem;
    line-height: 1;
  }

  .main-nav a[href="/melhor-pelo-preco"],
  .main-nav a[href="melhor-pelo-preco"],
  .main-nav a[href="/melhor-pelo-preco.html"],
  .main-nav a[href="melhor-pelo-preco.html"] {
    color: #ffffff;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
  }

  .brand-nav ul {
    justify-content: center;
    width: max-content;
    min-width: min(100% - 32px, 1280px);
    margin: 0 auto;
  }

  .site-search {
    grid-area: search;
    position: relative;
    top: auto;
    display: flex;
    justify-self: stretch;
    align-self: center;
    flex: none;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    margin: 0;
    right: auto;
    left: auto;
    bottom: auto;
    width: auto;
  }

  .site-search input {
    flex: 1 1 auto;
    min-height: 44px;
    border-color: var(--color-primary);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    padding: 0 18px;
    background: var(--color-background);
  }

  .search-scope summary {
    min-height: 44px;
    border: 1px solid var(--color-primary);
    border-right: 1px solid var(--color-border);
    border-radius: 999px 0 0 999px;
  }

  .search-submit {
    width: 54px;
    min-height: 44px;
    border-radius: 0 999px 999px 0;
    background: var(--color-primary);
  }

  .search-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 60;
    display: none;
    max-height: 360px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
  }

  .site-search:focus-within .search-results:not(:empty) {
    display: grid;
  }

  .hero {
    min-height: 370px;
    padding-inline: 28px;
  }

  .content-section {
    padding: 58px 0 84px;
  }

  .news-carousel-section {
    width: min(100% - 32px, 1280px);
    padding: 58px 0 34px;
  }

  .carousel-card {
    flex-basis: calc((100% - 28px) / 2);
  }

  .carousel-card img {
    height: 380px;
  }

  .carousel-card h3 {
    font-size: 1.6rem;
  }

  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.35fr 0.85fr 0.8fr;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 1180px) {
  .header-container {
    gap: 14px;
  }

  .main-nav a {
    padding: 10px 8px;
    font-size: 0.86rem;
  }
}

@media (min-width: 1320px) {
  .main-nav a {
    padding: 10px 11px;
    font-size: 0.92rem;
  }
}

@media (max-width: 860px) {
  .article-byline dl {
    grid-template-columns: 1fr;
  }

  .article-inline-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .technical-review-block {
    padding: 18px;
  }

  .technical-review-grid {
    grid-template-columns: 1fr;
  }

  .article-section .comparison-table {
    border: 0;
    background: transparent;
  }

  .article-section table,
  .article-section table.comparison-table,
  .article-section table.spec-table,
  .article-section table.pros-cons-table {
    display: table;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    table-layout: fixed;
    overflow: visible;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
  }

  .article-section table th,
  .article-section table td,
  .article-section table.comparison-table th,
  .article-section table.comparison-table td,
  .article-section table.spec-table th,
  .article-section table.spec-table td,
  .article-section table.pros-cons-table th,
  .article-section table.pros-cons-table td {
    padding: 10px 8px;
    font-size: 0.92rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .article-section table th:first-child,
  .article-section table td:first-child,
  .article-section table.comparison-table th:first-child,
  .article-section table.comparison-table td:first-child,
  .article-section table.spec-table th:first-child,
  .article-section table.spec-table td:first-child,
  .article-section table.pros-cons-table th:first-child,
  .article-section table.pros-cons-table td:first-child {
    width: 24%;
  }

  .article-section .comparison-head {
    display: none;
  }

  .article-section .comparison-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
  }

  .article-section .comparison-row:last-child {
    margin-bottom: 0;
  }

  .article-section .comparison-row > div {
    padding: 0;
    border: 0;
  }

  .article-section .comparison-topic {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    font-weight: 800;
  }

  .article-section .comparison-value {
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface-soft);
    color: var(--color-muted);
  }
}

.footer-grid-professional {
  grid-template-columns: 1fr;
  gap: 26px;
}

.footer-brand-block {
  display: grid;
  gap: 14px;
  align-content: start;
}

.footer-logo-link {
  display: inline-flex;
  width: min(100%, 230px);
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: #ffffff;
}

.footer-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.footer-grid-professional nav,
.footer-grid-professional section {
  min-width: 0;
}

.footer-grid-professional ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.footer-grid-professional a {
  line-height: 1.35;
}

.footer-grid-professional h2 {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .footer-grid-professional {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .footer-grid-professional {
    grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr));
    align-items: start;
  }

  .footer-brand-block {
    grid-column: auto;
  }
}
