/* styles.css com BEM e :root */
:root {
  --radius: 8px;
  --color-bg: #121515;
  --color-gray: #ccc;
  --color-black: #000;
  --color-white: #fff;
  --color-bg-dark: #000;
  --color-gray-dark: #888;
  --color-primary: #ffc600;
  --color-gray-dark: #2A3038;
  --font-main: Inter, sans-serif;
  --color-primary-light: #FFE461;
  --color-primary-dark: #99810E;
  --color-neutral-20: #2F2F2F0D;
  --color-neutral: rgba(242, 242, 242, 0.10);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background-size: contain;
  background-position: top;
  color: var(--color-white);
  background-repeat: no-repeat;
  font-family: var(--font-main);
  background-color: rgba(31, 31, 31, 1);
  background-image: url('../img/bg_hero.png');
}

.body--no-scroll {
  overflow: hidden;

}

/* utility */

.bold {
  font-weight: 800 !important;
}

.gray-dark {
  background-color: #212223 !important;
}

.primary {
  color: var(--color-primary) !important;
}


.f-md {
  font-size: 24px !important;
  font-weight: 700 !important;
}

.mg_top-12 {
  margin-top: 12px !important;
}

.mg_top-24 {
  margin-top: 24px !important;
}

.mg_top-36 {
  margin-top: 36px !important;
}

.mg_top-48 {
  margin-top: 48px !important;
}

.mg_right-12 {
  margin-right: 12px !important;
}

.mg_right-24 {
  margin-right: 24px !important;
}

.mg_right-36 {
  margin-right: 36px !important;
}

.mg_right-48 {
  margin-right: 48px !important;
}

.mg_bottom-12 {
  margin-bottom: 12px !important;
}

.mg_bottom-24 {
  margin-bottom: 24px !important;
}

.mg_bottom-36 {
  margin-bottom: 36px !important;
}

.mg_bottom-48 {
  margin-bottom: 48px !important;
}

.mg_left-12 {
  margin-left: 12px !important;
}

.mg_left-24 {
  margin-left: 24px !important;
}

.mg_left-36 {
  margin-left: 36px !important;
}

.mg_left-48 {
  margin-left: 48px !important;
}

.button_primary {
  width: 100%;
  border: none;
  height: 52px;
  display: flex;
  line-height: 1;
  padding: 0 15px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 15px;
  font-weight: bold;
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  transition: font-size 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.button_primary:hover {
  font-size: 1.2rem;
  box-shadow: 0 4px 24px 0 #FFE97F;
  background: var(--color-primary-light);
}

.button_primary:active {
  box-shadow: none;
  transform: scale(0.98);
  background: var(--color-primary);
}

.button__outline {
  width: 100%;
  height: 52px;
  display: flex;
  padding: 0 48px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: var(--radius);
  border: 1px solid var(--color-primary);
  color: var(--color-white);
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}

.button__text {
  font-size: 0.85rem;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
  display: inline-block;
}

.button__outline:hover {
  background: var(--color-primary);
  color: var(--color-black);
}

.button__outline:hover .button__text {
  transform: scale(1.25);
  /* Aumenta bem mais a fonte sem estourar o layout */
}

.button__outline:active {
  background: var(--color-primary-light);
  box-shadow: 0 4px 24px 0 #FFE97F;
}

.container {
  margin: auto;
  max-width: 1300px;
  padding: 20px 0px;

}

.header {
  border-bottom: 1px solid rgba(249, 249, 249, 0.05);
}

.header__container {
  display: flex;
  width: 1440px;
  flex-wrap: wrap;
  padding: 0px 120px;
  align-items: center;
  align-content: center;
  justify-content: space-between;
}


.menu__close {
  top: 20px;
  right: 20px;
  border: none;
  z-index: 1001;
  font-size: 32px;
  cursor: pointer;
  background: none;
  border-radius: 4px;
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.20);
}

/* Logo */
.header__logo {
  width: 150px;
  height: 30px;
  cursor: pointer;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url('../img/vaidebet_logo.svg');
}

/* Botão Hambúrguer */
.hamburger {
  border: none;
  display: none;
  font-size: 32px;
  cursor: pointer;
  background: none;
  color: var(--color-white);
}

