/* ==========================================================================
   Página Suporte — hub de suporte técnico
   Positivo Tecnologia
   ========================================================================== */

.sup-page {
  --sup-ink: #2f2e2e;
  --sup-gray: #6f6e6e;
  --sup-soft: #8c8b8b;
  --sup-line: #e4e4e6;
  --sup-bg: #f6f6f8;
  --sup-accent: #59d9c0;        /* cor de destaque — elementos gráficos */
  --sup-accent-deep: #197663;   /* mesmo matiz, escurecido — textos sobre fundo claro */
  --sup-accent-hover: #43ccb1;  /* hover do botão */
  --sup-accent-soft: #e6f8f4;   /* fundo das tags */
  --sup-on-accent: #0f3b32;     /* texto sobre a cor de destaque */

  width: 100%;
  float: left;
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.sup-page *,
.sup-page *:before,
.sup-page *:after { box-sizing: border-box; }


/* ---------- Hero ---------- */
.sup-hero {
  width: 100%;
  float: left;
  margin-top: 40px;
  padding: 78px 0 74px;
  position: relative;
  overflow: hidden;
  background: #3a3939;
  background: linear-gradient(120deg, #4a4949 0%, #333232 55%, #262525 100%);
}

/* malha diagonal sutil */
.sup-hero:before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: repeating-linear-gradient(115deg,
      rgba(255,255,255,.05) 0px,
      rgba(255,255,255,.05) 1px,
      transparent 1px,
      transparent 13px);
  pointer-events: none;
}

/* brilho azul da marca */
.sup-hero:after {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  top: -300px; right: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(89,217,192,.30) 0%, rgba(89,217,192,0) 68%);
  pointer-events: none;
}

.sup-hero .sup-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.sup-hero .sup-eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 40px;
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
}

.sup-hero h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

.sup-hero p {
  margin: 20px auto 0;
  max-width: 600px;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  color: rgba(255,255,255,.82);
}


/* ---------- Bloco dos canais ---------- */
.sup-canais {
  width: 100%;
  float: left;
  padding: 70px 0 80px;
  background-color: var(--sup-bg);
}

.sup-head {
  max-width: 720px;
  margin: 0 auto 46px;
  padding: 0 20px;
  text-align: center;
}

.sup-head h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--sup-ink);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.sup-head h3 span { color: var(--sup-accent-deep); }

.sup-head .sup-rule {
  display: block;
  width: 54px; height: 3px;
  margin: 18px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--sup-accent-deep), var(--sup-accent));
}

.sup-head p {
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--sup-gray);
}


/* ---------- Grid de cards ---------- */
.sup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.sup-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 28px;
  background-color: #fff;
  border: 1px solid var(--sup-line);
  border-radius: 14px;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(20,20,25,.04);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

/* faixa superior que cresce no hover */
.sup-card:before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sup-accent-deep), var(--sup-accent));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s ease;
}

.sup-card:hover,
.sup-card:focus {
  transform: translateY(-6px);
  border-color: #bfe8df;
  box-shadow: 0 16px 34px rgba(18,58,50,.14);
  text-decoration: none;
}

.sup-card:hover:before,
.sup-card:focus:before { transform: scaleX(1); }

.sup-card:focus-visible {
  outline: 2px solid var(--sup-accent-deep);
  outline-offset: 3px;
}

/* logo da marca — os PNGs do tema são cinza-claro (feitos p/ fundo escuro),
   o filtro converte para cinza-escuro legível sobre o card branco */
.sup-card .sup-logo {
  height: 34px;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}

.sup-card .sup-logo img {
  max-height: 100%;
  max-width: 150px;
  width: auto;
  filter: brightness(0) invert(.30);
  transition: filter .28s ease;
}

.sup-card:hover .sup-logo img { filter: brightness(0) invert(.13); }

.sup-card .sup-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 11px;
  border-radius: 30px;
  background-color: var(--sup-accent-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--sup-accent-deep);
}

.sup-card h4 {
  margin: 0 0 10px;
  min-height: 45.9px; /* 2 linhas: 17px * 1.35 * 2 — alinha as descrições entre cards */
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: var(--sup-ink);
}

.sup-card p {
  margin: 0 0 26px;
  font-size: 13.5px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--sup-gray);
}

.sup-card .sup-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sup-accent-deep);
}

.sup-card .sup-cta svg {
  width: 15px; height: 15px;
  transition: transform .28s ease;
}

.sup-card:hover .sup-cta svg { transform: translateX(5px); }


/* ---------- Faixa de apoio ---------- */
.sup-ajuda {
  width: 100%;
  float: left;
  padding: 0 0 80px;
  background-color: var(--sup-bg);
}

.sup-ajuda-box {
  max-width: 1140px;
  margin: 0 auto;
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background-color: #fff;
  border: 1px solid var(--sup-line);
  border-radius: 14px;
}

.sup-ajuda-box .sup-txt h5 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--sup-ink);
}

.sup-ajuda-box .sup-txt p {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--sup-gray);
}

.sup-btn {
  flex-shrink: 0;
  display: inline-block;
  padding: 13px 30px;
  border-radius: 40px;
  background-color: var(--sup-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--sup-on-accent);
  text-decoration: none;
  transition: background-color .25s ease, transform .25s ease;
}

.sup-btn:hover,
.sup-btn:focus,
.sup-btn:visited {
  color: var(--sup-on-accent);
  text-decoration: none;
}

.sup-btn:hover {
  background-color: var(--sup-accent-hover);
  transform: translateY(-2px);
}


/* ---------- Responsivo ---------- */
@media screen and (max-width: 1024px) {
  .sup-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .sup-hero h2 { font-size: 38px; }
}

@media screen and (max-width: 767px) {
  .sup-hero { margin-top: 20px; padding: 54px 0 50px; }
  .sup-hero h2 { font-size: 27px; }
  .sup-hero p { font-size: 14.5px; }
  .sup-hero:after { width: 380px; height: 380px; top: -210px; right: -140px; }

  .sup-canais { padding: 48px 0 56px; }
  .sup-head { margin-bottom: 34px; }
  .sup-head h3 { font-size: 22px; }

  .sup-grid { grid-template-columns: 1fr; gap: 16px; }
  .sup-card { padding: 28px 24px 24px; }
  .sup-card h4 { min-height: 0; }

  .sup-ajuda { padding: 0 0 56px; }
  .sup-ajuda-box {
    margin: 0 20px;
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .sup-btn { width: 100%; text-align: center; }
}
