/* ============================================================
   LGPD — Banner de Cookies & Página de Privacidade
   ============================================================ */

/* ---- Banner de consentimento ---- */
#lgpd-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #111;
  border-top: 2px solid #252525;
  padding: 18px 40px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  animation: lgpdSlideUp 0.4s ease;
}

#lgpd-banner.lgpd-banner--hide {
  animation: lgpdSlideDown 0.4s ease forwards;
}

@keyframes lgpdSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@keyframes lgpdSlideDown {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(100%); opacity: 0; }
}

.lgpd-banner__text {
  flex: 1;
  min-width: 200px;
  font-size: 0.83rem;
  color: #bbb;
  line-height: 1.5;
}

.lgpd-banner__text a {
  color: #faea31;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s;
}

.lgpd-banner__text a:hover { color: #e3c425; }

.lgpd-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

#lgpd-aceitar {
  background: linear-gradient(135deg, #e3c425, #faea31);
  color: #000;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

#lgpd-aceitar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(250, 234, 49, 0.45);
}

#lgpd-recusar {
  background: transparent;
  color: #888;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  border: 1px solid #444;
  transition: color 0.2s, border-color 0.2s;
}

#lgpd-recusar:hover {
  color: #ccc;
  border-color: #888;
}

/* ---- Checkbox de consentimento no formulário ---- */
.consent-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  text-align: left;
}

.consent-wrapper input[type="checkbox"] {
  width: 17px;
  min-width: 17px;
  height: 17px;
  margin: 3px 0 0 0;
  accent-color: #faea31;
  cursor: pointer;
}

.consent-wrapper label {
  font-size: 0.77rem;
  color: #999;
  line-height: 1.45;
  margin-bottom: 0;
  font-weight: normal;
}

.consent-wrapper label a {
  color: #faea31;
  text-decoration: underline;
  transition: color 0.2s;
}

.consent-wrapper label a:hover { color: #e3c425; }

/* ---- Página de Política de Privacidade ---- */
.privacy-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 120px 30px 80px;
  text-align: left;
  color: #bbb;
  line-height: 1.8;
}

.privacy-page h1 {
  font-size: 2.4rem;
  padding: 0;
  margin-bottom: 8px;
  color: #fff;
  line-height: 1.2;
}

.privacy-page .privacy-date {
  font-size: 0.82rem;
  color: #555;
  margin-bottom: 40px;
  display: block;
}

.privacy-page h2 {
  font-size: 1.25rem;
  color: #faea31;
  margin-top: 40px;
  margin-bottom: 10px;
  border-bottom: 1px solid #222;
  padding-bottom: 6px;
}

.privacy-page h3 {
  font-size: 1rem;
  color: #fff;
  margin-top: 18px;
  margin-bottom: 6px;
}

.privacy-page p {
  margin-bottom: 12px;
  font-size: 0.93rem;
}

.privacy-page ul,
.privacy-page ol {
  margin: 8px 0 16px 22px;
  font-size: 0.93rem;
}

.privacy-page li {
  margin-bottom: 7px;
}

.privacy-page a {
  color: #faea31;
  text-decoration: underline;
  transition: color 0.2s;
}

.privacy-page a:hover { color: #e3c425; }

.privacy-page .highlight { color: #faea31; }

.privacy-contact-box {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 22px 28px;
  margin-top: 14px;
  font-size: 0.93rem;
}

.privacy-contact-box p { margin: 4px 0; }

.privacy-divider {
  border: none;
  border-top: 1px solid #222;
  margin: 28px 0;
}

.privacy-back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #888;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.privacy-back-link:hover { color: #faea31; }

/* ---- Responsivo ---- */
@media (max-width: 768px) {
  #lgpd-banner {
    padding: 16px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .lgpd-banner__actions {
    flex-direction: row;
    justify-content: center;
  }

  #lgpd-aceitar,
  #lgpd-recusar {
    flex: 1;
    text-align: center;
  }

  .privacy-page {
    padding: 100px 20px 60px;
  }

  .privacy-page h1 {
    font-size: 1.8rem;
  }
}
