/*  =========================================================
   TECN72 — PÁGINAS DE PROJETOS
   Arquivo legível para manutenção manual.
=========================================================  */
.creation-hero {
  position: relative;
  overflow: hidden;
  padding: 30px 0 27px;
  background: linear-gradient(180deg, #f6f8ff 0%, #fff 88%);
}
.creation-hero:before {
  content: "";
  position: absolute;
  left: -210px;
  top: 132px;
  width: 780px;
  height: 440px;
  background: #fff;
  border-radius: 50%;
  transform: rotate(12deg);
  opacity: 0.86;
}
.creation-hero:after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -76px;
  width: 650px;
  height: 330px;
  background: rgba(89, 50, 255, 0.075);
  border-radius: 50%;
  transform: rotate(-8deg);
}
.creation-hero .container {
  position: relative;
  z-index: 2;
}
.creation-hero h1 {
  font-size: clamp(2.7rem, 5.7vw, 5.45rem);
  line-height: 0.8;
  letter-spacing: -0.075em;
  font-weight: 700;
  margin-bottom: 24px;
}
.creation-hero h1 span {
  color: var(--purple);
}
.creation-hero p {
  max-width: 640px;
  color: #454656;
  font-size: 1.15rem;
  margin-bottom: 28px;
}
.project-case-hero {
  overflow: hidden;
}
@media (max-width: 991px) {
  .creation-hero {
    padding: 30px 0 21px;
  }
}
@media (max-width: 767px) {
  .creation-hero {
    padding-top: 24px;
    padding-bottom: 16px;
  }
  .creation-hero h1 {
    font-size: 2.58rem;
    line-height: 0.84;
    letter-spacing: -0.07em;
    margin-bottom: 18px;
  }
  .creation-hero p {
    line-height: 1.58;
    margin-bottom: 22px;
  }
  .project-case-hero .row {
    --bs-gutter-y: 1.75rem;
  }
}
@media (max-width: 575px) {
  .creation-hero {
    padding-top: 30px;
    padding-bottom: 44px;
  }
  .creation-hero h1 {
    font-size: 2.42rem;
    line-height: 0.88;
    letter-spacing: -0.068em;
  }
  .creation-hero p {
    font-size: 1rem;
  }
}

