/* ==========================================================================
   AzulTV — iOS app-style UI
   ========================================================================== */

:root {
  --bg: #f2f2f7;
  --surface: #ffffff;
  --surface-soft: #f2f2f7;
  --text: #000000;
  --text-secondary: rgba(60, 60, 67, 0.6);
  --accent: #007aff;
  --accent-hover: #0066d6;
  --accent-soft: rgba(0, 122, 255, 0.1);
  --border: rgba(60, 60, 67, 0.29);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --nav-h: 68px;
  --tabbar-h: 50px;
  --success: #34c759;
  --warning: #ff9500;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.47059;
  letter-spacing: -0.01em;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0));
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ---------------------------------- Nav --------------------------------- */

.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}

.topnav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.topnav-inner {
  max-width: 1080px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ------------------------------ Bottom tab bar ---------------------------- */

.bottom-tabbar {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  height: var(--tabbar-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-tabbar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 2px;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-secondary);
}

.bottom-tabbar a.active { color: var(--accent); }
.bottom-tabbar svg { flex: none; }

/* --------------------------------- Layout -------------------------------- */

main { display: block; }

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 22px 64px;
}

.section--tight { padding: 12px 22px 40px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ------------------------------ Page header ------------------------------ */

.page-header {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 22px 4px;
}

.page-header h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0;
  max-width: 480px;
}

/* --------------------------------- Hero ---------------------------------- */

.hero {
  text-align: left;
  padding: 20px 22px 32px;
  max-width: 1080px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.hero p {
  font-size: 17px;
  color: var(--text-secondary);
  margin: 0;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  max-width: 380px;
}

.hero-actions .btn { width: 100%; justify-content: center; }

/* -------------------------------- Buttons -------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 980px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { box-shadow: var(--shadow-sm); }

/* -------------------------------- List group ------------------------------ */

.list-group {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.list-group + .list-group { margin-top: 24px; }

.list-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  transition: background 0.15s ease;
}

.list-row:last-child { border-bottom: none; }
a.list-row:hover, a.list-row:active { background: var(--surface-soft); }

.list-row-icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--accent);
}

.list-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.list-row-title { font-size: 17px; font-weight: 400; color: var(--text); }
.list-row-subtitle { font-size: 13px; color: var(--text-secondary); margin-top: 1px; }

.list-row-chevron { flex: none; color: var(--text-secondary); opacity: 0.5; }

/* ------------------------------ App banner ------------------------------- */

.app-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.app-banner .app-glyph {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(160deg, var(--accent), #34c9ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.app-banner h2 { margin: 0 0 4px; font-size: 20px; }
.app-banner p { margin: 0; color: var(--text-secondary); font-size: 15px; }

.app-banner .app-glyph.has-icon {
  background: none;
  box-shadow: none;
  overflow: hidden;
  border: 1px solid var(--border);
}

.app-glyph-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --------------------------------- Wizard --------------------------------- */

.wizard {
  max-width: 640px;
  margin: 32px auto 0;
}

.wizard-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.wizard-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.wizard-progress-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.progress-track {
  flex: 1;
  height: 6px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #34c9ff);
  border-radius: 999px;
  transition: width 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.wizard-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
}

.step-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.25s ease;
}

.step-dots span.is-active { background: var(--accent); width: 16px; border-radius: 3px; }
.step-dots span.is-done { background: var(--accent); opacity: 0.4; }

.step-num-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
}

.step-title-lg {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin: 6px 0 6px;
}

.step-desc-lg {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 420px;
  line-height: 1.5;
  margin: 0;
}

.choice-screen,
.step-panel,
.success-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 12px 0;
}

.step-icon-lg {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.step-panel .step-code { margin-top: 18px; font-size: 18px; }
.step-panel .callout { text-align: left; margin-top: 18px; width: 100%; }

.step-icon-lg.has-logo,
.choice-icon.has-logo,
.logo-chip {
  background: #ffffff;
  border: 1px solid var(--border);
}

.step-logo-img { max-width: 68%; max-height: 60%; object-fit: contain; }
.choice-logo { max-width: 72%; max-height: 62%; object-fit: contain; }

.step-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.logo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 10px 16px;
  height: 44px;
}

.logo-chip-img { max-height: 22px; max-width: 90px; object-fit: contain; }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
  width: 100%;
}

.choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  font-family: inherit;
}

.choice-card:hover,
.choice-card:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-3px);
}

.choice-card .choice-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.choice-card .choice-label { font-weight: 600; font-size: 15px; }

.btn-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 8px;
  padding: 3px 10px 4px;
  margin: 0 1px;
  font-weight: 600;
  font-size: 0.94em;
  color: var(--text);
  vertical-align: -4px;
  white-space: nowrap;
}

.btn-chip svg { flex: none; color: var(--accent); }

.inline-icon {
  display: inline-block;
  vertical-align: -3px;
  color: var(--accent);
  margin: 0 1px;
}

.wizard-nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.wizard-nav .btn { flex: 1; justify-content: center; padding: 15px 20px; font-size: 16px; }
.wizard-nav .btn svg { flex: none; }
.wizard-nav .btn-primary { box-shadow: var(--shadow-sm); }
.wizard-nav .btn-primary:active { box-shadow: none; }
.wizard-nav .btn-nav-back { flex: 0 0 auto; min-width: 110px; }
.wizard-nav .btn-nav-back.is-hidden { visibility: hidden; }

.success-check { width: 96px; height: 96px; }
.success-check circle {
  fill: none;
  stroke: var(--success);
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: successCircle 0.6s ease forwards;
}
.success-check path {
  fill: none;
  stroke: var(--success);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: successCheck 0.4s 0.5s ease forwards;
}

@keyframes successCircle { to { stroke-dashoffset: 0; } }
@keyframes successCheck { to { stroke-dashoffset: 0; } }

.success-title { font-size: 26px; font-weight: 650; letter-spacing: -0.015em; margin: 4px 0 0; }
.success-desc { color: var(--text-secondary); font-size: 15px; max-width: 380px; margin: 0; }
.success-actions { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; justify-content: center; }

.wizard-slide-forward-out { animation: slideOutLeft 0.18s ease forwards; }
.wizard-slide-back-out { animation: slideOutRight 0.18s ease forwards; }
.wizard-slide-forward-in { animation: slideInRight 0.28s ease; }
.wizard-slide-back-in { animation: slideInLeft 0.28s ease; }

