/* ===========================
   V2 — DEEP PROTOCOL
   LUÍS PAULO
   Tema: Azul naval + tech corporativo
=========================== */

:root {
  --blue: #0062ff;
  --blue-light: #4d9aff;
  --blue-dim: #003eaa;
  --ice: #a8d8ff;
  --navy: #020b18;
  --navy2: #061525;
  --navy3: #0c2040;
  --text: #d6eeff;
  --text-dim: #5a8ab0;
  --text-muted: #1e3a55;
  --border: rgba(0,98,255,0.18);
  --border-bright: rgba(0,98,255,0.45);
  --sonar: rgba(0,98,255,0.06);
  --font-head: 'Space Grotesk', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-body: 'Inter', sans-serif;
}

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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ── SONAR BACKGROUND ─────────────────────────── */
body::before {
  content: '';
  position: fixed;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(0,62,170,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 70%, rgba(0,98,255,0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* GRID OVERLAY */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(0,98,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,98,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* PROTECT IMAGES */
.protect-img { pointer-events: none; user-select: none; -webkit-user-drag: none; }

/* ── NAV ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 64px;
  background: rgba(2,11,24,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo-mark {
  width: 36px; height: 36px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
}

.logo-text {
  display: flex; flex-direction: column;
}

.logo-name {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 2px;
}

.logo-sub {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  font-family: var(--font-mono);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-links a {
  display: block;
  padding: 0 1.2rem;
  height: 64px;
  line-height: 64px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.3s;
  border-right: 1px solid var(--border);
  position: relative;
}

.nav-links li:first-child a { border-left: 1px solid var(--border); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--blue-light); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  border: none !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--blue-light) !important; }

.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.hamburger span { width: 22px; height: 1px; background: var(--blue-light); display: block; }

/* ── HERO ──────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 64px 3rem 3rem;
  overflow: hidden;
}

.hero-radar {
  position: absolute;
  right: -100px; top: 50%;
  transform: translateY(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 1px solid var(--border);
  opacity: 0.4;
  pointer-events: none;
}

.hero-radar::before {
  content: '';
  position: absolute;
  top: 10%; left: 10%;
  right: 10%; bottom: 10%;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.hero-radar::after {
  content: '';
  position: absolute;
  top: 30%; left: 30%;
  right: 30%; bottom: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,98,255,0.08) 0%, transparent 70%);
  border: 1px solid var(--border-bright);
  animation: sonar-pulse 4s ease-in-out infinite;
}

@keyframes sonar-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* SONAR SWEEP */
.hero-sweep {
  position: absolute;
  right: -100px; top: 50%;
  width: 700px; height: 700px;
  transform-origin: center;
  animation: sweep 8s linear infinite;
  pointer-events: none;
}

.hero-sweep::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 50%; height: 50%;
  transform-origin: bottom left;
  background: conic-gradient(from 0deg, transparent 340deg, rgba(0,98,255,0.15) 360deg);
  border-radius: 0 100% 0 0;
}

@keyframes sweep { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(360deg); } }

.hero-content {
  position: relative; z-index: 2;
  max-width: 700px;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--text-muted);
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  animation: blink-dot 2s infinite;
}

@keyframes blink-dot { 0%,100% { opacity:1; } 50% { opacity:0.4; } }

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 5px;
  color: var(--blue);
  margin-bottom: 1rem;
}

.hero-name {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.name-first {
  display: block;
  font-size: clamp(3.5rem, 9vw, 7rem);
  color: var(--text);
}

.name-last {
  display: block;
  font-size: clamp(3.5rem, 9vw, 7rem);
  color: var(--blue);
  text-shadow: 0 0 40px rgba(0,98,255,0.4);
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-family: var(--font-body);
  font-weight: 300;
}

.hero-desc strong { color: var(--ice); font-weight: 500; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.htag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  color: var(--text-dim);
  background: var(--sonar);
  transition: all 0.3s;
  cursor: default;
}

.htag:hover { border-color: var(--blue); color: var(--blue-light); }

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn-blue {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 3px;
  padding: 0.9rem 2rem;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  border: 1px solid transparent;
  cursor: pointer;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.btn-blue:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,98,255,0.4); }
