* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', Arial, sans-serif;
}

body {
  background: #05070a;
  color: #ffffff;
}

/* CAPA */

.authority-cover {
  height: 260px;
  width: 100%;
  background-image: url("capa-vizaclick.png");
  background-size: cover;
  background-position: center;
  position: relative;
}

.authority-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), #05070a);
}

/* CONTEÚDO */

.authority-content {
  max-width: 950px;
  margin: -70px auto 0;
  padding: 0 18px 100px;
  text-align: center;
  position: relative;
}

/* AVATAR - CORRIGIDO */

.authority-avatar {
  width: 130px;
  height: 130px;              /* força proporção perfeita */
  border-radius: 50%;
  object-fit: cover;          /* mantém a imagem original sem distorcer */
  display: block;
  margin: 0 auto 15px;        /* pequeno respiro abaixo */
}

/* TEXTOS */

.subtitle {
  margin-top: 8px;
  font-weight: 400;
  color: #bfc2cc;
}

.authority-description {
  max-width: 550px;
  margin: 18px auto 45px;
  color: #a9acb5;
  line-height: 1.6;
}

/* ÍCONES */

.authority-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.action-icon {
  width: 42px;
  height: 42px;
  background: #141a26;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: 0.3s ease;
  text-decoration: none;
}

.action-icon:hover {
  background: #1b63d9;
}

/* TÍTULOS */

.section-title {
  margin-bottom: 45px;
}

/* CARDS */

.authority-cards,
.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 90px;
}

.authority-card,
.plan-card {
  background: #0c0f14;
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.04);
  transition: 0.3s ease;
}

.authority-card:hover,
.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(27,99,217,0.4);
}

.plan-card ul {
  list-style: none;
  margin: 20px 0 25px;
  color: #a9acb5;
  line-height: 1.8;
  font-size: 14px;
}

.plan-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: #1b63d9;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
  transition: 0.3s ease;
}

.plan-link:hover {
  color: whitesmoke;
  border-color: whitesmoke;
}

/* BOTÕES */

.plan-button,
.cta-button.whatsapp {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  background: linear-gradient(90deg, #1b63d9, #1552b8);
  color: white;
  transition: 0.3s ease;
}

.plan-button:hover,
.cta-button.whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(27,99,217,0.5);
}

.pix-button {
  padding: 11px 26px;
  border-radius: 25px;
  background: #0c0f14;
  border: 1px solid rgba(255,255,255,0.06);
  color: white;
  text-decoration: none;
}

/* CTA - ESPAÇAMENTO CORRIGIDO */

.authority-cta h2 {
  margin-bottom: 35px;   /* antes estava muito colado */
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ANIMAÇÃO */

.reveal-item,
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.6s ease;
}

.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVO */

@media (min-width: 768px) {
  .authority-cards,
  .plans {
    grid-template-columns: repeat(3, 1fr);
  }
}
