/* ============================================================================
   Paulo Marcos Lucio · paulo-marcos-lucio.github.io
   Dark theme · Inter · responsive · zero deps
   ============================================================================ */

:root {
  --bg-0: #0a0d12;
  --bg-1: #0d1117;
  --bg-2: #11161d;
  --bg-3: #161b22;
  --bg-4: #1c232c;
  --border: #232a33;
  --border-strong: #2f3742;
  --fg-1: #e6edf3;
  --fg-2: #c9d1d9;
  --fg-3: #8b949e;
  --fg-4: #6e7781;

  --accent: #3fb950;
  --accent-soft: rgba(63, 185, 80, 0.14);
  --accent-strong: #56d364;
  --link: #58a6ff;
  --link-hover: #79b8ff;
  --highlight: #a371f7;
  --warn: #d29922;

  --grad: linear-gradient(135deg, #3fb950 0%, #58a6ff 50%, #a371f7 100%);
  --grad-dim: linear-gradient(135deg, rgba(63,185,80,0.6), rgba(88,166,255,0.6), rgba(163,113,247,0.6));

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.55);

  --container: 1120px;
  --gutter: clamp(20px, 4vw, 40px);

  --t-fast: 140ms;
  --t-med: 240ms;
  --ease: cubic-bezier(.2,.7,.2,1);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ----- reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--bg-1);
  color: var(--fg-2);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01", "ss03";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--link-hover); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 { color: var(--fg-1); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute; left: -9999px; top: -9999px;
  background: var(--bg-3); color: var(--fg-1);
  padding: 10px 14px; border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ----- background ambience ----- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1100px 600px at 12% -10%, rgba(63, 185, 80, 0.10), transparent 60%),
    radial-gradient(900px 600px at 88% 8%, rgba(88, 166, 255, 0.10), transparent 60%),
    radial-gradient(900px 700px at 50% 110%, rgba(163, 113, 247, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

/* ----- header ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 17, 23, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--fg-1);
  font-weight: 700; letter-spacing: -0.01em;
}
.brand:hover { color: var(--fg-1); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--grad);
  color: #0a0d12;
  font-weight: 800; font-size: 13px; letter-spacing: 0.5px;
  font-family: var(--font-mono);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 4px 14px rgba(63, 185, 80, 0.25);
}
.brand-name { font-size: 15px; }
@media (max-width: 540px) {
  .brand-name { display: none; }
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--fg-3);
  font-weight: 500; font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav a:hover { color: var(--fg-1); background: var(--bg-3); }
.nav-cta {
  color: var(--fg-1) !important;
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
}
.nav-cta:hover { background: var(--bg-4) !important; }

@media (max-width: 640px) {
  .nav a:not(.nav-cta) { display: none; }
}

/* ----- hero ----- */
.hero { padding: clamp(48px, 9vw, 96px) 0 clamp(56px, 10vw, 112px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-3);
  color: var(--fg-2);
  font-size: 13px; font-weight: 500;
  margin-bottom: 24px;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--accent-soft); }
  50% { box-shadow: 0 0 0 7px rgba(63, 185, 80, 0.06); }
}

.hero-title {
  font-size: clamp(34px, 5.6vw, 60px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--fg-1);
  margin-bottom: 20px;
}
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--fg-3);
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero-subtitle strong { color: var(--fg-2); font-weight: 600; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600; font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), background var(--t-med) var(--ease), border-color var(--t-med) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  color: #0a0d12;
  background: var(--accent-strong);
  box-shadow: 0 6px 20px rgba(63, 185, 80, 0.25), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover { transform: translateY(-1px); background: #6ce470; color: #0a0d12; box-shadow: 0 10px 28px rgba(63, 185, 80, 0.35); }
.btn-ghost {
  color: var(--fg-1);
  background: var(--bg-3);
  border-color: var(--border-strong);
}
.btn-ghost:hover { transform: translateY(-1px); background: var(--bg-4); border-color: #3a4452; color: var(--fg-1); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
}
.hero-stats li {
  display: flex; flex-direction: column;
  padding: 14px 16px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.hero-stats strong {
  font-size: 18px; font-weight: 700;
  color: var(--fg-1);
  letter-spacing: -0.01em;
  font-family: var(--font-mono);
}
.hero-stats span { font-size: 12px; color: var(--fg-3); }
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
}

/* hero card */
.hero-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card-glow {
  position: absolute; inset: -1px;
  background: var(--grad);
  opacity: 0.16;
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}
.hero-card > *:not(.hero-card-glow) { position: relative; z-index: 1; }

.avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  margin-bottom: 18px;
}
.hero-card-name { color: var(--fg-1); font-weight: 700; font-size: 18px; }
.hero-card-role { color: var(--fg-3); font-size: 13px; margin-top: 4px; margin-bottom: 18px; }

.hero-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tag {
  font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 500;
  padding: 4px 9px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--fg-2);
  letter-spacing: 0.01em;
}

