/* Banner de cookies — alinhado à landing Tecsystem (Hero 26 / lp-card) */

@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500&family=Inter+Tight:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --cc-brand-500: #335dff;
  --cc-brand-600: #2341f0;
  --cc-emerald: #10b981;
  --cc-bg-card: #10141c;
  --cc-muted: #8ea0c4;
  --cc-text: #dce6ff;
  --cc-line: rgba(255, 255, 255, 0.1);
  --cc-link: #9fc7ff;
}

.cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10000;
  padding: 0 20px 20px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cookie-consent.is-visible {
  opacity: 1;
  transform: none;
}

.cookie-consent[hidden] {
  display: none !important;
}

/* Acima do WhatsApp na landing */
body.lp-wrap .cookie-consent {
  padding-bottom: 88px;
}

.cookie-consent__panel {
  pointer-events: auto;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid var(--cc-line);
  background:
    linear-gradient(135deg, rgba(51, 93, 255, 0.14) 0%, rgba(16, 185, 129, 0.08) 100%),
    var(--cc-bg-card);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(51, 93, 255, 0.12) inset;
  font-family: "Inter Tight", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.cookie-consent__content {
  flex: 1 1 18rem;
  min-width: 0;
}

.cookie-consent__kicker {
  margin: 0 0 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7d98ff;
}

.cookie-consent__text {
  margin: 0;
  color: var(--cc-muted);
  font-size: 15px;
  line-height: 1.55;
}

.cookie-consent__text strong {
  color: var(--cc-text);
  font-weight: 600;
}

.cookie-consent__text a {
  color: var(--cc-link);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.cookie-consent__text a:hover {
  color: #bfd2ff;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-consent__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.cookie-consent__btn:focus-visible {
  outline: 2px solid #5c89ff;
  outline-offset: 2px;
}

.cookie-consent__btn--ghost {
  padding: 10px 14px;
  border-radius: 0;
  background: #383838;
  color: #fff;
  font-family: "Geist Mono", monospace;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cookie-consent__btn--ghost:hover {
  background: #4f4f4f;
}

.cookie-consent__btn--primary {
  padding: 0;
  background: var(--cc-brand-600);
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.cookie-consent__btn--primary:hover {
  background: var(--cc-brand-500);
}

.cookie-consent__btn-label {
  display: block;
  padding: 10px 14px;
  font-family: "Geist Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9cd0ff;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .cookie-consent {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.lp-wrap .cookie-consent {
    padding-bottom: 92px;
  }

  .cookie-consent__panel {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 18px;
    gap: 18px;
  }

  .cookie-consent__actions {
    width: 100%;
  }

  .cookie-consent__btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .cookie-consent__btn--primary,
  .cookie-consent__btn--ghost {
    width: 100%;
  }

  .cookie-consent__btn-label {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent,
  .cookie-consent__btn {
    transition: none;
  }
}
