:root {
  --primary-color: #66b6ff;
  --secondary-color: #07153a;
  --text-light: #fff;
  --text-dark: #07153a;
  --background-color-light: #fff;
  --background-color-dark: #07153a;
  --background-color-primary: #66b6ff;
  --background-color-variant: rgba(102, 182, 255, 0.4);
  --background-hero: url("./images/bg-1.jpg") no-repeat center center/cover;
  --background-intro: url("./images/bg-2.jpg") no-repeat center center/cover;
  --background-footer: url("./images/bg-3.jpg") no-repeat center center/cover;
  --parallax-speed-default: 0.5;
  --font-family: "Poppins", sans-serif;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  -webkit-border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: rgba(100, 100, 100, 0.8);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

body {
  font-family: var(--font-family);
  background-color: var(--background-color-light);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
}

.background-custom-1 {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.modal-backdrop.show {
  opacity: 0.9;
}

.parallax-section {
  position: relative;
  overflow: hidden;
  --parallax-speed: var(--parallax-speed-default);
}

.parallax-section .parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  will-change: transform;
  z-index: -1;
}

.hero {
  min-height: 100dvh;
}

.hero .parallax-bg {
  background: var(--background-hero);
}

.hero-header {
  background: linear-gradient(
    to top,
    rgba(7, 21, 58, 1) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  color: var(--text-light);
  min-height: 80dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
  padding: 20px;
}

.hero-footer {
  background-color: var(--background-color-light);
  color: var(--text-dark);
  min-height: 20dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero .logo {
  max-width: 500px;
  margin: 0 auto;
}

.intro {
  background: var(--background-intro);
}

.avatar {
  width: 120px;
  height: 120px;
  padding: 0 !important;
}

.qr-code {
  max-height: 150px;
}

.card {
  background-color: var(--background-color-variant);
  border: none;
}

.text-space {
  letter-spacing: 0.2em;
}

.partners {
  background: var(--background-color-light);
  color: var(--text-dark);
  padding: 40px 0;
}

.partners .partner-group {
  max-height: 70px;
  margin: 0 auto;
}

.partners .partner-company {
  max-width: 300px;
  max-height: 200px;
  margin: 0 auto;
}

.partners h3 {
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.faq {
  background-color: var(--background-color-dark);
  color: var(--text-light);
  padding: 40px 0px;
}

.footer {
  color: var(--text-light);
  background: var(--background-footer);
}

.footer .logo {
  max-width: 200px;
  margin: 0 auto;
}

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

.text-secondary-custom {
  color: var(--secondary-color) !important;
}

.bg-primary-custom {
  background-color: var(--background-color-primary) !important;
  color: var(--text-light) !important;
}

.bg-secondary-custom {
  background-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
}

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

.border-secondary-custom {
  border-color: var(--secondary-color) !important;
}

.btn-primary-custom {
  background-color: var(--primary-color) !important;
  color: var(--text-dark) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 5px 30px !important;
  font-weight: bold !important;
}

.btn-outline-primary-custom {
  background-color: transparent !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  border-radius: 50px !important;
  padding: 5px 30px !important;
}

.btn-primary-custom:hover {
  filter: brightness(0.9) !important;
  transition: filter 1s ease-in-out !important;
}

.btn-outline-primary-custom:hover {
  filter: brightness(0.9) !important;
  transition: filter 1s ease-in-out !important;
}

.btn-secondary-custom {
  background-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 5px 30px !important;
}

.btn-outline-secondary-custom {
  background-color: transparent !important;
  color: var(--secondary-color) !important;
  border: 2px solid var(--secondary-color) !important;
  border-radius: 50px !important;
  padding: 5px 30px !important;
}

.btn-secondary-custom:hover {
  filter: brightness(0.9) !important;
  transition: filter 1s ease-in-out !important;
}

.btn-outline-secondary-custom:hover {
  filter: brightness(0.9) !important;
  transition: filter 1s ease-in-out !important;
}

.dropdown-item.active,
.dropdown-item:active {
  color: var(--text-light) !important;
  background-color: var(--primary-color) !important;
}

.book-button {
  min-width: 320px;
}

.accordion button,
.btn-close:focus {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
  font-weight: bold !important;
}

.accordion-button::after {
  filter: invert(1) !important;
}

.partners-carousel .card {
  min-height: 140px;
}

.partners-carousel .card .card-title {
  min-height: 50px;
}

.form-control:focus {
  border-color: var(--background-color-light);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(171, 171, 171, 0.25);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-input:focus {
  border-color: var(--background-color-light);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(171, 171, 171, 0.25);
}

.modal .modal-header {
  border: none;
}

.modal .btn-close.invert {
  filter: invert(1) !important;
}

.modal .btn-close:focus {
  box-shadow: none !important;
}

.subscribe .logo {
  max-width: 150px;
  max-height: 60px;
  margin: 0 auto;
}

.edit .logo {
  max-width: 90px;
  margin: 0 auto;
}

.credential .logo {
  max-width: 150px;
  max-height: 60px;
  margin: 0 auto;
}

.arrow-container {
  width: auto;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  /* opcional */
  cursor: pointer;
  /* opcional */
}

.arrow-down {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-right: 5px solid white;
  border-bottom: 5px solid white;
  transform: rotate(45deg);
  box-sizing: border-box;
}

.arrow-down:hover {
  transform: rotate(45deg) scale(1.1);
  transition: transform 0.3s ease;
}

.arrow-up {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-right: 5px solid white;
  border-top: 5px solid white;
  transform: rotate(-45deg);
  box-sizing: border-box;
}

.arrow-up:hover {
  transform: rotate(-45deg) scale(1.1);
  transition: transform 0.3s ease;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  /* ajusta o raio das bordas aqui */
}

/* garante que o iframe preencha o wrapper arredondado */
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  /* opcionalmente: */
  border-radius: 12px;
}

@media (max-width: 768px) {
  .book-button {
    min-width: 270px;
  }

  .hero {
    min-height: 80dvh;
  }

  .hero-header {
    min-height: 50dvh;
  }

  .hero-footer {
    min-height: 30dvh;
  }

  .hero .logo {
    max-width: 180px;
  }

  .partners .partner-company {
    max-width: 150px;
    max-height: 115px;
    margin: 0 auto;
  }

  .subscribe .logo {
    max-width: 120px;
    max-height: 50px;
  }

  .edit .logo {
    max-width: 90px;
  }

  .credential .logo {
    max-width: 150px;
    max-height: 60px;
  }

  .avatar {
    width: 60px;
    height: 60px;
  }

  .list-partners .avatar {
    width: 70px;
    height: 70px;
  }

  .qr-code {
    max-height: 80px;
  }

  .partners .text-space,
  .book .text-space {
    letter-spacing: 0.1em;
  }

  .partners-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .partners-carousel > .col-12.col-md-6 {
    flex: 0 0 90%;
    max-width: 90%;
  }

  .arrow-down {
    width: 20px;
    height: 20px;
  }
}
