* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f8f5ef;
  color: #000000;
  font-family: Georgia, "Times New Roman", serif;
  scrollbar-color: #000000 #f8f5ef;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.protected-page,
.protected-page * {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.protected-page img,
.protected-page svg {
  pointer-events: none;
  -webkit-user-drag: none;
}

.protected-page a,
.protected-page button {
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: transparent;
}

.protected-page::selection,
.protected-page *::selection {
  background: transparent;
  color: inherit;
}

.protected-page::-moz-selection,
.protected-page *::-moz-selection {
  background: transparent;
  color: inherit;
}

body.is-print-blocked * {
  visibility: hidden !important;
}

body.is-print-blocked::before {
  content: "Impressao desativada";
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  visibility: visible !important;
  background: #f8f5ef;
  color: #000000;
  font-size: 2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 9999;
}

@media print {
  body * {
    display: none !important;
  }

  body::before {
    content: "Impressao desativada";
    display: grid !important;
    place-items: center;
    min-height: 100vh;
    font-size: 2rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #000000;
    background: #f8f5ef;
  }
}

.page-shell {
  position: relative;
}

.site-footer {
  position: relative;
  z-index: 20;
  padding: 18px 16px 28px;
  color: #000000;
  text-align: center;
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer--home {
  padding-top: 42px;
}

.site-footer--experience {
  width: 100%;
  margin: 0 auto;
  padding-top: 2px;
  text-align: center;
}

.hero-section {
  position: relative;
  min-height: auto;
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f8f5ef;
}

::-webkit-scrollbar-thumb {
  background: #000000;
  border-radius: 999px;
  border: 2px solid #f8f5ef;
}

::-webkit-scrollbar-thumb:hover {
  background: #000000;
}

.credits-frame {
  position: absolute;
  inset: 0;
  filter: blur(6px);
}

.glass-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  background:
    linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08)),
    linear-gradient(to right, rgba(255, 255, 255, 0.32) 1px, rgba(0, 0, 0, 0.08) 2px, transparent 3px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.32) 1px, rgba(0, 0, 0, 0.08) 2px, transparent 3px);
  background-size:
    100% 100%,
    180px 180px,
    180px 180px;
  backdrop-filter: blur(2px) saturate(0.9);
  -webkit-backdrop-filter: blur(2px) saturate(0.9);
}

.glass-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent 24%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.16), transparent 28%),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 24%),
    radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.06), transparent 30%);
  opacity: 0.9;
}

.glass-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0) 12%, rgba(255, 255, 255, 0) 88%, rgba(0, 0, 0, 0.04) 100%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0) 12%, rgba(255, 255, 255, 0) 88%, rgba(0, 0, 0, 0.04) 100%);
  background-size:
    180px 180px,
    180px 180px;
  opacity: 0.8;
}

.credits-track {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 3;
  justify-content: flex-start;
}

.credits-sequence {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 0 0 auto;
  padding: 40px 24px 72px;
}

p {
  margin: 0;
  font-size: clamp(2.8rem, 7.5vw, 6.8rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}

.tech-list {
  margin: 28px 0 0;
  text-align: center;
  font-size: clamp(2.1rem, 5.8vw, 5.4rem);
  line-height: 1.15;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  margin: 44px 0 0;
  font-size: clamp(2.8rem, 7.5vw, 6.8rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}

.cards-stage {
  position: relative;
  display: flex;
  justify-content: center;
  pointer-events: auto;
  z-index: 20;
  padding: 88px 32px 0;
}

.cards-stack {
  position: relative;
  width: min(92vw, 1080px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.coming-soon {
  position: relative;
  z-index: 40;
  min-height: 100vh;
  padding: 72px 24px 120px;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.coming-soon__text {
  margin: 0;
  color: #c40000;
  font-size: clamp(2rem, 6vw, 5.8rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  border-radius: 32px;
  background: rgba(255, 250, 244, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  transition: box-shadow 320ms ease, transform 320ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.56), transparent 38%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.34), transparent 28%);
  pointer-events: none;
}

.card__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 28px;
  text-align: center;
}

.card__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.6;
}

.card__avatar {
  width: min(44vw, 168px);
  height: min(44vw, 168px);
  border-radius: 24px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.card__avatar--instagram {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 8%, #fd5949 32%, #d6249f 62%, #285aeb 100%);
}

.card__avatar--contact {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 247, 247, 0.96));
}

.card__avatar--contact svg {
  width: 72%;
  height: 72%;
  display: block;
}

.card__avatar--instagram svg {
  width: 58%;
  height: 58%;
  display: block;
}

.card__name {
  margin: 0;
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  max-width: 100%;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #000000;
  color: #f8f5ef;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.88rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.experience-page {
  position: relative;
  min-height: 100vh;
  padding: 24px 24px 32px;
}

.access-page {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  z-index: 20;
}

.access-panel {
  width: min(100%, 620px);
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.access-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 38%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 28%);
  pointer-events: none;
}

.access-panel__content {
  position: relative;
  z-index: 1;
  padding: 38px 34px;
  display: grid;
  gap: 20px;
}

