*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --blue-900: #050d1f;
    --blue-800: #0a1830;
    --blue-700: #0f2347;
    --accent:   #2979ff;
    --accent-2: #00e5ff;
    --green:    #00e676;
    --white:    #ffffff;
    --gray-100: #f0f4ff;
    --gray-300: #b0bec5;
    --gray-500: #607d8b;
    --card-bg:  rgba(255,255,255,0.04);
    --card-border: rgba(255,255,255,0.09);
    --radius: 18px;
    --shadow: 0 8px 40px rgba(0,0,0,0.45);
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--blue-900);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
  }

  /* ─── Background mesh ─── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 20% -10%, rgba(41,121,255,0.25) 0%, transparent 60%),
      radial-gradient(ellipse 60% 50% at 85% 110%, rgba(0,229,255,0.15) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
  }

  /* ─── HEADER ─── */
  header {
    position: relative;
    z-index: 10;
    padding: 40px 24px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .logo-wrap img {
    max-height: 160px;
    filter: drop-shadow(0 4px 24px rgba(41,121,255,0.4));
  }

  .logo-wrap .site-name {
    font-family: 'Syne', sans-serif;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--white), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* ─── Hero text ─── */
  .hero-text {
    text-align: center;
    max-width: 680px;
  }

  .hero-text h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(20px, 3.5vw, 32px);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    color: var(--white);
  }

  .hero-text h1 span {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero-text p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--gray-300);
  }

  .hero-text p strong {
    color: var(--accent-2);
    font-weight: 600;
  }

  .trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0,230,118,0.15), rgba(0,229,255,0.1));
    border: 1px solid rgba(0,230,118,0.4);
    border-radius: 50px;
    padding: 10px 22px;
    margin-bottom: 18px;
    animation: pulse-glow 2.5s ease-in-out infinite;
  }

  .trial-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    flex-shrink: 0;
    animation: blink 1.2s ease-in-out infinite;
  }

  .trial-badge span {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--green);
  }

  .trial-badge strong {
    color: #fff;
    font-weight: 800;
  }

  @keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0px rgba(0,230,118,0); }
    50%       { box-shadow: 0 0 18px rgba(0,230,118,0.3); }
  }

  @keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
  }
  .nav-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 600px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 50px;
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
    cursor: pointer;
    border: none;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--accent), #1565c0);
    color: #fff;
    box-shadow: 0 4px 20px rgba(41,121,255,0.4);
  }
  .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(41,121,255,0.55); }

  .btn-whatsapp {
    background: linear-gradient(135deg, #00c853, #00897b);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,200,83,0.35);
  }
  .btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,200,83,0.5); }
  
  /* ANIMAÇÃO AZUL PARA BOTÃO BAIXAR */
