@font-face {
  font-family: "Margem-regular";
  src: url("@/assets/fonts/Margem-Regular-web.ttf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Margem-medium";
  src: url("@/assets/fonts/Margem-Medium-web.ttf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Margem-bold";
  src: url("@/assets/fonts/Margem-Bold-web.ttf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Margem-black";
  src: url("@/assets/fonts/Margem-Black-web.ttf") format("opentype");
  font-display: swap;
}

body {
  padding-top: 0;
  position: relative;
}

h1,
h2,
h3,
h4,
p,
strong,
a,
span,
li {
  font-family: "Mulish", sans-serif;
}

#menuToggle {
  display: none;
  position: relative;
  z-index: 1;

  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a {
  text-decoration: none;
  color: #232323;

  transition: color 0.3s ease;
}

#menuToggle a:hover {
  color: tomato;
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -2px;
  left: -2px;

  cursor: pointer;

  opacity: 0;
  z-index: 2;

  -webkit-touch-callout: none;
}

#menuToggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px;
  position: relative;
  opacity: 1;
  background: #fff;
  border-radius: 3px;

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(0px, 2px);
  background: #fff;
}

#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

#menuToggle input:checked ~ ul {
  visibility: visible;
  opacity: 1;
}

#menu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: -5px;
  right: 5px;
  background: #121212;
  color: #fff;
  padding: 15px;
  list-style: none;
  border-radius: 6px;
  width: 200px;
  transition: 0.5s;
}

#menu a {
  color: #fff;
  margin-bottom: 15px;
}

#menu a:hover {
  color: #fff;
}

.section-topo {
  min-height: 647px;
  overflow: hidden;

  position: relative;
  padding: 7px 85px 49px;

  background-image: url("/panorama-dos-concursos/assets/img/bg-hero-dez-2025.webp");
  background-size: cover;
  background-repeat: no-repeat;
}

.section-topo-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #070707 11.79%, rgba(7, 7, 7, 0) 86.83%);
}

.section-topo .container {
  position: relative;

  display: flex;
  flex-direction: column;
  gap: 24px;

  height: 100%;
}

.panorama-container {
  display: flex;
  gap: 52px;
  flex-grow: 1;

  z-index: 2;
}

.navbar {
  padding: 25px 0 !important;
}

.navbar a img {
  width: 132px;
}

.navbar span {
  background-color: #fff;
  width: 3px;
  height: 3px;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  border-radius: 50%;
  margin: 0 20px;
  opacity: 0.5;
}

.navbar .link-navbar {
  color: #fff;
  display: inline-block;
  position: relative;
}

.navbar .link-navbar:after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 1px;
  background-color: #fff;
  position: absolute;
  left: 0;
  bottom: -2px;
  opacity: 0;
  transition: 0.5s;
}

.navbar .link-navbar:hover:after {
  opacity: 1;
}

.mobile-button-banner {
  display: none;
  margin-top: 25px;
}

