:root {
  --brand-gold: #d6b458;
  --brand-gold-strong: #f3cd67;
  --brand-green: #1f8147;
  --brand-green-hover: #176d3a;
  --site-surface: #ffffff;
  --site-surface-soft: #f5f5f3;
  --site-text: #202124;
  --site-muted: #60646c;
  --site-border: #deded9;
  --site-shadow: 0 18px 45px rgba(24, 24, 20, 0.1);
}

html[data-theme="dark"] {
  --log-nav: #ffffff;
  --header-title-color: #ffffff;
  --para-color: #b7b7b2;
  --para-sub-color: #eeeeea;
  --bg-color: #101110;
  --back-color: #1c1d1c;
  --grid-color: #292a29;
  --border-color: #444640;
  --site-surface: #1b1c1b;
  --site-surface-soft: #272826;
  --site-text: #f7f7f4;
  --site-muted: #b7b7b2;
  --site-border: #41433e;
  --site-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

body {
  color: var(--site-text);
  background: var(--bg-color);
  font-family: 'Roboto', sans-serif;
}

body.noscroll {
  overflow: hidden;
}

.page-main {
  min-height: 55vh;
}

.section-shell {
  padding: 76px 0;
}

.section-shell--compact-top {
  padding-top: 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.page-intro h1 {
  color: var(--site-text);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  margin-bottom: 14px;
}

.section-heading p,
.page-intro p {
  color: var(--site-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #178046;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-theme="dark"] .eyebrow {
  color: #58d18a;
}

.eyebrow--light,
html[data-theme="dark"] .eyebrow--light {
  color: #dff7e8;
}

/* Header */
.w3l-header-4 header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--site-border);
  backdrop-filter: blur(14px);
}

html[data-theme="dark"] .w3l-header-4 header {
  background: rgba(31, 32, 31, 0.94);
}

.w3l-header-4 .navbar {
  padding: 11px 0;
}

.w3l-header-4 .navbar-brand img {
  width: auto;
  height: 52px;
  border-radius: 9px;
}

.site-nav {
  gap: 4px;
}

.w3l-header-4 .site-nav-link {
  color: var(--site-text) !important;
  padding: 10px 12px !important;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.w3l-header-4 .site-nav-link:hover,
.w3l-header-4 .site-nav-link.active {
  color: #8a6818 !important;
  background: rgba(214, 180, 88, 0.13);
}

html[data-theme="dark"] .w3l-header-4 .site-nav-link:hover,
html[data-theme="dark"] .w3l-header-4 .site-nav-link.active {
  color: var(--brand-gold-strong) !important;
}

.w3l-header-4 .site-nav-cta,
.btn-site-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #ffffff !important;
  background: var(--brand-green);
  border: 1px solid var(--brand-green);
  border-radius: 9px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(31, 129, 71, 0.22);
}

.w3l-header-4 .site-nav-cta {
  padding: 10px 15px;
  margin-left: 8px;
  font-size: 0.85rem;
}

.w3l-header-4 .site-nav-cta:hover,
.btn-site-primary:hover {
  color: #ffffff !important;
  background: var(--brand-green-hover);
  border-color: var(--brand-green-hover);
  transform: translateY(-1px);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  margin-left: 10px;
  border: 1px solid var(--site-border);
  border-radius: 50%;
  color: var(--site-text);
  background: var(--site-surface-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle .gg-sun,
.theme-toggle .gg-moon {
  color: currentColor;
}

.theme-toggle .gg-sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle .gg-sun {
  display: block;
}

html[data-theme="dark"] .theme-toggle .gg-moon {
  display: none;
}

.theme-toggle:focus-visible,
.site-nav-link:focus-visible,
.site-nav-cta:focus-visible,
.btn-site-primary:focus-visible,
.btn-site-secondary:focus-visible {
  outline: 3px solid rgba(214, 180, 88, 0.55);
  outline-offset: 3px;
}

/* Buttons */
.btn-site-primary,
.btn-site-secondary {
  min-height: 48px;
  padding: 12px 22px;
}

.btn-site-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  color: var(--site-text) !important;
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: 9px;
  font-weight: 800;
  text-decoration: none;
}

.btn-site-secondary:hover {
  color: var(--site-text) !important;
  border-color: var(--brand-gold);
  transform: translateY(-1px);
}

/* Home hero */
.hero-section {
  padding: 74px 0 68px;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 25%, rgba(214, 180, 88, 0.12), transparent 34%),
    linear-gradient(145deg, #060706 0%, #101111 65%, #151515 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  padding: 7px 14px;
  color: #65d994;
  background: rgba(33, 140, 77, 0.12);
  border: 1px solid rgba(74, 199, 124, 0.48);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 650px;
  margin-bottom: 20px;
  color: #ffffff !important;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-title span {
  color: var(--brand-gold-strong);
}

.hero-subtitle {
  max-width: 590px;
  margin-bottom: 26px;
  color: #c9cac6;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-features-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.hero-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 12px;
  color: #e7e7e3;
  font-size: 0.95rem;
  line-height: 1.45;
}

.hero-features-list i {
  margin-top: 3px;
  color: #4dcc80;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-section .btn-site-secondary {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.video-wrapper {
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(214, 180, 88, 0.3);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
}

.video-wrapper video {
  display: block;
  width: 100%;
}

/* Home category cards */
.category-section {
  background: var(--site-surface-soft);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.category-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--site-border);
  border-radius: 16px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--site-shadow);
  isolation: isolate;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 8, 7, 0.08) 20%, rgba(7, 8, 7, 0.94) 100%);
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, background 0.35s ease;
}