.btn-blue.full { width: 100%; text-align: center; }

.btn-outline-blue {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 3px;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.btn-outline-blue:hover { border-color: var(--blue); color: var(--blue-light); }

/* ── LAYOUT ─────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 3rem; }

.section {
  position: relative; z-index: 1;
  padding: 6rem 0;
}

.section-alt { background: var(--navy2); }

.sec-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.sec-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--blue);
  letter-spacing: 3px;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--border);
}

.sec-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.sec-line { flex:1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }

/* ── ABOUT ──────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.profile-card {
  background: var(--navy2);
  border: 1px solid var(--border);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.profile-img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--navy3);
  display: flex; align-items: center; justify-content: center;
}

.profile-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

.profile-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; color: var(--text-muted);
}

.profile-placeholder span:first-child {
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 700;
  color: var(--blue-dim);
  opacity: 0.4;
}

.profile-placeholder span:last-child { font-size: 0.65rem; letter-spacing: 2px; }

.profile-meta {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pm-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  font-size: 0.8rem;
  gap: 0.8rem;
}

.pm-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--blue);
  align-self: center;
}

.pm-val { color: var(--text-dim); }

.about-text h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.about-text h2 em { font-style: normal; color: var(--blue); }

.about-p {
  font-size: 0.93rem;
  line-height: 1.9;
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-weight: 300;
}

.about-p strong { color: var(--ice); font-weight: 500; }

.hobbies-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-top: 2rem;
}

.hrow-card {
  background: var(--navy);
  padding: 1.5rem;
  transition: background 0.3s;
}

.hrow-card:hover { background: var(--navy3); }

.hrow-icon { font-size: 1.5rem; margin-bottom: 0.6rem; display: block; }

.hrow-title {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-light);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.hrow-text { font-size: 0.8rem; color: var(--text-dim); line-height: 1.6; }

/* ── TIMELINE ─────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--blue), transparent);
}

.tl-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
}

.tl-dot {
  position: absolute;
  left: -1.75rem;
  top: 0.4rem;
  width: 10px; height: 10px;
  border: 2px solid var(--text-muted);
  border-radius: 50%;
  background: var(--navy);
  transition: all 0.3s;
}

.tl-item:hover .tl-dot { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 10px var(--blue); }

.tl-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.3rem; }

.tl-co {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue-light);
}

.tl-period {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.tl-role {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.tl-desc { font-size: 0.82rem; color: var(--text-dim); line-height: 1.6; }

/* SKILLS */
.skills-panel {
  background: var(--navy2);
  border: 1px solid var(--border);
  padding: 2rem;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
  margin-top: 3rem;
}

.sp-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.sp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
}

.sp-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 1px;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--border);
  color: var(--text-dim);
  background: var(--sonar);
  transition: all 0.3s;
  cursor: default;
}

.sp-chip:hover { border-color: var(--blue); color: var(--blue-light); background: rgba(0,98,255,0.08); }

/* ── GALLERY ─────────────────────────────── */
.gallery-section-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 4px;
  color: var(--blue);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 3rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--navy3);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item::after {
  content: '⊞ VER';
  position: absolute;
  inset: 0;
  background: rgba(0,98,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover::after { opacity: 1; }

.gallery-notice {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(2,11,24,0.97);
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain;
  border: 1px solid var(--border);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-dim);
  cursor: pointer;
  background: none; border: none;
  transition: color 0.3s;
}

.lightbox-close:hover { color: var(--blue-light); }

/* ── PORTFOLIO ───────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

.project-card {
  background: var(--navy);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.3s;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.project-card:hover { background: var(--navy2); }
.project-card:hover::before { transform: scaleX(1); }

.pc-status {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 2px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 1rem;
}

.pc-status.ativo { background: rgba(0,98,255,0.15); color: var(--blue-light); border: 1px solid var(--border-bright); }
.pc-status.dev { background: rgba(0,98,255,0.05); color: var(--text-muted); border: 1px solid var(--border); }

.pc-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
  letter-spacing: -0.5px;
}

.pc-url {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: var(--blue);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.pc-url:hover { color: var(--blue-light); }

.pc-desc { font-size: 0.85rem; color: var(--text-dim); line-height: 1.7; }

/* ── INTRANET ─────────────────────────────── */
.intranet-hero {
  text-align: center;
  padding: 3rem 0 4rem;
}

.intranet-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 20px rgba(0,98,255,0.5));
}