@keyframes pulseBlue {
  0% { box-shadow: 0 0 10px rgba(41,121,255,0.4); }
  50% { box-shadow: 0 0 25px rgba(41,121,255,0.9); }
  100% { box-shadow: 0 0 10px rgba(41,121,255,0.4); }
}

  /* ─── Category banner ─── */
  .breadcrumbs {
    position: relative;
    z-index: 5;
    max-width: 1180px;
    margin: 0 auto 10px;
    padding: 0 24px;
    font-size: 13px;
    color: var(--gray-300);
  }
  .breadcrumbs a { color: var(--accent-2); text-decoration: none; }
  .breadcrumbs a:hover { text-decoration: underline; }

  /* Breadcrumb mais visível na página individual do produto */
  .product-breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
    margin-bottom: 18px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
  }
  .product-breadcrumbs > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 16px;
    border-radius: 11px;
    border: 1px solid rgba(0,229,255,.28);
    background: rgba(41,121,255,.14);
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 5px 18px rgba(0,0,0,.16);
    text-decoration: none;
  }
  .product-breadcrumbs > a:hover {
    text-decoration: none;
    transform: translateY(-1px);
    border-color: rgba(0,229,255,.48);
    background: rgba(41,121,255,.22);
  }
  .product-breadcrumbs > span:last-child {
    font-family: 'Syne', sans-serif;
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
  }
  .product-breadcrumbs > span[aria-hidden="true"] {
    color: var(--accent-2);
    font-size: 18px;
    font-weight: 800;
  }

  .category-banner {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 10px 24px 20px;
  }

  .category-banner h2 {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    margin-bottom: 8px;
  }

  .category-banner a {
    color: var(--accent-2);
    text-decoration: none;
    font-size: 14px;
  }
  .category-banner a:hover { text-decoration: underline; }

  /* ─── Search ─── */
  .search-wrap {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    padding: 0 24px 32px;
  }

  .search-wrap input {
    width: 100%;
    max-width: 460px;
    padding: 14px 22px 14px 48px;
    border-radius: 50px;
    border: 1.5px solid var(--card-border);
    background: rgba(255,255,255,0.07);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color 0.25s, background 0.25s;
    backdrop-filter: blur(10px);
  }
  .search-wrap input::placeholder { color: var(--gray-500); }
  .search-wrap input:focus { border-color: var(--accent); background: rgba(255,255,255,0.11); }

  .search-icon {
    position: absolute;
    left: calc(50% - 230px + 14px);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.45;
    font-size: 18px;
    pointer-events: none;
  }

  /* ─── Products Grid ─── */
  .products-grid {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 0 24px 60px;
    max-width: 1200px;
    margin: 0 auto;
  }

  /* ─── Product Card ─── */
  .product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(16px);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  }

  .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-color: rgba(41,121,255,0.3);
  }

  .product-card > h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    padding: 14px 16px 10px;
    letter-spacing: 1.5px;
    text-align: center;
    text-transform: uppercase;
  }

  .product-card > h3 a {
    color: inherit;
    text-decoration: none;
  }
  .product-card > h3 a:hover { color: var(--accent-2); }

  /* Página individual do produto */
  .products-grid.product-detail-grid {
    grid-template-columns: minmax(0, 900px) !important;
    justify-content: center;
    max-width: 1000px;
  }
  .product-detail-grid .product-card:hover { transform: none; }
  .product-detail-grid .product-card > h3 { font-size: clamp(18px, 3vw, 26px); padding-top: 20px; }
  .product-detail-grid .desc-list { max-height: none; overflow: visible; }
  .product-detail-grid .desc-list li { font-size: 15px; line-height: 1.8; }

  .product-detail-link {
    display: block;
    margin: 12px 14px 0;
    padding: 11px 14px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid rgba(41,121,255,0.38);
    background: rgba(41,121,255,0.12);
    color: var(--accent-2);
    text-decoration: none;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    letter-spacing: .4px;
    transition: background .2s, border-color .2s, transform .2s;
  }
  .product-detail-link:hover {
    background: rgba(41,121,255,0.22);
    border-color: var(--accent-2);
    transform: translateY(-1px);
  }

  /* ─── Carousel ─── */
  .carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
      radial-gradient(circle at center, rgba(41,121,255,0.08), transparent 65%),
      rgba(0,0,0,0.34);
  }

  /* A imagem sempre aparece completa na home.
     contain preserva a proporção original e impede cortes em artes verticais,
     horizontais ou quadradas cadastradas no painel. */
  .carousel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: none;
    transition: opacity 0.3s;
  }

  .carousel img.active { display: block; }

  .carousel .prev,
  .carousel .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
  }
  .carousel .prev:hover,
  .carousel .next:hover { background: rgba(41,121,255,0.8); }
  .carousel .prev { left: 10px; }
  .carousel .next { right: 10px; }

  /* ─── Price Card ─── */
  .price-card {
    display: flex;
    margin: 12px 14px 0;
    background: rgba(41,121,255,0.12);
    border: 1px solid rgba(41,121,255,0.25);
    border-radius: 12px;
    overflow: hidden;
  }

  .price-item {
    flex: 1 1 50%;
    padding: 10px 6px;
    text-align: center;
    min-width: 0;
    overflow: hidden;
  }

  .price-item:first-child {
    border-right: 1px solid rgba(41,121,255,0.2);
  }

  .price-item .label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--gray-300);
    margin-bottom: 5px;
    font-family: 'DM Sans', sans-serif;
  }

  .price-item .value {
    font-family: 'Roboto Mono', monospace;
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0;
    white-space: nowrap;
    display: block;
  }

  .price-item:first-child .value { color: var(--accent-2); }
  .price-item:last-child .value  { color: var(--green); }

  /* ─── Description ─── */
  .desc-box {
    padding: 14px 20px 0;
    flex: 1;
  }

  .desc-list {
    list-style: none;
    max-height: 90px;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .desc-list.expanded { max-height: 600px; }

  .desc-list li {
    font-size: 14px;
    color: #cfd8e3;
    line-height: 1.7;
    padding: 4px 0 4px 18px;
    position: relative;
    font-weight: 400;
  }

  .desc-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
  }

  .desc-list li.has-custom-icon { padding-left: 0; }
  .desc-list li.has-custom-icon::before { display: none; }

  .ver-mais-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0 0;
    transition: color 0.2s;
  }
  .ver-mais-btn:hover { color: var(--accent-2); }

  /* ─── Downloader card ─── */
  /* ===== BLOCO PREMIUM DOWNLOAD ===== */