/* Project case-study layout */
/* =========================================================
   15. PROJECT PAGE - CASE STUDY (CDPRH)
========================================================= */
.project-device-showcase {
  position: relative;
  min-height: 540px;
  padding: 18px 24px 34px;
}
.project-device-showcase:before {
  content: "";
  position: absolute;
  inset: 36px 22px 34px 78px;
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(89, 50, 255, 0.12), rgba(89, 50, 255, 0.03));
  z-index: 0;
}
.device-laptop {
  position: absolute;
  left: 30px;
  right: 24px;
  top: 12px;
  z-index: 1;
}
.device-laptop-top {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 24px;
  padding: 0 18px;
  border: 1px solid #d9deed;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, #eef2fb 0%, #e5eaf6 100%);
}
.device-laptop-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c8d0e4;
}
.device-laptop-screen {
  height: 330px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9deed;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 26px 60px rgba(35, 31, 60, 0.12);
}
.device-laptop-screen img {
  display: block;
  width: 100%;
  height: auto;
}
.device-laptop-base {
  width: 84%;
  height: 16px;
  margin: 0 auto;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #d8deeb 0%, #bcc5d8 100%);
  box-shadow: 0 10px 24px rgba(35, 31, 60, 0.08);
}
.device-phone {
  position: absolute;
  left: -6px;
  bottom: 12px;
  width: 156px;
  padding: 12px 10px 16px;
  border-radius: 28px;
  background: #111827;
  box-shadow: 0 28px 52px rgba(19, 24, 42, 0.22);
  z-index: 2;
}
.device-phone-speaker {
  width: 44px;
  height: 6px;
  border-radius: 999px;
  background: #2d3748;
  margin: 0 auto 10px;
}
.device-phone-screen {
  height: 300px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
}
.device-phone-screen img {
  display: block;
  width: 100%;
  height: auto;
}
.device-floating-card {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  max-width: 240px;
  padding: 18px 18px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(231, 232, 240, 0.95);
  box-shadow: 0 20px 50px rgba(35, 31, 60, 0.1);
  backdrop-filter: blur(16px);
}
.device-floating-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 6px;
}
.device-floating-card span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--mid);
}
.project-copy-card {
  height: 100%;
  padding: 34px;
  border-radius: 34px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(35, 31, 60, 0.05);
}
.project-summary-panel {
  height: 100%;
  padding: 34px;
  border-radius: 34px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(35, 31, 60, 0.05);
}
.project-facts-card {
  height: 100%;
  padding: 34px;
  border-radius: 34px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(35, 31, 60, 0.05);
}
.project-copy-card p:last-child {
  margin-bottom: 0;
}
.project-summary-panel p:last-child {
  margin-bottom: 0;
}
.project-facts-card h3 {
  font-size: 1.25rem;
  font-weight: 950;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.project-facts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.project-facts-list li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px;
  border-radius: 20px;
  background: #f8f9fd;
  border: 1px solid rgba(231, 232, 240, 0.9);
}
.project-facts-list strong {
  font-size: 0.87rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--purple);
  text-transform: uppercase;
}
.project-facts-list span {
  color: var(--dark);
  font-weight: 700;
}
.project-facts-list a {
  color: var(--dark);
  font-weight: 700;
}
.project-feature-card {
  height: 100%;
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(35, 31, 60, 0.05);
  background: #fff;
}
.project-feature-card .icon-box {
  margin-bottom: 18px;
}
.project-summary-panel p {
  color: var(--mid);
}
.project-inline-btn {
  margin-top: 10px;
}
.project-site-panel {
  background: linear-gradient(135deg, var(--purple) 0%, #6d49ff 100%);
}
.related-projects-section .row {
  justify-content: center;
}
@media (max-width: 1199px) {
  .project-device-showcase {
    min-height: 500px;
  }
  .device-laptop-screen {
    height: 300px;
  }
}
@media (max-width: 991px) {
  .project-device-showcase {
    min-height: 470px;
    padding: 8px 10px 28px;
  }
  .project-device-showcase:before {
    left: 44px;
    right: 10px;
    top: 24px;
    bottom: 28px;
  }
  .device-laptop {
    left: 20px;
    right: 12px;
  }
  .device-laptop-screen {
    height: 290px;
  }
  .device-phone {
    left: 0;
    bottom: 22px;
    width: 142px;
  }
  .device-phone-screen {
    height: 272px;
  }
  .device-floating-card {
    max-width: 220px;
  }
}
@media (max-width: 767px) {
  .project-copy-card {
    padding: 28px;
    border-radius: 28px;
  }
  .project-summary-panel {
    padding: 28px;
    border-radius: 28px;
  }
  .project-facts-card {
    padding: 28px;
    border-radius: 28px;
  }
  .project-device-showcase {
    min-height: 438px;
    margin-top: 4px;
  }
  .device-laptop-screen {
    height: 244px;
  }
  .device-phone {
    width: 126px;
    padding: 10px 8px 14px;
  }
  .device-phone-screen {
    height: 236px;
  }
  .device-floating-card {
    right: 8px;
    bottom: 6px;
    padding: 16px 15px 14px;
    border-radius: 20px;
    max-width: 196px;
  }
}
@media (max-width: 575px) {
  .project-case-hero {
    padding-bottom: 48px;
  }
  .project-device-showcase {
    min-height: 372px;
    padding: 0 0 18px;
  }
  .project-device-showcase:before {
    left: 28px;
    right: 0;
    top: 22px;
    bottom: 16px;
    border-radius: 30px;
  }
  .device-laptop {
    left: 8px;
    right: 0;
    top: 8px;
  }
  .device-laptop-top {
    height: 20px;
    padding: 0 14px;
    border-radius: 20px 20px 0 0;
  }
  .device-laptop-screen {
    height: 188px;
    border-radius: 0 0 18px 18px;
  }
  .device-laptop-base {
    height: 12px;
  }
  .device-phone {
    left: -4px;
    bottom: 12px;
    width: 106px;
    border-radius: 22px;
  }
  .device-phone-speaker {
    width: 34px;
    height: 5px;
    margin-bottom: 8px;
  }
  .device-phone-screen {
    height: 188px;
    border-radius: 14px;
  }
  .device-floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: 18px 0 0 52px;
  }
  .project-copy-card {
    padding: 24px;
    border-radius: 24px;
  }
  .project-summary-panel {
    padding: 24px;
    border-radius: 24px;
  }
  .project-facts-card {
    padding: 24px;
    border-radius: 24px;
  }
}

