/* /cookies/ only */

.cookies-checks {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.cookies-checks li {
  position: relative;
  padding: 4px 0 4px 28px;
  color: var(--sb-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.cookies-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2563eb url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / 11px no-repeat;
}

.cookies-hero-card {
  padding: 18px 18px 8px;
  border: 1px solid var(--sb-line);
  border-radius: 18px;
  background: #eff6ff;
  overflow: hidden;
}

.cookies-hero-card h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.cookies-hero-card p {
  margin: 0 0 12px;
  color: var(--sb-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookies-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--sb-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}

.cookies-cta:hover {
  filter: brightness(1.06);
}

.cookies-hero-card img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 10px;
}

html[data-theme="dark"] .cookies-hero-card {
  background: #1e3a5f;
}

/* ================= /cookies/ only (mockup layout) =================
   Base layout comes from .termos-only (termos-page.css). Scoped to .cookies-only
   so /privacidade/ (which also loads this file) keeps its look. */

body.page-cookies .site-main {
  background: linear-gradient(180deg, #f5f9ff 0%, #fafcff 420px, #fff 100%);
}

.cookies-only h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.1rem);
}

.cookies-only .termos-lead {
  max-width: 48rem;
  font-size: 1.1rem;
}

.cookies-only .termos-lead a {
  color: var(--tm-blue);
}

/* cards: round icon instead of number + square tile */

.cookies-only .termos-card {
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 24px;
  padding: 20px 26px 22px 18px;
}

.cookies-card-ico {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #e3ecfa;
  color: var(--tm-blue);
}

.cookies-only .cookies-card-ico svg {
  width: 42px;
  height: 42px;
  max-width: none;
}

.cookies-only .cookies-card-ico.is-cookie svg {
  width: 52px;
  height: 52px;
}

.cookies-only .termos-card-body {
  padding-top: 10px;
}

.cookies-only .termos-card h2 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.cookies-only .termos-card p,
.cookies-only .termos-card ul {
  font-size: 0.98rem;
  line-height: 1.6;
}

.cookies-only .termos-card ul:not(.cookies-checks) li {
  margin-bottom: 4px;
}

.cookies-only .cookies-checks {
  margin: 12px 0 14px;
}

.cookies-only .cookies-checks li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 5px 0;
  font-size: 0.96rem;
  color: #374151;
}

.cookies-only .cookies-checks li::before {
  content: none;
}

.cookies-only .cookies-checks svg {
  flex: none;
  width: 22px;
  height: 22px;
  max-width: none;
  margin-top: 1px;
  color: var(--tm-blue);
}

/* sidebar hero */

.cookies-only .cookies-hero-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 250px;
  padding: 30px 24px 26px;
  border: 1px solid var(--tm-line);
  border-radius: 16px;
  background:
    radial-gradient(240px 220px at 88% 50%, #d6e6fb 0%, rgba(214, 230, 251, 0) 75%),
    linear-gradient(135deg, #f4f8ff 0%, #e8f1fd 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.cookies-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 58%;
}

.cookies-only .cookies-hero-card h2 {
  margin: 0 0 12px;
  font-size: 1.75rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--tm-navy);
}

.cookies-only .cookies-hero-card p {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #374151;
}

.cookies-only .cookies-cta {
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  background: #1d6ff2;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}

.cookies-only .cookies-cta svg {
  width: 16px;
  height: 16px;
}

.cookies-hero-art {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48%;
  overflow: hidden;
  border-radius: 0 16px 16px 0;
  pointer-events: none;
}

.cookies-only .cookies-hero-art img {
  position: absolute;
  left: 44%;
  top: 50%;
  width: 250%;
  max-width: none;
  height: auto;
  margin: 0;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(30% 42% at 50% 50%, #000 60%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(30% 42% at 50% 50%, #000 60%, rgba(0, 0, 0, 0) 100%);
}

.cookies-only .termos-toc h2 svg {
  width: 26px;
  height: 26px;
}

.cookies-only .termos-tip p {
  font-size: 0.93rem;
}

/* responsive */

@media (max-width: 1300px) {
  .cookies-hero-copy {
    max-width: 64%;
  }

  .cookies-hero-art {
    width: 38%;
  }

  .cookies-only .cookies-hero-art img {
    left: 40%;
    width: 220%;
  }
}

@media (max-width: 1100px) {
  .cookies-only .cookies-cta {
    white-space: normal;
  }

  .cookies-only .cookies-hero-card h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 600px) {
  .cookies-only .termos-card {
    column-gap: 14px;
    padding: 16px;
  }

  .cookies-card-ico {
    width: 56px;
    height: 56px;
  }

  .cookies-only .cookies-card-ico svg,
  .cookies-only .cookies-card-ico.is-cookie svg {
    width: 30px;
    height: 30px;
  }

  .cookies-only .termos-card-body {
    padding-top: 2px;
  }

  .cookies-hero-copy {
    max-width: 62%;
  }

  .cookies-hero-art {
    width: 42%;
  }
}

/* dark */

html[data-theme="dark"] body.page-cookies .site-main {
  background: #0f1420;
}

html[data-theme="dark"] .cookies-card-ico {
  background: #1e2a44;
  color: #93c5fd;
}

html[data-theme="dark"] .cookies-only .cookies-checks li,
html[data-theme="dark"] .cookies-only .cookies-hero-card p {
  color: #a8b6cc;
}

html[data-theme="dark"] .cookies-only .cookies-hero-card {
  background: linear-gradient(135deg, #16203a 0%, #131a2b 100%);
}

html[data-theme="dark"] .cookies-only .cookies-hero-art img {
  mix-blend-mode: normal;
  opacity: 0.95;
}
