/* Gustavo Cosme. Preto, branco, Gravity, Instagram Sans e um azul. */

@font-face {
  font-family: "Gravity";
  src: url("../fontes/gravity.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instagram Sans";
  src: url("../fontes/instagram-sans-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --preto: #000000;
  --branco: #ffffff;
  --cinza: #8e8e93;        /* Apple systemGray */
  --linha: #2c2c2e;        /* Apple systemGray6 dark, um pouco acima */
  --azul: #5cb8ff;         /* Apple blue, darkHigh: legível no preto */

  --fonte-titulo: "Gravity", "Arial Black", system-ui, sans-serif;
  --fonte-texto: "Instagram Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--preto);
  color: var(--branco);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  font-family: var(--fonte-texto);
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.pagina {
  width: min(100%, 34rem);
  padding: calc(env(safe-area-inset-top) + clamp(48px, 10vh, 112px)) clamp(24px, 6vw, 40px) calc(env(safe-area-inset-bottom) + 48px);
  display: flex;
  flex-direction: column;
}

/* Cabeça */
.cabeca { text-align: center; }

.foto {
  display: block;
  width: clamp(96px, 26vw, 128px);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.handle {
  margin: 28px 0 0;
  font-family: var(--fonte-titulo);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 6.4vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.005em;
}

.apoio {
  margin: 14px 0 0;
  color: var(--cinza);
  line-height: 1.6;
}

/* Links, sem botões */
.redes {
  margin-top: clamp(40px, 8vh, 64px);
  border-top: 1px solid var(--linha);
}
.redes a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 18px 0;
  border-bottom: 1px solid var(--linha);
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.redes__nome {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 1.1em;
}
.redes__icone {
  width: 20px;
  height: 20px;
  flex: none;
  display: block;
}
.redes__handle { color: var(--cinza); font-size: 0.9em; text-align: right; }

.redes a:hover,
.redes a:focus-visible { color: var(--azul); outline: none; }
.redes a:hover .redes__handle,
.redes a:focus-visible .redes__handle { color: inherit; }

/* Rodapé */
.rodape {
  margin-top: auto;
  padding-top: 56px;
  display: flex;
  justify-content: center;
}
.logo {
  display: block;
  width: 32px;
  height: 32px;
}