/* Menu Desktop */
.header__nav.nav--desktop {
  gap: 20px;
  display: flex;
  align-items: center;
}


.header__nav.nav--desktop a {
  border: none;
  cursor: pointer;
  background: none;
  padding: 40px 40px;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--color-white);
  transition: padding 0.2s ease, border-bottom 0.2s ease;
}

.header__nav.nav--desktop a:hover {
  color: var(--color-primary);
  box-shadow: inset 0 -2px 0 var(--color-primary);
}


.header__button {
  border: none;
  cursor: pointer;
  font-weight: bold;
  padding: 10px 20px;
  color: var(--color-black);
  background: var(--color-primary);
}

/* Menu Mobile */
.header__nav.nav--mobile {
  top: 0;
  width: 80%;
  right: -80%;
  height: 100vh;
  z-index: 1000;
  display: none;
  position: fixed;
  padding: 40px 20px;
  flex-direction: column;
  background: var(--color-black);
  color: var(--color-gray-dark);
  transition: right 0.3s ease-in-out;
}

.header__nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.footer__social--menu {
  margin-top: auto;
  margin-bottom: 15%;
}

.header__nav.nav--mobile.active {
  right: 0;
  background-color: #1F1F1F;
}

.header__nav.nav--mobile a,
.header__nav.nav--mobile {
  border: none;
  padding: 10px 0;
  font-size: 18px;
  cursor: pointer;
  color: #9F9EAD;
  background: none;
  text-decoration: none;
}

.header__nav-links {
  text-align: center;
  list-style: none;
  padding: 20px 0;
}

.header__nav-links li {
  margin: 10px 0;

}

.header__social {
  margin-top: auto;
  padding-top: 40px;
  text-align: center;
}

.header__social a {
  margin: 0 10px;
  text-decoration: none;
  color: var(--color-primary);
}

.faq {
  margin: 0;
  display: flex;
  text-align: center;
  padding: 60px 20px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: var(--color-black);
  background-size: 37px auto;
  background-repeat: no-repeat;
  background-position: top right;
  background-color: var(--color-white);
  background-image: url('../img/bg_faq.svg');

}


.support__glass {
  z-index: 1;
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 32px;
  padding: 4rem 1.5rem;
  backdrop-filter: blur(5.1px);
  -webkit-backdrop-filter: blur(5.1px);
  background: linear-gradient(180deg, rgba(47, 47, 47, 0.112) 0%, rgba(47, 47, 47, 0) 100%);
}

.support {
  text-align: center;
}

.support__link {
  display: inline-block;
  text-decoration: none;
  color: var(--color-white);
  transition: background-color 0.3s ease, color 0.3s ease;

}

.support__link .icon {
  fill: var(--color-white);
  transition: fill 0.3s ease;
}

.support__link:hover {
  color: var(--color-primary);
  background-color: #cccccc26;
  border-color: var(--color-primary);
  outline: 4px solid var(--color-primary);
  outline-offset: -4px; /* Ajusta a borda "interna" para dentro */
}

.support__link:hover .icon {
  fill: var(--color-primary);
}

.support__glass::before {
  inset: 0;
  z-index: -1;
  content: "";
  padding: 1px;
  position: absolute;
  border-radius: 32px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.267) 0%, rgba(255, 255, 255, 0.04) 113.69%);
}


.support__title {
  margin-bottom: 48px;
}