.intranet-title {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 3vw, 1.6rem);
  letter-spacing: 6px;
  color: var(--blue-light);
  margin-bottom: 0.5rem;
}

.intranet-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 3px;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.access-card {
  background: var(--navy2);
  border: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.access-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,98,255,0.1), transparent);
  transition: left 0.5s;
}

.access-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,98,255,0.15); }
.access-card:hover::before { left: 100%; }

.ac-icon { font-size: 2.5rem; display: block; }

.ac-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 2px;
}

.ac-url {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--blue);
  letter-spacing: 1px;
}

.ac-desc { font-size: 0.8rem; color: var(--text-dim); line-height: 1.5; }

.ac-arrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-top: 0.5rem;
  transition: color 0.3s;
}

.access-card:hover .ac-arrow { color: var(--blue-light); }

.intranet-warning {
  text-align: center;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--text-muted);
  padding: 0.8rem;
  border: 1px solid var(--border);
  background: var(--sonar);
}

/* ── CONTACT ─────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
}

.ch-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  background: var(--navy2);
  text-decoration: none;
  transition: background 0.3s;
}

.ch-item:hover { background: var(--navy3); }

.ch-icon { font-size: 1.4rem; }

.ch-info { flex: 1; }

.ch-platform {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: var(--text-muted);
}

.ch-value {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.ch-arrow { color: var(--blue); transition: transform 0.3s; }
.ch-item:hover .ch-arrow { transform: translateX(4px); }

/* FORM */
.dp-form { display: flex; flex-direction: column; gap: 1rem; }

.dp-form label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: var(--blue);
  display: block;
  margin-bottom: 0.3rem;
}

.dp-form input,
.dp-form textarea {
  width: 100%;
  background: var(--navy2);
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  padding: 0.8rem 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}

.dp-form input:focus,
.dp-form textarea:focus { border-bottom-color: var(--blue); }

.dp-form input::placeholder,
.dp-form textarea::placeholder { color: var(--text-muted); font-size: 0.85rem; }

/* ── FOOTER ─────────────────────────────── */
.footer {
  position: relative; z-index: 1;
  background: var(--navy2);
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
}

.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}

.footer-brand {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 3px;
}

.footer-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.footer-right {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: right;
  letter-spacing: 1px;
  line-height: 1.8;
}

/* ── UTILITIES ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

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

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
  .access-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 0 1.5rem; }
  .nav-links {
    display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: rgba(2,11,24,0.99); flex-direction: column; align-items: center;
    justify-content: center; gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { border: none; border-bottom: 1px solid var(--border); width: 100%; text-align: center; height: 56px; line-height: 56px; }
  .hamburger { display: flex; }
  .hero { padding: 80px 1.5rem 3rem; }
  .container { padding: 0 1.5rem; }
  .about-layout { grid-template-columns: 1fr; }
  .hobbies-row { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-right { text-align: center; }
}

/* ── TERMINAL BOX (do V1, adaptado para V2) ─────── */
.dp-terminal {
  background: rgba(2,11,24,0.96);
  border: 1px solid var(--border-bright);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,98,255,0.12), 0 0 80px rgba(0,98,255,0.05);
  width: 100%;
}

