* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #000;
  border: 3px solid #000;
}

.sidebar {
  flex: 0 0 22%;
  background-color: #ff5c00;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100vh;
  position: sticky;
  top: 0;
  border-right: 3px solid #000;
}

.sidebar img {
  width: 85%;
  max-height: 90vh;
  object-fit: contain;
  object-position: bottom center;
}

.placas-container {
  position: relative;
  width: 75%;
  height: 95%;
}

.poste {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.placa {
  position: absolute;
  width: clamp(90px, 9vw, 135px);
  z-index: 2;
  transition: 0.2s ease;
}

.placa img {
  width: 100%;
}

.direita {
  left: calc(45% + 8px);
}

.esquerda {
  right: calc(50% + 8px);
}

.about {
  top: 8%;
}
.narrative {
  top: 22%;
}
.programming {
  top: 32%;
}
.contact {
  top: 44%;
}

.placa:hover {
  transform: scale(1.1);
  filter: brightness(1.15);
  cursor: pointer;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.section {
  display: flex;
  flex-direction: column;
  padding: 40px;
  gap: 40px;
  border-bottom: 3px solid #000;
  align-items: flex-start;
}
.contact-page section {
  border-bottom: none;
}

.section.pink {
  background: #ff62bd;
}
.section.green {
  background: #37a652;
}
.section.purple {
  background: #6c12fe;
}
.section.blue {
  background: #2e63ff;
}

.header-info {
  width: 100%;
  padding: 18px 25px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.header-info div {
  display: flex;
  flex-direction: column;
  min-width: 200px;
}

.header-info h4 {
  font-weight: 800;
  font-size: 1.1rem;
}
.header-info p {
  font-size: 0.95rem;
}

.info {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: left !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  padding: 0 !important;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 800;
  text-align: left !important;
}

.info-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  padding: 0 !important;
}

.info-row ul {
  padding-left: 22px;
  text-align: left !important;
}

.play-wrapper,
.button {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.play-btn {
  display: block;
  margin: 20px 0 0 0;
  text-align: center;
  background: #000;
  color: #fff;
  border: 3px solid #000;
  text-decoration: none;
  font-weight: 800;
  width: 320px;
  height: 62px;
  padding: 16px 0;
  font-size: 1.25rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.play-btn:hover {
  background: #222;
  transform: scale(1.06) translateX(8px);
}

.preview {
  width: 100%;
  max-width: 1000px;
  background: rgba(255, 255, 255, 0.4);
  border: 3px solid #000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.preview img,
.preview iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.view-btn {
  background: #000;
  color: #fff;
  border: 3px solid #000;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 6px;
  cursor: pointer;
  width: 140px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.view-btn:hover {
  background: #222;
  transform: scale(1.08);
}

.project-compact {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  padding: 30px 10px;
}

.project-compact .thumb {
  width: min(48vw, 620px);
  height: 420px;
  object-fit: cover;
  object-position: center;
  border: 3px solid #000;
  flex-shrink: 0;
}

.project-compact .compact-info {
  display: flex;
  flex-direction: column;
}

.project-compact .compact-info h3 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.project-compact .compact-info p {
  font-size: 1.15rem;
  line-height: 1.5;
}

.project-compact .expand-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.12);
  color: #000;
  font-weight: 800;
  font-size: 1.25rem;
  width: 320px;
  height: 62px;
  padding: 0;
  border: 3px solid #000;
  text-align: center;
  cursor: pointer;
  transition: transform 0.26s ease, background-color 0.26s ease;
}

.project-compact .expand-btn:hover {
  transform: scale(1.06) translateX(8px);
  background-color: black;
}

.project-expanded {
  display: none;
  margin-top: 18px;
  padding: 30px;
  width: 100% !important;
  background: rgba(255, 255, 255, 0.08);
  border: 3px solid #000;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  position: relative;
}

.project-expanded.open {
  display: flex;
}

.project-expanded .preview {
  width: 100%;
  max-width: 1000px;
  border-width: 4px;
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-expanded .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 65px;
  height: 65px;
  background: #fff;
  color: #000;
  border: 3px solid #000;
  border-radius: 50%;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 4px 4px 0 #000;
}

.project-expanded .close-btn:hover {
  background: #f3f3f3;
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 #000;
}

.docs-link {
  display: block;
}
.about-page {
  background-color: #2e63ff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 60px;
  flex-direction: row;
}

.about-page .text {
  max-width: 600px;
}

.about-page .text h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #ffdd33;
  margin-bottom: 20px;
}

.about-page .text p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-page .text a {
  font-weight: 800;
  color: #fff;
  text-decoration: underline;
}

.image-wrapper {
  max-width: 400px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 16px;
  background: transparent;
}

.image-wrapper img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.programming-page {
  background-color: #6c12fe;
}

.contact-page {
  background-color: #6c12fe;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.contact-layout {
  flex-direction: row;
  align-items: center;
  gap: 60px;
}

.contact-page .image-wrapper {
  max-width: 320px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.contact-page .image-wrapper img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.contact-page .info {
  max-width: 600px;
}

.contact-page .info h2 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-page .info p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.2rem;
}

.contact-item i {
  width: 26px;
  height: 26px;
  color: #fff;
  flex-shrink: 0;
}

.contact-item a {
  color: #fff;
  text-decoration: none;
  transition: 0.2s ease;
}

.contact-item a:hover {
  text-decoration: underline;
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .contact-layout {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .contact-page .image-wrapper {
    max-width: 220px;
  }

  .contact-page .info h2 {
    font-size: 2rem;
  }

  .contact-page .info p {
    font-size: 1.1rem;
  }

  .contact-item {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .about-page {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 30px 20px;
  }

  .about-page .image-wrapper {
    max-width: 220px;
  }

  .about-page .text h1 {
    font-size: 2.4rem;
  }

  .about-page .text p {
    font-size: 1.1rem;
  }
}

@media (max-width: 700px) {
  .project-compact {
    gap: 14px;
    padding: 12px 6px;
  }

  .project-compact .thumb {
    width: 150px;
    height: 84px;
  }

  .project-compact .expand-btn {
    width: 72px;
    height: 44px;
    font-size: 1rem;
    padding: 6px 12px;
  }

  .header-info {
    flex-direction: column;
    text-align: center;
  }

  .info-row {
    flex-direction: column;
    align-items: stretch;
  }

  .play-btn,
  .view-btn {
    width: 100%;
  }

  .preview {
    max-width: 100%;
  }

@media (max-width: 1280px) and (max-height: 720px) {
  .section {
    padding: 20px;
    gap: 20px;
  }

  .project-compact {
    gap: 20px;
    flex-direction: column;
    padding: 20px;
  }

  .project-compact .thumb {
    width: 100%;
    height: auto;
  }

  .project-compact .expand-btn,
  .play-btn {
    width: 100%;
    font-size: 1rem;
  }
}

@media (max-width: 700px) {
  .sidebar {
    flex: 0 0 35%;
    height: 100vh;
    align-items: flex-end;
  }

  .placas-container {
    width: 100%;
    height: 95%;
  }

  .poste {
    width: 100%;
    height: auto;
    max-height: 95vh;
    object-fit: contain;
    object-position: bottom center;
  }

  .placa {
    width: clamp(80px, 22vw, 140px);
    transition: 0.25s ease;
  }

  .about {
    top: 10%;
  }
  .narrative {
    top: 28%;
  }
  .programming {
    top: 47%;
  }
  .contact {
    top: 65%;
  }

  .direita {
    left: calc(50% - 5px);
  }
  .esquerda {
    right: calc(50% - 5px);
  }
}
@media (max-width: 900px) {
  .sidebar {
    flex: 0 0 28%;
    align-items: flex-start;
    border-right: 3px solid #000;
  }

  .placas-container {
    width: 100%;
    height: 100%;
    position: relative;
  }

  .poste {
    width: 20px;
    height: 90%;
    object-fit: cover;
    object-position: bottom center;
  }

  .placa {
    width: clamp(70px, 18vw, 120px);
    transition: 0.2s ease;
  }

  .about { top: 10%; }
  .narrative { top: 28%; }
  .programming { top: 46%; }
  .contact { top: 64%; }

  .direita { left: 35%; }
  .esquerda { right: 35%; }
}
@media (max-width: 1000px) {
  .sidebar {
    flex: 0 0 26%;
    height: 100vh;
    align-items: flex-end;
  }

  .placas-container {
    width: 100%;
    height: 96%;
    position: relative;
  }

  .poste {
    width: 100%;
    max-height: 96vh;
    object-fit: contain;
    object-position: bottom center;
  }

  .placa {
    width: clamp(70px, 22vw, 130px);
    transition: 0.25s ease;
  }

  .about {
    top: 15%;
  }
  .narrative {
    top: 30%;
  }
  .programming {
    top: 45%;
  }
  .contact {
    top: 60%;
  }

  .direita {
    left: calc(50% - 5px);
  }
  .esquerda {
    right: calc(50% - 5px);
  }
}

@media (max-width: 500px) {
  .sidebar {
    flex: 0 0 32%;
  }

  .placa {
    width: clamp(80px, 26vw, 110px);
  }

  .about {
    top: 18%;
  }
  .narrative {
    top: 28%;
  }
  .programming {
    top: 42%;
  }
  .contact {
    top: 54%;
  }
}
@media (min-width: 390px) and (max-width: 430px) {
  .sidebar {
    flex: 0 0 34%;
    height: 100vh;
    align-items: flex-end;
  }

  .placas-container {
    width: 100%;
    height: 94%;
    position: relative;
  }

  .poste {
    width: 100%;
    height: auto;
    max-height: 94vh;
    object-fit: contain;
    object-position: bottom center;
  }

  .placa {
    width: clamp(90px, 25vw, 130px);
    transition: 0.25s ease;
  }

  .about { top: 18%; }
  .narrative { top: 30%; }
  .programming { top: 42%; }
  .contact { top: 56%; }

  .direita { left: calc(50% - 5px); }
  .esquerda { right: calc(50% - 5px); }
}


@media (min-width: 1001px) and (max-width: 1366px) {
  .sidebar {
    flex: 0 0 22%;
  }

  .placa {
    width: clamp(90px, 14vw, 150px);
  }

  .about { top: 32%; }
  .narrative { top: 42%; }
  .programming { top: 54%; }
  .contact { top: 66%; }

  .direita { left: calc(50% - 6px); }
  .esquerda { right: calc(50% - 6px); }
}
@media (min-width: 330px) and (max-width: 370px) {
  .sidebar {
    flex: 0 0 38%;
    height: 100vh;
    align-items: flex-end;
  }

  .placas-container {
    width: 100%;
    height: 92%;
    position: relative;
  }

  .poste {
    width: 100%;
    max-height: 90vh;
    object-fit: contain;
    object-position: bottom center;
  }

  .placa {
    width: clamp(95px, 28vw, 135px);
    transition: 0.25s ease;
  }

  .about { top: 18%; }
  .narrative { top: 28%; }
  .programming { top: 42%; }
  .contact { top: 54%; }

  .direita { left: calc(50% - 4px); }
  .esquerda { right: calc(50% - 4px); }
}
@media (min-width: 1200px) and (max-width: 1300px) and (max-height: 850px) {
  .sidebar {
    flex: 0 0 20%;
    height: 100vh;
    align-items: flex-end;
  }

  .placas-container {
    width: 100%;
    height: 92%;
    position: relative;
  }

  .poste {
    width: 100%;
    max-height: 88vh;
    object-fit: contain;
    object-position: bottom center;
  }

  .placa {
    width: clamp(100px, 13vw, 160px);
    transition: 0.25s ease;
  }

  .about { top: 8%; }
  .narrative { top: 26%; }
  .programming { top: 44%; }
  .contact { top: 62%; }

  .direita { left: calc(50% - 6px); }
  .esquerda { right: calc(50% - 6px); }
}
@media (min-width: 950px) and (max-width: 1050px) and (max-height: 650px) {
  .sidebar {
    flex: 0 0 23%;
    height: 100vh;
    align-items: flex-end;
  }

  .placas-container {
    width: 100%;
    height: 90%;
    position: relative;
  }

  .poste {
    width: 100%;
    max-height: 86vh;
    object-fit: contain;
    object-position: bottom center;
  }

  .placa {
    width: clamp(85px, 11vw, 135px);
    transition: 0.25s ease;
  }

  .about { top: 8%; }
  .narrative { top: 25%; }
  .programming { top: 42%; }
  .contact { top: 59%; }

  .direita { left: calc(50% - 5px); }
  .esquerda { right: calc(50% - 5px); }
}
