/* Relatorio das Bets — page-specific styles
   Carrega depois do main.css, sobrescreve o que precisar
*/

/* ── Topbar variant (estudo .bet.br) ─────────────────────────── */
.topbar--relatorio { background: var(--color-dark-950); border-bottom-color: rgba(255,255,255,.08); }
.topbar--relatorio .topbar__nav a { font-size: 16px; padding: 10px 12px; }
.topbar--relatorio .topbar__nav a.is-active { background: var(--color-brand-strong); color: var(--color-text); }
.topbar--relatorio .topbar__avatar {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-accent-magenta); border-radius: 8px;
  color: var(--color-text);
}
.topbar--relatorio .topbar__avatar svg { width: 18px; height: 18px; }
.topbar__brand-logo { height: 24px; width: auto; display: block; }
.topbar__more { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; color: var(--color-text); font: inherit; cursor: pointer; padding: 10px 12px; }
.topbar__more::after { content: "\25BE"; font-size: 10px; opacity: .8; }

/* ── Hero ─────────────────────────────────────────────────────── */
.rel-hero {
  position: relative;
  padding: 80px 24px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 10%, rgba(167, 62, 249, .35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(247, 65, 247, .35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(60, 109, 250, .30) 0%, transparent 55%),
    var(--color-bg);
  overflow: hidden;
}
.rel-hero__logo { height: 28px; width: auto; margin: 0 auto var(--space-3); display: block; opacity: .95; }
.rel-hero__chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(134,50,199,.5);
  border: 1px solid rgba(185,101,250,.4);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  color: var(--color-text);
  margin-bottom: var(--space-8);
}
.rel-hero__chip::before {
  content: "";
  width: 6px; height: 6px; border-radius: 999px; background: var(--color-accent-magenta);
}
.rel-hero__big {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 96px;
  line-height: 1;
  color: var(--color-accent-blue);
  margin-bottom: var(--space-2);
}
.rel-hero__title {
  font-size: 48px;
  line-height: 1.17;
  font-weight: 800;
  color: var(--color-text);
  max-width: 720px;
  margin: 0 auto var(--space-5);
}
.rel-hero__title u { text-decoration: underline; text-underline-offset: 4px; }
.rel-hero__sub {
  font-size: 18px; line-height: 1.4;
  color: var(--color-text);
  max-width: 760px; margin: 0 auto var(--space-8);
  font-weight: 400;
}
.rel-hero__ctas {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  margin-bottom: var(--space-10);
}
.rel-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(90deg, #3c6dfa 0%, #a73ef9 50%, #f741f7 100%);
  color: var(--color-text);
  border: 0; border-radius: 8px;
  padding: 12px 20px; height: 48px;
  min-width: 280px;
  font-size: 16px; font-weight: 800; font-family: var(--font-sans);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 24px rgba(247,65,247,.25);
  transition: transform .15s, box-shadow .15s;
}
.rel-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(247,65,247,.45); color: var(--color-text); }
.rel-btn-primary::after { content: "→"; font-size: 18px; }
.rel-btn-light {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--color-light-50);
  color: var(--color-dark-900);
  border: 0; border-radius: 8px;
  padding: 12px 20px; height: 48px;
  min-width: 280px;
  font-size: 16px; font-weight: 800; font-family: var(--font-sans);
  text-decoration: none; cursor: pointer;
  transition: transform .15s;
}
.rel-btn-light:hover { transform: translateY(-1px); color: var(--color-dark-900); }
.rel-btn-light::after { content: "↓"; font-size: 18px; }

