/* ============================================================
   COOKIE CONSENT BANNER (consent.js)
   Self-contained: index.html loads styles.css, cadastro.html loads cadastro.css,
   so every token has the landing value as fallback.
   ============================================================ */
.mc-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1000; /* Above the WhatsApp FAB (999), which it would cover on mobile. */
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 440px;
  padding: 20px 20px 18px;
  background: var(--paper, #FFFFFF);
  border: 1px solid var(--line, #E7E3D9);
  border-radius: var(--r-lg, 20px);
  box-shadow: var(--sh-lg, 0 30px 80px -30px rgba(31,42,36,.16), 0 10px 28px -12px rgba(31,42,36,.08));
  color: var(--ink, #1A2420);
  font-family: var(--f-body, "Inter", system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transform: translateY(calc(100% + 24px));
  transition: transform .3s cubic-bezier(0.32, 0.72, 0, 1), opacity .3s ease;
  pointer-events: none;
}
.mc-banner.mc-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mc-banner *,
.mc-banner *::before,
.mc-banner *::after { box-sizing: border-box; }

.mc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
}
.mc-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--green-soft-tint, #E4F1E9);
  color: var(--green-deep, #4A7C59);
}
.mc-title {
  margin: 0;
  font-family: var(--f-display, "Sora", system-ui, sans-serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--ink, #1A2420);
}
.mc-text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft, #5B6760);
}
.mc-link {
  color: var(--green-deep, #4A7C59);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.mc-link:hover { text-decoration: underline; text-underline-offset: 2px; }

.mc-actions {
  display: flex;
  gap: 10px;
}
.mc-btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  font-family: var(--f-display, "Sora", system-ui, sans-serif);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, background .2s, box-shadow .2s, color .2s;
}
.mc-btn:hover { transform: translateY(-1px); }
.mc-btn:active { transform: translateY(0); }
.mc-btn:focus { outline: none; }
.mc-btn:focus-visible,
.mc-link:focus-visible {
  outline: 3px solid var(--green-soft, #A8D5BA);
  outline-offset: 2px;
}
.mc-btn-primary {
  background: var(--green-deep, #4A7C59);
  color: #fff;
  box-shadow: var(--sh-sm, 0 2px 8px rgba(31,42,36,.05), 0 1px 2px rgba(31,42,36,.04)), inset 0 1px 0 rgba(255,255,255,.16);
}
.mc-btn-primary:hover { background: var(--green-darker, #2F5640); }
.mc-btn-ghost {
  background: transparent;
  color: var(--ink, #1A2420);
  box-shadow: inset 0 0 0 1px var(--line, #E7E3D9);
}
.mc-btn-ghost:hover {
  background: rgba(74,124,89,.06);
  box-shadow: inset 0 0 0 1px var(--green-soft, #A8D5BA);
  color: var(--green-deep, #4A7C59);
}

/* Footer "Preferências de cookies": looks like the sibling footer links. */
.foot-cookie-btn {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  text-align: left;
  color: var(--ink-soft, #5B6760);
  cursor: pointer;
  transition: color .15s;
}
.foot-cookie-btn:hover { color: var(--green-deep, #4A7C59); }

@media (max-width: 560px) {
  .mc-banner {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    max-width: none;
    padding: 18px 16px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mc-banner,
  .mc-btn { transition: none; }
  .mc-btn:hover { transform: none; }
}