.access-panel__eyebrow,
.access-form__label {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.access-panel__title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1;
  letter-spacing: 0.14em;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
}

.access-panel__description {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  text-transform: none;
  text-align: center;
}

.access-form {
  display: grid;
  gap: 14px;
}

.access-code {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.access-code__digit {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: #ffffff;
  color: #000000;
  text-align: center;
  font: inherit;
  font-size: clamp(1.4rem, 3vw, 2rem);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.access-code__digit:focus {
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.access-form__button {
  width: 100%;
  background: #ffffff;
  color: #000000;
  border-color: rgba(255, 255, 255, 0.2);
}

.access-page .experience-back {
  background: #ffffff;
  color: #000000;
  border-color: rgba(255, 255, 255, 0.2);
}

.experience-shell {
  position: relative;
  z-index: 20;
  width: min(100%, 1320px);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.experience-panel {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: rgba(255, 250, 244, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.experience-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.56), transparent 38%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.34), transparent 28%);
  pointer-events: none;
}

.experience-panel__content {
  position: relative;
  z-index: 1;
}

.experience-back {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  justify-self: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #000000;
  color: #f8f5ef;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
}

.experience-panel__content {
  padding: 36px;
}

.experience-panel--document {
  min-height: auto;
}

.experience-panel__content--document {
  padding: 10px;
}

.experience-document-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

@media (max-width: 1180px) {
  .cards-stage {
    padding: 96px 24px 0;
  }

  .cards-stack {
    width: min(94vw, 920px);
    gap: 20px;
  }

  .card {
    max-width: 320px;
  }

  .coming-soon {
    min-height: 100vh;
  }
}

@media (max-width: 900px) {
  .glass-grid {
    background-size:
      100% 100%,
      140px 140px,
      140px 140px;
  }

  .credits-frame {
    filter: blur(4px);
  }

  .credits-sequence {
    padding: 28px 18px 120px;
  }

  p {
    font-size: clamp(2rem, 8vw, 4.1rem);
    line-height: 1.02;
    letter-spacing: 0.14em;
  }

  .tech-list {
    margin-top: 20px;
    font-size: clamp(1.35rem, 5.4vw, 2.75rem);
    line-height: 1.18;
    letter-spacing: 0.1em;
  }

  .section-title {
    margin-top: 28px;
    font-size: clamp(2rem, 8vw, 4.1rem);
    letter-spacing: 0.14em;
  }

  .cards-stage {
    padding: 88px 20px 0;
  }

  .cards-stack {
    width: min(100%, 520px);
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    max-width: 340px;
  }

  .coming-soon {
    display: none;
  }

  .coming-soon__text {
    font-size: clamp(1.7rem, 8vw, 3.6rem);
    letter-spacing: 0.12em;
  }

  .card__content {
    gap: 18px;
    padding: 22px;
  }

  .card__avatar {
    width: min(42vw, 150px);
    height: min(42vw, 150px);
    border-radius: 20px;
  }

  .card__name {
    font-size: clamp(1.15rem, 5vw, 1.7rem);
    letter-spacing: 0.18em;
  }

  .card__button {
    min-width: 0;
    width: 100%;
    padding: 13px 18px;
    font-size: 0.8rem;
  }

  .experience-page {
    padding: 16px 12px 20px;
  }

  .access-page {
    min-height: calc(100vh - 64px);
    padding: 16px 12px;
  }

  .access-panel__content {
    padding: 24px 20px;
  }

  .access-panel__title {
    font-size: clamp(1.6rem, 8vw, 2.35rem);
  }

  .access-code {
    gap: 8px;
  }

  .access-code__digit {
    border-radius: 18px;
  }

  .experience-panel__content {
    padding: 16px;
  }

  .experience-panel__content--document {
    padding: 8px;
  }

  .experience-panel--document {
    min-height: auto;
  }

  .experience-document-image {
    border-radius: 20px;
  }
}

@media (max-width: 520px) {
  ::-webkit-scrollbar {
    width: 6px;
  }

  .glass-grid {
    background-size:
      100% 100%,
      108px 108px,
      108px 108px;
  }

  .credits-frame {
    filter: blur(3px);
  }

  .credits-sequence {
    padding: 22px 14px 96px;
  }

  p {
    font-size: clamp(1.5rem, 8.6vw, 2.9rem);
    letter-spacing: 0.1em;
  }

  .tech-list {
    font-size: clamp(1rem, 5.2vw, 1.8rem);
    letter-spacing: 0.08em;
  }

  .section-title {
    margin-top: 22px;
    font-size: clamp(1.5rem, 8.6vw, 2.9rem);
    letter-spacing: 0.1em;
  }

  .cards-stage {
    padding: 72px 14px 28px;
  }

  .cards-stack {
    gap: 16px;
  }

  .card {
    max-width: 100%;
    border-radius: 24px;
  }

  .card__content {
    padding: 18px;
    gap: 14px;
  }

  .card__eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.2em;
  }

  .card__avatar {
    width: 116px;
    height: 116px;
    border-radius: 18px;
  }

  .card__button {
    border-radius: 18px;
    letter-spacing: 0.12em;
  }
}
