*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  background: #08080a;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #f1eee9;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* Área central (coluna) — mais clara no topo, igual à referência */
.page {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

.column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 576px;
  min-height: 100vh;
  min-height: 100dvh;
  padding:
    calc(clamp(16px, 5vw, 29px) + env(safe-area-inset-top, 0px))
    calc(clamp(16px, 5vw, 29px) + env(safe-area-inset-right, 0px))
    calc(24px + env(safe-area-inset-bottom, 0px))
    calc(clamp(16px, 5vw, 29px) + env(safe-area-inset-left, 0px));
  background: linear-gradient(180deg, #1b181a 0px, #121113 220px, #08080a 480px, #08080a 100%);
}

/* Foto principal */
.photo {
  display: block;
  width: 100%;
  aspect-ratio: 516 / 584;
  height: auto;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 22px;
  border: 1px solid #303031;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  background: #1a1716;
}

/* Textos */
.eyebrow {
  margin-top: 25px;
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.3em;
  padding-left: 0.3em; /* compensa o letter-spacing para centralizar */
  color: #a98a55;
  text-align: center;
}

.name {
  margin-top: 13px;
  font-size: clamp(28px, 8vw, 34px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 0;
  color: #f1eee9;
  text-align: center;
}

/* Botões */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: clamp(58px, 16vw, 68px);
  padding: 0 20px;
  border-radius: 999px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(17px, 4.8vw, 19px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.btn:active {
  transform: scale(0.985);
}

.btn:focus {
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid #a98a55;
  outline-offset: 3px;
}

.btn[disabled] {
  cursor: default;
}

.btn-light {
  margin-top: 24px;
  background: #f4f1ec;
  color: #111111;
  border: 2px solid #f4f1ec;
}

.btn-dark {
  margin-top: 15px;
  background: transparent;
  color: #f4f1ec;
  border: 2px solid #656463;
}

.btn-icon {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.btn-icon-of {
  width: 36px;
  height: 25px;
}

.btn span {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tela de loading */
.loading {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: env(safe-area-inset-top, 0px) 16px env(safe-area-inset-bottom, 0px);
  background: #08080a;
}

.loading[hidden] {
  display: none;
}

.spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(244, 241, 236, 0.15);
  border-top-color: #a98a55;
  animation: spin 0.8s linear infinite;
}

.loading-text {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #f1eee9;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation-duration: 2s;
  }
}
