/* Página pessoal do Théo: foto, uma frase, botões e redes. Paleta e fontes da Bernini IA, sem efeitos. */
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fontes/serif-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fontes/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fontes/inter-500.woff2') format('woff2'); }

:root {
  --noite: #0B1830;
  --royal: #2457E6;
  --vivo: #4C7DFF;
  --branco: #FFFFFF;
  --cinza: #C6D0DD;
  --linha: rgba(198, 208, 221, 0.34);
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; display: grid; place-items: center; background: var(--noite); color: var(--branco); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--vivo); outline-offset: 3px; }

.cartao { width: min(480px, calc(100% - 40px)); padding-block: clamp(16px, 3vh, 64px); text-align: center; }
.foto { display: block; width: 116px; height: 116px; margin-inline: auto; border-radius: 50%; object-fit: cover; object-position: 50% 26%; border: 2px solid var(--branco); }
h1 { margin-top: 18px; font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 1.5rem + 1.4vw, 2.3rem); line-height: 1.1; letter-spacing: -0.02em; }
.frase { margin-top: 10px; color: var(--cinza); text-wrap: balance; }

.botoes { display: grid; gap: 12px; margin-top: clamp(22px, 4vh, 32px); }
.botao { display: flex; align-items: center; justify-content: center; min-height: 60px; padding: 14px 22px; border: 1px solid var(--linha); border-radius: 10px; font-weight: 500; line-height: 1.3; text-decoration: none; text-wrap: balance; transition: background-color 0.2s, border-color 0.2s; }
.botao:hover { border-color: var(--branco); background: rgba(76, 125, 255, 0.14); }
.botao:active { transform: scale(0.99); }
.botao-cheio { background: var(--royal); border-color: var(--royal); }
.botao-cheio:hover { background: var(--vivo); border-color: var(--vivo); }

footer { margin-top: clamp(24px, 4vh, 36px); font-size: 14px; color: var(--cinza); }
.redes { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-bottom: 10px; }
.redes a { display: inline-block; padding-block: 8px; text-decoration: none; }
.redes a:hover { color: var(--branco); text-decoration: underline; text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
