* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #f7f4f1;
  color: #111;
}

/* HEADER */
.portfolio-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ece3dc;
}

header img {
  width: 120px;
  height: auto;
}


.portfolio-header-container {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 88px;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  text-decoration: none;
}

.logo-link h1 {
  font-size: 26px;
  font-weight: 900;
  color: #111;
  letter-spacing: -1px;
  font-style: italic;
}

.logo-link span {
  color: #111;
}

.logo-link b {
  color: #ff5a1f;
  font-size: 28px;
}

.btn-voltar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 20px;
  border: 1px solid #e6ddd6;
  border-radius: 999px;
  background: #fff;
  transition: 0.25s ease;
}

.btn-voltar:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* CONTAINER */
.portfolio-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}

/* HERO */
.portfolio-hero {
  padding: 90px 0 40px;
}

.portfolio-tag {
  display: inline-block;
  color: #ff5a1f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.portfolio-title {
  max-width: 980px;
  font-size: 72px;
  line-height: 0.97;
  letter-spacing: -3px;
  font-weight: 900;
  color: #111;
  margin-bottom: 24px;
}

.portfolio-subtitle {
  max-width: 780px;
  font-size: 21px;
  line-height: 1.7;
  color: #7f7f7f;
}

/* LISTA */
.portfolio-list {
  padding: 24px 0 100px;
}

.portfolio-list .portfolio-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* CARD */
.project-card {
  background: #fff;
  border: 1px solid #ebe4de;
  border-radius: 28px;
  overflow: hidden;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 28px;
  align-items: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
}

.project-card.destaque {
  background: linear-gradient(180deg, #fff 0%, #fcfaf8 100%);
  border-color: #e6ddd6;
}

.project-content {
  min-width: 0;
}

.project-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff5a1f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.project-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5a1f;
}

.project-content h2 {
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: #111;
  margin-bottom: 16px;
}

.project-content p {
  font-size: 17px;
  line-height: 1.75;
  color: #707070;
  max-width: 700px;
}

.project-embed {
  width: 100%;
  background: #f6f1ec;
  border: 1px solid #ede4dd;
  border-radius: 22px;
  padding: 14px;
  min-width: 0;
}

.project-embed iframe {
  width: 100%;
  height: 320px;
  display: block;
  border: none;
  border-radius: 14px;
  background: #fff;
}

/* RESPONSIVO */
@media (max-width: 1440px) {
  .portfolio-header-container,
  .portfolio-container {
    padding-left: 42px;
    padding-right: 42px;
  }

  .portfolio-title {
    font-size: 64px;
  }

  .project-card {
    grid-template-columns: 1fr 480px;
  }
}

@media (max-width: 1280px) {
  .portfolio-header-container,
  .portfolio-container {
    padding-left: 36px;
    padding-right: 36px;
  }

  .portfolio-title {
    font-size: 58px;
  }

  .portfolio-subtitle {
    font-size: 19px;
  }

  .project-card {
    grid-template-columns: 1fr 430px;
    padding: 28px;
  }

  .project-content h2 {
    font-size: 32px;
  }
}

@media (max-width: 1100px) {
  .portfolio-hero {
    padding: 72px 0 34px;
  }

  .portfolio-title {
    font-size: 52px;
    max-width: 860px;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-embed iframe {
    height: 340px;
  }
}

@media (max-width: 768px) {
  .portfolio-header-container,
  .portfolio-container {
    padding-left: 22px;
    padding-right: 22px;
  }

  .portfolio-header-container {
    min-height: 76px;
  }

  .logo-link h1 {
    font-size: 22px;
  }

  .btn-voltar {
    padding: 11px 16px;
    font-size: 14px;
  }

  .portfolio-hero {
    padding: 56px 0 28px;
  }

  .portfolio-title {
    font-size: 42px;
    line-height: 1;
    letter-spacing: -2px;
  }

  .portfolio-subtitle {
    font-size: 16px;
    line-height: 1.65;
  }

  .portfolio-list {
    padding: 18px 0 70px;
  }

  .project-card {
    padding: 20px;
    border-radius: 22px;
    gap: 20px;
  }

  .project-content h2 {
    font-size: 27px;
    line-height: 1.1;
  }

  .project-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  .project-embed {
    padding: 10px;
    border-radius: 16px;
  }

  .project-embed iframe {
    height: 280px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .portfolio-header-container,
  .portfolio-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .portfolio-title {
    font-size: 34px;
    letter-spacing: -1.5px;
  }

  .portfolio-subtitle {
    font-size: 15px;
  }

  .btn-voltar {
    padding: 10px 14px;
    font-size: 13px;
  }

  .btn-voltar i {
    display: none;
  }

  .project-card {
    padding: 16px;
  }

  .project-content h2 {
    font-size: 23px;
  }

  .project-content p {
    font-size: 14px;
  }

  .project-embed iframe {
    height: 220px;
  }
}

@media (max-width: 360px) {
  .portfolio-title {
    font-size: 30px;
  }

  .project-content h2 {
    font-size: 21px;
  }

  .project-embed iframe {
    height: 200px;
  }
}