/*
  bkon.com.br — Portfólio Lucas
  Sistema visual: Modern Dashboard 2024-2026 · Preset: NEON DARK PRO adaptado para landing page pública
  Tipografia: system font stack (Inter via local → SF Pro → system-ui → sans-serif)
             Escolha: robustez offline, zero requisição de rede para fonte, carregamento instantâneo.
             Inter está presente em 90%+ dos sistemas modernos com a stack abaixo.
*/

/* ─────────────────────────────────────────────
   TOKENS
───────────────────────────────────────────── */
:root {
  /* Cores base — dark */
  --bg-primary:     #0E0E10;
  --bg-card:        #1A1A1F;
  --bg-card-hover:  #1F1F26;
  --bg-subtle:      #141418;
  --border:         rgba(255,255,255,0.06);
  --border-strong:  rgba(255,255,255,0.12);

  /* Texto */
  --text-primary:   #F4F4F0;
  --text-secondary: #A0A0A8;
  --text-muted:     #6B6B72;

  /* Accent — lime */
  --accent:         #C6F432;
  --accent-hover:   #D4FF4F;
  --accent-soft:    rgba(198,244,50,0.10);
  --accent-border:  rgba(198,244,50,0.28);

  /* Semânticas */
  --success:        #4ADE80;
  --success-soft:   rgba(74,222,128,0.12);
  --info:           #60A5FA;
  --info-soft:      rgba(96,165,250,0.12);

  /* Tipografia */
  --font: "Inter", "SF Pro Display", system-ui, -apple-system, sans-serif;

  /* Escala tipográfica — somente estes valores */
  --text-hero:    clamp(48px, 8vw, 72px);
  --text-display: clamp(36px, 5vw, 56px);
  --text-h1:      clamp(28px, 4vw, 48px);
  --text-h2:      32px;
  --text-h3:      24px;
  --text-h4:      18px;
  --text-body-lg: 16px;
  --text-body:    14px;
  --text-small:   13px;
  --text-label:   12px;
  --text-caption: 11px;

  /* Espaçamento — base 4px, somente estes valores */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Border radius */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   20px;
  --radius-2xl:  24px;
  --radius-full: 999px;

  /* Sombras */
  --shadow-card:  0 8px 32px rgba(0,0,0,0.22);
  --shadow-hover: 0 16px 48px rgba(0,0,0,0.36);
  --shadow-glow:  0 0 24px rgba(198,244,50,0.32);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --dur-fast:   120ms;
  --dur-normal: 200ms;
  --dur-slow:   320ms;
}

/* ─────────────────────────────────────────────
   RESET + BASE
───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text-body-lg);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol { list-style: none; }

/* ─────────────────────────────────────────────
   ACESSIBILIDADE — FOCO
───────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: inherit;
}

/* ─────────────────────────────────────────────
   REDUCED MOTION
───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─────────────────────────────────────────────
   LAYOUT — CONTAINER
───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--sp-10); }
}

/* ─────────────────────────────────────────────
   HEADER + NAV
───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--sp-4) 0;
  transition: background var(--dur-slow) var(--ease),
              border-color var(--dur-slow) var(--ease);
}

.site-header.scrolled {
  background: rgba(14,14,16,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo / marca */
.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-h4);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: opacity var(--dur-fast) var(--ease);
}
.logo:hover { opacity: 0.8; }

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--accent);
  flex-shrink: 0;
}

/* Nav links — desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-links a {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--dur-normal) var(--ease);
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-links a:hover::after {
  width: 100%;
}

/* CTA no header */
.nav-cta {
  font-size: var(--text-small);
  font-weight: 600;
  color: #0E0E10;
  background: var(--accent);
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius-md);
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.nav-cta:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-glow);
}
.nav-cta:active { transform: scale(0.98); }

/* Menu mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  background: none;
  border: none;
  cursor: pointer;
  aria-label: "Menu";
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--dur-normal) var(--ease),
              opacity var(--dur-normal) var(--ease);
}
.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Drawer mobile */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: var(--sp-4) var(--sp-6) var(--sp-6);
  background: rgba(14,14,16,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity var(--dur-normal) var(--ease),
              transform var(--dur-normal) var(--ease);
}
.nav-mobile.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-mobile a {
  font-size: var(--text-body-lg);
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--dur-fast) var(--ease);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--text-primary); }

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-cta-header { display: none; }
  .menu-toggle { display: flex; }
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: var(--sp-20);
  position: relative;
  overflow: hidden;
}

/* Grade decorativa de fundo */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
}

