* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html,
body {
  font-family: "PT Sans Caption", sans-serif;
}

h1,
button,
span {
  font-family: "Cinzel";
  overflow-y: hidden;
}

a {
  text-decoration: none !important;
}

li {
  list-style: none;
}

ul {
  margin: 0 !important;
}

header {
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
  height: 7rem;
  display: flex;
  padding: 0 6rem !important;
  position: relative;
  z-index: 9999;
  background-image: url("assets/fundo-homepage.png");
}

.navbar {
  width: 100%;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.navbar ul {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.navbar li {
  transition: 0.3s;
  position: relative;
  text-align: center;
}

.row {
  --bs-gutter-x: none !important;
}

.navbar img {
  height: 60px;
}

.navbar a {
  color: #fff;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 400;
}

.navbar li::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -20%;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease, left 0.3s ease;
}

.navbar li:hover::after {
  width: 100%;
  left: 0;
}

.menu-toggle {
  border: 0;
  background: transparent;
}

.menu-toggle img {
  height: 35px;
}

.sidebar {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/fundo-homepage.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 20px;
  display: flex;
  z-index: 9;
  flex-direction: column;
  transition: top 0.3s ease-in-out;
}

.sidebar.active {
  top: 6rem;
}

.sidebar button {
  background-color: transparent;
  border: 0;
  display: contents;
}

.sidebar .logo-po {
  height: 60px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  width: 100%;
  margin-top: 5rem !important;
}

.sidebar ul li:not(:last-child)::after {
  content: "";
  display: block;
  width: 20%;
  height: 1px;
  background-color: #fff;
  margin: 5px auto 0;
}

.sidebar li {
  padding: 15px 0;
  width: 100%;
  text-align: center;
}

.sidebar a {
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1.2rem;
}

#menuIcon {
  display: block;
}

#closeIcon {
  display: none;
}

.home-page {
  background: url("../assets/fundo-homepage.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.main-content {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.content-aside,
.content-article {
  padding: 0px 100px;
}

.content-aside {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.content-aside h1 {
  text-transform: uppercase;
  font-size: 4.5rem;
  font-weight: 400;
}

.content-aside h2 {
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 400;
  position: relative;
  text-align: left;
}

.content-aside p {
  font-size: 1.5rem;
}

.content-article-img {
  position: relative;
  bottom: 0;
  margin: auto;
}

.whoiamContainer {
  background: url("../assets/background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8rem 0;
}

.whoiamTitle {
  border-radius: 5rem;
  max-width: 28rem !important;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ff8989;
  color: #fff;
}

.whoiamTitle h2 {
  text-transform: uppercase;
  font-size: x-large;
  margin: 0 !important;
}

.whoiamSection {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  padding-top: 8rem;
}

.whoiamSection img {
  width: 30rem;
}

.whoiamSection p {
  max-width: 25rem;
  font-size: larger;
}

.whoiamSection1,
.whoiamSection2 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  gap: 10rem;
}

.procedures {
  background: url("../assets/fundo-homepage-180.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
}

.procedures img {
  margin: 0 auto;
}

.procedures-image-mobile {
  display: none;
}

.proceduresText {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto;
  gap: 3rem;
}

.proceduresText h1 {
  font-weight: 400;
  font-size: 4rem;
}

.proceduresText span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.proceduresText a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #e45d5d;
  border-radius: 0.5rem;
  height: 4rem;
  width: 250px;
  font-size: 22px;
  border: none;
  cursor: pointer;
  transition: 0.5s;
}

.proceduresText a:hover {
  background-color: #f97070;
}

.courses-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6rem 0 4rem 0;
}

.courses-title h2 {
  text-transform: uppercase;
  color: #e45d5d;
  font-size: 1.75rem;
}

.courses-title p {
  text-transform: uppercase;
  color: rgb(151, 61, 61, 0.7);
  font-weight: 600;
}

.courses a {
  text-decoration: none;
  background-color: #fff;
  color: #e45d5d;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
}

.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 8rem;
  overflow-x: hidden;
}

.courses-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ff8989 !important;
  box-shadow: 0px 5px 25px -3px rgba(0, 0, 0, 1);
  border: 0 !important;
  padding: 0.85rem;
}

.courses-card img {
  height: 15rem;
}

.courses-card h4 {
  font-size: larger;
  color: #fff;
  font-weight: 600;
}