.category-card:hover::after {
  background: rgba(0, 0, 0, 0.02);
  transform: scale(1.02);
}

.category-card--movies { background-image: url('../images/bb8.jpg'); }
.category-card--series { background-image: url('../images/bb9.jpg'); }
.category-card--sports { background-image: url('../images/bb10.jpg'); }
.category-card--adult { background-image: url('../images/bb11.jpg'); }

.category-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px;
}

.category-card__tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand-gold-strong);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-card h3 {
  margin-bottom: 9px;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.2;
}

.category-card p {
  max-width: 520px;
  color: #d4d5d1;
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
  background: var(--bg-color);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card-depoimento {
  height: 100%;
  padding: 28px;
  color: var(--site-text);
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: 14px;
  box-shadow: var(--site-shadow);
}

.depoimento-texto {
  margin-bottom: 24px;
  color: var(--site-muted) !important;
  font-size: 0.98rem;
  font-style: normal;
  line-height: 1.7;
}

.depoimento-autor {
  display: flex;
  align-items: center;
  gap: 13px;
}

.depoimento-avatar {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 2px solid var(--brand-gold);
  border-radius: 50%;
}

.autor-info h4 {
  margin: 0;
  color: var(--site-text) !important;
  font-size: 1rem;
  font-weight: 800;
}

.autor-info span {
  color: var(--site-muted);
  font-size: 0.82rem;
}

/* Internal page intro */
.page-intro {
  padding: 70px 0 58px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 180, 88, 0.13), transparent 42%),
    var(--site-surface-soft);
  border-bottom: 1px solid var(--site-border);
}

.page-intro__inner {
  max-width: 780px;
  margin: 0 auto;
}

.page-intro h1 {
  margin-bottom: 16px;
  font-size: clamp(2.25rem, 5vw, 3.6rem);
  line-height: 1.08;
}

/* Process page */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-card,
.device-card,
.download-card,
.info-panel,
.faq-item {
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: 14px;
  box-shadow: var(--site-shadow);
}

.process-card {
  position: relative;
  padding: 28px 24px;
}

.process-card__number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  align-items: center;
  justify-content: center;
  color: #241d0d;
  background: var(--brand-gold-strong);
  border-radius: 50%;
  font-weight: 900;
}

.process-card h2 {
  margin-bottom: 10px;
  color: var(--site-text);
  font-size: 1.12rem;
  font-weight: 800;
}

.process-card p,
.device-card p,
.download-card p,
.info-panel p,
.faq-item p {
  color: var(--site-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.info-panel {
  padding: 32px;
}

.info-panel--accent {
  color: #ffffff;
  background: linear-gradient(145deg, #1f7545, #145433);
  border-color: transparent;
}

.info-panel h2 {
  margin-bottom: 14px;
  color: inherit;
  font-size: 1.65rem;
  font-weight: 800;
}

.info-panel--accent p {
  color: rgba(255, 255, 255, 0.82);
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--site-text);
  line-height: 1.5;
}

.check-list i {
  margin-top: 4px;
  color: var(--brand-green);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  padding: 0 22px;
}

.faq-item summary {
  padding: 20px 0;
  color: var(--site-text);
  cursor: pointer;
  font-weight: 800;
}

.faq-item p {
  padding: 0 0 20px;
}

/* Compatibility */
.device-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.device-card {
  display: flex;
  min-height: 280px;
  padding: 26px;
  flex-direction: column;
}

.device-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.device-card__icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: #2b2109;
  background: var(--brand-gold-strong);
  border-radius: 12px;
  font-size: 1.25rem;
}

.status-badge,
.platform-badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  color: #2b2109;
  background: #f2d477;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.device-card h2,
.download-card h2 {
  margin-bottom: 10px;
  color: var(--site-text);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.3;
}

.device-card .app-name {
  margin-top: 14px;
  color: var(--site-text);
  font-weight: 800;
}

.device-card .btn-site-secondary {
  width: fit-content;
  margin-top: auto;
  padding: 10px 15px;
  min-height: 42px;
  font-size: 0.86rem;
}

.next-step-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 28px 30px;
  background: linear-gradient(135deg, rgba(214, 180, 88, 0.18), var(--site-surface));
  border: 1px solid var(--brand-gold);
  border-radius: 14px;
}