.main-button {
  background: linear-gradient(90deg, #e60009 0%, #ff00a2 100%);
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  padding: 14.5px 26.5px;
  font-family: Spartan;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 0.2px;
}

.main-button:hover {
  color: #fff;
}

.panorama {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;

  width: 100%;
  max-width: 576px;
}

.panorama-professores {
  max-width: 666px;
  width: 100%;
  height: 100%;
}

.panorama-professores img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.panorama .panorama-dos-concursos-2025-logo {
  width: 160px;
  height: auto;
}

.tag-reinvencao {
  color: #ffffff;
  font-size: 22px;
  font-family: "Margem-bold";
  line-height: 34px;
  letter-spacing: 3px;
}

.tag-reinvencao span {
  color: #dd303e;
}

.panorama-dos-concursos-2025-sub-title {
  display: flex;
  align-items: center;
  gap: 10px;

  font-family: "Margem-bold";
  line-height: 125%;
  text-transform: uppercase;
  color: #fff;
}

.panorama-dos-concursos-2025-sub-title span,
.panorama-dos-concursos-2025-sub-title p {
  margin: 0;

  color: #ffffff;
  font-family: "Margem-medium";
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.panorama-dos-concursos-2025-sub-title span {
  padding: 2px 10px;
  border-radius: 1px 8px 1px 8px;
  border: 1px solid #deff85;

  font-family: "Margem-bold";
  font-size: 20px;
  line-height: 125%;
  text-transform: uppercase;
}

.panorama-dos-concursos-2025-main-title {
  width: 100%;
  position: relative;

  display: flex;
  flex-direction: column;
}

.panorama-dos-concursos-2025-main-title h1 {
  font-family: "Margem-black";
  font-size: 72px;
  line-height: 100%;
  text-transform: uppercase;
  color: white;
  margin-bottom: 0;
}

.panorama-dos-concursos-2025-main-title h1 span {
  font-family: "Margem-black";
  color: #deff85;
}

.panorama-dos-concursos-2025-main-title .circuito-1 {
  position: absolute;
  right: -47px;
  bottom: -5px;
}

.panorama-dos-concursos-2025-main-title h2 {
  font-family: "Margem-bold";
  font-size: 56px;
  line-height: 90%;
  text-transform: uppercase;
  color: #ffffff;
}

.panorama-dos-concursos-2025-main-title h1 b {
  color: #fff;
  font-family: "Margem-bold";
}

.panorama-dos-concursos-2025-main-title span img {
  position: absolute;
  left: 5px;
  top: -25px;
}

.panorama-dos-concursos-2025-description-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panorama-dos-concursos-2025-tag-title span {
  font-size: 16px;
  line-height: 125%;
  font-weight: 700;
  font-family: "Margem-bold";
  padding: 2px 10px;
  border-radius: 1px 8px 1px 8px;
  border: 1px solid;
  display: inline-block;
  text-transform: uppercase;
  background-color: #deff85;
  color: #041431;
}

.panorama-dos-concursos-2025-description {
  width: 100%;
  margin-bottom: 0;
  font-family: "Montserrat";
  font-size: 20px;
  line-height: 135%;
  color: #ffffff;
  letter-spacing: 0.1px;
}

.panorama-dos-concursos-2025-description span {
  font-weight: 700;
  font-family: "MontserratBold";
  font-size: 20px;
  line-height: 135%;
  color: #deff85;
}

.section-topo .professores-img {
  position: absolute;
  right: -20px;
  bottom: 20px;
}

@media screen and (min-width: 1382px) {
  .section-topo .container {
    max-width: 1440px !important;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1381.99px) {
  .panorama-professores img {
    width: 120%;
    height: 100%;
    position: relative;
    top: 120px;
    right: 20px;
  }
}

@media screen and (max-width: 1200px) {
  .section-topo .professores-img {
    width: 100%;
    max-width: 500px;

    margin: auto;

    display: block;
    position: relative;
    right: 0;
    bottom: 0;
  }
}

@media screen and (max-width: 1024px) {
  .section-topo {
    height: auto;
    padding: 30px 0;
  }
}

@media screen and (max-width: 992px) {
  .panorama-container {
    flex-direction: column;
    gap: 24px;
  }

  .panorama-professores {
    max-width: 100%;
  }
}

@media screen and (max-width: 720.98px) {
  .navbar {
    justify-content: center;
  }

  .section-topo {
    position: relative;
    padding: 15px 0 57px;
    background-image: url("/panorama-dos-concursos/assets/img/bg-mobile-hero-dez-2025.webp");
    background-size: cover;
    background-position: 80% 0;
    background-repeat: no-repeat;
  }

  .section-topo-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #070707 11.79%, rgba(7, 7, 7, 0) 86.83%);
  }

  .panorama {
    align-items: center;
    gap: 24px;
  }

  .panorama-dos-concursos-2025-sub-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .panorama-dos-concursos-2025-main-title h1,
  .panorama-dos-concursos-2025-main-title h2 {
    font-size: 40px;
    line-height: 90%;
    text-align: center;
  }

  .panorama-dos-concursos-2025-description-container {
    gap: 24px;
    flex-direction: column-reverse;
  }

  .panorama-dos-concursos-2025-tag-title {
    text-align: center;
    margin: 0 auto;
    display: block;
  }

  .panorama-dos-concursos-2025-description {
    font-size: 16px;
    text-align: center;
    letter-spacing: 0.6px;
  }

  .panorama-dos-concursos-2025-description span {
    font-size: 16px;
  }

  .panorama-dos-concursos-2025-main-title {
    max-width: max-content;
  }

  .panorama-dos-concursos-2025-main-title span {
    font-size: 2.6rem;
  }

  .panorama-dos-concursos-2025-main-title .circuito-1 {
    width: 104px;
    bottom: 0;
    right: 15px;
  }

  .panorama-dos-concursos-2025-main-title span img {
    width: 100px;
  }
}

@media screen and (max-width: 400px) {
  .panorama-dos-concursos-2025-sub-title span,
  .panorama-dos-concursos-2025-sub-title p {
    font-size: 20px;
    line-height: 125%;
    text-align: center;
    width: 348px;
  }
}