.downloader-card {
  margin: 14px 10px;
  background: linear-gradient(135deg, rgba(0,230,118,0.12), rgba(0,229,255,0.08));
  border: 1px solid rgba(0,230,118,0.25);
  border-radius: 14px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* itens */
.downloader-item {
  flex: 1 1 0;
  min-width: 0;
  padding: 14px 10px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.downloader-item:last-child {
  border-right: none;
}

/* label */
.downloader-item .label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9be7c4;

  line-height: 1.2;
  white-space: normal;      /* permite quebrar */
  word-break: break-word;   /* força quebra */
}

/* valor texto */
.downloader-item .value {
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

/* BOTÕES */
.downloader-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  
  width: 100%;
  max-width: 140px;
  height: 36px; /* 🔥 TRAVA A ALTURA */

  margin: 0 auto;
  padding: 0; /* remove diferença interna */

  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.downloader-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.downloader-item .value {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* botão download */
.btn-download {
  background: linear-gradient(135deg, #2979ff, #00c6ff);
  color: #fff;
  box-shadow: 0 0 15px rgba(41,121,255,0.7);
  animation: pulseBlue 2.5s infinite;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(41,121,255,0.6);
}

/* PAINEL */
.btn-painel {
  background: linear-gradient(135deg, #00e676, #00c853);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-painel:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 25px rgba(0,230,118,0.9);
}

/* efeito pulsando leve */
@keyframes glowPulse {
  0% { box-shadow: 0 0 10px rgba(0,230,118,0.4); }
  50% { box-shadow: 0 0 20px rgba(0,230,118,0.8); }
  100% { box-shadow: 0 0 10px rgba(0,230,118,0.4); }
}

.btn-painel {
  animation: glowPulse 2.5s infinite;
}

.btn-contratar {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 0 15px rgba(37,211,102,0.38);
}
.btn-contratar:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 22px rgba(37,211,102,0.48);
}

/* Produtos aleatórios exibidos abaixo da página individual */
.related-products {
  position: relative;
  z-index: 5;
  max-width: 1000px;
  margin: 4px auto 46px;
  padding: 0 20px;
}
.related-products h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(19px, 2.8vw, 25px);
  margin-bottom: 15px;
  text-align: center;
}
.related-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: max-content;
  align-items: start;
  gap: 12px;
}
.related-product-card {
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: rgba(255,255,255,0.035);
  box-shadow: 0 5px 18px rgba(0,0,0,.18);
  transition: transform .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
  align-self: start;
  height: auto !important;
  min-height: 0 !important;
}
.related-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,229,255,.38);
}
/*
 * A caixa de mídia, e não a proporção original do arquivo, controla a altura.
 * Isso preserva width/height no HTML para CLS sem permitir que capas verticais
 * estiquem os cards relacionados.
 */