.next-step-panel h2 {
  margin-bottom: 7px;
  color: var(--site-text);
  font-size: 1.25rem;
  font-weight: 800;
}

.next-step-panel p {
  color: var(--site-muted);
  line-height: 1.6;
}

/* Downloads */
.download-section {
  padding: 70px 0;
}

.download-section + .download-section {
  padding-top: 0;
}

.download-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.download-group-heading h2 {
  color: var(--site-text);
  font-size: 1.75rem;
  font-weight: 800;
}

.download-group-heading p {
  color: var(--site-muted);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.download-grid--single {
  grid-template-columns: minmax(280px, 380px);
}

.download-card {
  display: flex;
  padding: 20px;
  flex-direction: column;
}

.download-card__image {
  display: flex;
  height: 150px;
  margin-bottom: 20px;
  padding: 18px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #dadbd7;
  border-radius: 11px;
}

html[data-theme="dark"] .download-card__image {
  background: #242624;
}

.download-card__image img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.download-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.download-card__meta span:last-child {
  color: var(--site-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.download-card .btn-site-primary {
  width: 100%;
  margin-top: auto;
}

.download-note {
  margin-top: 22px;
  padding: 18px 20px;
  color: var(--site-muted);
  background: var(--site-surface-soft);
  border: 1px solid var(--site-border);
  border-radius: 11px;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  padding: 58px 0 24px;
  color: #d0d1cc;
  background: #191a19;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1fr;
  gap: 38px;
  padding-bottom: 38px;
}

.site-footer-logo {
  width: 130px;
  margin-bottom: 18px;
  border-radius: 9px;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: #aeb0aa;
  font-size: 0.92rem;
  line-height: 1.65;
}

.site-footer h2 {
  margin-bottom: 17px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
}

.site-footer ul {
  display: grid;
  gap: 10px;
}

.site-footer a:hover {
  color: var(--brand-gold-strong);
}

.site-footer-contact li {
  display: flex;
  gap: 9px;
}

.site-footer-contact i {
  width: 18px;
  margin-top: 5px;
  color: var(--brand-gold);
}

.site-footer-cta p {
  margin-bottom: 16px;
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.site-footer-bottom p {
  font-size: 0.82rem;
}

/* Back to top */
#movetop {
  display: flex;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  align-items: center;
  justify-content: center;
  color: #241d0d;
  background: var(--brand-gold-strong);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

#movetop.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .theme-toggle {
    position: absolute;
    top: 18px;
    right: 58px;
    margin: 0;
  }

  .w3l-header-4 .navbar-collapse {
    margin-top: 12px;
    padding: 14px;
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: 12px;
    box-shadow: var(--site-shadow);
  }

  .site-nav {
    gap: 4px;
  }

  .w3l-header-4 .site-nav-link,
  .w3l-header-4 .site-nav-cta {
    width: 100%;
    margin: 0;
    text-align: center;
  }

  .w3l-header-4 .site-nav-cta {
    margin-top: 6px;
  }

  .w3l-header-4 .navbar-toggler {
    color: #241d0d;
    background: var(--brand-gold-strong) !important;
    border: 0;
  }

  .w3l-header-4 .navbar-toggler-icon.fa {
    color: #241d0d;
  }

  .process-grid,
  .device-grid,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .section-shell,
  .download-section {
    padding: 54px 0;
  }

  .page-intro {
    padding: 54px 0 44px;
  }

  .hero-section {
    padding: 48px 0;
  }

  .hero-title,
  .hero-subtitle {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .hero-badge {
    display: flex;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-features-list {
    max-width: 520px;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-cta-group {
    justify-content: center;
    margin-bottom: 34px;
  }

  .category-grid,
  .process-grid,
  .device-grid,
  .download-grid,
  .info-grid,
  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 290px;
  }

  .category-card__content {
    padding: 26px;
  }

  .next-step-panel,
  .site-footer-bottom,
  .download-group-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .next-step-panel .btn-site-primary {
    width: 100%;
  }

  .download-grid--single {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .w3l-header-4 .navbar-brand img {
    height: 46px;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
    top: 15px;
    margin: 0;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-cta-group .btn-site-primary,
  .hero-cta-group .btn-site-secondary {
    width: 100%;
  }

  .category-card {
    min-height: 270px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .process-card,
  .device-card,
  .info-panel {
    padding: 24px 21px;
  }
}