@keyframes slideOutLeft { to { opacity: 0; transform: translateX(-24px); } }
@keyframes slideOutRight { to { opacity: 0; transform: translateX(24px); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }

/* --------------------------------- Steps ---------------------------------- */

.steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  position: relative;
}

.steps li {
  position: relative;
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
}

.steps li:last-child { padding-bottom: 0; }

.steps li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.steps li:last-child::before { display: none; }

.step-num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.step-body h4 {
  margin: 4px 0 6px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.step-body p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.step-code {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.step-code-logo {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.step-code-logo-img {
  width: 132px;
  height: 132px;
  border-radius: 28px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* -------------------------------- Callouts -------------------------------- */

.callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 28px 0;
  font-size: 14.5px;
  box-shadow: var(--shadow-sm);
}

.callout.warning { border-color: rgba(255, 149, 0, 0.35); }

.callout-icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.callout.warning .callout-icon {
  background: rgba(255, 149, 0, 0.14);
  color: var(--warning);
}

.callout-body { flex: 1; min-width: 0; }

.callout-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}

.callout.warning .callout-eyebrow { color: var(--warning); }

.callout-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
}

.callout p { margin: 0; color: var(--text-secondary); }

/* --------------------------------- Panels --------------------------------- */

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.panel + .panel { margin-top: 24px; }

.panel-head { margin-bottom: 8px; }
.panel-head h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: -0.015em; }
.panel-head p { margin: 0; color: var(--text-secondary); font-size: 15px; }

/* ---------------------------------- FAQ ----------------------------------- */

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.faq details:first-child { padding-top: 0; }

.faq summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary .chev {
  transition: transform 0.25s ease;
  flex: none;
  color: var(--text-secondary);
}

.faq details[open] summary .chev { transform: rotate(180deg); }

.faq details p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
}

/* --------------------------------- Responsive ------------------------------- */