/* =========================================================
   16. AJUSTE FINO - MOCKUP DOS PROJETOS NO MOBILE
========================================================= */
.project-device-showcase {
  isolation: isolate;
}
.device-laptop-screen img {
  transform: translateZ(0);
}
.device-phone-screen img {
  transform: translateZ(0);
}
@media (max-width: 767px) {
  .project-device-showcase {
    min-height: 420px;
    margin-top: 0;
    padding: 8px 0 20px;
  }
  .project-device-showcase:before {
    left: 34px;
    right: 0;
    top: 30px;
    bottom: 24px;
    border-radius: 34px;
  }
  .device-laptop {
    left: 14px;
    right: 6px;
    top: 10px;
  }
  .device-laptop-screen {
    height: 228px;
  }
  .device-phone {
    left: 0;
    bottom: 24px;
    width: 118px;
    padding: 10px 8px 14px;
    border-radius: 24px;
  }
  .device-phone-screen {
    height: 224px;
    border-radius: 16px;
  }
  .device-floating-card {
    position: absolute;
    right: 0;
    bottom: 22px;
    max-width: 210px;
    margin: 0;
    padding: 15px 16px 14px;
    border-radius: 22px;
  }
  .device-floating-card strong {
    font-size: 0.98rem;
    margin-bottom: 5px;
  }
  .device-floating-card span {
    font-size: 0.84rem;
    line-height: 1.42;
  }
}
@media (max-width: 575px) {
  .project-case-hero {
    padding-bottom: 44px;
  }
  .project-device-showcase {
    min-height: 430px;
    padding: 0 0 24px;
    margin-top: 0;
  }
  .project-device-showcase:before {
    left: 24px;
    right: 0;
    top: 36px;
    bottom: 26px;
    border-radius: 32px;
  }
  .device-laptop {
    left: 18px;
    right: 0;
    top: 18px;
  }
  .device-laptop-screen {
    height: 206px;
    border-radius: 0 0 18px 18px;
  }
  .device-phone {
    left: -2px;
    bottom: 30px;
    width: 112px;
    padding: 10px 8px 14px;
    border-radius: 24px;
  }
  .device-phone-screen {
    height: 212px;
    border-radius: 15px;
  }
  .device-floating-card {
    right: 0;
    bottom: 34px;
    max-width: 206px;
    padding: 15px 16px 14px;
    border-radius: 22px;
  }
}
@media (max-width: 390px) {
  .project-device-showcase {
    min-height: 410px;
  }
  .device-laptop {
    left: 20px;
    right: 0;
    top: 18px;
  }
  .device-laptop-screen {
    height: 188px;
  }
  .device-phone {
    width: 104px;
    bottom: 28px;
  }
  .device-phone-screen {
    height: 198px;
  }
  .device-floating-card {
    right: 0;
    bottom: 32px;
    max-width: 194px;
    padding: 13px 14px;
    border-radius: 20px;
  }
  .device-floating-card strong {
    font-size: 0.94rem;
  }
  .device-floating-card span {
    font-size: 0.8rem;
    line-height: 1.38;
  }
}
@media (max-width: 767px) and (orientation: landscape) {
  .project-device-showcase {
    min-height: 360px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 16px;
  }
  .project-device-showcase:before {
    left: 64px;
    right: 0;
    top: 24px;
    bottom: 18px;
  }
  .device-laptop {
    left: 70px;
    right: 0;
    top: 8px;
  }
  .device-laptop-screen {
    height: 210px;
  }
  .device-phone {
    left: 4px;
    bottom: 30px;
    width: 110px;
  }
  .device-phone-screen {
    height: 208px;
  }
  .device-floating-card {
    right: 8px;
    bottom: 24px;
    max-width: 205px;
    padding: 14px 15px;
    border-radius: 20px;
  }
}