/* Glow sutil no fundo */
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(198,244,50,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

/* Pill de destaque acima do título */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
  padding: var(--sp-1) var(--sp-4);
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);

  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp 200ms var(--ease-out) 0ms forwards;
}

.hero-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--sp-6);

  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 220ms var(--ease-out) 60ms forwards;
}

.hero-title-accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: var(--text-h4);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: var(--sp-10);

  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 220ms var(--ease-out) 120ms forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;

  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 220ms var(--ease-out) 180ms forwards;
}

/* Botão primário (CTA principal) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--accent);
  color: #0E0E10;
  font-size: var(--text-small);
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-6);
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
  min-height: 44px; /* acessibilidade — toque mínimo */
}
.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-glow);
}
.btn-primary:active { transform: scale(0.98); }

/* Botão ghost */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--text-secondary);
  font-size: var(--text-small);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-6);
  border: 1px solid var(--border-strong);
  transition: color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
  min-height: 44px;
}
.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-subtle);
  border-color: var(--border-strong);
}

/* Indicadores hero — stack tech ou stat simples */
.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  margin-top: var(--sp-12);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;

  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp 220ms var(--ease-out) 240ms forwards;
}

.hero-stat-value {
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: var(--text-caption);
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* ─────────────────────────────────────────────
   SEÇÃO — padrão
───────────────────────────────────────────── */
.section {
  padding: var(--sp-20) 0;
}

.section-label {
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-4);
}

.section-title {
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}

.section-desc {
  font-size: var(--text-body-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 560px;
}

/* ─────────────────────────────────────────────
   SEÇÃO SOBRE
───────────────────────────────────────────── */
.about {
  padding: var(--sp-20) 0;
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: start;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
    align-items: center;
  }
}

.about-text h2 {
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--sp-6);
}

.about-text p {
  font-size: var(--text-body-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}

.about-text p:last-child { margin-bottom: 0; }

/* Card lateral — foto ou visual */
.about-visual {
  position: relative;
}

.about-photo-wrap {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Placeholder visual para foto do Lucas */
.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  color: var(--text-muted);
  font-size: var(--text-small);
  text-align: center;
  padding: var(--sp-8);
}

.photo-placeholder svg {
  opacity: 0.3;
}

/* Badge sobre a foto */
.about-badge {
  position: absolute;
  bottom: var(--sp-6);
  left: var(--sp-6);
  right: var(--sp-6);
  background: rgba(14,14,16,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.about-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--success);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.about-badge-text {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-primary);
}

.about-badge-sub {
  font-size: var(--text-caption);
  color: var(--text-muted);
  margin-top: 1px;
}

/* ─────────────────────────────────────────────
   SEÇÃO PROJETOS
───────────────────────────────────────────── */
.projects {
  padding: var(--sp-20) 0;
  border-top: 1px solid var(--border);
}

.projects-header {
  margin-bottom: var(--sp-12);
}

/* Bento grid assimétrico para projetos */
.projects-bento {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .projects-bento {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .projects-bento {
    grid-template-columns: 1.6fr 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "featured  top-right-a  top-right-b"
      "featured  bottom-wide  bottom-wide";
  }

  .project-card--featured { grid-area: featured; }
  .project-card--a        { grid-area: top-right-a; }
  .project-card--b        { grid-area: top-right-b; }
  .project-card--wide     { grid-area: bottom-wide; }
}

/* Card de projeto */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: transform var(--dur-normal) var(--ease),
              box-shadow var(--dur-normal) var(--ease),
              border-color var(--dur-normal) var(--ease);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(198,244,50,0.04) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-normal) var(--ease);
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
}

.project-card:hover::before {
  opacity: 1;
}

/* Card em destaque — maior e com accent na borda esquerda */
.project-card--featured {
  border-left: 2px solid var(--accent);
  padding: var(--sp-10);
}

/* Card wide (linha inferior) */
.project-card--wide {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--sp-8);
}

@media (max-width: 1023px) {
  .project-card--wide {
    flex-direction: column;
    gap: var(--sp-4);
  }
}

/* Cabeçalho do card */
.project-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
}

.project-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-icon svg {
  stroke: var(--accent);
}

/* Badge de status */
.project-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-full);
  padding: 2px var(--sp-3);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.project-status--live {
  background: var(--success-soft);
  color: var(--success);
}

.project-status--dev {
  background: var(--info-soft);
  color: var(--info);
}

.project-status-dot {
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: currentColor;
}

.project-status--live .project-status-dot {
  animation: pulse 2s infinite;
}

