/*
 * Página do Acronis Cyber Protect. Reaproveita da página do GLPI a navegação presa
 * (.glpi-nav), os selos do hero, as abas (.areas), a moldura (.tela) e o FAQ; aqui
 * fica só o que é desta página.
 */

/* --- Logotipo (vetor embutido, cor do tema) --- */
.acr-logo { display: inline-block; width: 9rem; color: var(--heading-color); margin-bottom: 1rem; }
.acr-logo svg { display: block; width: 100%; height: auto; }

/* --- Um agente, um console --- */
.acr-console {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}
.acr-console__texto h2 { margin: 0 0 1rem; }
.acr-ganhos { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .75rem; }
.acr-ganhos li {
  position: relative;
  padding-left: 1.75rem;
  line-height: 1.5;
}
.acr-ganhos li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 0 4px var(--comparativo-sim-suave);
}
.acr-ganhos strong { color: var(--heading-color); }

.acr-composicao { position: relative; padding: 0 0 3.5rem; }
.acr-composicao__principal { width: 92%; }
.acr-composicao__flutua {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  margin: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}
.acr-composicao__flutua img { display: block; width: 100%; height: auto; }
.acr-composicao:hover .acr-composicao__flutua { transform: translateY(-6px); }

/* --- Frentes em abas: texto + tela --- */
.acr-frente { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.acr-frente__itens { grid-template-columns: 1fr; }
.acr-frente__tela {
  margin: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-raised);
  box-shadow: var(--shadow-md);
}
.acr-frente__tela img { display: block; width: 100%; height: auto; }
.acr-frente__tela--retrato { justify-self: center; max-width: 22rem; }
.acr-frente__tela--arte { border: 0; box-shadow: none; background: transparent; justify-self: center; max-width: 24rem; }
.acr-frente__tela--arte img { border-radius: var(--radius-lg); }

.acr-nota { margin: .75rem 0 0; text-align: right; font-size: .78rem; color: var(--muted-color); }
.acr-nota--centro { text-align: center; margin-top: 2rem; }

/* --- NIST CSF 2.0: seis funções em sequência --- */
.acr-nist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: nist;
}
.acr-nist__item {
  position: relative;
  padding: 1.25rem 1.1rem 1.4rem;
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--accent-color);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.acr-nist__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.acr-nist__num {
  display: block;
  margin-bottom: .4rem;
  font-family: var(--heading-font);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--link-color);
}
.acr-nist__item h3 { margin: 0 0 .5rem; font-size: 1.02rem; }
.acr-nist__item p { margin: 0; font-size: .88rem; line-height: 1.5; }
/* Uma seta discreta liga uma função à próxima */
.acr-nist__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -.85rem;
  width: .6rem;
  height: .6rem;
  border-top: 2px solid var(--fluxo-linha);
  border-right: 2px solid var(--fluxo-linha);
  transform: translateY(-50%) rotate(45deg);
}

/* --- Modelos de entrega --- */
.acr-modelos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.acr-modelo {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.acr-modelo__arte { margin: 1.25rem 1.25rem 0; box-shadow: var(--shadow-md); }
.acr-modelo__arte--foto {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1080 / 690;
}
.acr-modelo__arte--foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.acr-modelo__corpo { padding: 1.5rem 1.5rem 1.75rem; }
.acr-modelo__corpo h3 { margin: .6rem 0 .5rem; font-size: 1.3rem; }
.acr-modelo__corpo p { margin: 0 0 1rem; }
.acr-modelo .card-tag {
  display: inline-block;
  padding: .25rem .7rem;
  border-radius: var(--radius-pill);
  background: var(--comparativo-sim-suave);
  color: var(--link-color);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.acr-modelo__itens { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.acr-modelo__itens li { position: relative; padding-left: 1.4rem; font-size: .93rem; }
.acr-modelo__itens li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: .3rem;
  width: .35rem;
  height: .65rem;
  border: solid var(--accent-color);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.acr-pacotes {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid var(--fluxo-borda);
  border-radius: var(--radius-lg);
  background: var(--fluxo-painel);
}
.acr-pacotes__texto h3 { margin: 0 0 .5rem; font-size: 1.25rem; }
.acr-pacotes__texto p { margin: 0; }

/* --- Plataformas --- */
.acr-plataformas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem; }
.acr-plataformas__grupo h3 {
  margin: 0 0 .75rem;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--link-color);
}

/* --- Reconhecimento --- */
.acr-reconhecimento {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.acr-reconhecimento li {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-color);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}
.acr-reconhecimento strong { font-family: var(--heading-font); color: var(--heading-color); }
.acr-reconhecimento span { font-size: .9rem; color: var(--muted-color); }

@media (prefers-reduced-motion: reduce) {
  .acr-composicao__flutua, .acr-nist__item { transition: none; }
  .acr-composicao:hover .acr-composicao__flutua, .acr-nist__item:hover { transform: none; }
}

@media (max-width: 1099.98px) {
  .acr-nist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .acr-nist__item:nth-child(3)::after { display: none; }
}
@media (max-width: 899.98px) {
  .acr-console, .acr-frente, .acr-modelos, .acr-pacotes, .acr-plataformas { grid-template-columns: 1fr; }
  .acr-console { gap: 2rem; }
  .acr-reconhecimento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599.98px) {
  .acr-nist { grid-template-columns: 1fr; }
  .acr-nist__item::after { display: none; }
  .acr-reconhecimento { grid-template-columns: 1fr; }
  .acr-composicao { padding-bottom: 2.5rem; }
  .acr-composicao__flutua { width: 40%; }
  .acr-pacotes { padding: 1.5rem; }
}