.related-product-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  background: rgba(0,0,0,.28);
  line-height: 0;
  flex: 0 0 auto;
}
.related-product-image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
.related-product-body {
  padding: 10px;
  flex: 0 0 auto;
}
.related-product-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  line-height: 1.35;
  min-height: 35px;
  margin-bottom: 9px;
}
.related-product-card h3 a {
  color: #fff;
  text-decoration: none;
}
.related-product-link {
  display: block;
  padding: 8px 9px;
  text-align: center;
  border-radius: 8px;
  background: rgba(41,121,255,.14);
  border: 1px solid rgba(41,121,255,.32);
  color: var(--accent-2);
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 800;
}

  /* ─── Footer ─── */
  .catalog-heading {
    position: relative;
    z-index: 5;
    max-width: 1180px;
    margin: 8px auto 18px;
    padding: 0 24px;
    text-align: center;
  }
  .catalog-heading h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    margin-bottom: 8px;
  }
  .catalog-heading p { color: var(--gray-300); line-height: 1.6; }

  .seo-content {
    position: relative;
    z-index: 5;
    max-width: 1000px;
    margin: 36px auto 8px;
    padding: 26px 24px;
    background: rgba(255,255,255,0.035);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
  }
  .seo-content h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    margin-bottom: 12px;
  }
  .seo-content p { color: var(--gray-300); line-height: 1.8; }

  footer {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 30px 24px;
    font-size: 13px;
    color: var(--gray-500);
    border-top: 1px solid var(--card-border);
  }

  /* ─── Floating WhatsApp ─── */
  .floating-wa {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
    transition: transform 0.25s, box-shadow 0.25s;
    z-index: 9999;
    text-decoration: none;
  }
  .floating-wa:hover { transform: scale(1.12); box-shadow: 0 8px 32px rgba(37,211,102,0.65); }
  .floating-wa svg { width: 30px; height: 30px; fill: #fff; }

  /* ─── Responsive ─── */

  @media (max-width: 600px) {
    .product-breadcrumbs {
      justify-content: center;
      gap: 8px;
      padding-left: 16px;
      padding-right: 16px;
      font-size: 14px;
      text-align: center;
    }
    .product-breadcrumbs > a {
      min-height: 40px;
      padding: 9px 15px;
      font-size: 14px;
    }
    .product-breadcrumbs > span:last-child {
      font-size: 16px;
      flex: 0 1 auto;
      max-width: min(72vw, 340px);
    }
  }

  @media (max-width: 600px) {
    .search-icon { left: 50%; transform: translate(-210px, -50%); }
    .products-grid { grid-template-columns: 1fr; padding: 0 14px 50px; }
    .downloader-card { flex-wrap: wrap; }
    .downloader-item { flex: 1 1 50%; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .related-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (min-width: 1100px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
  }

  /* ─── Animations ─── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  header { animation: fadeUp 0.6s ease both; }
  .product-card { animation: fadeUp 0.5s ease both; }
  
  /* ─── Banner Parceria ─── */
.banner-parceria {
  width: 100%;
  max-width: var(--banner-parceria-max, 1100px);
  margin: 10px auto 25px;
  padding: 0 20px;
  z-index: 5;
}

.banner-parceria a {
  display: block;
}

.banner-parceria img {
  width: 100%;
  height: auto;
  border-radius: var(--banner-parceria-radius, 16px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 🔥 MELHORIA MOBILE */
@media (max-width: 600px) {
  .banner-parceria {
    padding: 0 10px; /* menos espaço lateral */
    margin: 5px auto 20px;
  }

  .banner-parceria img {
    border-radius: var(--banner-parceria-radius, 12px);
  }
}

.banner-parceria img:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}

  /* Font Awesome 7.3.1 + ícones inseridos pelo painel */
  .dg-text-icon { display:inline-block; width:1.15em; margin-right:.34em; color:var(--accent-2); text-align:center; }
  .ui-fa { margin-right:.45em; }
  .search-icon i { font-size:18px; color:var(--accent-2); }
  .product-detail-link i, .related-product-link i { margin-left:.45em; }
  .btn-download i, .btn-painel i, .btn-contratar i { margin-right:.42em; }


/* PageSpeed / Core Web Vitals: renderização eficiente sem alterar o layout */
.product-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 620px;
}

/* Mantém o efeito de pulso usando apenas opacity (compositor), evitando animar box-shadow. */
.trial-badge,
.btn-download,
.btn-painel { position: relative; animation: none !important; }
.trial-badge::after,
.btn-download::after,
.btn-painel::after {
  content: '';
  position: absolute;
  pointer-events: none;
  inset: -2px;
  border-radius: inherit;
  opacity: .25;
  animation: dg-composited-glow 2.5s ease-in-out infinite;
}
.trial-badge::after { box-shadow: 0 0 18px rgba(0,230,118,.30); }
.btn-download::after { box-shadow: 0 0 25px rgba(41,121,255,.75); }
.btn-painel::after { box-shadow: 0 0 22px rgba(0,230,118,.72); }
@keyframes dg-composited-glow {
  0%, 100% { opacity: .20; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* ==========================================================
   Assistente de Vendas APK Premium
   ========================================================== */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.sales-assistant{position:fixed;right:22px;bottom:22px;z-index:10000;font-family:'DM Sans',sans-serif}
.sales-assistant-launcher{position:relative;width:60px;height:60px;border:0;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#25D366,#128C7E);color:#fff;box-shadow:0 8px 28px rgba(37,211,102,.42);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
.sales-assistant-launcher:hover{transform:scale(1.06);box-shadow:0 10px 34px rgba(37,211,102,.55)}
.sales-assistant-launcher i{font-size:31px}
.sales-assistant-notification{position:absolute;right:-1px;top:-2px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#ff3d5a;color:#fff;border:2px solid #071327;font:800 11px/16px 'DM Sans',sans-serif;display:grid;place-items:center}
.sales-assistant-prompt{position:absolute;right:72px;bottom:6px;width:min(310px,calc(100vw - 105px));padding:12px 34px 12px 14px;border:1px solid rgba(255,255,255,.13);border-radius:14px 14px 4px 14px;background:#fff;color:#142033;box-shadow:0 12px 36px rgba(0,0,0,.32);animation:salesPromptIn .28s ease both}
.sales-assistant-prompt-text{border:0;background:transparent;color:inherit;text-align:left;font:700 13px/1.45 'DM Sans',sans-serif;cursor:pointer;width:100%;padding:0}
.sales-assistant-prompt-close{position:absolute;right:7px;top:5px;border:0;background:transparent;color:#6c788a;font-size:20px;cursor:pointer;line-height:1;padding:3px}
@keyframes salesPromptIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
.sales-assistant-panel{position:absolute;right:0;bottom:72px;width:min(380px,calc(100vw - 28px));max-height:min(650px,calc(100vh - 115px));background:#071327;border:1px solid rgba(255,255,255,.12);border-radius:18px;overflow:hidden;box-shadow:0 22px 70px rgba(0,0,0,.58);animation:salesPanelIn .22s ease both}
@keyframes salesPanelIn{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
.sales-assistant-header{display:flex;align-items:center;gap:11px;padding:14px 14px;background:linear-gradient(135deg,#075e54,#128c7e);color:#fff}
.sales-assistant-avatar{width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#128c7e;font-size:18px;box-shadow:0 3px 12px rgba(0,0,0,.18)}
.sales-assistant-headtext{min-width:0;flex:1}.sales-assistant-headtext strong{display:block;font-family:'Syne',sans-serif;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sales-assistant-headtext span{display:flex;align-items:center;gap:6px;font-size:11px;color:#d9fff2;margin-top:2px}
.sales-assistant-online-dot{width:7px;height:7px;border-radius:50%;background:#5dffa6;box-shadow:0 0 0 3px rgba(93,255,166,.16)}
.sales-assistant-close{width:34px;height:34px;border:0;border-radius:9px;background:rgba(0,0,0,.16);color:#fff;cursor:pointer;font-size:16px}
.sales-assistant-messages{padding:14px 13px 9px;max-height:280px;overflow:auto;scrollbar-width:thin;scrollbar-color:#274361 transparent;background:radial-gradient(circle at 100% 0,rgba(37,211,102,.055),transparent 45%)}
.sales-message{display:flex;margin:0 0 9px}.sales-message span{max-width:88%;padding:10px 11px;border-radius:12px;font-size:12.5px;line-height:1.5;white-space:pre-line;word-break:break-word}.sales-message.assistant{justify-content:flex-start}.sales-message.assistant span{background:#11243d;color:#eef7ff;border-radius:12px 12px 12px 4px;border:1px solid rgba(255,255,255,.055)}.sales-message.user{justify-content:flex-end}.sales-message.user span{background:#0b6b5f;color:#fff;border-radius:12px 12px 4px 12px}
.sales-context{margin:3px 0 9px;padding:8px 10px;border-radius:10px;background:rgba(41,121,255,.09);border:1px solid rgba(41,121,255,.18);color:#b8cce3;font-size:11px}.sales-context strong{color:#fff}
.sales-inline-options{display:flex;gap:6px;flex-wrap:wrap;margin:2px 0 10px}.sales-inline-options button{border:1px solid rgba(0,229,255,.26);background:rgba(0,229,255,.07);color:#a9f5ff;border-radius:999px;padding:7px 9px;font:700 10.5px 'DM Sans',sans-serif;cursor:pointer}
.sales-assistant-quick{display:flex;gap:6px;flex-wrap:wrap;padding:7px 12px 11px;max-height:122px;overflow:auto;border-top:1px solid rgba(255,255,255,.05)}
.sales-quick-btn{border:1px solid rgba(41,121,255,.28);background:rgba(41,121,255,.09);color:#bfe8ff;border-radius:999px;padding:7px 9px;font:700 10.5px/1.25 'DM Sans',sans-serif;cursor:pointer;transition:.18s}.sales-quick-btn:hover{border-color:#00e5ff;background:rgba(0,229,255,.1);color:#fff}.sales-plan-btn{border-color:rgba(0,230,118,.3);background:rgba(0,230,118,.08);color:#aef7cd}
.sales-assistant-input{display:flex;gap:7px;padding:10px 11px;border-top:1px solid rgba(255,255,255,.07);background:#08182e}.sales-assistant-input input{flex:1;min-width:0;border:1px solid rgba(255,255,255,.1);background:#0c1e36;color:#fff;border-radius:10px;padding:10px 11px;outline:none;font:12px 'DM Sans',sans-serif}.sales-assistant-input input:focus{border-color:#2979ff}.sales-assistant-input button{width:39px;border:0;border-radius:10px;background:#2979ff;color:#fff;cursor:pointer}
.sales-assistant-whatsapp{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 11px 9px;padding:11px 12px;border-radius:10px;background:linear-gradient(135deg,#25D366,#128C7E);color:#fff;text-decoration:none;font:800 12px 'DM Sans',sans-serif;box-shadow:0 4px 18px rgba(37,211,102,.18)}.sales-assistant-whatsapp:hover{filter:brightness(1.06)}.sales-assistant-whatsapp i{font-size:17px}
.sales-assistant-powered{text-align:center;color:#60768d;font-size:9.5px;padding:0 10px 9px}
@media(max-width:600px){.sales-assistant{right:14px;bottom:14px}.sales-assistant-launcher{width:56px;height:56px}.sales-assistant-panel{right:0;bottom:66px;width:min(365px,calc(100vw - 28px));max-height:calc(100vh - 95px)}.sales-assistant-prompt{right:66px;width:min(285px,calc(100vw - 98px))}.sales-assistant-messages{max-height:250px}.sales-assistant-quick{max-height:108px}}
@media(prefers-reduced-motion:reduce){.sales-assistant-panel,.sales-assistant-prompt{animation:none!important}.sales-assistant-launcher{transition:none!important}}


/* Botão opcional para a página de planos IPTV */
.btn-iptv-plans{
  background:linear-gradient(135deg,#2979ff,#00b8d4);
  color:#fff;
  box-shadow:0 4px 20px rgba(41,121,255,.34);
  border:1px solid rgba(255,255,255,.08);
}
.btn-iptv-plans:hover{transform:translateY(-3px);box-shadow:0 8px 30px rgba(0,229,255,.32)}

/* ==========================================================
   RESPONSIVIDADE GLOBAL APK PREMIUM — MOBILE / TABLET
   Correção definitiva de overflow horizontal e safe areas
   ========================================================== */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe,
canvas,
svg {
  max-width: 100%;
}

button,
input,
select,
textarea,
a {
  min-width: 0;
}

.logo-wrap {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.logo-wrap img {
  width: auto;
  max-width: min(100%, 280px);
  height: auto;
}

.hero-text,
.nav-buttons,
.trial-badge,
.category-banner,
.breadcrumbs,
.catalog-heading,
.seo-content,
.banner-parceria,
.products-grid,
.related-products {
  min-width: 0;
}

.hero-text,
.trial-badge {
  max-width: 100%;
}
.trial-badge {
  white-space: normal;
  text-align: center;
  justify-content: center;
}
.trial-badge span,
.hero-text p,
.product-card,
.product-card h3,
.desc-list li,
.related-product-card,
.related-product-card h3,
.seo-content,
footer {
  overflow-wrap: anywhere;
  word-break: normal;
}

.btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  justify-content: center;
}

/* O detalhe nunca pode manter uma faixa fixa de 900px em telas menores. */
.products-grid.product-detail-grid {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: stretch;
}
.product-detail-grid .product-card,
.product-card,
.carousel,
.price-card,
.desc-box,
.downloader-card,
.related-products-grid,
.related-product-card,
.related-product-body {
  min-width: 0;
  max-width: 100%;
}

/* Botão flutuante / assistente respeita notch, barra do navegador e safe area. */
.floating-wa {
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
.sales-assistant {
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: calc(100vw - 24px);
}
.sales-assistant-launcher {
  flex: 0 0 auto;
}

/* Tablets e telas intermediárias */
@media (max-width: 900px) {
  header {
    padding: 28px 20px 24px;
    gap: 22px;
  }
  .products-grid {
    padding-left: 18px;
    padding-right: 18px;
    gap: 18px;
  }
  .products-grid.product-detail-grid {
    max-width: 820px;
  }
  .related-products {
    padding-left: 18px;
    padding-right: 18px;
  }
  .seo-content {
    margin-left: 18px;
    margin-right: 18px;
  }
}

/* Celulares e tablets pequenos */
@media (max-width: 600px) {
  header {
    padding: 22px 14px 20px;
    gap: 18px;
  }
  .logo-wrap img {
    max-width: min(100%, 220px);
    max-height: 120px;
  }
  .hero-text h1 {
    font-size: clamp(21px, 7vw, 29px);
    line-height: 1.15;
  }
  .hero-text p {
    font-size: 14px;
    line-height: 1.65;
  }
  .trial-badge {
    width: auto;
    padding: 9px 14px;
    margin-left: auto;
    margin-right: auto;
  }
  .trial-badge span {
    font-size: 12px;
    line-height: 1.4;
  }
  .nav-buttons {
    width: 100%;
    max-width: 100%;
    gap: 9px;
  }
  .nav-buttons .btn {
    flex: 1 1 calc(50% - 9px);
    padding: 11px 14px;
    font-size: 12px;
  }

  .search-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }
  .search-wrap input {
    max-width: 100%;
  }
  /* Antes o translate(-210px) podia colocar o ícone fora da viewport. */
  .search-icon {
    left: 30px !important;
    transform: translateY(-50%) !important;
  }

  .products-grid,
  .products-grid.product-detail-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) !important;
    padding-left: 12px;
    padding-right: 12px;
    gap: 14px;
  }
  .product-detail-grid .product-card > h3 {
    font-size: clamp(17px, 5.4vw, 22px);
    padding-left: 13px;
    padding-right: 13px;
  }
  .carousel {
    width: 100%;
  }
  .price-card {
    margin-left: 10px;
    margin-right: 10px;
  }
  .desc-box {
    padding-left: 14px;
    padding-right: 14px;
  }
  .downloader-card {
    margin-left: 9px;
    margin-right: 9px;
  }
  .downloader-item {
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
  }
  .downloader-item a {
    max-width: 100%;
    padding-left: 8px;
    padding-right: 8px;
    white-space: normal;
    text-align: center;
  }

  .product-breadcrumbs {
    width: 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .product-breadcrumbs > span:last-child {
    max-width: calc(100vw - 130px);
    overflow-wrap: anywhere;
  }

  .related-products {
    width: 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .related-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .related-product-body {
    padding: 8px;
  }
  .related-product-card h3 {
    font-size: 11px;
    min-height: 31px;
  }
  .related-product-link {
    padding: 7px 6px;
    font-size: 10px;
  }

  .seo-content {
    margin: 26px 12px 8px;
    padding: 20px 15px;
  }
  footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .floating-wa {
    width: 54px;
    height: 54px;
    right: calc(12px + env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  /* Em mobile o painel usa a viewport diretamente; não pode sair pela direita. */
  .sales-assistant {
    right: calc(12px + env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    max-width: none;
  }
  .sales-assistant-launcher {
    width: 54px;
    height: 54px;
  }
  .sales-assistant-launcher i {
    font-size: 28px;
  }
  .sales-assistant-panel {
    position: fixed;
    left: calc(10px + env(safe-area-inset-left, 0px));
    right: calc(10px + env(safe-area-inset-right, 0px));
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 96px - env(safe-area-inset-bottom, 0px));
    border-radius: 16px;
  }
  .sales-assistant-prompt {
    position: fixed;
    left: calc(12px + env(safe-area-inset-left, 0px));
    right: calc(76px + env(safe-area-inset-right, 0px));
    bottom: calc(17px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: none;
  }
  .sales-assistant-messages {
    max-height: min(34dvh, 250px);
  }
  .sales-assistant-quick {
    max-height: min(21dvh, 112px);
  }
  .sales-assistant-headtext strong {
    font-size: 13px;
  }
}

/* Celulares estreitos */
@media (max-width: 430px) {
  .nav-buttons .btn {
    flex-basis: 100%;
    width: 100%;
  }
  .downloader-item {
    flex: 1 1 100%;
    border-right: 0;
  }
  .product-breadcrumbs {
    gap: 6px;
  }
  .product-breadcrumbs > a {
    padding: 8px 12px;
    min-height: 38px;
    font-size: 13px;
  }
  .product-breadcrumbs > span:last-child {
    max-width: calc(100vw - 112px);
    font-size: 14px;
  }
  .sales-assistant-header {
    padding: 11px;
    gap: 8px;
  }
  .sales-assistant-avatar {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .sales-assistant-messages {
    padding-left: 10px;
    padding-right: 10px;
  }
  .sales-message span {
    max-width: 94%;
  }
}

@media (max-width: 340px) {
  .related-products-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ─── Parceria / Parceiro tecnológico ─── */
.technology-partner{
  position:relative;z-index:5;max-width:1000px;margin:22px auto 42px;padding:0 24px;
}
.technology-partner-card{
  display:flex;align-items:center;gap:22px;padding:22px 24px;border-radius:18px;
  border:1px solid rgba(0,229,255,.19);background:linear-gradient(135deg,rgba(41,121,255,.09),rgba(0,229,255,.035));
  box-shadow:0 12px 36px rgba(0,0,0,.24);overflow:hidden;
}
.technology-partner-logo{
  width:110px;height:110px;min-width:110px;display:grid;place-items:center;overflow:hidden;border-radius:18px;
  border:1px solid rgba(255,255,255,.10);background:rgba(3,10,25,.58);
}
.technology-partner-logo img{display:block;width:100%!important;height:100%!important;max-width:100%;object-fit:contain;padding:10px;}
.technology-partner-logo i{font-size:38px;color:var(--accent-2);filter:drop-shadow(0 0 12px rgba(0,229,255,.28));}
.technology-partner-content{min-width:0;flex:1;}
.technology-partner-eyebrow{display:block;margin-bottom:5px;color:var(--accent-2);font-size:11px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;}
.technology-partner h2{font-family:'Syne',sans-serif;font-size:clamp(19px,2.7vw,25px);line-height:1.2;margin:0 0 8px;color:#fff;overflow-wrap:anywhere;}
.technology-partner p{margin:0;color:var(--gray-300);font-size:14px;line-height:1.7;overflow-wrap:anywhere;}
.technology-partner-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;padding:10px 15px;border-radius:10px;border:1px solid rgba(0,229,255,.3);background:rgba(41,121,255,.14);color:var(--accent-2);font-family:'Syne',sans-serif;font-size:12px;font-weight:800;text-decoration:none;max-width:100%;}
.technology-partner-link:hover{background:rgba(41,121,255,.23);border-color:rgba(0,229,255,.55);transform:translateY(-1px);}
@media(max-width:700px){
  .technology-partner{padding:0 14px;margin:18px auto 34px;}
  .technology-partner-card{align-items:flex-start;gap:15px;padding:18px 16px;}
  .technology-partner-logo{width:78px;height:78px;min-width:78px;border-radius:14px;}
}
@media(max-width:480px){
  .technology-partner-card{flex-direction:column;}
  .technology-partner-logo{width:86px;height:86px;min-width:86px;}
  .technology-partner-link{width:100%;}
}

/* ===== Catálogo paginado: 20 produtos por página ===== */
.catalog-search{
  align-items:center;
  gap:10px;
  max-width:650px;
  margin:0 auto;
}
.catalog-search .search-icon{
  left:38px;
}
.catalog-search input[type="search"]{
  max-width:none;
  flex:1 1 auto;
  min-width:0;
  padding-right:18px;
}
.catalog-search-btn,
.catalog-search-clear{
  min-height:48px;
  border-radius:14px;
  border:1px solid rgba(41,121,255,.36);
  color:#fff;
  text-decoration:none;
  font-family:'Syne',sans-serif;
  font-weight:800;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
}
.catalog-search-btn{
  padding:0 18px;
  background:linear-gradient(135deg,var(--accent),#1565c0);
  box-shadow:0 6px 18px rgba(41,121,255,.24);
}
.catalog-search-clear{
  width:48px;
  flex:0 0 48px;
  background:rgba(255,255,255,.06);
}
.catalog-pagination{
  position:relative;
  z-index:5;
  max-width:1200px;
  margin:-28px auto 50px;
  padding:0 24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:13px;
}
.catalog-pagination-summary{
  color:var(--gray-300);
  font-size:13px;
  text-align:center;
}
.catalog-pagination-summary strong{color:#fff}
.catalog-pagination-summary span{margin:0 5px;color:var(--accent-2)}
.catalog-pagination-links{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:7px;
}
.pagination-btn,
.pagination-number{
  min-width:42px;
  min-height:42px;
  padding:0 12px;
  border-radius:11px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.045);
  color:#dce8ff;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-family:'DM Sans',sans-serif;
  font-size:13px;
  font-weight:700;
  transition:.2s ease;
}
.pagination-btn:hover,
.pagination-number:hover{
  color:#fff;
  border-color:rgba(0,229,255,.42);
  background:rgba(41,121,255,.16);
  transform:translateY(-1px);
}
.pagination-number.is-current{
  color:#fff;
  border-color:rgba(0,229,255,.60);
  background:linear-gradient(135deg,rgba(41,121,255,.72),rgba(0,229,255,.28));
  box-shadow:0 6px 20px rgba(41,121,255,.22);
}
.pagination-ellipsis{color:var(--gray-500);padding:0 2px}

@media (max-width:600px){
  .catalog-search{
    width:100%;
    padding-left:14px;
    padding-right:14px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 48px;
    gap:8px;
  }
  .catalog-search .search-icon{left:31px}
  .catalog-search input[type="search"]{grid-column:1 / -1;width:100%;padding-left:45px}
  .catalog-search-btn{grid-column:1;padding:0 14px}
  .catalog-search-clear{grid-column:2}
  .catalog-search:not(:has(.catalog-search-clear)) .catalog-search-btn{grid-column:1 / -1}
  .catalog-pagination{margin-top:-24px;padding:0 12px 38px}
  .catalog-pagination-links{gap:5px;width:100%}
  .pagination-number{min-width:38px;min-height:40px;padding:0 10px}
  .pagination-btn{min-height:40px;padding:0 11px}
}
@media (max-width:380px){
  .pagination-btn span{display:none}
  .pagination-btn{min-width:40px;width:40px;padding:0}
}
