/*
Theme Name: ViaQuiz
Description: Tema para site comercial da ViaQuiz Concursos
Author: UP Market
Theme URI: https://upmarket.com.br/
Version: 1.0
Text Domain: viaquiz
*/

@import url("assets/fonts/aeonik/aeonik.css");

/* =====================================
   BASE (mobile) 
   ===================================== */
body,
h2,
h3,
h4 {
  font-family: "Aeonik" !important;
  letter-spacing: 0 !important;
}

:root {
  --light-color: #ffffff;
  --dark-color: #000000;
  --viaquiz-color: #00ffee;
  --viaquiz-pale-color: #ccffff;
  --viaquiz-soft-color: #99fff9;
  --viaquiz-warning: #ffb900;
  --gray-100-color: #fafafa;
  --gray-300-color: #cacaca;
  --gray-500-color: #aaaaaa;

  --viaquiz-color-rgba: 0, 255, 238;
}

#menu-menu-principal li a.nav-link {
  padding: 10px 0 !important;
}

a.nav-link {
  font-weight: 100 !important;
}

a.nav-link.active,
a.nav-link:hover {
  color: rgba(var(--viaquiz-color-rgba), 0.65) !important;
}

a.zap {
  font-weight: 100 !important;
}

a.zap:hover {
  color: var(--dark-color) !important;
}

.btn-cyan:hover {
  color: var(--light-color) !important;
}

.btn-dark a {
  color: var(--light-color) !important;
}

.btn-dark a:hover {
  color: var(--viaquiz-color) !important;
}

img.mini-market {
  width: 120px !important;
  height: 120px !important;
}

.wpcf7-not-valid-tip {
  font-size: 11px !important;
  margin-left: 20px !important;
}

.wpcf7-response-output {
  font-size: 12px !important;
  text-align: center !important;
  color: var(--viaquiz-warning);
}

.wpcf7 form.sent .wpcf7-response-output {
  color: var(--dark-color) !important;
  border-color: var(--viaquiz-color) !important;
}

.text-justify {
  text-align: justify !important;
}

.link-hover a:hover {
  color: var(--viaquiz-color) !important;
}

.tax-logo img {
  max-width: 200px !important;
}

.whs-90 {
  width: 90px !important;
  height: 90px !important;
}

.logo-header {
  width: 100px;
}

.logo-footer {
  width: 210px;
}

.logo-credits {
  height: 30px !important;
  transition: opacity 0.2s ease;
}

.logo-credits:hover {
  opacity: 0.5 !important;
}

.line-bottom {
  border-bottom: 1px solid var(--gray-100-color);
}

.tax-card img,
.swiper-slide figure {
  width: 100% !important;
  aspect-ratio: 3/2 !important;
  overflow: hidden !important;
  margin: 0 auto !important;
}

.tax-card img,
.swiper-slide figure img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.badge-ribbon {
  top: 40px;
  left: -60px;
  font-size: 0.65rem;
  padding: 6px 80px;
  position: absolute;
  transform: rotate(-45deg);
  transform-origin: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.bg-overlay-dark::before {
  background: rgba(30, 34, 40, 0.8) !important;
}

.bg-top {
  background-size: cover !important;
  background-position: top !important;
  background-repeat: no-repeat !important;
}

.card-img-top img {
  width: 100% !important;
  height: 400px !important;
  object-fit: cover !important;
  display: block !important;
}

.card-tagged.pricing {
  background-color: var(--viaquiz-pale-color);
  box-shadow: 0 0 0 0.05rem rgba(8, 60, 130, 0.06),
    0rem 0rem 1.25rem rgba(30, 34, 40, 0.04);
  border: 0;
  color: inherit;
}

.pricing:hover {
  background-color: var(--gray-100-color) !important;
}

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

.faq-collapse-link {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gray-500-color);
}

.faq-collapse-link:hover {
  color: var(--dark-color);
}

.card:has(.card-header.show) > .color a {
  color: var(--dark-color);
}

.card:has(.card-header.show) > .color {
  background-color: var(--viaquiz-soft-color);
}

.block-process .btn-circle {
  transition: all 0.3s ease;
}

.block-process:hover .btn-circle {
  background-color: var(--viaquiz-color);
}

.grecaptcha-badge {
  width: 70px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  left: -2px !important;
  bottom: 30px !important;
  opacity: 1 !important;
}
.grecaptcha-badge:hover {
  width: 256px !important;
}

/* =====================================
   TABLET (≥768px)
   ===================================== */
@media (min-width: 768px) {
  #menu-menu-principal li a.nav-link {
    padding: 15px 0 !important;
  }

  .text-md-justify {
    text-align: justify !important;
  }

  .accordion-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colunas desktop/tablet */
    gap: 1rem;
  }

  .accordion-columns .accordion-item {
    break-inside: avoid;
  }
}

/* =====================================
   NOTEBOOK (≥992px)
   ===================================== */
@media (min-width: 992px) {
  #menu-menu-principal li a.nav-link {
    padding: 20px 15px !important;
  }

  .badge-ribbon {
    top: 10px;
    left: -60px;
    font-size: 0.75rem;
  }
}

/* =====================================
   DESKTOP (≥1200px)
   ===================================== */
@media (min-width: 1200px) {
  #menu-menu-principal li a.nav-link {
    padding: 25px !important;
  }
}
