/* ===============================
   BANNER DE COOKIES - PIANISTA v2
   Layout tipo Opus: faixa branca, texto escuro, botão vermelho
   Objetos retos (sem bordas arredondadas)
   =============================== */

#pianista-cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99998;
  background: #ffffff;
  color: #111111;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 -8px 18px rgba(0, 0, 0, 0.08);
  font-family: "Space Grotesk", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

#pianista-cookie-consent.pcc-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.pcc-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Texto */
.pcc-text {
  flex: 1 1 auto;
}

.pcc-description {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
}

.pcc-inline-link {
  color: #CB1516;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.pcc-inline-link:hover,
.pcc-inline-link:focus {
  color: #aa1114;
}

/* Ações */
.pcc-actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

/* Botão reto, estilo Pianista, usando Space Grotesk */
.pcc-btn {
  font-family: "Space Grotesk", sans-serif !important;
  border-radius: 0 !important;
  padding: 12px 28px !important;
  font-size: 14px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  white-space: nowrap;

  /* estado normal: preenchido vermelho */
  background: #CB1516 !important;
  border: 1px solid #CB1516 !important;
  color: #ffffff !important;
  transition: all .18s ease-out;
}

/* HOVER / FOCUS — botão vazado igual aos outros do site */
.pcc-btn:hover,
.pcc-btn:focus {
  background: transparent !important;
  color: #CB1516 !important;
  border-color: #CB1516 !important;
  transform: translateY(-1px);
}

/* Focus outline extra (acessibilidade) */
.pcc-btn:focus {
  outline: 1px solid #111111;
  outline-offset: 1px;
}

/* Botão primário (estado base) */
.pcc-btn-primary {
  background: #CB1516 !important;
  border-color: #CB1516 !important;
  color: #ffffff !important;
}

/* Estado hidden */
#pianista-cookie-consent.pcc-hidden {
  display: block; /* Mantém no fluxo para permitir animação quando ficar visível */
}

/* Responsivo */
@media (max-width: 768px) {
  .pcc-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px 16px;
  }

  .pcc-actions {
    justify-content: flex-start;
  }

  .pcc-btn {
    width: 100%;
    text-align: center;
  }
}
