/* =========================
   EQUIPE (CSS COMPLETO ATUALIZADO)
   ✅ CTA: força padrão dourado + brilho mesmo usando .btn/.btn-secondary/.btn-lg
   ========================= */

.equipe-section {
  position: relative;
  padding: clamp(104px, 8vw, 152px) 0;
}

/* ✅ Linha dourada CONTÍNUA, FULL WIDTH */
.equipe-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-secondary);
  opacity: 0.9;
  pointer-events: none;
}

.equipe-container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

/* =========================
   HEADER
   ========================= */

.equipe-header {
  text-align: center;
  max-width: 74ch;
  margin: 0 auto clamp(28px, 3vw, 42px) auto;
}

.equipe-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-on-surface);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 12px;
}

/* =========================
   GRID
   ========================= */

.equipe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* =========================
   CARD
   ========================= */

.equipe-card {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.equipe-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 215, 0, 0.18);
}

.equipe-photo {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.equipe-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.35s ease;
}

.equipe-card:hover .equipe-photo img {
  transform: scale(1.10);
}

.equipe-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.05)
  );
}

.equipe-info {
  padding: 14px 16px 16px;
}

.equipe-name {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  margin: 0;
}

.equipe-role {
  opacity: 0.85;
  margin-top: 4px;
  font-size: 0.95rem;
}

/* =========================
   QUOTE CARD
   ========================= */

.equipe-quote-card {
  margin: clamp(28px, 4vw, 48px) auto 0;
  padding: clamp(20px, 3vw, 28px);
  max-width: 720px;
  text-align: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

.equipe-quote-text {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

/* =========================
   CTA (FORÇADO NO SEU HTML ATUAL)
   ========================= */

.equipe-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(24px, 3vw, 40px);
}

.equipe-cta-link {
  display: inline-block;
  text-decoration: none;
}

/* ✅ Pega o seu botão REAL: <div class="btn btn-secondary btn-lg"> */
.equipe-cta .btn,
.equipe-cta .btn.btn-secondary,
.equipe-cta .btn.btn-secondary.btn-lg {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;

  padding: 14px 22px !important;
  border-radius: 999px !important;

  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  text-decoration: none !important;

  background: linear-gradient(
    135deg,
    var(--color-secondary, #FFD700),
    #FFC400
  ) !important;
  color: #0b0b0b !important;

  border: 0 !important;

  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;

  white-space: nowrap !important;

  transition: transform 300ms ease, box-shadow 300ms ease !important;
}

/* brilho animado */
.equipe-cta .btn::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.30),
    transparent
  ) !important;
  transition: left 0.7s ease !important;
}

/* hover */
.equipe-cta .btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.30) !important;
}

.equipe-cta .btn:hover::before {
  left: 100% !important;
}

/* texto acima do brilho */
.equipe-cta .btn span,
.equipe-cta .btn svg,
.equipe-cta .btn img {
  position: relative !important;
  z-index: 1 !important;
}

/* foco acessível */
.equipe-cta .btn:focus-visible {
  outline: none !important;
  box-shadow:
    0 0 0 3px rgba(255, 215, 0, 0.28),
    0 10px 25px rgba(255, 215, 0, 0.30) !important;
}

/* =========================
   RESPONSIVO
   ========================= */

@media (max-width: 1100px) {
  .equipe-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .equipe-section {
    text-align: center;
  }

  .equipe-container {
    width: min(1120px, calc(100% - 32px));
  }

  .equipe-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    gap: 16px;
  }

  .equipe-card {
    max-width: 420px;
    width: 100%;
  }

  .equipe-photo {
    height: 240px;
  }

  .equipe-info {
    text-align: center;
  }
}

@media (max-width: 900px) {
  .equipe-cta {
    justify-content: center;
  }

  .equipe-cta .btn {
    width: 100% !important;
    white-space: normal !important;
    text-align: center !important;

    overflow-wrap: anywhere !important;
    word-break: break-word !important;

    padding: 14px 16px !important;
    font-size: 0.95rem !important;
    line-height: 1.15 !important;
  }

  .equipe-cta .btn > span {
    display: block !important;
  }
}

@media (max-width: 520px) {
  .equipe-section {
    padding: clamp(80px, 10vw, 112px) 0;
    text-align: center;
  }

  .equipe-container {
    width: min(1120px, calc(100% - 28px));
  }

  .equipe-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .equipe-card {
    max-width: 520px;
  }

  .equipe-photo {
    height: 260px;
  }

  .equipe-quote-card {
    margin-top: 18px;
    padding: 18px 16px;
  }
}
