.hero {
  padding: 1rem;
  width: 100%;
  height: 55ch;

  position: relative;
  overflow: hidden;
}

#video-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#video-container video,
#video-ins {
  -webkit-appearance: none;
}

video::-webkit-media-controls {
  display: none !important;
}

video::-webkit-media-controls-enclosure {
  display: none !important;
}

#video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-logo {
  width: 12rem;
  height: auto;

  position: relative;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: white;
}

.hero-title {
  margin-top: 1rem;
}

.hero-description {
  margin-top: 1rem;
}

.timeline-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 3rem 0;
}

.timeline-header h2 {
  font-size: 2rem;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: #cccccc60;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-text {
  text-align: center;
  margin: 0 1rem;
}

.container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.container::after {
  content: "";
  position: absolute;
  width: 2rem;
  height: 2rem;
  right: -17px;
  background-color: #073cff;
  border: 5px solid #f7f7f7;
  top: 0;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.left::before {
  content: "";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;

  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

.right::before {
  content: "";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;

  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

.right::after {
  left: -16px;
}

.content {
  display: flex;
  flex-direction: column;
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
}

.content h2 {
  color: #073cff;
  margin-bottom: 0.5rem;
}

.container.left > div {
  align-items: flex-end;
  text-align: end;
}

@media screen and (max-width: 600px) {
  .container.left > div {
    align-items: flex-start;
    text-align: start;
  }

  .content {
    padding: 1rem;
  }

  .timeline::after {
    left: 31px;
  }

  .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .container::before {
    left: 60px;

    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  .left::after,
  .right::after {
    left: 15px;
  }

  .right {
    left: 0%;
  }
}

.video-container {
  background: #121212;
  padding: 2rem;
}

.video-container h2 {
  font-size: 1.8rem;
  color: #f7f7f7;
  margin-bottom: 2rem;
}

.video-wrapper {
  position: relative;
  width: max-content;
  margin: 0 auto;
}

#video-ins {
  height: auto;
  max-height: 50ch;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: 1rem;
}

.video-wrapper button {
  position: absolute;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 3.5rem;
  height: 3.5rem;

  border-radius: 100%;

  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(4px);

  top: 50%;
  left: 50%;

  cursor: pointer;

  transform: translate(-50%, -50%);
}

.volumeSlider-wrapper,
#volumeSlider {
  display: none;
}

@media screen and (min-width: 720px) {
  .volumeSlider-wrapper {
    position: absolute;

    bottom: 12px;
    right: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
  }

  #volumeSlider {
    display: block;
    position: absolute;

    bottom: 3.8rem;
    left: 50%;

    transform: translateX(-50%) rotate(-90deg);

    width: 80px;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.2s ease;
  }

  .volumeSlider-wrapper:hover #volumeSlider {
    opacity: 1;
    pointer-events: auto;
  }
}

#architecture {
  padding: 1rem;
}

#architecture h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 2rem 0;
}

#architecture main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.architecture-card {
  position: relative;

  border-radius: 1rem;

  overflow: hidden;
  box-shadow: 2px 4px 12px 0 rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

@media screen and (min-width: 720px) {
  #architecture main {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .architecture-card {
    flex: 1;

    height: 22rem;
  }
}

.architecture-card img {
  width: 100%;

  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.2s ease;
}

.architecture-card:hover img {
  transform: scale(1.05);
}

.architecture-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  padding: 1rem;
  background: #f7f7f7;
}

@media screen and (min-width: 1000px) {
  .architecture-text {
    padding: 2rem;
  }
}

.architecture-text h3 {
  font-size: 1.3rem;
  font-weight: bold;
}

#payment {
  margin-top: 2rem;

  background: #f1f4f9;
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
}

.payment-container {
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.payment-container h2 {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}

.payment-subtitle {
  color: #666;
  margin-bottom: 2rem;
}

.payment-card {
  background: white;
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.qr-section img {
  width: 180px;
  height: 180px;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 1rem;
}

.qr-section span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #073cff;
  text-transform: uppercase;
}

.pix-info {
  width: 100%;
  text-align: left;
}

.pix-info label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.payment-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.5rem;
}

.payment-content input {
  flex: 1;
  padding: 0.8rem 1rem;
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 0.75rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: #333;
  cursor: pointer;
}

.payment-content button {
  background: #073cff;
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

@media screen and (min-width: 640px) {
  .payment-content {
    flex-direction: row;
  }
  .payment-content button {
    padding: 0 1.5rem;
    justify-content: stretch;
  }
}

.payment-content button:hover {
  background: #0029c7;
  transform: translateY(-1px);
}

.bank-details {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #888;
  text-align: center;
}

@media (min-width: 600px) {
  .payment-card {
    flex-direction: row;
    text-align: left;
  }
  .pix-info {
    flex: 1;
  }
}

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999999;

  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 0.75rem;

  background: #f7f7f7;
  box-shadow: 2px 4px 12px 0 rgba(0, 0, 0, 0.25);

  animation: show 0.5s ease forwards;
}

.toast.leave {
  animation: hide 0.5s ease forwards;
}

.toast-title {
  font-family: "Lexend", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #073cff;
}

.toast-message {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}

@keyframes show {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hide {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

footer {
  margin-top: 5%;
  position: relative;
  background: #f7f7f7;
  padding: 2rem;
  border: 2px solid #1111;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.footer-leaders {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;

  text-transform: uppercase;
  font-weight: 600;
}

.footer-leaders p {
  margin: 0;
  line-height: 1.4;
}

.footer-leaders strong {
  font-size: 1.1rem;
}

.footer-leaders p:last-child {
  text-align: right;
}

.footer-picture h3 {
  font-weight: bold;
  font-size: 1.2rem;
}

.footer-picture p {
  color: #0029c7;
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .footer-leaders {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-leaders p:last-child {
    text-align: center;
  }
}

.footer-logo {
  margin-top: 4rem;
}

@media screen and (min-width: 1600px) {
  footer {
    margin-top: 10%;
  }
}

@media screen and (min-width: 600px) {
  .footer-picture {
    position: absolute;
    top: -10rem;
    left: 0;

    display: flex;
    align-items: end;
  }

  .footer-logo {
    margin-top: 5%;
  }
}

@media screen and (min-width: 640px) {
  .video-container {
    padding: 2rem;
  }

  #architecture {
    padding: 2rem;
  }
}

@media screen and (min-width: 768px) {
  .video-container {
    padding: 3rem;
  }

  #architecture {
    padding: 3rem;
  }
}

@media screen and (min-width: 1024px) {
  .video-container {
    padding: 4rem;
  }

  #architecture {
    padding: 4rem;
  }
}

.modal {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.85);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 9999;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
}

.modal video {
  width: 100%;
  border-radius: 12px;
}

.close-modal {
  position: absolute;
  top: -50px;
  right: 0;

  background: transparent;
  border: none;

  color: white;
  font-size: 40px;
  cursor: pointer;
}