/* =====================================================================
 * cookies.css
 * Banner LGPD de consentimento + link de privacidade no rodapé.
 * ===================================================================== */

/* ========== BANNER DE COOKIES ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: var(--color-surface);
  border-top: 2px solid var(--color-accent);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
  padding: 14px 18px;
  animation: cookieSlideUp 0.4s ease;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-fadeout {
  animation: cookieSlideDown 0.3s ease forwards;
}
@keyframes cookieSlideDown {
  to { transform: translateY(100%); opacity: 0; }
}

.cookie-banner-content {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
@media (min-width: 720px) {
  .cookie-banner-content {
    flex-direction: row;
    text-align: left;
  }
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--color-text);
  line-height: 1.5;
  flex: 1;
}
.cookie-text a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.cookie-link {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-decoration: underline;
  white-space: nowrap;
}
.cookie-link:hover { color: var(--color-text); }

.cookie-accept {
  background: var(--color-accent);
  color: #1a1a1a;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}
.cookie-accept:hover { background: #e8920a; }

/* ========== LINK DE PRIVACIDADE NO RODAPÉ ========== */
.privacy-footer {
  text-align: center;
  margin-top: 16px;
  padding: 10px 16px 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.privacy-footer a {
  color: var(--color-muted);
  font-size: 0.72rem;
  text-decoration: none;
  letter-spacing: 0.3px;
  padding: 2px 0;
}
.privacy-footer a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}
