/* Perfil Paulo Mantini — mesma identidade visual do mantini.ia.br (preto, vermelho, Orbitron). */
@font-face { font-family: 'Orbitron'; font-weight: 800; font-display: swap; src: url('fonts/orbitron-800.woff2') format('woff2'); }

:root {
  --bg: #f5f6f8; --card: #fff; --text: #1d2129; --muted: #5f6672; --line: #e5e7eb;
  --accent: #e63946; --escuro: #0b0d12; --radius: 14px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111318; --card: #1a1d24; --text: #e6e8ec; --muted: #9aa1ad; --line: #2a2f39; --accent: #ff5c66; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
a { color: var(--accent); }
img { max-width: 100%; }

/* ---------- topo ---------- */
.hero { background: var(--escuro); color: #f3f4f6; border-bottom: 3px solid var(--accent); padding: 64px 24px 56px; position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ''; position: absolute; top: 50%; border-radius: 50%; transform: translateY(-50%); pointer-events: none; }
.hero::before { right: -120px; width: 460px; height: 460px; border: 2px dashed rgba(91, 101, 115, .28); }
.hero::after { right: -40px; width: 300px; height: 300px; border: 2px solid rgba(230, 57, 70, .18); }
.hero-in { max-width: 1000px; margin: 0 auto; display: flex; gap: 44px; align-items: center; position: relative; }
.foto { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; flex: none; border: 4px solid var(--accent); box-shadow: 0 0 0 8px rgba(230, 57, 70, .15); }
.rotulo { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: #ff5c66; margin: 0 0 6px; }
h1 { font-family: 'Orbitron', system-ui, sans-serif; font-weight: 800; font-size: clamp(32px, 5.5vw, 52px); line-height: 1.1; margin: 0 0 12px; }
.lead { font-size: 19px; color: #c9cdd4; margin: 0 0 24px; max-width: 600px; }
.contatos { display: flex; gap: 10px; flex-wrap: wrap; }
.contatos a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; color: #f3f4f6; border: 1px solid #3a3f4a; text-decoration: none; font-weight: 600; }
.contatos a:hover { border-color: #ff5c66; }
.contatos a.whats { background: var(--accent); border-color: var(--accent); color: #fff; }
.contatos svg { width: 20px; height: 20px; }
@media (max-width: 720px) {
  .hero { padding: 44px 20px; }
  .hero-in { flex-direction: column; text-align: center; gap: 22px; }
  .foto { width: 170px; height: 170px; }
  .contatos { justify-content: center; }
  .hero::before, .hero::after { display: none; }
}

/* ---------- seções ---------- */
main { max-width: 1000px; margin: 0 auto; padding: 8px 24px 40px; }
.bloco { margin: 44px 0; }
h2 { font-family: 'Orbitron', system-ui, sans-serif; font-size: 22px; margin: 0 0 16px; }
.sobre p { font-size: 17px; max-width: 760px; margin: 0 0 12px; }

.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.area { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; border-top: 3px solid var(--accent); }
.area h3 { margin: 0 0 6px; font-size: 18px; }
.area p { margin: 0 0 12px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); }

.projetos { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.projeto { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none; transition: transform .15s, border-color .15s; }
.projeto:hover { transform: translateY(-3px); border-color: var(--accent); }
.projeto > img, .projeto .capa { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.projeto .capa { background: var(--escuro); display: flex; align-items: center; justify-content: center; gap: 14px; }
.projeto .capa img { width: 70px; height: 70px; }
.projeto .capa span { font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 22px; color: #f3f4f6; }
.projeto .capa b { color: #e63946; } .projeto .capa i { font-style: normal; color: #9aa1ad; }
.projeto > div:last-child { padding: 14px 18px 18px; }
.projeto h3 { margin: 0 0 4px; font-size: 18px; }
.projeto p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.projeto .link { font-weight: 600; color: var(--accent); font-size: 14px; }

footer { border-top: 1px solid var(--line); padding: 22px; text-align: center; color: var(--muted); font-size: 14px; }
footer p { margin: 2px 0; }
footer a { font-weight: 600; text-decoration: none; }