.support__grid {
  gap: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.support__heading {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.support__item {
  width: 233px;
  height: 233px;
  border-radius: 0px;
  padding: 24px 32px;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.support__item--ballon {
  width: 350px;
  height: 233px;
  text-align: left;

}

.support__icon {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  border-radius: 200px;
  background: rgba(255, 255, 255, 0.05);
}

.support__item--highlight .support__item-horizontal {
  gap: 10px;
  display: flex;
  align-items: center;
}

.faq__list {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq__smal--text {
  padding: 12px;
  font-size: 14px;
  border-radius: 12px;
  color: var(--color-black);
  background-color: var(--color-neutral-20);
}

.faq__title {
  font-size: 56px;
  font-weight: 700;
  line-height: 100%;
  font-style: normal;
  text-transform: uppercase;
  color: var(--neutral-colors-2-a-3038, #2A3038);
}

.faq__content .faq__content-jogo-responsavel {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease;

}

/* Quando aberto, aplica estilos */
.faq__item.open .faq__content {
  opacity: 1;
  max-height: 500px;

}

.faq__card {
  gap: 12PX;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.faq__card-content {
  width: 100%;
  height: 116px;
  display: flex;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  background-color: var(--color-white);
  border: 4px solid var(--color-primary);

}

.faq__card-text {
  font-size: 12px;
}

.faq__list details {
  width: 1300px;
  text-align: left;
  line-height: 30px;
  padding: 10px 24px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  border: 1px solid #2F2F2F1A;
}

.faq__list summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  font-weight: bold;
  padding-right: 5px;
  align-items: center;
  justify-content: space-between;

}

.faq__list summary::-webkit-details-marker {
  display: none;
}

.faq__list summary .icon {
  align-items: center;
  transition: transform 0.3s ease, margin 0.3s ease;
}

.faq__list summary .icon svg {
  fill: currentColor;
  color: var(--color-black);
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq__list details[open] {
  padding: 10px 24px;
  border: 2px solid var(--color-black);
}

.faq__list details[open] .icon {
  order: 0;
  transform: rotate(180deg);
  transition: transform 0.3s ease, margin 0.3s ease;
}

.faq__list details[open] .icon svg {
  color: var(--color-primary);
}


.footer {
  color: var(--color-white);
  background: var(--color-bg);
}

.footer__top {
  display: flex;
  padding: 30px 120px;
  flex-direction: row;
  align-items: center;
  align-self: stretch;
  justify-content: space-between;
}

.footer__logo {
  width: 150px;
  height: 50px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../img/vaidebet_logo.svg');
}

.footer__links a {
  font-size: 16px;
  color: #9F9EAD;
  font-weight: 400;
  line-height: 24px;
  margin-right: 15px;
  font-family: Inter;
  font-style: normal;
  text-decoration: none;
  color: var(--color-white);

}

.footer__links a:hover {
  color: var(--color-primary);
}

.footer__social a img {
  width: 24px;
  margin-right: 10px;
}

.footer__bottom {
  gap: 10px;
  width: 100%;
  height: 12px;
  display: flex;
  padding: 17px 0;
  font-size: 12px;
  font-weight: 700;
  color: #1F1F1F;
  font-family: Inter;
  font-style: normal;
  align-items: center;
  line-height: normal;
  justify-content: center;
  color: var(--color-black);
  background: var(--color-primary);
}


/* MOBILE FIRST (até 767px) */

@media (max-width: 767px) {
  .hero__title {
    font-size: 30px !important;
  }

  .hero__text span {
    font-size: 20px !important;
  
  }

  .hero__text {
    font-size: 16px !important;
  }

  .carousel__controls {
    display: none;
  }

  .faq__list summary {
    width: 100% !important;
  }

  .tools__intro {
    text-align: center;
  }

  body {

    background-image: url('../img/BT_LINK.png');
    background-size: contain;
  }


  .support__glass {
    width: inherit;
    padding: 4rem 0rem 0rem 0rem;
  }

  .header__nav-header {
    display: flex;
    width: 76%;
    padding-left: 66px;
    margin-top: 48px;
    justify-content: space-around;
    align-items: center;
    align-content: center;
    flex-direction: row;
  }

  .header__nav.nav--desktop {
    display: none;
  }

  .hamburger {
    display: block;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.20);
  }

  .header__nav.nav--mobile {
    display: flex;
  }

  .header__container {
    flex-direction: row;
    padding: 20px 20px 20px 50px;
    width: auto;
    align-items: center;
  }

  .header__container> :first-child {
    margin: 0 auto;
  }

  .header__container> :last-child {
    margin-left: auto;
  }

  .footer__top {
    flex-direction: column;
    padding: 20px;
    width: auto;
    gap: 20px;
    align-items: center;
  }

  .header__nav {
    flex-direction: column;
    gap: 10px;
  }

  .header__nav a {
    padding: 10px 0;
    font-size: 14px;
  }

  .hero__title {
    font-size: 30px;
    line-height: 1.3;
  }

  .hero__subtitle {
    font-size: 18px;
    line-height: 1.3;
  }

  .support__text {
    padding: 0px 24px !important;
  }

  .support__text--balloon {
    padding: 0px 0px !important;
  }


  .support__grid {
    flex-direction: column;
    align-items: center;
    gap: inherit;
  }

  .support__item {
    width: 100%;
    height: auto;
    padding: 24px 12px;
  }


  .support__item--ballon {
    width: 80%;
    height: auto;
    padding: 24px 48px;
  }

  .f-md {
    font-size: 18px !important;
    font-weight: 700 !important;
  }

  .support__item-horizontal img {
    width: 120px;
    height: 120px;
  }

  .tools__container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px;
    gap: 30px;
  }

  .carousel {
    flex-flow: column;
    width: 95%;
    gap: 72px;
  }

  .carousel__scroll-area {
    padding: 15% 0 0 0;
  }

  .tools__smal--text {
    margin-bottom: 40px;
  }

  .tools__intro h1 {
    font-size: 32px;
    margin: 32px 0;
  }

  .carousel__card {
    height: auto;
    padding-top: 232px;
  }

  .carousel__image {
    width: 270px;
    top: -40px;
  }

  .carousel__card h3 {
    font-size: 24px;
  }

  .faq {
    background-image: url('../img/bg_faq.svg');
    background-size: 37px auto;
    border: 0px solid transparent;
  }

  .faq__card {
    flex-direction: column;
  }

  .faq__content {
    max-width: 332px;
  }

  .faq__list details {
    width: 90%;
    padding: 10px 16px;
  }

  .faq__title {
    font-size: 32px;
    line-height: 2rem;
    margin: 32px 0px;
  }

  .footer__links,
  .footer__social {
    text-align: center;
  }

  .footer__links a {
    display: block;
    margin: 5px 0;
  }

  .footer__social a img {
    margin: 5px;
  }

}

/* TABLET (768px – 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {

  .carousel__controls {
    display: none;
  }

  .tools__intro {
    text-align: center;
  }

  body {

    background-image: url('../img/BT_LINK.png');
    background-size: contain;
  }


  .support__glass {
    width: inherit;
    padding: 4rem 0rem 0rem 0rem;
  }

  .header__nav-header {
    display: flex;
    width: 76%;
    padding-left: 66px;
    margin-top: 48px;
    justify-content: space-around;
    align-items: center;
    align-content: center;
    flex-direction: row;
  }

  .header__nav.nav--desktop {
    display: none;
  }

  .hamburger {
    display: block;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.20);
  }

  .header__nav.nav--mobile {
    display: flex;
  }

  .header__container {
    flex-direction: row;
    padding: 20px 20px 20px 50px;
    width: auto;
    align-items: center;
  }

  .header__container> :first-child {
    margin: 0 auto;
  }

  .header__container> :last-child {
    margin-left: auto;
  }

  .footer__top {
    flex-direction: column;
    padding: 20px;
    width: auto;
    gap: 20px;
    align-items: center;
  }

  .header__nav {
    flex-direction: column;
    gap: 10px;
  }

  .header__nav a {
    padding: 10px 0;
    font-size: 14px;
  }

  .hero__title {
    font-size: 30px;
    line-height: 1.3;
  }

  .hero__subtitle {
    font-size: 18px;
    line-height: 1.3;
  }

  .support__text {
    font-size: 32px;
    padding: 0px;
  }

  .mg_text {
    width: 90%;
    margin: 32px;
  }

  .support__grid {
    flex-direction: column;
    align-items: center;
    gap: inherit;
  }

  .support__item {
    width: 100%;
    height: auto;
    padding: 24px 12px;
  }


  .support__item--ballon {
    width: 100%;
    height: auto;
    padding: 24px 48px;

  }

  .support__item-horizontal {
    padding: 0 24px;
  }

  .f-md {
    font-size: 38px !important;
    font-weight: 700 !important;
  }

  .support__item-horizontal img {
    width: 250px;
    height: 250px;
    margin-right: 12px;
  }

  .tools__container {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    gap: 30px;
  }

  .carousel {
    flex-flow: column;
    width: 95%;
    gap: 72px;
  }

  .carousel__scroll-area {
    padding: 15% 0 0 0;
  }

  .tools__smal--text {
    margin-bottom: 40px;
  }

  .tools__intro h1 {
    font-size: 32px;
    margin: 32px 0;
  }

  .carousel__card {
    height: auto;
    padding-top: 232px;
  }

  .carousel__image {
    width: 270px;
    top: -40px;
  }

  .carousel__card h3 {
    font-size: 24px;
  }

  .faq {

    background-image: url('../img/bg_faq.svg');
    background-size: 37px auto;
    border: 0px solid transparent;
  }

  .faq__content {
    max-width: 332px;
  }

  .faq__list details {
    width: 90%;
    padding: 10px 16px;
  }

  .faq__title {
    font-size: 32px;
    line-height: 2rem;
    margin: 32px 0px;
  }

  .footer__links,
  .footer__social {
    text-align: center;
  }

  .footer__links a {
    display: block;
    margin: 5px 0;
  }

  .footer__social a img {
    margin: 5px;
  }
}

/* INTERMEDIÁRIO (1025px – 1199px) */
@media (min-width: 1025px) and (max-width: 1199px) {
  .carousel__controls {
    display: none;
  }

  .faq__content {
    max-width: 332px;
  }

  .tools__intro {
    text-align: center;
  }

  body {

    background-image: url('../img/BT_LINK.png');
    background-size: contain;
  }


  .support__glass {
    width: inherit;
    padding: 4rem 0rem 0rem 0rem;
  }

  .header__nav-header {
    display: flex;
    width: 76%;
    padding-left: 66px;
    margin-top: 48px;
    justify-content: space-around;
    align-items: center;
    align-content: center;
    flex-direction: row;
  }

  .header__nav.nav--desktop {
    display: none;
  }

  .hamburger {
    display: block;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.20);
  }

  .header__nav.nav--mobile {
    display: flex;
  }

  .header__container {
    flex-direction: row;
    padding: 20px 20px 20px 50px;
    width: auto;
    align-items: center;
  }

  .header__container> :first-child {
    margin: 0 auto;
  }

  .header__container> :last-child {
    margin-left: auto;
  }

  .footer__top {
    flex-direction: column;
    padding: 20px;
    width: auto;
    gap: 20px;
    align-items: center;
  }

  .header__nav {
    flex-direction: column;
    gap: 10px;
  }

  .header__nav a {
    padding: 10px 0;
    font-size: 14px;
  }

  .hero__title {
    font-size: 30px;
    line-height: 1.3;
  }

  .hero__subtitle {
    font-size: 18px;
    line-height: 1.3;
  }

  .support__text {
    font-size: 32px;
    padding: 0px;
  }

  .mg_text {
    width: 90%;
    margin: 32px;
  }

  .support__grid {
    flex-direction: column;
    align-items: center;
    gap: inherit;
  }

  .support__item {
    width: 100%;
    height: auto;
    padding: 24px 12px;
  }


  .support__item--ballon {
    width: 100%;
    height: auto;
    padding: 24px 48px;

  }

  .support__item-horizontal {
    padding: 0 24px;
  }

  .f-md {
    font-size: 38px !important;
    font-weight: 700 !important;
  }

  .support__item-horizontal img {
    width: 250px;
    height: 250px;
    margin-right: 12px;
  }

  .tools__container {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    gap: 30px;
  }

  .carousel {
    flex-flow: column;
    width: 95%;
    gap: 72px;
  }

  .carousel__scroll-area {
    padding: 15% 0 0 0;
  }

  .tools__smal--text {
    margin-bottom: 40px;
  }

  .tools__intro h1 {
    font-size: 32px;
    margin: 32px 0;
  }

  .carousel__card {
    height: auto;
    padding-top: 232px;
  }

  .carousel__image {
    width: 270px;
    top: -40px;
  }

  .carousel__card h3 {
    font-size: 24px;
  }

  .faq {

    background-image: url('../img/bg_faq.svg');
    background-size: 37px auto;
    border: 0px solid transparent;
  }

  .faq__list details {
    width: 90%;
    padding: 10px 16px;
  }

  .faq__title {
    font-size: 32px;
    line-height: 2rem;
    margin: 32px 0px;
  }

  .footer__links,
  .footer__social {
    text-align: center;
  }

  .footer__links a {
    display: block;
    margin: 5px 0;
  }

  .footer__social a img {
    margin: 5px;
  }
}