.hero-card-meta { display: grid; gap: 12px; margin: 0; padding-top: 16px; border-top: 1px dashed var(--border); }
.hero-card-meta dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-4); margin-bottom: 2px; }
.hero-card-meta dd { margin: 0; font-size: 13px; color: var(--fg-2); }

/* ----- sections ----- */
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section-alt {
  background:
    linear-gradient(180deg, transparent 0%, rgba(13, 17, 23, 0.6) 50%, transparent 100%),
    radial-gradient(800px 400px at 50% 0%, rgba(88, 166, 255, 0.05), transparent 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header { max-width: 720px; margin-bottom: 48px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-lead {
  color: var(--fg-3);
  font-size: clamp(15px, 1.4vw, 17px);
  max-width: 64ch;
}
.section-lead strong { color: var(--fg-2); font-weight: 600; }

/* ----- suite cards ----- */
.suite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.suite-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border);
  color: var(--fg-2);
  text-decoration: none;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.suite-card::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-dim);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
  pointer-events: none;
  mix-blend-mode: overlay;
}
.suite-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.suite-card:hover::before { opacity: 0.18; }
.suite-card:hover .suite-card-cta { color: var(--accent-strong); }
.suite-card:hover .suite-card-cta span { transform: translateX(3px); }

.suite-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.suite-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  font-size: 22px;
}
.suite-status {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
}
.status-live { color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(63, 185, 80, 0.3); }
.status-edu { color: var(--highlight); background: rgba(163, 113, 247, 0.12); border: 1px solid rgba(163, 113, 247, 0.3); }

.suite-card-title {
  font-size: 20px; font-weight: 700;
  color: var(--fg-1);
  margin-bottom: 4px;
}
.suite-card-sub {
  font-size: 13px; color: var(--fg-3); font-weight: 500;
  margin-bottom: 14px;
}
.suite-card-desc {
  font-size: 14px; color: var(--fg-3); line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}
.suite-card-stack {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 20px;
}
.suite-card-stack li {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  padding: 3px 8px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--fg-2);
}
.suite-card-cta {
  font-size: 13px; font-weight: 600;
  color: var(--fg-2);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color var(--t-fast) var(--ease);
  margin-top: auto;
}
.suite-card-cta span {
  display: inline-block;
  transition: transform var(--t-fast) var(--ease);
}

.suite-card-edu {
  background: linear-gradient(180deg, rgba(163, 113, 247, 0.06), var(--bg-2));
}

/* ----- work / pacotes ----- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.work-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.work-card-featured {
  background: linear-gradient(180deg, rgba(63, 185, 80, 0.05), var(--bg-3));
  border-color: rgba(63, 185, 80, 0.35);
  position: relative;
}
.work-card-featured::after {
  content: "Mais escolhido";
  position: absolute; top: -10px; right: 20px;
  background: var(--accent-strong);
  color: #0a0d12;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.work-tier {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.work-card:not(.work-card-featured) .work-tier { color: var(--fg-3); }
.work-title { font-size: 22px; font-weight: 700; color: var(--fg-1); margin-bottom: 6px; }
.work-duration { font-family: var(--font-mono); font-size: 12.5px; color: var(--fg-4); margin-bottom: 16px; }
.work-desc { font-size: 14px; color: var(--fg-3); margin-bottom: 18px; }
.work-list { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.work-list li {
  position: relative;
  font-size: 13.5px; color: var(--fg-2);
  padding-left: 24px;
}
.work-list li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent-strong);
  border-bottom: 2px solid var(--accent-strong);
  transform: rotate(-45deg);
}
.work-foot {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--fg-4);
  font-family: var(--font-mono);
}

/* ----- CTA ----- */
.section-cta { padding: clamp(64px, 10vw, 128px) 0; }
.cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 48px);
  background: linear-gradient(180deg, rgba(63, 185, 80, 0.06), rgba(88, 166, 255, 0.04));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute; inset: -1px;
  background: var(--grad);
  opacity: 0.06;
  pointer-events: none;
}
.cta-inner > * { position: relative; }
.cta-title {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.cta-lead {
  color: var(--fg-3);
  font-size: clamp(15px, 1.4vw, 17px);
  margin-bottom: 28px;
  max-width: 52ch;
  margin-left: auto; margin-right: auto;
}
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ----- footer ----- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 56px;
  background: var(--bg-0);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-name { color: var(--fg-1); font-weight: 700; font-size: 15px; }
.footer-tag { font-size: 12.5px; color: var(--fg-3); }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; font-weight: 500; color: var(--fg-3); }
.footer-nav a:hover { color: var(--fg-1); }
.footer-meta {
  grid-column: 1 / -1;
  font-size: 12.5px; color: var(--fg-4);
  border-top: 1px dashed var(--border);
  padding-top: 18px;
  margin-top: 8px;
}

/* ----- reveal on scroll ----- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ----- selection ----- */
::selection { background: rgba(63, 185, 80, 0.35); color: var(--fg-1); }