.courses-card p {
  font-size: small;
  color: #fff;
  width: 15rem;
  text-align: center;
}

.iframe-container {
  position: relative;
  width: 80% !important;
  /* Largura total */
  padding-bottom: 36.25%;
  /* Proporção 16:9 (altura baseada na largura) */
  height: 0;
  overflow: hidden;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* Largura total do container */
  height: 100%;
  /* Altura total do container */
  border: 0;
  /* Sem bordas */
}

.space,
.location,
.courses {
  background-color: #fff;
}

.location {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2rem;
  padding: 10rem 0 10rem 0 !important;
}

.location h2 {
  color: #e45d5d;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: url("../assets/footer-background.png");
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  padding: 10rem;
}

.footer .footer-col {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer .footer-contact {
  display: flex;
  gap: 2rem;
}

.footer .footer-col a {
  color: #fff;
}

.footer .footer-col .backtotop {
  background-color: #fff;
  color: #e45d5d;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
}

@media (max-width: 1500px) {
  .content-article-img img {
    max-width: 40rem;
  }

  .content-title h1 {
    font-size: 4rem;
  }

  .content-title h2 {
    font-size: 2rem;
  }

  .content-aside p {
    font-size: 1.3rem;
  }
}

@media (max-width: 1300px) {
  .content-article-img img {
    max-width: 38rem;
  }
}

@media (max-width: 1223px) {
  .procedures {
    padding-top: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .procedures-image {
    display: none;
  }

  .procedures-image-mobile {
    display: flex;
    margin-top: 6rem !important;
  }
}

@media (max-width: 1200px) {
  .navbar ul {
    gap: 2rem;
  }

  .content-aside {
    padding-top: 6rem;
    text-align: center;
  }

  .content-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6rem;
  }
}

@media (max-width: 1040px) {
  section p {
    text-align: center;
  }
}

@media (max-width: 980px) {
  header {
    padding: 0 2rem !important;
  }
}

@media (min-width: 840px) {
  .menu-toggle {
    display: none;
  }
}

@media (max-width: 840px) {
  .navbar ul {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 767px) {
  .proceduresText {
    font-size: 1.8rem;
  }

  .proceduresText h1 {
    font-size: 3rem;
  }

  .procedures img {
    height: 30rem;
  }

  .content-article-img img {
    height: 35rem;
  }

  .content-aside h1 {
    font-size: 3rem;
  }

  .content-aside h2 {
    font-size: 1.5rem;
  }

  .content-aside p {
    font-size: 1.2rem;
  }
}

@media (max-width: 645px) {
  .whoiamContainer img {
    width: 25rem;
  }
}

@media (max-width: 550px) {
  .procedures {
    .proceduresText {
      h1 {
        font-size: 2.5rem;
      }

      span {
        font-size: 1.5rem;
      }
    }

    .procedures-image-mobile {
      img {
        height: 20rem;
      }
    }
  }

  .whoiamTitle {
    max-width: 22rem !important;
    height: 3.5rem;
  }

  .whoiamSection {
    p {
      font-size: large;
    }

    img {
      width: 21rem;
    }
  }

  .whoiamSection2 img {
    width: 20rem;
  }

  .footer {
    padding: 10rem 0;
  }

  .footer-content {
    display: flex;
    flex-direction: column;

    h6 {
      font-size: 1.5rem !important;
    }

    p {
      font-size: 1.2rem;
    }
  }
}

@media (max-width: 475px) {
  .whoiamSection p {
    width: 20rem;
  }

  .whoiamSection1,
  .whoiamSection2 {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .content-aside h1 {
    font-size: 2.5rem;
  }

  .content-aside h2 {
    font-size: 1.2rem;
  }

  .content-article-img img {
    height: 29rem;
  }

  .content-aside p {
    font-size: 1rem;
  }
}

@media (max-width: 425px) {
  .footer img {
    width: 18rem;
  }
}

@media (max-width: 375px) {
  .whoiamContainer {
    padding: 4rem 0;
  }

  .whoiamSection {
    gap: 4rem;
    padding-top: 4rem;
  }

  .whoiamSection1, .whoiamSection2 {
    gap: 6rem;
  }

  .whoiamSection img {
    width: 19rem;
  }

  .whoiamSection p {
    width: 18rem;
    font-size: medium;
  }
}