.rel-stats {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.rel-stat {
  background: rgba(134,50,199,.2);
  border: 1px solid rgba(247,247,247,.2);
  border-radius: 12px;
  padding: 11px 24px;
  text-align: center;
  min-width: 110px;
}
.rel-stat__num { font-weight: 800; font-size: 26px; line-height: 34px; color: var(--color-text); }
.rel-stat__num--magenta { color: var(--color-accent-magenta); }
.rel-stat__num--green { color: var(--color-accent-green); }
.rel-stat__lbl { font-size: 10px; line-height: 14px; color: var(--color-text); text-transform: uppercase; }

/* ── Section base for purple block ───────────────────────────── */
.rel-section { padding: 48px 24px; }
.rel-section--purple { background: var(--color-surface); }
.rel-section--purple-deep { background: var(--color-bg-elevated); }
.rel-section__head { text-align: center; margin-bottom: 32px; }
.rel-section__eyebrow { font-size: 12px; line-height: 16px; color: var(--color-text); text-transform: uppercase; }
.rel-section__eyebrow--magenta { color: var(--color-accent-magenta); }
.rel-section__title { font-family: var(--font-sans); font-weight: 800; font-size: 30px; line-height: 38px; color: var(--color-text); margin-top: 12px; }
.rel-section__title--gradient {
  background: linear-gradient(159deg, #f741f7 1%, #a73ef9 50%, #3c6dfa 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rel-section__sub { font-size: 16px; line-height: 22px; color: var(--color-text); margin-top: 12px; }

/* ── Marca comparison cards ──────────────────────────────────── */
.rel-marcas { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; max-width: 880px; margin: 0 auto; }
.rel-marca {
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.rel-marca--good { border: 1px solid var(--color-accent-green); }
.rel-marca--bad  { border: 1px solid rgba(249,51,51,.8); }
.rel-marca__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
}
.rel-marca--good .rel-marca__icon { background: rgba(151,255,125,.2); border: 1px solid rgba(151,255,125,.8); color: var(--color-accent-green); }
.rel-marca--bad  .rel-marca__icon { background: rgba(249,51,51,.2);  border: 1px solid rgba(249,51,51,.8);  color: #f93333; }
.rel-marca__domain { font-weight: 800; font-size: 24px; line-height: 32px; color: var(--color-text); }
.rel-marca__pill {
  display: inline-flex; padding: 8px 16px; border-radius: 20px; font-size: 18px;
}
.rel-marca--good .rel-marca__pill { background: rgba(151,255,125,.2); border: 1px solid rgba(151,255,125,.8); color: var(--color-text); }
.rel-marca--bad  .rel-marca__pill { background: rgba(249,51,51,.2);  border: 1px solid rgba(249,51,51,.8);  color: var(--color-text); }
.rel-marca__desc { font-size: 14px; color: var(--color-text); line-height: 20px; }
.rel-marca__desc b { font-weight: 800; }
.rel-comp__note { text-align: center; margin-top: 24px; color: var(--color-text); font-size: 16px; line-height: 22px; }
.rel-comp__foot { text-align: center; margin-top: 6px; font-size: 12px; color: #b3b3b3; }

/* ── Table sample ─────────────────────────────────────────────── */
.rel-table { display: flex; flex-direction: column; align-items: center; }
.rel-table__img {
  width: 100%; max-width: 925px; height: auto;
  border-radius: 12px; display: block;
}

/* ── KPI cards ───────────────────────────────────────────────── */
.rel-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.rel-kpi {
  border: 1px solid var(--color-accent-magenta);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.rel-kpi__big { font-size: 30px; line-height: 38px; font-weight: 800; }
.rel-kpi__big--magenta { color: var(--color-accent-magenta); }
.rel-kpi__big--purple { color: var(--color-brand-strong); }
.rel-kpi__big--blue { color: var(--color-accent-blue); }
.rel-kpi__title { font-size: 20px; line-height: 28px; font-weight: 800; color: var(--color-text); }
.rel-kpi__desc { font-size: 16px; line-height: 22px; color: var(--color-text); }
.rel-kpi__link {
  display: inline-flex; align-items: center; gap: 4px;
  color: #638afb; font-size: 14px; line-height: 20px; text-decoration: none;
}
.rel-kpi__link::before { content: "\1F512"; font-size: 12px; }

/* ── Timeline ────────────────────────────────────────────────── */
.rel-timeline { display: flex; flex-direction: column; gap: 24px; align-items: center; max-width: 1100px; margin: 0 auto; }
.rel-timeline__row { display: grid; grid-template-columns: repeat(3,1fr); gap: 60px; width: 100%; }
.rel-tl-card {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--color-accent-magenta);
  border-radius: 12px;
  padding: 20px;
}
.rel-tl-card h4 { font-size: 14px; line-height: 20px; font-weight: 800; margin-bottom: 4px; color: var(--color-text); }
.rel-tl-card p { font-size: 12px; line-height: 16px; color: var(--color-text); font-weight: 400; }
.rel-tl-axis {
  display: grid; grid-template-columns: repeat(6,1fr);
  gap: 0;
  width: 100%;
  align-items: center;
  position: relative;
  padding: 24px 0;
}
.rel-tl-axis::before {
  content: ""; position: absolute; left: 5%; right: 5%; top: 50%;
  height: 2px; background: linear-gradient(90deg, #f741f7, #a73ef9, #3c6dfa, #f741f7, #a73ef9, #3c6dfa);
}
.rel-tl-axis__item {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  font-weight: 800; font-size: 10px;
}
.rel-tl-axis__item--top { transform: translateY(-30px); color: var(--color-accent-magenta); }
.rel-tl-axis__item--bot { transform: translateY(30px); color: var(--color-accent-blue); }
.rel-tl-axis__dot {
  width: 12px; height: 12px; border-radius: 999px;
  background: var(--color-accent-magenta);
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 0 4px rgba(247,65,247,.25);
  z-index: 2;
}
.rel-tl-axis__item--bot .rel-tl-axis__dot { background: var(--color-accent-blue); box-shadow: 0 0 0 4px rgba(60,109,250,.25); }

/* ── Audience cards ──────────────────────────────────────────── */
.rel-aud { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; max-width: 1040px; margin: 0 auto; }
.rel-aud__card {
  border: 1px solid var(--color-accent-magenta);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.rel-aud__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,.2); border: 1px solid #d8e2fe;
  color: var(--color-text);
}
.rel-aud__title { font-weight: 800; font-size: 20px; line-height: 28px; color: var(--color-text); }
.rel-aud__desc { font-size: 16px; line-height: 22px; color: var(--color-text); }

/* ── Methodology cards ───────────────────────────────────────── */
.rel-method { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; max-width: 1040px; margin: 0 auto; }
.rel-method__card {
  border: 1px solid var(--color-accent-magenta);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.rel-method__card h4 { font-size: 18px; line-height: 24px; color: var(--color-text); font-weight: 800; }
.rel-method__card p { font-size: 14px; line-height: 20px; color: var(--color-text); margin-top: 8px; }
.rel-method__cta { display: flex; justify-content: center; margin-top: 32px; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.rel-faq { padding: 32px 24px 48px; max-width: 1040px; margin: 0 auto; }
.rel-faq__title {
  text-align: center; font-weight: 800; font-size: 26px; line-height: 34px;
  color: var(--color-text); margin-bottom: 32px;
}
.rel-faq__title a { color: var(--color-accent-magenta); text-decoration: underline; }
.rel-faq__box {
  background: rgba(67,25,100,.3);
  border-radius: 12px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.rel-faq__item {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(247,247,247,.3);
  border-radius: 12px;
  padding: 0;
}
.rel-faq__item summary {
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 16px; color: var(--color-text);
}
.rel-faq__item summary::-webkit-details-marker { display: none; }
.rel-faq__item summary::after {
  content: "\25BE"; font-size: 12px; opacity: .9;
  transition: transform .2s;
}
.rel-faq__item[open] summary::after { transform: rotate(180deg); }
.rel-faq__item p { padding: 0 16px 14px; font-size: 14px; line-height: 20px; color: var(--color-text); }

/* ── Contact block (Single contacts) ─────────────────────────── */
.rel-contact { padding: 20px 24px 48px; max-width: 1040px; margin: 0 auto; }
.rel-contact__head { margin-bottom: 32px; }
.rel-contact__head h2 { font-size: 30px; line-height: 38px; color: var(--color-text); }
.rel-contact__head p { font-size: 18px; color: var(--color-text); margin-top: 8px; }
.rel-contact__boxes { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.rel-contact__box {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--color-accent-magenta);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex; gap: 24px; align-items: center;
}
.rel-contact__box img { width: 28px; height: 24px; object-fit: contain; }
.rel-contact__box h4 { font-size: 20px; line-height: 28px; font-weight: 800; color: var(--color-text); }
.rel-contact__box p { font-size: 16px; line-height: 22px; color: var(--color-text); margin-top: 6px; }
.rel-contact__box small { font-size: 12px; line-height: 16px; color: var(--color-text); display: block; margin-top: 4px; }

/* ── Footer custom (Single Software) ─────────────────────────── */
.rel-footer { background: var(--color-surface-hover); padding: 44px 0 0; margin-top: 44px; }
.rel-footer__inner { max-width: 1200px; margin: 0 auto; padding: 0 54px; }
.rel-footer__top {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 2px solid var(--color-brand);
  padding: 24px 0;
  flex-wrap: wrap; gap: 24px;
}
.rel-footer__brand { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.rel-footer__brand img { height: 64px; width: auto; object-fit: contain; }
.rel-footer__cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(90deg, #3c6dfa 0%, #f741f7 60%);
  color: var(--color-text);
  border-radius: 12px;
  padding: 16px 24px;
  font-family: var(--font-display); font-size: 24px; line-height: 32px;
  text-decoration: none; height: 48px;
}
.rel-footer__cta::after { content: "\1F4AC"; font-size: 18px; }
.rel-footer__social { display: flex; gap: 16px; align-items: center; }
.rel-footer__social a { display: inline-flex; }
.rel-footer__social img { width: 36px; height: 36px; }
.rel-footer__cols {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px;
  padding: 44px 0;
}
.rel-footer__col {
  background: var(--color-bg-elevated);
  border-radius: 12px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.rel-footer__col h4 {
  font-size: 18px; line-height: 24px; font-weight: 800;
  color: var(--color-accent-magenta);
  padding: 10px 16px;
}
.rel-footer__col a {
  padding: 10px 12px; font-size: 16px; color: var(--color-text);
  text-decoration: none; border-radius: 10px;
}
.rel-footer__col a:hover { background: rgba(255,255,255,.06); color: var(--color-text); }
.rel-footer__bottom {
  text-align: center; padding: 16px 0; font-size: 12px; color: var(--color-text-muted);
  border-top: 1px solid var(--color-divider);
}

/* ── Responsivo ──────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .rel-hero__big { font-size: 72px; }
  .rel-hero__title { font-size: 36px; }
  .rel-kpis { grid-template-columns: 1fr; }
  .rel-aud { grid-template-columns: repeat(2,1fr); }
  .rel-method { grid-template-columns: 1fr; }
  .rel-contact__boxes { grid-template-columns: 1fr; }
  .rel-timeline__row { grid-template-columns: 1fr; gap: 16px; }
  .rel-tl-axis { display: none; }
  .rel-footer__cols { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 639px) {
  .rel-hero { padding: 56px 16px; }
  .rel-hero__big { font-size: 56px; }
  .rel-hero__title { font-size: 26px; }
  .rel-hero__sub { font-size: 15px; }
  .rel-btn-primary, .rel-btn-light { min-width: 100%; }
  .rel-marcas { grid-template-columns: 1fr; }
  .rel-aud { grid-template-columns: 1fr; }
  .rel-section { padding: 32px 16px; }
  .rel-section__title { font-size: 22px; line-height: 30px; }
  .rel-footer__inner { padding: 0 16px; }
  .rel-footer__top { flex-direction: column; align-items: flex-start; }
}
