/* /publicidade/ only — overrides on top of sobre-page.css, scoped to .pub-page */

.pub-page {
  --pb-navy: #142a63;
  --pb-blue: #1d4ed8;
  --pb-yellow: #f7c948;
}

.pub-page .sobre-shell {
  max-width: 1260px;
}

/* ---------- hero ---------- */

.pub-page .sobre-hero-band {
  padding: 80px 0 30px;
  background:
    radial-gradient(360px 300px at 2% 28%, rgba(250, 204, 21, 0.24) 0%, rgba(250, 204, 21, 0) 70%),
    radial-gradient(520px 360px at 99% 8%, rgba(147, 197, 253, 0.3) 0%, rgba(147, 197, 253, 0) 70%),
    radial-gradient(260px 220px at 8% 62%, rgba(147, 197, 253, 0.28) 0%, rgba(147, 197, 253, 0) 70%),
    linear-gradient(180deg, #f5f9ff 0%, #f7faff 100%);
}

.pub-page .sobre-hero {
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.9fr);
  gap: 16px;
}

.pub-page .sobre-crumb {
  gap: 10px;
  margin-bottom: 22px;
}

.pub-page .sobre-crumb a {
  color: var(--pb-navy);
  font-weight: 500;
}

.pub-crumb-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pub-page .sobre-crumb .is-current {
  color: #475569;
}

.pub-page .sobre-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.pub-page .sobre-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.6;
}

.pub-page .sobre-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(1.9rem, 3.1vw, 2.45rem);
  line-height: 1.1;
  color: var(--pb-navy);
}

.pub-updated {
  margin: 0 0 14px;
  font-size: 0.86rem;
  color: var(--sb-muted);
}

.pub-page .sobre-lead {
  max-width: 40rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #3f4d66;
}

.pub-hero-art {
  position: relative;
}

.pub-hero-frame {
  position: relative;
}

.pub-hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(62% 70% at 50% 50%, #000 55%, rgba(0, 0, 0, 0) 88%);
  mask-image: radial-gradient(62% 70% at 50% 50%, #000 55%, rgba(0, 0, 0, 0) 88%);
}

/* "AD" sits on the yellow disc baked into the illustration */
.pub-hero-ad {
  position: absolute;
  left: 33%;
  top: 34%;
  transform: translate(-50%, -50%);
  font-size: clamp(0.8rem, 1.5vw, 1.2rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #142a63;
}

/* logo + caption on the empty laptop screen */
.pub-hero-screen {
  position: absolute;
  left: 51%;
  top: 51%;
  width: 26%;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}

.pub-page .pub-hero-logo {
  width: 78%;
  max-width: none;
  height: auto;
  aspect-ratio: 108 / 34;
}

.pub-hero-screen span {
  font-size: clamp(0.5rem, 0.95vw, 0.78rem);
  font-weight: 700;
  line-height: 1.2;
  color: #142a63;
}

.pub-hero-note {
  position: absolute;
  right: -34px;
  top: 6%;
  max-width: 9rem;
  font-family: Georgia, "Palatino Linotype", Palatino, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  color: #1d4ed8;
  transform: rotate(-9deg);
  pointer-events: none;
}

.pub-hero-note::after {
  content: "";
  display: block;
  margin-top: 5px;
  margin-left: 22%;
  width: 78%;
  height: 7px;
  border-radius: 0 0 60% 60%;
  border-bottom: 3px solid var(--pb-yellow);
}

/* feature cards */

.pub-page .sobre-pills {
  margin-top: 8px;
}

.pub-page .sobre-pills li {
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-color: #eef2f8;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.pub-page .sobre-pill-ico {
  width: 64px;
  height: 64px;
  background: #e6effd;
  color: var(--pb-blue);
}

.pub-page .sobre-pill-ico.is-yellow {
  background: #fdf1c7;
  color: #1f2937;
}

.pub-page .sobre-pill-ico svg {
  width: 32px;
  height: 32px;
}

.pub-page .sobre-pills strong {
  font-size: 1rem;
  color: var(--pb-navy);
}

.pub-page .sobre-pills li span span {
  margin-top: 4px;
  font-size: 0.86rem;
  line-height: 1.45;
}

/* ---------- body ---------- */

.pub-page .sobre-body {
  padding-top: 18px;
}

.pub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 406px);
  gap: 28px;
  align-items: start;
}

.pub-main {
  display: grid;
  gap: 12px;
}

.pub-card {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  padding: 22px 30px 22px 26px;
  border: 1px solid #eef2f8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.pub-card-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #e1ebfb;
  color: var(--pb-blue);
}

.pub-page .pub-card-ico svg {
  width: 40px;
  height: 40px;
  max-width: none;
}

.pub-card-ico.is-yellow {
  background: #fdf1c7;
  color: #1f2937;
}

.pub-card-body {
  min-width: 0;
  padding-top: 2px;
}

.pub-card h2 {
  margin: 0 0 8px;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: var(--pb-navy);
}

.pub-card p {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.55;
  color: #3f4d66;
}

.pub-card strong {
  color: #111827;
}

