/* PHRP Tecnologia da Informação - Identidade Visual */

/* Fontes: Space Grotesk (Google Fonts) + Inter */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Inter:wght@400;500&display=swap');

:root {
  --phrp-purple: #8A2BE2;
  --electric-violet: #D946EF;
  --signal-red: #FF3B30;
  --graphite-black: #1A1A1A;
  --soft-white: #E6E6E6;
  --pure-white: #FFFFFF;
  --font-heading: 'Space Grotesk', 'Arial Black', sans-serif;
  --font-body: 'Inter', 'Arial', sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--graphite-black);
  color: var(--soft-white);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--phrp-purple);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--electric-violet);
}

/* Header */
header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(138, 43, 226, 0.15);
}

header .logo-link {
  display: block;
  line-height: 0;
}

header .logo-link img {
  height: 48px;
  width: auto;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--soft-white);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

nav a:hover {
  color: var(--pure-white);
  border-bottom-color: var(--phrp-purple);
}

/* Main */
main {
  flex: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 4rem;
}

.hero .logo-hero {
  margin-bottom: 2rem;
}

.hero .logo-hero img {
  max-width: 320px;
  height: auto;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--pure-white);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero .subtitle {
  font-size: 1.1rem;
  color: var(--phrp-purple);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.05rem;
  color: #b0b0b0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--pure-white);
  letter-spacing: -0.3px;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--phrp-purple);
  display: inline-block;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

/* Services section */
.services {
  margin-bottom: 3rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.service-card {
  background: rgba(138, 43, 226, 0.06);
  border: 1px solid rgba(138, 43, 226, 0.12);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--phrp-purple);
  transform: translateY(-2px);
}

.service-card h3 {
  font-size: 1rem;
  color: var(--phrp-purple);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: #b0b0b0;
  line-height: 1.6;
}

/* Projeto atual */
.current-project {
  background: rgba(217, 70, 239, 0.05);
  border: 1px solid rgba(217, 70, 239, 0.15);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.current-project h2 {
  border-bottom-color: var(--electric-violet);
}

.current-project p {
  color: #b0b0b0;
  line-height: 1.8;
  font-size: 1rem;
}

/* Skills tags */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.skill-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  background: rgba(138, 43, 226, 0.1);
  border: 1px solid rgba(138, 43, 226, 0.2);
  color: var(--soft-white);
  letter-spacing: 0.5px;
}

/* Contact page */
.contact-info {
  text-align: center;
  padding: 3rem 0;
}

.contact-info h2 {
  border-bottom: none;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.contact-info .email {
  font-size: 1.3rem;
  color: var(--pure-white);
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  display: inline-block;
  padding: 1rem 2rem;
  border: 1px solid var(--phrp-purple);
  border-radius: 8px;
  transition: background 0.2s ease;
}

.contact-info .email:hover {
  background: rgba(138, 43, 226, 0.1);
}

.contact-info p {
  color: #b0b0b0;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(138, 43, 226, 0.15);
  font-size: 0.85rem;
  color: #888;
}

footer a {
  color: var(--phrp-purple);
}

footer a:hover {
  color: var(--electric-violet);
}

/* 404 */
.error-page {
  text-align: center;
  padding: 6rem 2rem;
}

.error-page h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--phrp-purple);
}

.error-page p {
  color: #888;
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 640px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  header .logo-link img {
    height: 36px;
  }

  nav {
    gap: 1.5rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  main {
    padding: 2rem 1.25rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero .logo-hero img {
    max-width: 240px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}