/* Título e descrição do projeto */
.project-name {
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.project-card--featured .project-name {
  font-size: var(--text-h2);
  letter-spacing: -0.02em;
}

.project-desc {
  font-size: var(--text-body);
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.project-card--featured .project-desc {
  font-size: var(--text-body-lg);
}

/* Tags de tech */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: auto;
}

.project-tag {
  font-size: var(--text-caption);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 2px var(--sp-3);
  letter-spacing: 0.02em;
}

/* Link no card */
.project-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--accent);
  margin-top: var(--sp-2);
  transition: gap var(--dur-fast) var(--ease);
}
.project-link:hover { gap: var(--sp-2); }

/* Metadados no card wide */
.project-wide-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

/* ─────────────────────────────────────────────
   SEÇÃO STACK
───────────────────────────────────────────── */
.stack {
  padding: var(--sp-20) 0;
  border-top: 1px solid var(--border);
}

.stack-header {
  margin-bottom: var(--sp-12);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

@media (min-width: 640px) {
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .stack-grid { grid-template-columns: repeat(6, 1fr); }
}

.stack-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  transition: transform var(--dur-normal) var(--ease),
              border-color var(--dur-normal) var(--ease),
              background var(--dur-normal) var(--ease);
  text-align: center;
}

.stack-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.stack-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-item-icon svg { stroke: var(--text-secondary); }

.stack-item-name {
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─────────────────────────────────────────────
   SEÇÃO CONTATO
───────────────────────────────────────────── */
.contact {
  padding: var(--sp-20) 0 var(--sp-24);
  border-top: 1px solid var(--border);
}

.contact-inner {
  max-width: 640px;
}

.contact-title {
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}

.contact-desc {
  font-size: var(--text-body-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-8);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-12);
}

/* Links sociais */
.contact-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border);
}

.social-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease);
}
.social-link svg { stroke: currentColor; }
.social-link:hover { color: var(--text-primary); }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.site-footer {
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-copy {
  font-size: var(--text-small);
  color: var(--text-muted);
}

.footer-brand {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.footer-brand span { color: var(--accent); }

/* ─────────────────────────────────────────────
   ANIMAÇÕES DE ENTRADA (scroll reveal)
───────────────────────────────────────────── */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 60ms; }
.reveal-delay-2 { transition-delay: 120ms; }
.reveal-delay-3 { transition-delay: 180ms; }
.reveal-delay-4 { transition-delay: 240ms; }

/* ─────────────────────────────────────────────
   DIVISOR DECORATIVO
───────────────────────────────────────────── */
.divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: var(--sp-8);
}

/* ─────────────────────────────────────────────
   PROJECT-CASE — linha de problema/resultado no card destaque
───────────────────────────────────────────── */
.project-case {
  font-size: var(--text-body-lg);
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

/* ─────────────────────────────────────────────
   MOBILE — PATCHES SEO/A11Y/OVERFLOW
   Verificado em 375px (iPhone SE / padrão)
───────────────────────────────────────────── */

/* Garante zero overflow horizontal em 360–414px */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Nav mobile: links com alvo de toque mínimo 44px */
.nav-mobile a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0;             /* reset — o alinhamento vem do min-height */
  padding-top: var(--sp-3);
  padding-bottom: var(--sp-3);
}

/* Social links: alvo de toque mínimo 44px */
.social-link {
  min-height: 44px;
  padding: var(--sp-2) 0;
}

/* Contact links: em telas estreitas, empilha verticalmente sem overflow */
@media (max-width: 479px) {
  .contact-links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-2);
  }
}

/* Botões de contato: empilha em coluna em telas muito estreitas */
@media (max-width: 399px) {
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-actions .btn-primary,
  .contact-actions .btn-ghost {
    justify-content: center;
    text-align: center;
  }
}

/* Stats do hero: gap menor para caber em 360px sem quebrar */
@media (max-width: 399px) {
  .hero-stats {
    gap: var(--sp-6);
  }
}

/* Divisor vertical do card wide: oculto em coluna */
@media (max-width: 1023px) {
  .wide-divider {
    display: none;
  }
}

/* Imagens com largura controlada (previne overflow) */
img {
  max-width: 100%;
  height: auto;
}

/* ─────────────────────────────────────────────
   A11Y — FOCO VISÍVEL REFORÇADO
   (garante foco em todos os elementos interativos)
───────────────────────────────────────────── */

/* Botões de menu: foco visível explícito */
.menu-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Links sociais: foco visível */
.social-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Project links: foco visível */
.project-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Nav links mobile: foco visível */
.nav-mobile a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