.pub-card p:last-child,
.pub-side-card p:last-child {
  margin-bottom: 0;
}

.pub-card a,
.pub-side-card a,
.pub-contact a {
  color: var(--pb-blue);
  font-weight: 500;
}

.pub-side {
  position: relative;
  display: grid;
  gap: 10px;
}

/* yellow sparks next to the first side card */
.pub-side::before,
.pub-side::after {
  content: "";
  position: absolute;
  right: -22px;
  width: 20px;
  height: 5px;
  border-radius: 999px;
  background: var(--pb-yellow);
}

.pub-side::before {
  top: -12px;
  transform: rotate(-60deg);
}

.pub-side::after {
  top: 8px;
  transform: rotate(-20deg);
}

.pub-side-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 20px 16px 16px;
  border: 0;
  border-radius: 14px;
}

.pub-side-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.pub-page .pub-side-ico svg {
  width: 24px;
  height: 24px;
  max-width: none;
}

.pub-side-body h2 {
  margin: 4px 0 8px;
  font-size: 1.05rem;
  color: var(--pb-navy);
}

.pub-side-card p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #3f4d66;
}

.pub-side-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  text-decoration: none;
}

.pub-side-card a:hover {
  text-decoration: underline;
}

.pub-side-card.is-yellow {
  background: #fff7df;
}

.pub-side-card.is-yellow .pub-side-ico {
  background: var(--pb-yellow);
  color: #1f2937;
}

.pub-side-card.is-blue {
  background: #eaf1fd;
}

.pub-side-card.is-blue .pub-side-ico {
  background: #d6e4fb;
  color: var(--pb-blue);
}

.pub-side-card.is-green {
  background: #e3f5e8;
}

.pub-side-card.is-green .pub-side-ico {
  background: #22c55e;
  color: #14532d;
}

.pub-contact {
  margin: 6px 2px 0;
  font-size: 0.9rem;
  color: var(--sb-muted);
}

/* ---------- responsive ---------- */

@media (max-width: 1340px) {
  .pub-side::before,
  .pub-side::after {
    display: none;
  }
}

@media (max-width: 1180px) {
  .pub-page .sobre-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pub-hero-note {
    display: none;
  }
}

@media (max-width: 900px) {
  .pub-page .sobre-hero-band {
    padding-top: 88px;
  }

  .pub-page .sobre-hero,
  .pub-grid {
    grid-template-columns: 1fr;
  }

  .pub-side::before,
  .pub-side::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .pub-page .sobre-pills {
    grid-template-columns: 1fr;
  }

  .pub-card {
    gap: 16px;
    padding: 18px;
  }

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

  .pub-card-ico svg {
    width: 26px;
    height: 26px;
  }

  .pub-card h2 {
    font-size: 1.3rem;
  }

  .pub-hero-screen span {
    display: none;
  }
}

/* ---------- dark ---------- */

html[data-theme="dark"] .pub-page {
  --pb-navy: #dbeafe;
  --pb-blue: #7aa7f8;
}

html[data-theme="dark"] .pub-page .sobre-hero-band {
  background:
    radial-gradient(520px 360px at 99% 8%, rgba(59, 130, 246, 0.14) 0%, rgba(59, 130, 246, 0) 70%),
    radial-gradient(360px 300px at 2% 28%, rgba(250, 204, 21, 0.08) 0%, rgba(250, 204, 21, 0) 70%),
    #0f1420;
}

html[data-theme="dark"] .pub-page .sobre-lead,
html[data-theme="dark"] .pub-card p,
html[data-theme="dark"] .pub-side-card p {
  color: #a8b6cc;
}

html[data-theme="dark"] .pub-card strong {
  color: #e5e7eb;
}

html[data-theme="dark"] .pub-hero-frame img {
  mix-blend-mode: normal;
  opacity: 0.92;
  -webkit-mask-image: radial-gradient(52% 60% at 50% 50%, #000 46%, rgba(0, 0, 0, 0) 82%);
  mask-image: radial-gradient(52% 60% at 50% 50%, #000 46%, rgba(0, 0, 0, 0) 82%);
}

html[data-theme="dark"] .pub-hero-note {
  color: #93c5fd;
}

html[data-theme="dark"] .pub-page .sobre-pills li,
html[data-theme="dark"] .pub-card {
  background: #151b28;
  border-color: #2b3547;
}

html[data-theme="dark"] .pub-page .sobre-pill-ico,
html[data-theme="dark"] .pub-card-ico {
  background: #1e2a44;
  color: #93c5fd;
}

html[data-theme="dark"] .pub-page .sobre-pill-ico.is-yellow,
html[data-theme="dark"] .pub-card-ico.is-yellow {
  background: #3d3313;
  color: #fde68a;
}

html[data-theme="dark"] .pub-side-card.is-yellow {
  background: #2c2814;
}

html[data-theme="dark"] .pub-side-card.is-blue {
  background: #16233a;
}

html[data-theme="dark"] .pub-side-card.is-blue .pub-side-ico {
  background: #1e3a5f;
  color: #93c5fd;
}

html[data-theme="dark"] .pub-side-card.is-green {
  background: #13291c;
}