.dpt-bar {
  background: rgba(0,98,255,0.08);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.dpt-dot { width: 12px; height: 12px; border-radius: 50%; }
.dpt-dot.r { background: #ff5f56; }
.dpt-dot.y { background: #ffbd2e; }
.dpt-dot.g { background: var(--blue-light); box-shadow: 0 0 6px rgba(77,154,255,0.6); }

.dpt-title {
  margin-left: 0.5rem;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-family: var(--font-mono);
}

.dpt-body {
  padding: 1.5rem;
  min-height: 175px;
}

.dpt-line {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.dpt-prompt { color: var(--blue-light); margin-right: 0.5rem; }
#dp-cmd { color: var(--blue); }
.dpt-cursor { color: var(--blue-light); animation: blink 1s infinite; }
.dpt-out { color: var(--text-dim); padding-left: 1.2rem; }
.dpt-name { color: var(--blue-light) !important; font-size: 1rem !important; font-weight: 700; }

/* ── HERO ATUALIZADO (2 colunas) ─────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  max-width: 1160px;
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 0 3rem;
}

.hero-terminal-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero-profile-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--border);
  display: block;
  filter: grayscale(15%) contrast(1.05);
  transition: filter 0.4s;
}

.hero-profile-photo:hover { filter: grayscale(0%) contrast(1.1); }

/* ── PAGE HERO (páginas internas) ────────────────── */
.page-hero-dp {
  background: var(--navy2);
  border-bottom: 1px solid var(--border);
  padding: 7rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero-dp::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 70% 100% at 80% 50%, rgba(0,98,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-dp .container { position: relative; z-index: 1; }

.ph-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 5px;
  color: var(--blue);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ph-eyebrow::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--blue-dim);
}

.ph-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -2px;
  margin-bottom: 0.5rem;
  line-height: 0.95;
}

.ph-title span { color: var(--blue); }

.ph-sub {
  font-size: 1rem;
  color: var(--text-dim);
  font-weight: 300;
  max-width: 500px;
  line-height: 1.6;
}

.ph-photo-strip {
  display: flex;
  gap: 6px;
  margin-top: 2rem;
}

.ph-photo-strip img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border: 1px solid var(--border);
  opacity: 0.7;
  transition: opacity 0.3s;
  filter: saturate(0.6);
}

.ph-photo-strip img:hover { opacity: 1; filter: saturate(1); }

/* ── FOTO INLINE / SEÇÕES COM FOTO ───────────────── */
.split-photo-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.sps-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--border);
  transition: filter 0.4s;
  filter: saturate(0.8);
}

.sps-img:hover { filter: saturate(1); }

.photo-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 6px;
}

.photo-mosaic img {
  width: 100%; height: 100%;
  object-fit: cover;
  border: 1px solid var(--border);
  transition: opacity 0.3s, filter 0.3s;
  filter: saturate(0.7);
  opacity: 0.85;
}

.photo-mosaic img:first-child {
  grid-row: span 2;
}

.photo-mosaic img:hover { opacity: 1; filter: saturate(1); }

.photo-banner {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 1px solid var(--border);
  filter: saturate(0.6) brightness(0.85);
  margin-bottom: 2.5rem;
  transition: filter 0.5s;
}

.photo-banner:hover { filter: saturate(0.85) brightness(0.95); }

/* ── QUOTE BLOCK ─────────────────────────────────── */
.quote-block {
  border-left: 3px solid var(--blue);
  padding: 1.2rem 2rem;
  background: var(--sonar);
  margin: 2rem 0;
}

.quote-block p {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  font-weight: 300;
  line-height: 1.6;
}

.quote-block cite {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--blue);
  margin-top: 0.6rem;
}

/* ── FACT CARDS ──────────────────────────────────── */
.facts-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin: 3rem 0;
}

.fact-card {
  background: var(--navy2);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background 0.3s;
}

.fact-card:hover { background: var(--navy3); }

.fc-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  display: block;
  margin-bottom: 0.3rem;
}

.fc-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: var(--text-dim);
}

/* ── RESPONSIVE NOVOS ELEMENTOS ──────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding: 0 1.5rem; gap: 2.5rem; }
  .hero-terminal-col { order: -1; }
  .ph-photo-strip { flex-wrap: wrap; }
  .split-photo-section { grid-template-columns: 1fr; }
  .photo-mosaic { grid-template-rows: 180px 180px; }
  .photo-mosaic img:first-child { grid-row: span 1; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .page-hero-dp { padding: 5rem 0 2.5rem; }
}

@media (max-width: 480px) {
  .facts-row { grid-template-columns: 1fr 1fr; }
  .ph-photo-strip img { width: 80px; height: 55px; }
}