.hero-preview, .desktop-footer { display: none; }
.topnav-inner { justify-content: space-between; gap: 16px; }
.site-brand { display: inline-flex; align-items: center; flex: none; }
.site-brand-logo { width: 100px; height: auto; object-fit: contain; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

/* Desktop: a mesma identidade visual, com navegação e proporções maiores. */
@media (min-width: 1024px) {
  :root { --nav-h: 88px; }

  body { min-height: 100vh; padding-bottom: 0; display: flex; flex-direction: column; }
  main { flex: 1; width: 100%; }
  .topnav { flex: none; }
  .topnav-inner { max-width: 1200px; padding: 0 40px; justify-content: space-between; gap: 32px; }
  .navbar-title { display: none; }

  .site-brand-logo { width: 132px; }

  .bottom-tabbar { position: static; height: auto; gap: 6px; padding: 0; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .bottom-tabbar a { flex: none; flex-direction: row; gap: 8px; padding: 11px 16px; border-radius: 10px; font-size: 14px; transition: background 0.2s ease; }
  .bottom-tabbar a:hover { background: var(--surface); color: var(--text); }
  .bottom-tabbar a.active { background: var(--accent-soft); color: var(--accent); }
  .bottom-tabbar svg { width: 18px; height: 18px; }

  .hero, .section, .page-header { max-width: 1200px; }
  .hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; padding: 88px 40px 64px; }
  .hero-copy { min-width: 0; }
  .hero .eyebrow { margin-bottom: 20px; letter-spacing: 0.08em; font-size: 12px; }
  .hero h1 { font-size: clamp(42px, 4vw, 54px); line-height: 1.12; letter-spacing: -0.045em; margin-bottom: 24px; }
  .hero p { font-size: 18px; line-height: 1.65; max-width: 450px; }
  .hero-actions { flex-direction: row; margin-top: 32px; max-width: none; }
  .hero-actions .btn { width: auto; padding: 15px 28px; }

  .hero-preview { display: flex; flex-direction: column; align-items: center; padding: 28px 0 0; }
  .tv-preview { position: relative; width: 100%; padding: 10px; border-radius: 20px; background: #202633; box-shadow: 0 22px 44px rgba(25, 45, 80, 0.16); }
  .tv-preview::after { content: ""; position: absolute; width: 34%; height: 26px; top: 100%; left: 33%; background: linear-gradient(#8c94a1, #c3c9d1); clip-path: polygon(35% 0, 65% 0, 70% 75%, 100% 85%, 100% 100%, 0 100%, 0 85%, 30% 75%); }
  .tv-preview-screen { aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-radius: 11px; background: radial-gradient(ellipse at 50% 20%, #fff 10%, #e4efff 65%, #cbdfff); }
  .tv-preview-screen img { border-radius: 20px; box-shadow: var(--shadow-md); }
  .tv-preview-scenes { position: relative; display: block; overflow: hidden; padding: 0; background: #10151e; }
  .tv-preview-scenes img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; opacity: 0; animation: tv-channel-cycle 16s infinite; }
  .tv-preview-scenes img:nth-child(1) { animation-delay: 0s; }
  .tv-preview-scenes img:nth-child(2) { animation-delay: -4s; }
  .tv-preview-scenes img:nth-child(3) { animation-delay: -8s; }
  .tv-preview-scenes img:nth-child(4) { animation-delay: -12s; }

  @keyframes tv-channel-cycle {
    0%, 22% { opacity: 1; }
    25%, 100% { opacity: 0; }
  }

  @media (prefers-reduced-motion: reduce) {
    .tv-preview-scenes img { animation: none; }
    .tv-preview-scenes img:first-child { opacity: 1; }
  }
  .tv-preview-title { font-size: 23px; font-weight: 700; color: #172b4d; }
  .tv-preview-caption { font-size: 13px; color: #526681; }
  .preview-brands { display: flex; align-items: center; justify-content: center; gap: 32px; margin-top: 56px; }
  .preview-brands img { object-fit: contain; }

  .section { padding: 28px 40px 64px; }
  .section--tight { padding-top: 12px; }
  .page-home .list-row { padding: 24px; gap: 18px; }
  .page-home .list-row-icon { width: 44px; height: 44px; border-radius: 12px; }
  .page-home .list-row-title { font-weight: 600; }
  .page-home .list-row-subtitle { margin-top: 4px; font-size: 14px; }

  .page-header { padding: 48px 40px 0; }
  .page-header h1 { font-size: 40px; margin-bottom: 8px; }
  .page-header p { max-width: 640px; font-size: 17px; }
  .page-hd-player .section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; gap: 32px; }
  .page-hd-player .app-banner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px; }
  .page-hd-player .wizard { width: 100%; max-width: none; margin: 0; }
  .page-ajuda .section, .page-ajuda .page-header { max-width: 960px; }
  .page-minha-conta .section, .page-minha-conta .page-header { max-width: 1080px; }

  .desktop-footer { display: flex; justify-content: space-between; gap: 24px; width: calc(100% - 80px); max-width: 1120px; margin: 0 auto; padding: 24px 0; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: 13px; }
  .desktop-footer a { color: var(--accent); }
  .desktop-footer a:hover { text-decoration: underline; }
  .footer-separator { margin: 0 8px; }
}

@media (max-width: 720px) {

  .hero { padding: 16px 20px 24px; }
  .hero h1 { font-size: 1.7rem; margin: 0 0 8px; }
  .hero p { font-size: 1rem; }
  .hero-actions { margin-top: 18px; gap: 10px; }

  .page-header { padding: 14px 20px 2px; }
  .page-header h1 { font-size: 28px; }

  .section { padding: 16px 20px 28px; }
  .section--tight { padding: 8px 20px 18px; }

  .app-banner { flex-direction: row; text-align: left; padding: 18px; gap: 14px; }
  .app-banner .app-glyph { width: 52px; height: 52px; border-radius: 14px; }
  .app-banner h2 { font-size: 17px; }
  .app-banner p { font-size: 13.5px; }

  .panel { padding: 22px 18px; }
  .panel-head h2 { font-size: 20px; }

  .steps li { padding-bottom: 20px; gap: 14px; }
  .step-num { width: 30px; height: 30px; font-size: 13px; }

  /* Wizard: card mais compacto, sem altura mínima forçada */
  .wizard { margin-top: 18px; }
  .wizard-card { padding: 20px 16px; min-height: 0; }
  .wizard-top { margin-bottom: 4px; }
  .wizard-progress-label { display: none; }
  .step-dots { margin-top: 14px; }

  .step-icon-lg { width: 56px; height: 56px; border-radius: 15px; margin-bottom: 4px; }
  .step-num-badge { font-size: 11px; }
  .step-title-lg { font-size: 19px; margin: 4px 0 4px; }
  .step-desc-lg { font-size: 14px; }
  .step-panel .step-code { margin-top: 12px; font-size: 16px; }
  .step-panel .callout { margin-top: 12px; padding: 14px 16px; }
  .step-logos { margin-top: 10px; gap: 8px; }
  .logo-chip { height: 38px; padding: 8px 12px; }

  .choice-grid { grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
  .choice-card {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 12px 14px;
    gap: 12px;
  }
  .choice-card .choice-icon { width: 38px; height: 38px; border-radius: 10px; }
  .choice-logo { max-width: 75%; max-height: 65%; }

  .wizard-nav { margin-top: 16px; }
  .wizard-nav .btn { padding: 13px 16px; font-size: 15px; }
}

/* Guia de instalação e ativação */
.account-login{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(420px,.96fr);max-width:940px;min-height:570px;margin:12px auto 0;border:1px solid rgba(60,60,67,.14);border-radius:28px;background:var(--surface);box-shadow:0 24px 70px rgba(15,46,86,.12);overflow:hidden}.account-login__welcome{position:relative;display:flex;flex-direction:column;padding:44px;color:#fff;background:linear-gradient(145deg,#075dd7 0%,#007aff 52%,#28a4ff 100%);overflow:hidden}.account-login__welcome::before{content:"";position:absolute;width:280px;height:280px;right:-80px;top:-95px;border:1px solid rgba(255,255,255,.22);border-radius:50%;box-shadow:0 0 0 45px rgba(255,255,255,.035),0 0 0 90px rgba(255,255,255,.025)}.account-login__glow{position:absolute;left:-90px;bottom:-130px;width:330px;height:330px;border-radius:50%;background:rgba(110,212,255,.28);filter:blur(14px)}.account-login__brand{position:relative;z-index:1;display:inline-flex;align-items:center;gap:10px;width:max-content;font-size:13px;font-weight:700;letter-spacing:.02em}.account-login__brand-mark{display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(255,255,255,.3);border-radius:11px;background:rgba(255,255,255,.14);backdrop-filter:blur(8px)}.account-login__brand-mark svg{width:22px}.account-login__welcome-copy{position:relative;z-index:1;margin:auto 0}.account-login__kicker{display:block;margin-bottom:15px;font-size:11px;font-weight:800;letter-spacing:.16em;color:rgba(255,255,255,.72)}.account-login__welcome h2{margin:0 0 18px;font-size:clamp(2rem,3.3vw,3rem);line-height:1.04;letter-spacing:-.045em}.account-login__welcome p{max-width:390px;margin:0;color:rgba(255,255,255,.78);font-size:16px;line-height:1.65}.account-login__benefits{position:relative;z-index:1;display:grid;gap:12px;margin:30px 0 0;padding:0;list-style:none;font-size:13px;font-weight:600;color:rgba(255,255,255,.9)}.account-login__benefits li{display:flex;align-items:center;gap:10px}.account-login__benefits li span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.17)}.account-login__benefits svg{width:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.account-login__form-side{display:flex;flex-direction:column;justify-content:center;padding:50px 48px}.account-login__form-head{display:flex;align-items:center;gap:15px}.account-login__icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:15px;color:var(--accent);background:var(--accent-soft)}.account-login__icon svg{width:25px}.account-login__step{display:block;margin-bottom:3px;color:var(--accent);font-size:10px;font-weight:800;letter-spacing:.11em}.account-login__form-head h2{margin:0;font-size:25px;letter-spacing:-.025em}.account-login__intro{margin:20px 0 26px;color:var(--text-secondary);font-size:14px;line-height:1.6}.account-login form{display:grid;gap:12px}.account-login form label{font-size:13px;font-weight:700}.account-login__field{position:relative;display:flex;align-items:center;border:1px solid var(--border);border-radius:13px;background:var(--surface-soft);transition:border-color .2s,box-shadow .2s,background .2s}.account-login__field:focus-within{border-color:var(--accent);background:#fff;box-shadow:0 0 0 4px var(--accent-soft)}.account-login__country{padding:0 13px;border-right:1px solid var(--border);font-size:14px;font-weight:700;color:var(--text-secondary)}.account-login__field input{min-width:0;border:0!important;background:transparent!important;box-shadow:none!important}.account-login__field>svg{flex:0 0 21px;width:21px;margin-right:14px;color:#25b66a}.account-login input,.account-page input,.pix-panel textarea{width:100%;border:1px solid var(--border);border-radius:10px;padding:14px;background:var(--surface-soft);font:inherit;color:var(--text)}.account-login__code{padding:16px!important;text-align:center;font-size:26px!important;font-weight:700!important;letter-spacing:.38em!important;font-variant-numeric:tabular-nums}.account-login__code:focus{outline:0;border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}.account-login__submit{justify-content:space-between;width:100%;margin-top:4px;padding:15px 17px;border-radius:13px;box-shadow:0 9px 20px rgba(0,122,255,.2)}.account-login__submit svg{width:19px}.account-login__submit.is-loading span::after{content:"";display:inline-block;width:13px;height:13px;margin-left:9px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;vertical-align:-2px;animation:activation-spin .7s linear infinite}.account-login__resend{padding:8px;border:0;color:var(--text-secondary);background:none;font:inherit;font-size:13px;cursor:pointer}.account-login__resend strong{color:var(--accent)}.account-login__message{min-height:21px;margin:15px 0 0;padding:10px 12px;border-radius:9px;background:var(--surface-soft);color:var(--text-secondary);font-size:12px}.account-login__message:empty{display:block;visibility:hidden}.account-login__message.is-error{background:#fef2f2;color:#b3261e}.account-login__message.is-success{background:#f0fdf4;color:#19713a}.account-login__privacy{display:flex;align-items:flex-start;gap:9px;margin-top:18px;padding-top:18px;border-top:1px solid var(--border);color:var(--text-secondary);font-size:11px;line-height:1.5}.account-login__privacy svg{flex:0 0 17px;width:17px}.account-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.plan-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.plan-options input{position:absolute;opacity:0}.plan-options span{display:grid;gap:4px;border:2px solid var(--border);border-radius:12px;padding:16px;cursor:pointer}.plan-options input:checked+span{border-color:var(--accent);background:var(--accent-soft)}.plan-options strong{font-size:1.4rem;color:var(--accent)}.plan-options small{color:var(--text-secondary)}#createPix{width:100%;margin-top:14px}.pix-panel{margin-top:20px}.pix-panel textarea{min-height:110px;resize:none;word-break:break-all}@media(max-width:820px){.account-login{grid-template-columns:1fr;max-width:560px}.account-login__welcome{min-height:260px;padding:30px}.account-login__welcome-copy{margin:42px 0 0}.account-login__welcome h2{font-size:2.1rem}.account-login__benefits{display:none}.account-login__form-side{padding:34px 30px}.account-grid{grid-template-columns:1fr}}@media(max-width:520px){.account-page{padding-left:14px;padding-right:14px}.account-login{margin-top:0;border-radius:20px}.account-login__welcome{min-height:210px;padding:25px}.account-login__welcome-copy{margin:30px 0 0}.account-login__welcome h2{font-size:1.75rem}.account-login__welcome p{font-size:14px}.account-login__form-side{padding:28px 22px}.account-login__form-head h2{font-size:21px}.plan-options{grid-template-columns:1fr}}
/* Minha Conta: cartão simples, alinhado à linguagem Apple UI do site. */
#accountApp [hidden] { display: none !important; }
.account-login { display: block; max-width: 480px; min-height: 0; margin: 18px auto 0; border: 1px solid rgba(60,60,67,.16); border-radius: 22px; background: rgba(255,255,255,.88); box-shadow: var(--shadow-md); overflow: visible; backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.account-login__form-side { display: block; padding: 36px; text-align: center; }
.account-login__icon { width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 16px; }
.account-login__step { margin-bottom: 8px; font-size: 11px; letter-spacing: .09em; }
.account-login__form-side > h2 { margin: 0; font-size: 26px; line-height: 1.2; letter-spacing: -.025em; }
.account-login__intro { max-width: 350px; margin: 10px auto 26px; font-size: 14px; line-height: 1.55; }
.account-login form { display: grid; gap: 12px; text-align: left; }
.account-login form[hidden] { display: none !important; }
.account-login__field { background: rgba(242,242,247,.82); }
.account-login__submit { justify-content: center; position: relative; margin-top: 6px; border-radius: 12px; box-shadow: none; }
.account-login__submit > svg { position: absolute; right: 16px; }
.account-login__code { border-radius: 12px !important; background: rgba(242,242,247,.82) !important; }
.account-login__message { margin-top: 14px; text-align: left; }
.account-login__privacy { justify-content: center; margin-top: 18px; padding-top: 16px; text-align: left; }
@media (max-width: 520px) {
  .account-login { border-radius: 18px; }
  .account-login__form-side { padding: 28px 22px; }
  .account-login__form-side > h2 { font-size: 23px; }
}
/* Painel autenticado da conta */
.account-dashboard{max-width:940px;margin:8px auto 0}.account-dashboard__head{display:flex;align-items:center;gap:14px;margin-bottom:22px}.account-avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;color:#fff;background:linear-gradient(145deg,#1688ff,#0066db);box-shadow:0 7px 18px rgba(0,122,255,.2);font-size:18px;font-weight:700}.account-dashboard__hello{display:block;margin-bottom:2px;color:var(--text-secondary);font-size:13px}.account-dashboard__head h2{margin:0;font-size:25px;letter-spacing:-.025em}.account-logout{display:inline-flex;align-items:center;gap:7px;margin-left:auto;padding:9px 13px;border:1px solid var(--border);border-radius:11px;color:var(--text-secondary);background:rgba(255,255,255,.7);font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:.2s}.account-logout:hover{color:#ff3b30;border-color:rgba(255,59,48,.25);background:rgba(255,59,48,.06)}.account-logout svg{width:18px}.account-dashboard__grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:18px}.account-card{padding:25px;border:1px solid rgba(60,60,67,.14);border-radius:20px;background:rgba(255,255,255,.88);box-shadow:0 8px 30px rgba(15,35,65,.055);backdrop-filter:saturate(160%) blur(18px);-webkit-backdrop-filter:saturate(160%) blur(18px)}.account-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.account-card__eyebrow{display:block;margin-bottom:4px;color:var(--accent);font-size:10px;font-weight:800;letter-spacing:.11em}.account-card h3{margin:0;font-size:20px;letter-spacing:-.02em}.account-status-card{position:relative;min-height:292px;padding:26px;border-radius:20px;color:#fff;background:linear-gradient(145deg,#0575ed 0%,#087ff5 55%,#35a4ff 100%);box-shadow:0 14px 34px rgba(0,105,220,.2);overflow:hidden}.account-status-card::before{content:"";position:absolute;right:-70px;top:-100px;width:270px;height:270px;border:1px solid rgba(255,255,255,.18);border-radius:50%;box-shadow:0 0 0 42px rgba(255,255,255,.035)}.account-status-card__top{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center}.account-status-card__label{font-size:10px;font-weight:800;letter-spacing:.13em;color:rgba(255,255,255,.72)}.account-status-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:100px;background:rgba(255,255,255,.17);font-size:11px;font-weight:700}.account-status-badge i{width:7px;height:7px;border-radius:50%;background:#5cff8d;box-shadow:0 0 0 3px rgba(92,255,141,.17)}.account-status-card__plan{position:relative;z-index:1;display:flex;flex-direction:column;margin-top:42px}.account-status-card__plan>span{font-size:34px;font-weight:750;line-height:1.1;letter-spacing:-.04em;text-transform:capitalize}.account-status-card__plan small{margin-top:6px;color:rgba(255,255,255,.68);font-size:13px}.account-status-card__meta{position:absolute;z-index:1;left:26px;right:26px;bottom:25px;display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-top:18px;border-top:1px solid rgba(255,255,255,.22)}.account-status-card__meta div{display:grid;gap:3px}.account-status-card__meta span{font-size:10px;color:rgba(255,255,255,.65)}.account-status-card__meta strong{font-size:13px}.account-status-card__mark{position:absolute;right:23px;bottom:76px;width:72px;color:rgba(255,255,255,.1);fill:none;stroke:currentColor;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.account-card__secure{display:inline-flex;align-items:center;gap:5px;color:#25864a;font-size:11px;font-weight:700}.account-card__secure svg{width:15px}.account-credential{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;padding:14px 15px;border-radius:13px;background:var(--surface-soft)}.account-credential>div:first-child{display:grid;gap:3px;min-width:0}.account-credential span{color:var(--text-secondary);font-size:10px}.account-credential strong{overflow:hidden;text-overflow:ellipsis;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px;letter-spacing:.025em}.account-credential button{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;padding:0;border:0;border-radius:9px;color:var(--accent);background:rgba(0,122,255,.1);cursor:pointer;transition:.18s}.account-credential button:hover{background:rgba(0,122,255,.17)}.account-credential button.is-copied{color:#168540;background:rgba(52,199,89,.13)}.account-credential button svg{width:17px;fill:none;stroke:currentColor;stroke-width:1.7}.account-credential__actions{display:flex!important;grid-auto-flow:column;gap:6px!important}.account-access-card__note{display:flex;align-items:flex-start;gap:7px;margin:16px 0 0;color:var(--text-secondary);font-size:11px;line-height:1.5}.account-access-card__note svg{flex:0 0 15px;width:15px;fill:none;stroke:currentColor;stroke-width:1.7}.account-renew-card{display:grid;grid-template-columns:minmax(210px,.72fr) minmax(0,1.28fr);gap:42px;margin-top:18px;padding:30px}.account-renew-card__intro p{max-width:280px;margin:12px 0 0;color:var(--text-secondary);font-size:13px;line-height:1.6}.account-renew-card__form{min-width:0}.plan-options{margin:0 0 16px}.plan-options label{position:relative}.plan-options span{position:relative;min-height:112px;padding:17px;border:1.5px solid var(--border);border-radius:15px;background:var(--surface-soft);transition:.18s}.plan-options input:checked+span{border-color:var(--accent);background:#fff;box-shadow:0 0 0 3px var(--accent-soft)}.plan-options input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}.plan-options i{position:absolute;right:10px;top:10px;padding:4px 7px;border-radius:100px;color:#25864a;background:rgba(52,199,89,.12);font-size:9px;font-style:normal;font-weight:700}.plan-options b{font-size:13px}.plan-options strong{margin-top:auto;font-size:22px}.account-email-label{display:block;margin-bottom:7px;font-size:12px;font-weight:700}.account-email-field{display:flex;align-items:center;border:1px solid var(--border);border-radius:12px;background:var(--surface-soft)}.account-email-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.account-email-field svg{flex:0 0 19px;width:19px;margin-left:14px}.account-email-field input{border:0!important;background:transparent!important;box-shadow:none!important}.account-renew-card #createPix{display:flex;justify-content:center;position:relative;padding:14px;border-radius:12px}.account-renew-card #createPix svg{position:absolute;right:15px;width:18px}.pix-panel{margin-top:18px}.pix-panel>p{color:var(--text-secondary);font-size:13px}.pix-panel textarea{border:1px solid var(--border);border-radius:12px;background:var(--surface-soft);font-size:12px}.pix-panel .account-status-badge{color:#9a6500;background:rgba(255,149,0,.12)}.pix-panel .account-status-badge i{background:#ff9500;box-shadow:0 0 0 3px rgba(255,149,0,.15)}
.account-renew-target{display:grid;gap:3px;margin-top:22px;padding:11px 12px;border-radius:11px;background:var(--surface-soft)}.account-renew-target span{color:var(--text-secondary);font-size:10px}.account-renew-target strong{overflow:hidden;text-overflow:ellipsis;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px}
@media(max-width:820px){.account-dashboard__grid{grid-template-columns:1fr}.account-renew-card{grid-template-columns:1fr;gap:22px}.account-renew-card__intro p{max-width:none}.account-status-card{min-height:270px}}
@media(max-width:520px){.account-dashboard__head{padding:0 2px}.account-dashboard__head h2{font-size:22px}.account-logout span{display:none}.account-card,.account-status-card,.account-renew-card{padding:21px;border-radius:17px}.account-status-card__meta{left:21px;right:21px;bottom:21px}.account-status-card__mark{right:17px}.account-status-card__plan>span{font-size:29px}.plan-options{grid-template-columns:1fr}.plan-options span{min-height:94px}.account-renew-card{gap:20px}}
.preview-play { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 22px; color: #fff; background: var(--accent); box-shadow: var(--shadow-md); }
.installation-overview { flex-direction: column; align-items: stretch; gap: 24px; }
.installation-steps { list-style: none; counter-reset: installation; margin: 0; padding: 0; display: grid; gap: 16px; }
.installation-steps li { counter-increment: installation; display: flex; align-items: center; gap: 12px; color: var(--text-secondary); font-size: 14px; }
.installation-steps li::before { content: counter(installation); display: flex; align-items: center; justify-content: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--surface-soft); font-size: 12px; font-weight: 600; }
.installation-steps .is-current { color: var(--accent); font-weight: 600; }
.installation-steps .is-current::before { background: var(--accent); color: white; }
.installation-steps .is-done::before { content: '✓'; color: var(--accent); background: var(--accent-soft); }
.installation-panel { padding-top: 24px; }
.installation-panel .step-desc-lg { max-width: none; }
.installation-panel h2:focus { outline: none; }
.tv-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.tv-choice-grid .choice-card { text-align: center; justify-content: center; min-height: 80px; padding: 18px 12px; color: var(--text); }
.app-choice-grid { grid-template-columns: 1fr; }
.app-choice-grid .choice-card { flex-direction: row; justify-content: space-between; min-height: 68px; }
.app-choice-grid .choice-card > span:last-child { font-size: 12px; color: var(--text-secondary); }
.search-instructions { padding-left: 22px; margin: 24px 0; font-size: 15px; }
.search-instructions li + li { margin-top: 12px; }
.search-instructions .app-search-list { margin-top: 12px; }
.app-search-list { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.app-search-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.app-search-list > div + div { border-top: 1px solid var(--border); }
.app-search-list strong { font-size: 15px; }
.app-search-list a { color: var(--accent); font-size: 12px; }
.app-search-list a:hover { text-decoration: underline; }
.installation-note { color: var(--text-secondary); font-size: 13px; line-height: 1.6; }
.installation-form { margin-top: 24px; }
.installation-form > label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.installation-form input[type="text"], .installation-form input[type="tel"], .installation-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 14px; background: var(--surface-soft); font: inherit; color: var(--text); }
.installation-form input[type="text"], .installation-form input[type="tel"] { font-family: ui-monospace, Consolas, monospace; letter-spacing: 0.05em; text-transform: uppercase; }
.installation-form textarea { resize: vertical; }
.installation-form input:focus-visible, .installation-form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.installation-form input[aria-invalid="true"] { border-color: #c93429; }
.form-message { font-size: 14px; line-height: 1.6; margin: 16px 0; }
.form-message:empty { display: none; }
.activation-notice { display: flex; align-items: flex-start; gap: 14px; padding: 20px; margin: 20px 0; border: 1px solid #bfdbfe; border-radius: 14px; background: #eff6ff; color: #1e40af; }
.activation-notice > div { min-width: 0; }
.activation-notice > div > strong { display: block; font-size: 16px; line-height: 1.4; }
.activation-notice p { margin: 6px 0 0; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.activation-notice-icon { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.65); }
.activation-notice-icon svg { width: 24px; height: 24px; }
.activation-notice--error { color: #991b1b; background: #fef2f2; border-color: #fecaca; }
.activation-notice--success { color: #166534; background: #f0fdf4; border-color: #bbf7d0; }
.tv-action-location { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 7px 10px; border-radius: 8px; background: rgba(255,255,255,.7); font-size: 13px; line-height: 1.45; }
.tv-action-location span { font-size: 18px; font-weight: 700; }
.tv-icons-example { width: fit-content; max-width: 100%; margin: 12px 0 2px; padding: 10px; border: 1px solid rgba(22,101,52,.16); border-radius: 12px; background: #101a24; }
.tv-icons-example img { display: block; width: auto; max-width: 100%; height: auto; max-height: 96px; border-radius: 6px; }
.tv-icons-example figcaption { margin-top: 7px; color: #e2e8f0; font-size: 12px; line-height: 1.4; text-align: center; }
.tv-action-steps { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: none; }
.tv-action-steps li { display: grid; grid-template-columns: 26px 42px 1fr; align-items: center; gap: 10px; padding: 11px; border: 1px solid rgba(22,101,52,.16); border-radius: 11px; background: rgba(255,255,255,.74); color: #173f27; font-size: 13px; line-height: 1.45; }
.tv-step-number { display: grid; place-items: center; justify-self: center; width: 24px; height: 24px; border-radius: 50%; background: #166534; color: #fff; font-weight: 700; line-height: 1; }
.tv-action-icon { display: grid; place-items: center; justify-self: center; width: 42px; height: 42px; border: 1px solid #64748b; border-radius: 10px; background: #334155; color: #fff; line-height: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.tv-action-icon svg { display: block; width: 28px; height: 28px; }
.tv-action-steps b { display: block; margin-bottom: 1px; color: #14532d; font-size: 14px; }
.tv-action-steps em { font-style: normal; font-weight: 700; }
.activation-spinner { display: block; width: 24px; height: 24px; border: 3px solid #bfdbfe; border-top-color: #1d4ed8; border-radius: 50%; animation: activation-spin .8s linear infinite; }
@keyframes activation-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .activation-spinner { animation: none; } }
.form-message[role="alert"] { color: #b3261e; }
.installation-summary { margin: 24px 0; padding: 18px; background: var(--surface-soft); border-radius: var(--radius-md); }
.installation-summary > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 8px 0; }
.installation-summary dt { color: var(--text-secondary); font-size: 14px; }
.installation-summary dd { margin: 0; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.support-action { margin: 20px 0; text-align: center; }
.support-action .btn { justify-content: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.rating-options { display: flex; gap: 8px; margin: 0 0 24px; padding: 0; border: 0; }
.rating-options legend { margin-bottom: 12px; font-size: 14px; }
.rating-options label { flex: 1; position: relative; cursor: pointer; }
.rating-options input { position: absolute; opacity: 0; }
.rating-options span { display: block; padding: 12px 4px; text-align: center; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; }
.rating-options input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.rating-options input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 1023px) {
  .installation-overview { max-width: 640px; margin: 0 auto; }
  .installation-steps { display: none; }
}
@media (max-width: 720px) {
  .installation-overview { padding: 18px; }
  .installation-overview .eyebrow { font-size: 11px; margin-bottom: 6px; }
  .installation-panel { padding-top: 16px; }
  .installation-layout .wizard-progress-label { display: inline; }
  .installation-layout .wizard-nav { flex-wrap: wrap; }
  .installation-layout .wizard-nav .btn { flex: 1 1 100%; }
  .installation-layout .wizard-nav .btn-primary { order: -1; }
  .tv-choice-grid { grid-template-columns: 1fr; gap: 8px; }
  .tv-choice-grid .choice-card { min-height: 54px; padding: 14px; }
  .app-search-list > div { flex-wrap: wrap; }
  .activation-notice { padding: 15px; gap: 10px; }
  .activation-notice > .activation-notice-icon { display: none; }
  .tv-action-steps li { grid-template-columns: 24px 38px 1fr; padding: 9px; gap: 8px; }
  .tv-action-icon { width: 38px; height: 38px; }
}
/* Identificação visual dos aplicativos e exemplo do MAC na TV. */
.app-logo-frame { display: flex; align-items: center; justify-content: center; flex: 0 0 112px; width: 112px; height: 76px; padding: 6px 10px; border-radius: 10px; background: #192333; }
.installation-app-logo { width: 100%; height: 100%; object-fit: contain; }
.app-search-list > div { justify-content: flex-start; gap: 18px; }
.app-choice-grid .choice-card { justify-content: flex-start; gap: 18px; }
.app-choice-grid .choice-label { flex: 1; text-align: left; }
.mac-preview { margin: 24px 0; }
.mac-preview .tv-preview-screen { position: relative; min-height: 280px; aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px 16px 104px; border: 8px solid #202633; border-radius: 18px; background: radial-gradient(ellipse at 50% 20%, #fff 10%, #e4efff 65%, #cbdfff); box-shadow: var(--shadow-sm); }
.mac-preview .preview-play { width: 52px; height: 52px; border-radius: 15px; }
.mac-preview .tv-preview-title { font-size: 20px; font-weight: 700; color: #172b4d; }
.mac-preview .tv-preview-caption { font-size: 12px; color: #526681; text-align: center; }
.mac-preview-address { position: absolute; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border: 2px solid var(--accent); border-radius: 8px; color: #172b4d; background: white; box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1); }
.mac-preview-address > span { font-size: 10px; font-weight: 600; }
.mac-preview-address strong { font-family: ui-monospace, Consolas, monospace; font-size: 13px; letter-spacing: 0.02em; }
.mac-preview figcaption { margin-top: 12px; font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 720px) {
  .app-logo-frame { flex-basis: 88px; width: 88px; height: 64px; padding: 6px; }
  .app-choice-grid .choice-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 4px 14px; text-align: left; }
  .app-choice-grid .app-logo-frame { grid-row: span 2; }
  .app-choice-grid .choice-label { align-self: end; }
  .app-choice-grid .choice-card > span:last-child { align-self: start; }
}

/* ========================================================================== 
   Home comercial
   ========================================================================== */

.page-home { --sales-blue: #087ff5; --sales-cyan: #28c8ff; --sales-ink: #07101f; background: #fff; color: var(--sales-ink); }
.page-home .topnav { background: rgba(4, 10, 24, .1); border-bottom-color: transparent; transition: background .25s ease, border-color .25s ease, color .25s ease; }
.page-home .topnav::before { background: transparent; transition: background .25s ease; }
.page-home .topnav:not(.topnav--after-hero) { color: #fff; }
.page-home .topnav:not(.topnav--after-hero) .bottom-tabbar a { color: rgba(255,255,255,.6); }
.page-home .topnav:not(.topnav--after-hero) .bottom-tabbar a.active { color: #fff; }
.page-home .topnav--after-hero { color: var(--text); background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom-color: var(--border); }
.page-home .desktop-footer { color: #758093; border-top-color: #dce2ea; }
.page-home main { margin-top: calc(-1 * var(--nav-h)); overflow: hidden; }

.sales-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 25px; border: 1px solid transparent; border-radius: 12px; font-size: 15px; font-weight: 750; letter-spacing: -.01em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.sales-btn:hover { transform: translateY(-2px); }
.sales-btn svg { flex: none; transition: transform .2s ease; }
.sales-btn:hover svg { transform: translateX(3px); }
.sales-btn--primary { color: #fff; background: linear-gradient(135deg, #0784ff, #0065e8); box-shadow: 0 12px 30px rgba(0, 112, 255, .28); }
.sales-btn--primary:hover { box-shadow: 0 16px 34px rgba(0, 112, 255, .38); }
.sales-btn--dark { color: #fff; background: var(--sales-ink); box-shadow: 0 12px 26px rgba(7,16,31,.16); }
.sales-btn--outline { color: #dcecff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.sales-btn--outline:hover { background: rgba(255,255,255,.11); }
.sales-btn--center { width: fit-content; margin: 42px auto 0; }

.sales-hero { position: relative; min-height: 100vh; color: #fff; background: #061125; isolation: isolate; }
.sales-hero__image { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.sales-hero__shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(3,10,25,.97) 0%, rgba(3,10,25,.88) 34%, rgba(3,10,25,.28) 64%, rgba(3,10,25,.15) 100%), linear-gradient(0deg, rgba(3,10,25,.84) 0%, transparent 42%); }
.sales-hero__content { display: flex; flex-direction: column; justify-content: center; width: min(1200px, calc(100% - 80px)); min-height: 100vh; margin: 0 auto; padding: calc(var(--nav-h) + 24px) 0 48px; }
.sales-hero h1 { max-width: 620px; margin: 0 0 20px; font-size: clamp(46px, 4.6vw, 68px); line-height: 1; letter-spacing: -.055em; }
.sales-hero h1 em { color: #3abfff; font-style: normal; }
.sales-hero__content > p { max-width: 565px; margin: 0; color: rgba(255,255,255,.74); font-size: 18px; line-height: 1.65; letter-spacing: -.015em; }
.sales-hero__actions { display: flex; align-items: center; gap: 22px; margin-top: 32px; }
.sales-hero__note { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: 13px; }
.sales-hero__note svg { color: #50d890; }

.sales-section { max-width: 1200px; margin: 0 auto; padding: 106px 40px; }
.sales-heading { max-width: 580px; }
.sales-heading--center { margin-right: auto; margin-left: auto; text-align: center; }
.sales-kicker { display: block; margin-bottom: 13px; color: var(--sales-blue); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.sales-heading h2 { margin: 0; font-size: clamp(35px, 4vw, 52px); line-height: 1.08; letter-spacing: -.045em; }
.sales-heading p { margin: 17px 0 0; color: #697386; font-size: 16px; line-height: 1.65; }

.brand-block { margin-top: 52px; }
.brand-block + .brand-block { margin-top: 32px; }
.brand-block__label { display: block; margin-bottom: 11px; color: #8b94a4; font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.brand-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.brand-grid--catalog { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.brand-card { display: grid; place-items: center; min-width: 0; height: 104px; border: 1px solid #e5eaf0; border-radius: 16px; background: #fff; box-shadow: 0 8px 26px rgba(21,42,75,.055); transition: transform .2s ease, box-shadow .2s ease; }
.brand-card:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(21,42,75,.1); }
.brand-card img { width: auto; height: auto; max-width: 76%; max-height: 58px; object-fit: contain; }
.brand-grid--open .brand-card img { max-width: 70%; max-height: 72px; }

.plans-section { position: relative; color: #fff; background: #07101f; overflow: hidden; }
.plans-section__glow { position: absolute; top: -220px; left: calc(50% - 450px); width: 900px; height: 520px; border-radius: 50%; background: rgba(0,112,255,.2); filter: blur(90px); }
.plans-section__inner { position: relative; max-width: 1050px; margin: 0 auto; padding: 110px 40px 88px; }
.sales-heading--light p { color: rgba(255,255,255,.58); }
.sales-heading--light .sales-kicker { color: #4bc8ff; }
.plans-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; max-width: 850px; margin: 55px auto 0; }
.plan-card { position: relative; display: flex; flex-direction: column; min-height: 440px; padding: 34px; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: rgba(255,255,255,.055); }
.plan-card--featured { border-color: rgba(46,173,255,.7); background: linear-gradient(145deg,rgba(8,127,245,.2),rgba(255,255,255,.065)); box-shadow: 0 24px 65px rgba(0,87,198,.16), inset 0 0 0 1px rgba(62,183,255,.13); }
.plan-card__badge { position: absolute; top: 0; right: 28px; padding: 7px 13px; border-radius: 0 0 9px 9px; color: #04111f; background: #48cbff; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.plan-card__top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.plan-card__top span { font-size: 18px; font-weight: 750; }
.plan-card__top small { color: rgba(255,255,255,.5); }
.plan-card__price { display: flex; align-items: baseline; margin-top: 27px; }
.plan-card__price sup { align-self: flex-start; margin-top: 11px; color: #8ddcff; font-size: 13px; font-weight: 750; }
.plan-card__price strong { margin-left: 6px; font-size: 57px; line-height: 1; letter-spacing: -.06em; }
.plan-card__price span { margin-left: 7px; color: rgba(255,255,255,.48); font-size: 12px; }
.plan-card__economy { margin: 10px 0 0; color: #69d4a0; font-size: 12px; font-weight: 650; }
.plan-card ul { display: grid; gap: 13px; margin: 30px 0; padding: 23px 0 0; border-top: 1px solid rgba(255,255,255,.1); list-style: none; }
.plan-card li { display: flex; gap: 10px; color: rgba(255,255,255,.72); font-size: 13px; }
.plan-card li i { color: #54d494; font-style: normal; font-weight: 900; }
.plan-card .sales-btn { width: 100%; margin-top: auto; }
.plans-footnote { max-width: 740px; margin: 30px auto 0; color: rgba(255,255,255,.35); font-size: 10px; line-height: 1.6; text-align: center; }

.final-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; max-width: 1120px; margin: 0 auto; padding: 74px 40px; }
.final-cta__icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 19px; color: var(--sales-blue); background: #edf7ff; }
.final-cta span { color: var(--sales-blue); font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.final-cta h2 { margin: 6px 0 0; font-size: 28px; line-height: 1.2; letter-spacing: -.035em; }

@media (min-width: 1024px) {
  .page-home .topnav:not(.topnav--after-hero) .bottom-tabbar a:hover { color: #fff; background: rgba(255,255,255,.08); }
  .page-home .topnav:not(.topnav--after-hero) .bottom-tabbar a.active { color: #fff; background: rgba(0,122,255,.25); }
}

@media (max-width: 820px) {
  .sales-hero { min-height: 100vh; }
  .sales-hero__image { object-position: 62% center; opacity: .72; }
  .sales-hero__shade { background: linear-gradient(90deg,rgba(3,10,25,.96),rgba(3,10,25,.55)), linear-gradient(0deg,rgba(3,10,25,.94),transparent 60%); }
  .sales-hero__content { width: calc(100% - 40px); min-height: 100vh; padding: calc(var(--nav-h) + 20px) 0 40px; }
  .sales-hero h1 { max-width: 560px; font-size: clamp(42px,9vw,60px); }
  .brand-grid { grid-template-columns: repeat(3,1fr); }
  .brand-grid--catalog { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .final-cta { grid-template-columns: auto 1fr; }
  .final-cta .sales-btn { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 600px) {
  .page-home { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom,0)); }
  .page-home .topnav:not(.topnav--after-hero) .bottom-tabbar { background: rgba(4,10,24,.94); border-top-color: rgba(255,255,255,.1); }
  .sales-hero { min-height: 100vh; }
  .sales-hero__image { object-position: 68% center; opacity: .62; }
  .sales-hero__shade { background: linear-gradient(180deg,rgba(3,10,25,.33) 0%,rgba(3,10,25,.82) 42%,rgba(3,10,25,.99) 78%); }
  .sales-hero__content { justify-content: center; width: calc(100% - 36px); min-height: 100vh; padding: calc(var(--nav-h) + 28px) 0 36px; }
  .sales-hero h1 { max-width: 430px; margin: 0 0 15px; font-size: clamp(36px,10.5vw,43px); line-height: 1.02; }
  .sales-hero__content > p { font-size: 15px; line-height: 1.55; }
  .sales-hero__actions { align-items: stretch; flex-direction: column; gap: 13px; margin-top: 23px; }
  .sales-hero__note { justify-content: center; }
  .sales-section { padding: 75px 18px; }
  .sales-heading h2 { font-size: 34px; }
  .sales-heading p { font-size: 14px; }
  .brand-block { margin-top: 38px; }
  .brand-grid { grid-template-columns: repeat(2,1fr); gap: 9px; }
  .brand-grid--catalog { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .brand-card { height: 88px; border-radius: 13px; }
  .brand-grid--open .brand-card:last-child { grid-column: 1 / -1; }
  .sales-btn--center { width: 100%; margin-top: 34px; }
  .plans-section__inner { padding: 78px 18px 64px; }
  .plans-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .plan-card { min-height: 405px; padding: 28px 24px; }
  .final-cta { grid-template-columns: 1fr; gap: 18px; padding: 58px 18px; text-align: center; }
  .final-cta__icon { margin: 0 auto; }
  .final-cta h2 { font-size: 25px; }
  .page-home .desktop-footer { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sales-btn,.brand-card { transition: none; }
}
