/* ═══════════════════════════════════════════════════════════════
   ATLAS — SITE INSTITUCIONAL
   Style inspired by monopo saigon: dark canvas, gradient depth,
   frosted glass, pill buttons, spacious rhythm.
═══════════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --canvas:         #000000;
  --canvas-2:       #000000;
  --canvas-3:       #181818;
  --frost:          #ffffff;
  --muted:          #6d6d6d;
  --muted-2:        #3a3a3a;
  --border:         rgba(255,255,255,0.08);
  --border-hover:   rgba(255,255,255,0.10);
  --glass-bg:       rgba(255,255,255,0.02);
  --glass-hover:    rgba(255,255,255,0.04);

  --gradient-hero:  linear-gradient(120deg, rgb(160,224,171), rgb(255,172,46) 50%, rgb(165,45,37));
  --gradient-text:  linear-gradient(90deg, #a0e0ab, #ffac2e 50%, #a52d25);

  --radius-card:    10px;
  --radius-pill:    75.024px;

  --font:           'Inter', system-ui, -apple-system, sans-serif;
  --font-heading:   'Raleway', 'Inter', system-ui, -apple-system, sans-serif;

  --ease:           cubic-bezier(0.16, 1, 0.3, 1);
  --dur:            0.4s;

  --max-w:          1078px;
  --section-gap:    100px;
}

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

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

body {
  font-family: var(--font);
  background: var(--canvas);
  color: var(--frost);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; }

h1, h2 { font-family: var(--font-heading); }

/* ── CONTAINER ───────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── SECTION BASE ────────────────────────────────────────────── */
.section { padding: var(--section-gap) 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.section-tag.light { color: rgba(255,255,255,0.45); }

.section-header h2 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--frost);
}

.section-header h2.light { color: var(--frost); }

.section-sub {
  font-size: 16px;
  color: var(--muted);
  margin-top: 12px;
}

.section-sub.light { color: rgba(255,255,255,0.45); }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  border: none;
  line-height: 1;
}

.btn-primary {
  background: var(--frost);
  color: var(--canvas);
}
.btn-primary:hover {
  background: rgba(255,255,255,0.85);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--frost);
  border: 1px solid var(--border-hover);
}
.btn-outline:hover {
  border-color: var(--frost);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 22px; font-size: 13px; }

/* ── ANIMATIONS ──────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease) 0.18s, transform 0.7s var(--ease) 0.18s;
}
.reveal-delay.visible { opacity: 1; transform: translateY(0); }

/* ── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.35s;
}

.nav.scrolled {
  padding: 14px 0;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--dur);
}
.nav-logo:hover { opacity: 0.75; }

.nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--dur), border-bottom-color var(--dur);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--frost);
  border-bottom-color: #a0e0ab;
}

.nav-cta {
  padding: 8px 20px;
  border: 1px solid var(--border-hover) !important;
  border-radius: var(--radius-pill) !important;
  color: var(--frost) !important;
  transition: border-color var(--dur), background var(--dur) !important;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: var(--frost) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--frost);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99;
  backdrop-filter: blur(4px);
}
.nav-overlay.show { display: block; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 100px;
}

/* Full-bleed Deep Ocean Gradient — the atmospheric foundation */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  background-size: 280% 280%;
  opacity: 0.12;
  pointer-events: none;
  animation: gradientShift 18s ease-in-out infinite;
}

/* Radial vignette darkens edges for text contrast */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.65) 100%
  );
  pointer-events: none;
}

/* ── HERO GRID LAYOUT ────────────────────────────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  align-items: center;
  gap: 72px;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 580px;
}

/* ── HERO PHOTO ──────────────────────────────────────────────── */
.hero-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-wrap {
  width: 290px;
  height: 370px;
  border-radius: 160px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.22);
  position: relative;
  flex-shrink: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}

/* ── Logo no Hero ─────────────────────────────────────────────── */
.hero-brand {
  margin-bottom: 24px;
}
.hero-brand-img {
  height: 80px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  opacity: 0.88;
}

.hero-name {
  font-size: clamp(54px, 8.5vw, 94px);
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  color: var(--frost);
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

.hero-tagline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-desc strong { color: var(--frost); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* ── HERO STATS ──────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.stat {
  text-align: center;
  padding: 18px 28px;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-card);
  backdrop-filter: blur(16px);
  min-width: 96px;
}
.stat-n {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--frost);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-l {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  z-index: 1;
}
.scroll-bar {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollDrop 2s ease infinite;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ── SOBRE ───────────────────────────────────────────────────── */
.sobre { background: var(--canvas); }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sobre-pitch {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
  margin-bottom: 18px;
}
.sobre-pitch strong { color: var(--frost); font-weight: 500; }

.sobre-text p:not(.sobre-pitch) {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

.sobre-cards { display: flex; flex-direction: column; gap: 14px; }

.sobre-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: background var(--dur), border-color var(--dur), transform var(--dur);
}
.sobre-card:hover {
  background: var(--glass-hover);
  border-color: var(--border-hover);
  transform: translateX(4px);
}
.sobre-card-icon {
  flex-shrink: 0;
  color: var(--muted);
  transition: color var(--dur);
}
.sobre-card:hover .sobre-card-icon { color: var(--frost); }
.sobre-card strong { display: block; font-size: 14px; font-weight: 600; color: var(--frost); }
.sobre-card span   { font-size: 13px; color: var(--muted); }

/* ── COMPETÊNCIAS ────────────────────────────────────────────── */
.competencias { background: var(--canvas); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.skill-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 30px;
  transition: background var(--dur), border-color var(--dur), transform var(--dur);
  position: relative;
  overflow: hidden;
}
.skill-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-hero);
  opacity: 0;
  transition: opacity var(--dur);
}
.skill-card:hover {
  background: var(--glass-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.skill-card:hover::after { opacity: 1; }

.skill-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: color var(--dur), border-color var(--dur);
}
.skill-card:hover .skill-icon { color: var(--frost); border-color: var(--border-hover); }

.skill-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--frost);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.skill-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.skill-badge {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.skill-badge--orange {
  color: #ffac2e;
  border-color: rgba(255,172,46,0.35);
}
.skill-card--highlight {
  border-color: rgba(255,172,46,0.14);
  background: rgba(255,172,46,0.025);
}
.skill-card--highlight:hover { border-color: rgba(255,172,46,0.30); }
.skill-card--highlight .skill-icon svg { stroke: #ffac2e; }

/* ── Card destaque (span full row) ─────────────────────────────── */
.skill-card--featured {
  grid-column: 1 / -1;
}

/* ── AJUSTE 2: Duas colunas no desktop ───────────────────────── */
@media (min-width: 641px) {
  .skill-card--featured {
    display: grid !important;
    grid-template-columns: 220px 1fr !important;
    gap: 48px !important;
    align-items: start !important;
  }
  .skill-card--featured p { max-width: none !important; }
}

.featured-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.featured-list {
  list-style: none;
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

.featured-list li {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.55;
}

.featured-list li::before {
  content: '✓';
  color: #ffac2e;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 3px;
  font-family: 'Share Tech Mono', monospace;
}

/* ── COMO FUNCIONA ───────────────────────────────────────────── */
.processo { background: var(--canvas-3); }

/* ── PORTFÓLIO ───────────────────────────────────────────────── */
.portfolio { background: var(--canvas); }

/* ── BENTO GRID (Apple-style showcase) ───────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  grid-template-rows: 1fr 1fr auto;
  gap: 14px;
  align-items: stretch;
}

.bento-card {
  background: rgba(12,12,14,0.95);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 28px;
  padding: 40px 40px 0;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur), transform var(--dur), box-shadow var(--dur);
}
.bento-card:hover {
  border-color: rgba(255,255,255,0.13);
  transform: translateY(-5px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.55);
}

.bento-guestly {
  grid-column: 1;
  grid-row: 1 / 3;
  border-color: rgba(160,224,171,0.14);
  background: rgba(160,224,171,0.025);
  min-height: 600px;
}
.bento-guestly:hover { border-color: rgba(160,224,171,0.30); }

.bento-funil { grid-column: 2; grid-row: 1; min-height: 380px; }
.bento-sites { grid-column: 2; grid-row: 2; min-height: 340px; }

/* ── E-commerce card (full width, row 3) ── */
.bento-ecommerce {
  grid-column: 1 / -1;
  grid-row: 3;
  border-color: rgba(255,172,46,0.14);
  background: rgba(255,172,46,0.025);
  min-height: 320px;
  flex-direction: row;
  align-items: center;
  gap: 48px;
  padding: 40px 48px 0;
}
.bento-ecommerce:hover { border-color: rgba(255,172,46,0.30); box-shadow: 0 32px 80px rgba(255,172,46,0.08); }

.bento-ecommerce .bento-header { flex: 0 0 auto; max-width: 420px; }
.bento-ecommerce .bento-device-wrap { flex: 1; min-width: 360px; max-width: 640px; align-items: flex-end; }
.bento-ecommerce .bento-title { font-size: clamp(28px, 3.2vw, 46px); }

.bento-cta--orange {
  color: #ffac2e !important;
  border-bottom-color: rgba(255,172,46,0.22) !important;
}
.bento-cta--orange:hover { border-bottom-color: rgba(255,172,46,0.7) !important; }

.win95-file-row--ok { cursor: default; }
.ecom-ok { color: #a0e0ab; font-weight: 600; }

.win95-led--orange {
  background: #ffac2e;
  box-shadow: 0 0 6px rgba(255,172,46,0.8);
}

/* ── Bento text ── */
.bento-header { flex: 0 0 auto; }

.bento-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 300;
  color: var(--frost);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 14px 0 10px;
}

.bento-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 380px;
  margin-bottom: 14px;
}

.bento-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}
.bento-tech span {
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}

.bento-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #a0e0ab;
  text-decoration: none;
  border-bottom: 1px solid rgba(160,224,171,0.22);
  padding-bottom: 2px;
  margin-bottom: 28px;
  transition: border-color var(--dur);
}
.bento-cta:hover { border-color: rgba(160,224,171,0.7); }

/* ── Device area ── */
.bento-device-wrap {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

/* ── Guestly iPhone ── */
.bento-iphone {
  width: 205px;
  flex-shrink: 0;
  transform: perspective(700px) rotateX(5deg) rotateY(-8deg) rotateZ(0.6deg);
  transform-origin: center bottom;
  filter: drop-shadow(0 28px 56px rgba(0,0,0,0.72)) drop-shadow(0 8px 20px rgba(0,0,0,0.45));
  margin-bottom: -32px;
}

/* ── Funil: 3 MacBooks em leque horizontal ── */
.bento-macbooks-stacked {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  align-items: flex-end;
}

.bento-mb {
  display: block;
  text-decoration: none;
}

.bento-mb-back {
  transform: perspective(600px) rotateX(7deg) rotateY(6deg) rotateZ(-0.5deg);
  transform-origin: bottom center;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.6));
  margin-bottom: -20px;
  opacity: 0.80;
}
.bento-mb-mid {
  transform: perspective(600px) rotateX(6deg) rotateY(-1deg);
  transform-origin: bottom center;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,0.65));
  margin-bottom: -20px;
  z-index: 2;
}
.bento-mb-front {
  transform: perspective(600px) rotateX(7deg) rotateY(-6deg) rotateZ(0.5deg);
  transform-origin: bottom center;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.6));
  margin-bottom: -20px;
  opacity: 0.80;
}

/* ── Sites: 2 MacBooks lado a lado ── */
.bento-sites-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  align-items: flex-end;
  position: relative;
}
.bento-sites-duo .bento-mb {
  position: relative;
  transform: perspective(700px) rotateX(6deg) rotateY(-3deg) rotateZ(0.3deg);
  transform-origin: bottom center;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,0.62));
  margin-bottom: -24px;
}

/* ── Legacy grid (kept for safety) ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pcard {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: background var(--dur), border-color var(--dur), transform var(--dur);
}
.pcard:hover {
  background: var(--glass-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.pcard-featured {
  border-color: rgba(160,224,171,0.25);
  background: rgba(160,224,171,0.04);
}
.pcard-featured:hover { border-color: rgba(160,224,171,0.45); }

.pcard-wide { grid-column: 1 / -1; }

.pcard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.pcard-icon {
  width: 52px; height: 52px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
}

.pcard-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }

.pbadge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid;
}
.pbadge.blue   { color: #93c5fd; border-color: rgba(147,197,253,0.3); background: rgba(147,197,253,0.06); }
.pbadge.green  { color: #86efac; border-color: rgba(134,239,172,0.3); background: rgba(134,239,172,0.06); }
.pbadge.purple { color: #d8b4fe; border-color: rgba(216,180,254,0.3); background: rgba(216,180,254,0.06); }
.pbadge.orange { color: #fdba74; border-color: rgba(253,186,116,0.3); background: rgba(253,186,116,0.06); }
.pbadge.gray   { color: var(--muted); border-color: var(--border); }
.pbadge.pink   { color: #fbcfe8; border-color: rgba(251,207,232,0.3); background: rgba(251,207,232,0.06); }

.pcard h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--frost);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.pcard p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.ptech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.ptech span {
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

/* Funnel steps */
.funnel-steps { display: flex; flex-direction: column; gap: 8px; }

.funnel-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  text-decoration: none;
  transition: background var(--dur), border-color var(--dur), transform var(--dur);
}
.funnel-step:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.fs-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 130px;
  flex-shrink: 0;
}

.fs-title {
  flex: 1;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
}

.funnel-step svg { flex-shrink: 0; color: var(--muted); }

/* Site links */
.site-links { display: flex; flex-direction: column; gap: 8px; }

.site-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  text-decoration: none;
  transition: background var(--dur), border-color var(--dur);
}
.site-link:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--border-hover);
}
.site-emoji { font-size: 22px; flex-shrink: 0; }
.site-link div strong { display: block; font-size: 14px; font-weight: 500; color: var(--frost); }
.site-link div span   { font-size: 12px; color: var(--muted); }
.site-link > svg { flex-shrink: 0; color: var(--muted); margin-left: auto; }

/* Brands grid */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.brand-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  text-decoration: none;
  transition: background var(--dur), border-color var(--dur), transform var(--dur);
}
.brand-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(251,207,232,0.35);
  transform: translateY(-2px);
}

.brand-ig {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  display: flex; align-items: center; justify-content: center;
  color: white;
  flex-shrink: 0;
}

.brand-info strong { display: block; font-size: 12px; font-weight: 500; color: var(--frost); }
.brand-info span   { font-size: 11px; color: var(--muted); }

/* ── MOCKUP FRAMES ───────────────────────────────────────────── */
.mockup-link {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  transition: border-color var(--dur), transform var(--dur);
}
.mockup-link:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
}

.browser-dots {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.browser-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.browser-dots span:nth-child(1) { background: rgba(255,95,87,0.5); }
.browser-dots span:nth-child(2) { background: rgba(255,189,68,0.5); }
.browser-dots span:nth-child(3) { background: rgba(40,202,66,0.5); }

.browser-url {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: monospace;
}

.browser-screen {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
  position: relative;
}

.browser-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s var(--ease);
}

.mockup-link:hover .browser-screen img {
  transform: scale(1.04);
}

.mockup-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  gap: 8px;
}

.mockup-caption > strong {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  flex: 1;
}

.mockup-caption > svg { flex-shrink: 0; color: var(--muted); }

.mockup-caption-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.mockup-emoji { font-size: 18px; flex-shrink: 0; }

.mockup-caption-info div strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--frost);
}

.mockup-caption-info div span {
  font-size: 11px;
  color: var(--muted);
}

/* Single mockup (Guestly) */
.mockup-single { margin-bottom: 18px; }

/* Funil — 3 colunas */
.funnel-mockups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 4px;
}

/* Sites — 2 colunas largas (card full-width) */
.sites-mockups-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* ── EXPERIÊNCIA ─────────────────────────────────────────────── */
.experiencia { background: var(--canvas); }

.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px; top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}

.tl-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
}
.tl-item:last-child { margin-bottom: 0; }

.tl-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--canvas-2);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
  margin-top: 6px;
  flex-shrink: 0;
}
.tl-dot--active {
  border-color: rgba(160,224,171,0.6);
  background: rgba(160,224,171,0.08);
  box-shadow: 0 0 0 4px rgba(160,224,171,0.08);
}

.tl-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  transition: background var(--dur), border-color var(--dur);
}
.tl-card:hover { background: var(--glass-hover); border-color: var(--border-hover); }

.tl-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.tl-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--frost);
  letter-spacing: -0.01em;
}

.tl-company {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}

.tl-period {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
}
.tl-period--active {
  color: #86efac;
  border-color: rgba(134,239,172,0.3);
  background: rgba(134,239,172,0.06);
}

.tl-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-tags span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

/* ── CONTATO ─────────────────────────────────────────────────── */
.contato {
  background: var(--canvas);
  position: relative;
  overflow: hidden;
}
.contato::before {
  content: '';
  position: absolute;
  bottom: -200px; left: 50%;
  transform: translateX(-50%);
  width: 80vw; height: 80vw;
  background: radial-gradient(circle,
    rgba(160,224,171,0.07) 0%,
    rgba(255,172,46,0.04) 40%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.contato-box {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contato-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}

.cbtn-wa {
  background: #25d366;
  color: #fff;
}
.cbtn-wa:hover { background: #22c55e; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,0.25); }

.cbtn-email {
  background: var(--glass-bg);
  color: var(--frost);
  border: 1px solid var(--border-hover);
}
.cbtn-email:hover { background: var(--glass-hover); border-color: var(--frost); transform: translateY(-2px); }

.cbtn-li {
  background: #0077b5;
  color: #fff;
}
.cbtn-li:hover { background: #006097; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,119,181,0.25); }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--canvas);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  display: block;
  opacity: 0.90;
  margin-bottom: 8px;
}

.footer p {
  font-size: 13px;
  color: var(--muted);
}

.footer-sub {
  font-size: 11px !important;
  color: var(--muted-2) !important;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
  :root { --section-gap: 90px; }

  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-photo { order: -1; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-desc { max-width: 100%; }

  .sobre-grid { grid-template-columns: 1fr; gap: 48px; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .pcard-wide { grid-column: 1; }
  .brands-grid { grid-template-columns: 1fr; }
  .funnel-mockups { grid-template-columns: 1fr; }
  .sites-mockups-grid { grid-template-columns: 1fr; }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .bento-guestly, .bento-funil, .bento-sites, .bento-ecommerce {
    grid-column: 1;
    grid-row: auto;
  }
  .bento-guestly { min-height: 500px; }
  .bento-funil   { min-height: 360px; }
  .bento-sites   { min-height: 320px; }
  .bento-ecommerce {
    flex-direction: column;
    padding: 32px 32px 0;
    min-height: 460px;
  }
  .bento-ecommerce .bento-header { max-width: 100%; }
  .bento-ecommerce .bento-device-wrap { min-width: unset; max-width: 100%; width: 100%; }
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(280px, 80vw);
    height: 100vh;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transition: right 0.35s var(--ease);
    border-left: 1px solid var(--border);
    z-index: 100;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 18px; }
  .nav-toggle { display: flex; }
  .nav-cta { width: fit-content; }
}

/* Mobile general */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  :root { --section-gap: 72px; }

  .hero-name { font-size: clamp(44px, 13vw, 68px); }
  .hero-brand-img { height: 60px; }
  .photo-wrap { width: 220px; height: 280px; border-radius: 120px; }
  .hero-stats { gap: 8px; }
  .stat { padding: 14px 16px; min-width: 80px; }
  .stat-n { font-size: 22px; }

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

  .pcard-head { flex-direction: column; }
  .pcard-badges { justify-content: flex-start; }

  .bento-card { padding: 28px 24px 0; border-radius: 20px; }
  .bento-title { font-size: 24px; }
  .bento-guestly { min-height: 460px; }
  .bento-funil   { min-height: 340px; }
  .bento-sites   { min-height: 300px; }
  .bento-ecommerce { min-height: 420px; padding: 28px 24px 0; }

  .funnel-step { flex-wrap: wrap; }
  .fs-label { min-width: auto; }

  .tl-head { flex-direction: column; }

  .hero-scroll { display: none; }
  .orbit-deco { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   ILLUSTRATIONS & ANIMATIONS
══════════════════════════════════════════════════════════════ */

/* ── ANIMATED GRADIENT KEYFRAME ──────────────────────────────── */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── HERO SHAPES CONTAINER ───────────────────────────────────── */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-grid-dots {
  position: absolute;
  inset: 0;
  opacity: 0.55;
}

.shape { position: absolute; }

.shape-ring {
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.07);
  background: transparent;
}

.shape-dot {
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  width: 6px; height: 6px;
}

.shape-glow { border-radius: 50%; filter: blur(52px); }

.shape-1 {
  width: 420px; height: 420px;
  top: -80px; right: -60px;
  animation: shapeFloat 22s ease-in-out infinite;
}

.shape-2 {
  width: 170px; height: 170px;
  bottom: 130px; left: 6%;
  animation: shapeFloat 16s ease-in-out infinite 1.5s;
}

.shape-3 {
  width: 72px; height: 72px;
  top: 38%; right: 10%;
  border-color: rgba(255,255,255,0.12);
  animation: shapeFloat 10s ease-in-out infinite reverse;
}

.shape-4 {
  top: 22%; left: 22%;
  animation: dotPulse 4.5s ease-in-out infinite;
}

.shape-5 {
  width: 5px; height: 5px;
  background: rgba(255,172,46,0.6);
  top: 64%; right: 28%;
  animation: dotPulse 6.5s ease-in-out infinite 2s;
}

.shape-6 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(160,224,171,0.08) 0%, transparent 70%);
  top: 0; left: -80px;
  animation: shapeFloat 30s ease-in-out infinite reverse;
}

.shape-7 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,172,46,0.07) 0%, transparent 70%);
  bottom: -30px; right: 3%;
  animation: shapeFloat 24s ease-in-out infinite 3s;
}

@keyframes shapeFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%       { transform: translate(14px, -20px) rotate(5deg); }
  50%       { transform: translate(-10px, 16px) rotate(-3deg); }
  75%       { transform: translate(20px, 8px) rotate(7deg); }
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50%       { opacity: 0.95; transform: scale(3.5); }
}

/* ── PHOTO DECORATIVE RINGS ──────────────────────────────────── */
.photo-ring {
  position: absolute;
  border-radius: 170px;
  border: 1px solid rgba(255,255,255,0.07);
  pointer-events: none;
  animation: ringBreathe 5s ease-in-out infinite;
}

.photo-ring-1 { inset: -14px; }
.photo-ring-2 { inset: -28px; border-color: rgba(255,255,255,0.03); animation-delay: 0.9s; }

@keyframes ringBreathe {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.012); opacity: 0.2; }
}

/* ── ORBIT ILLUSTRATION (sobre background) ───────────────────── */
.sobre { position: relative; overflow: hidden; }

.orbit-deco {
  position: absolute;
  right: -110px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.10;
  animation: orbitSpin 70s linear infinite;
}

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

/* ── DOT GRID SECTIONS ───────────────────────────────────────── */
.section-dots { position: relative; }

.section-dots::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
  z-index: 0;
}

.section-dots > .container { position: relative; z-index: 1; }

/* ── SECTION TAG ACCENT LINE ─────────────────────────────────── */
.section-tag::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--muted), transparent);
  margin: 6px auto 0;
}

/* ── CARD SHIMMER SWEEP ──────────────────────────────────────── */
.pcard { overflow: hidden; }

.pcard::before,
.skill-card::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -100%;
  width: 60%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.04) 50%, transparent);
  transform: skewX(-15deg);
  transition: left 0.75s var(--ease);
  pointer-events: none;
  z-index: 1;
}

.pcard:hover::before,
.skill-card:hover::before { left: 140%; }

/* ── TIMELINE LINE DRAW ──────────────────────────────────────── */
.timeline::before {
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.6s var(--ease);
  background: linear-gradient(to bottom,
    rgba(255,255,255,0.22) 0%,
    rgba(255,255,255,0.08) 60%,
    transparent 100%
  );
}
.timeline.tl-drawn::before { transform: scaleY(1); }

/* ══════════════════════════════════════════════════════════════
   DEVICE MOCKUPS — MacBook & iPhone
══════════════════════════════════════════════════════════════ */

/* ── SHARED ──────────────────────────────────────────────────── */
.device-link {
  display: block;
  text-decoration: none;
  transition: transform 0.4s var(--ease);
}
.device-link:hover { transform: translateY(-6px); }

.device-caption {
  text-align: center;
  margin-top: 10px;
  padding: 0 4px;
}
.device-caption strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-bottom: 3px;
}
.device-caption span {
  font-size: 10px;
  color: var(--muted);
  font-family: monospace;
}

/* ── MACBOOK ─────────────────────────────────────────────────── */
.mb-lid {
  background: linear-gradient(160deg, #2e2e30 0%, #1c1c1e 100%);
  border-radius: 8px 8px 0 0;
  padding: 8px 8px 5px;
  border: 1px solid rgba(255,255,255,0.12);
  border-bottom: none;
}
.mb-camera {
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  margin: 0 auto 5px;
}
.mb-screen {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
  border-radius: 3px;
  overflow: hidden;
}
.mb-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.7s var(--ease);
}
.device-link:hover .mb-screen img { transform: scale(1.04); }
.mb-hinge {
  height: 3px;
  background: linear-gradient(to bottom, #181818, #252527);
  border-left: 1px solid rgba(255,255,255,0.06);
  border-right: 1px solid rgba(255,255,255,0.06);
}
.mb-base {
  border-radius: 0 0 7px 7px;
  padding: 5px 10px 7px;
  border: 1px solid rgba(255,255,255,0.10);
  border-top: none;
  background:
    linear-gradient(180deg, #252527 0%, #1c1c1e 100%),
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 8px,
      transparent 8px, transparent 10px),
    repeating-linear-gradient(0deg,
      rgba(255,255,255,0.015) 0, rgba(255,255,255,0.015) 5px,
      transparent 5px, transparent 7px);
  background-blend-mode: normal, overlay, overlay;
}
.mb-trackpad {
  width: 32%; height: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 3px;
  margin: 3px auto 0;
}
.mb-foot {
  height: 3px;
  background: linear-gradient(to right,
    transparent, rgba(255,255,255,0.08) 15%,
    rgba(255,255,255,0.08) 85%, transparent);
  border-radius: 0 0 4px 4px;
  margin: 0 14px;
}

/* ── IPHONE ──────────────────────────────────────────────────── */
.iph-body {
  background: linear-gradient(160deg, #2d2d2f, #1c1c1e);
  border-radius: 26px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  position: relative;
}
.iph-btn-vol,
.iph-btn-power {
  position: absolute;
  width: 2.5px;
  background: #2e2e30;
  border-radius: 1px;
}
.iph-btn-vol  { left: -2.5px; }
.iph-btn-v1   { top: 22%;          height: 14px; }
.iph-btn-v2   { top: calc(22% + 20px); height: 14px; }
.iph-btn-power { right: -2.5px; top: 27%; height: 20px; }
.iph-screen {
  background: linear-gradient(160deg, #0d0d0d 0%, #1a1a1a 100%);
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  position: relative;
}
.iph-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.7s var(--ease);
}
.device-link:hover .iph-screen img { transform: scale(1.04); }
.iph-island {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 11px;
  background: #000;
  border-radius: 10px;
  z-index: 2;
  pointer-events: none;
}

/* ── INSTAGRAM PROFILE MOCKUP ────────────────────────────────── */
.ig-profile {
  width: 100%; height: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font);
  padding-top: 22px; /* space for dynamic island */
}

/* Top navigation bar */
.ig-topbar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px 6px;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}

.ig-username {
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
}

/* Avatar + stats row */
.ig-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 6px;
}

.ig-avatar-wrap {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: rgba(0,0,0,0.6);
}

.ig-avatar-letter {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.ig-stats {
  flex: 1;
  display: flex;
  justify-content: space-around;
  text-align: center;
  gap: 2px;
}

.ig-stat b {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.ig-stat span {
  display: block;
  font-size: 7px;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
  line-height: 1.3;
}

/* Bio */
.ig-bio-name {
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  padding: 0 10px 2px;
  line-height: 1.3;
}

.ig-bio-desc {
  font-size: 7.5px;
  color: rgba(255,255,255,0.50);
  padding: 0 10px 6px;
  line-height: 1.4;
}

/* Follow button */
.ig-btn-follow {
  margin: 0 10px 8px;
  padding: 5px 0;
  border-radius: 7px;
  background: var(--accent);
  text-align: center;
  font-size: 8.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

/* Post grid */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  flex: 1;
  overflow: hidden;
}

.ig-post {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}

.ig-post::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent, #fff) 0%, transparent 70%);
  opacity: 0.12;
}

/* ══════════════════════════════════════════════════════════════
   3D DEVICE MOCKUPS — Perspectiva Realista
══════════════════════════════════════════════════════════════ */

/* ── MacBook 3D frame wrapper ─────────────────────────────────── */
.device-macbook-frame {
  transform: perspective(1000px) rotateX(6deg) rotateY(-3deg) rotateZ(0.5deg);
  transform-origin: center bottom;
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease), filter 0.55s var(--ease);
  filter:
    drop-shadow(0 30px 60px rgba(0,0,0,0.65))
    drop-shadow(0 8px 20px rgba(0,0,0,0.40));
  position: relative;
}

.device-link:hover .device-macbook-frame {
  transform: perspective(1000px) rotateX(3deg) rotateY(-1.5deg) rotateZ(0.25deg) translateY(-12px);
  filter:
    drop-shadow(0 44px 80px rgba(0,0,0,0.72))
    drop-shadow(0 12px 28px rgba(0,0,0,0.50));
}

/* Surface reflection below MacBook */
.device-macbook-frame::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 8%; right: 8%;
  height: 18px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.06), transparent);
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}

/* ── MacBook visual overhaul ──────────────────────────────────── */
.mb-lid {
  background: linear-gradient(168deg, #303032 0%, #222224 50%, #191919 100%);
  border-radius: 10px 10px 0 0;
  padding: 8px 8px 5px;
  border: 1px solid rgba(255,255,255,0.15);
  border-bottom: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.13),
    inset 1px 0 0 rgba(255,255,255,0.06),
    inset -1px 0 0 rgba(255,255,255,0.04);
}

.mb-screen {
  aspect-ratio: 16/10;
  background: linear-gradient(145deg, #0d0d0f 0%, #161618 100%);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

/* Screen inner bezel shadow + glare */
.mb-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 40%),
    linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 18%);
  pointer-events: none;
  z-index: 2;
  border-radius: 3px;
}

.mb-hinge {
  height: 4px;
  background: linear-gradient(to bottom, #111113, #212123);
  border-left: 1px solid rgba(255,255,255,0.07);
  border-right: 1px solid rgba(255,255,255,0.07);
}

.mb-base {
  border-radius: 0 0 8px 8px;
  padding: 5px 10px 8px;
  border: 1px solid rgba(255,255,255,0.10);
  border-top: none;
  background: linear-gradient(180deg, #252527 0%, #1c1c1e 60%, #151517 100%);
}

.mb-foot {
  height: 4px;
  background: linear-gradient(to right,
    transparent,
    rgba(255,255,255,0.10) 18%,
    rgba(255,255,255,0.10) 82%,
    transparent);
  border-radius: 0 0 5px 5px;
  margin: 0 16px;
}

/* ── iPhone 3D ────────────────────────────────────────────────── */
.device-iphone {
  transform: perspective(720px) rotateX(5deg) rotateY(7deg) rotateZ(-0.8deg);
  transform-origin: center bottom;
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease), filter 0.55s var(--ease);
  filter:
    drop-shadow(0 24px 50px rgba(0,0,0,0.68))
    drop-shadow(0 6px 14px rgba(0,0,0,0.45));
}

.device-link:hover .device-iphone {
  transform: perspective(720px) rotateX(2.5deg) rotateY(3.5deg) rotateZ(-0.4deg) translateY(-12px);
  filter:
    drop-shadow(0 36px 72px rgba(0,0,0,0.78))
    drop-shadow(0 10px 22px rgba(0,0,0,0.55));
}

/* iPhone body overhaul */
.iph-body {
  background: linear-gradient(155deg, #2f2f31 0%, #1e1e20 40%, #141416 100%);
  border-radius: 28px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.17);
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    inset 1px 0 0 rgba(255,255,255,0.08),
    inset -1px 0 0 rgba(255,255,255,0.04);
}

/* iPhone screen overhaul */
.iph-screen {
  background: linear-gradient(155deg, #0e0e10 0%, #1a1a1c 100%);
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  position: relative;
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.85),
    inset 0 3px 12px rgba(0,0,0,0.9);
}

/* iPhone screen glare */
.iph-screen::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 35%;
  background: linear-gradient(135deg, rgba(255,255,255,0.055) 0%, transparent 100%);
  border-radius: 22px 0 0 0;
  pointer-events: none;
  z-index: 10;
}

/* Disable old hover lift on device-link in mockup sections
   (3D transform on child handles the elevation now) */
.funnel-macbooks .device-link:hover,
.sites-macbooks .device-link:hover,
.social-iphones .device-link:hover,
.mockup-iphone-center .device-link:hover {
  transform: none;
}

/* ── LAYOUTS ─────────────────────────────────────────────────── */
.mockup-iphone-center {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.mockup-iphone-center .device-iphone {
  width: 150px;
  transform: perspective(600px) rotateX(5deg) rotateY(-6deg) rotateZ(0.6deg);
}

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

.sites-macbooks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.social-iphones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}

/* ── DEVICE RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
  .funnel-macbooks { grid-template-columns: 1fr; }
  .sites-macbooks  { grid-template-columns: 1fr; }
  .social-iphones  { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mockup-iphone-center .device-iphone { width: 130px; }
}

@media (max-width: 640px) {
  .social-iphones  { grid-template-columns: repeat(2, 1fr); }
}

/* ── EXTRA REVEAL VARIANTS ───────────────────────────────────── */
.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ══════════════════════════════════════════════════════════════
   MOBILE ILLUSTRATIONS & ANIMATIONS
══════════════════════════════════════════════════════════════ */

/* ── SCROLL PROGRESS BAR ─────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #a0e0ab, #ffac2e 60%, #a52d25);
  z-index: 9999;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* ── MARQUEE TICKER ──────────────────────────────────────────── */
.marquee-strip {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  background: rgba(255,255,255,0.01);
  display: none;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  animation: marqueeScroll 22s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.marquee-sep {
  color: rgba(160,224,171,0.5) !important;
  font-size: 14px !important;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── MOBILE-ONLY RULES ───────────────────────────────────────── */
@media (max-width: 768px) {
  .marquee-strip { display: block; }
}

@media (max-width: 640px) {

  /* Hero shapes — repositioned and scaled for small screens */
  .shape-1 {
    width: 260px; height: 260px;
    top: -40px; right: -80px;
    left: auto;
  }
  .shape-2 {
    width: 110px; height: 110px;
    bottom: 100px; left: 4%;
  }
  .shape-3 {
    width: 60px; height: 60px;
    top: 42%; right: 6%;
  }
  .shape-6 {
    width: 200px; height: 200px;
    top: 5%; left: -60px;
  }
  .shape-7 {
    width: 160px; height: 160px;
    bottom: -10px; right: -20px;
  }

  /* Photo rings — more visible on mobile */
  .photo-ring-1 { inset: -10px; border-color: rgba(255,255,255,0.10); }
  .photo-ring-2 { inset: -20px; border-color: rgba(255,255,255,0.05); }

  /* Card touch feedback */
  .pcard:active,
  .skill-card:active,
  .sobre-card:active,
  .tl-card:active {
    transform: scale(0.97);
    transition: transform 0.12s ease;
  }

  .btn:active   { transform: scale(0.96); }
  .cbtn:active  { transform: scale(0.96); }

  /* Section glow dividers */
  .section::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg,
      transparent 0%,
      rgba(160,224,171,0.18) 30%,
      rgba(255,172,46,0.12) 70%,
      transparent 100%
    );
    margin-bottom: 0;
    animation: dividerPulse 4s ease-in-out infinite;
  }

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

  /* Stats — animated entrance shimmer on mobile */
  .stat {
    position: relative;
    overflow: hidden;
  }
  .stat::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
      transparent 0%,
      rgba(255,255,255,0.06) 50%,
      transparent 100%
    );
    transform: translateX(-100%);
    animation: statShimmer 3s ease-in-out infinite;
  }
  @keyframes statShimmer {
    0%   { transform: translateX(-100%); }
    60%  { transform: translateX(100%); }
    100% { transform: translateX(100%); }
  }

  /* Skill cards — stagger glow border on hover */
  .skill-card:nth-child(odd)::after  { background: var(--gradient-hero); }
  .skill-card:nth-child(even)::after {
    background: linear-gradient(90deg, #ffac2e, #a0e0ab);
  }

  /* Section tag — animated underline */
  .section-tag::after {
    width: 32px;
    background: linear-gradient(90deg, #a0e0ab, transparent);
    animation: tagLine 2.5s ease-in-out infinite;
  }
  @keyframes tagLine {
    0%, 100% { width: 16px; opacity: 0.5; }
    50%       { width: 36px; opacity: 1; }
  }

  /* Timeline dot active — pulse ring on mobile */
  .tl-dot--active::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(160,224,171,0.3);
    animation: tlPulse 2s ease-out infinite;
  }
  @keyframes tlPulse {
    0%   { transform: scale(1);   opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
  }

  /* Contact buttons — subtle shimmer */
  .cbtn-wa {
    background: linear-gradient(90deg, #25d366, #22c55e, #25d366);
    background-size: 200% 100%;
    animation: btnGlow 3s ease-in-out infinite;
  }
  @keyframes btnGlow {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
  }
}

/* ── REDUCED MOTION RESPECT ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .scroll-progress,
  .stat::after,
  .tl-dot--active::after,
  .cbtn-wa {
    animation: none !important;
    transition: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   ★  ESTÉTICA NOVENTISTA — 90s RETRO LAYER
   Globe wireframe · Pixelização · Speedlines · Tipografia bold
══════════════════════════════════════════════════════════════ */

/* ── TOKENS ADICIONAIS ───────────────────────────────────────── */
:root {
  --gold:         #c8a96e;
  --gold-dim:     rgba(200,169,110,0.25);
  --gold-glow:    rgba(200,169,110,0.12);
  --pixel-green:  #a0e0ab;
  --retro-border: 2px solid rgba(255,255,255,0.14);
  --chunk:        4px;           /* pixel offset unit */
}

/* ── TIPOGRAFIA RETRO — HEADINGS ─────────────────────────────── */
h1.hero-name,
.section-header h2,
.bento-title {
  font-family: 'Bebas Neue', 'Impact', 'Arial Black', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

.hero-name {
  font-size: clamp(62px, 10vw, 110px) !important;
  line-height: 0.9 !important;
  text-shadow:
    3px 3px 0 rgba(160,224,171,0.18),
    6px 6px 0 rgba(255,172,46,0.10),
    -1px -1px 0 rgba(200,169,110,0.08) !important;
}

.section-header h2 {
  font-size: clamp(36px, 5.5vw, 66px) !important;
  letter-spacing: 0.04em !important;
  text-shadow: 2px 2px 0 rgba(160,224,171,0.12), 4px 4px 0 rgba(0,0,0,0.4) !important;
}

.bento-title {
  font-size: clamp(24px, 3vw, 42px) !important;
  text-shadow: 2px 2px 0 rgba(160,224,171,0.10) !important;
}

/* Skill cards, tl-card headings */
.skill-card h3,
.tl-card h3 {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 18px;
}

.pcard h3 {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 22px;
}

/* ── SECTION TAGS — >> ESTILO RETRO ─────────────────────────── */
.section-tag {
  font-family: 'VT323', 'Share Tech Mono', monospace !important;
  font-size: 20px !important;
  letter-spacing: 0.10em !important;
  color: var(--pixel-green) !important;
}

.section-tag::before {
  content: '>> ';
  color: var(--gold);
}

.section-tag::after {
  display: none !important;
}

.section-tag.light {
  color: rgba(160,224,171,0.8) !important;
}

.hero-tagline {
  font-family: 'Share Tech Mono', monospace !important;
  font-size: 11px !important;
  letter-spacing: 0.10em !important;
  color: var(--gold) !important;
}

/* ── BOTÕES — chunky pixel shadow ────────────────────────────── */
.btn-primary {
  font-family: 'Bebas Neue', 'Impact', sans-serif !important;
  font-size: 16px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  box-shadow: 3px 3px 0 rgba(200,169,110,0.3), 6px 6px 0 rgba(0,0,0,0.5) !important;
  transition: all 0.25s !important;
}
.btn-primary:hover {
  box-shadow: 5px 5px 0 rgba(200,169,110,0.4), 8px 8px 0 rgba(0,0,0,0.5) !important;
  transform: translate(-2px, -2px) !important;
}

.btn-outline {
  font-family: 'Bebas Neue', 'Impact', sans-serif !important;
  font-size: 16px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  border-color: rgba(200,169,110,0.4) !important;
  box-shadow: 3px 3px 0 rgba(200,169,110,0.15), 6px 6px 0 rgba(0,0,0,0.3) !important;
}
.btn-outline:hover {
  border-color: var(--gold) !important;
  box-shadow: 5px 5px 0 rgba(200,169,110,0.25), 8px 8px 0 rgba(0,0,0,0.4) !important;
  transform: translate(-2px, -2px) !important;
}

.cbtn {
  font-family: 'Bebas Neue', 'Impact', sans-serif !important;
  font-size: 18px !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase !important;
}

.cbtn-wa {
  box-shadow: 3px 3px 0 rgba(34,197,94,0.4), 6px 6px 0 rgba(0,0,0,0.4) !important;
}
.cbtn-wa:hover {
  box-shadow: 5px 5px 0 rgba(34,197,94,0.5), 8px 8px 0 rgba(0,0,0,0.5) !important;
  transform: translate(-2px,-2px) !important;
}

.cbtn-li {
  box-shadow: 3px 3px 0 rgba(0,100,160,0.5), 6px 6px 0 rgba(0,0,0,0.4) !important;
}
.cbtn-li:hover {
  box-shadow: 5px 5px 0 rgba(0,100,160,0.6), 8px 8px 0 rgba(0,0,0,0.5) !important;
  transform: translate(-2px,-2px) !important;
}

/* ── STAT CARDS — retro pixel ────────────────────────────────── */
.stat-n {
  font-family: 'Bebas Neue', 'Impact', sans-serif !important;
  font-size: 36px !important;
  letter-spacing: 0.04em !important;
  text-shadow: 2px 2px 0 rgba(160,224,171,0.2) !important;
}

.stat-l {
  font-family: 'Share Tech Mono', monospace !important;
  font-size: 9px !important;
}

.stat {
  border: 1px solid rgba(200,169,110,0.2) !important;
  box-shadow: 2px 2px 0 rgba(200,169,110,0.10) !important;
}

/* ── CARDS — pixel corner borders + hover shadow ─────────────── */
.skill-card,
.sobre-card,
.tl-card,
.pcard,
.bento-card {
  border-color: rgba(255,255,255,0.10) !important;
  position: relative;
}

/* Pixel corner decorators — inside the card to avoid overflow clip */
.skill-card::before {
  content: '' !important;
  position: absolute !important;
  top: 6px !important; left: 6px !important;
  bottom: auto !important;
  width: 12px !important; height: 12px !important;
  border-top: 2px solid rgba(200,169,110,0.55) !important;
  border-left: 2px solid rgba(200,169,110,0.55) !important;
  background: none !important;
  pointer-events: none !important;
  z-index: 2 !important;
  transform: none !important;
  transition: border-color 0.3s !important;
  left: 6px !important;
}
.skill-card:hover::before {
  border-color: rgba(200,169,110,0.9) !important;
  left: 6px !important;
}

.skill-card:hover {
  border-color: rgba(200,169,110,0.35) !important;
  box-shadow: 3px 3px 0 rgba(160,224,171,0.10), 6px 6px 0 rgba(0,0,0,0.4) !important;
}

.sobre-card:hover {
  border-color: rgba(200,169,110,0.35) !important;
  box-shadow: 2px 2px 0 rgba(160,224,171,0.08) !important;
}

.tl-card:hover {
  border-color: rgba(200,169,110,0.30) !important;
}

.bento-card {
  border-radius: 12px !important;
}
.bento-card:hover {
  border-color: rgba(200,169,110,0.25) !important;
  box-shadow: 4px 4px 0 rgba(160,224,171,0.08), 8px 8px 0 rgba(0,0,0,0.5) !important;
}

/* ── BADGES — pixel font ─────────────────────────────────────── */
.pbadge,
.skill-badge,
.tl-period,
.bento-cta {
  font-family: 'Share Tech Mono', monospace !important;
  letter-spacing: 0.06em !important;
}

.bento-cta {
  font-size: 12px !important;
  color: var(--gold) !important;
  border-bottom-color: rgba(200,169,110,0.3) !important;
}
.bento-cta:hover { border-bottom-color: var(--gold) !important; }

/* ── NAV — retro lines ───────────────────────────────────────── */
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold) !important;
  border-bottom-color: var(--gold) !important;
}

.nav-cta:hover {
  background: rgba(200,169,110,0.10) !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

/* ── HERO BACKGROUND — retro gradient overlay ────────────────── */
.hero::before {
  background: var(--gradient-hero) !important;
  background-size: 280% 280% !important;
  opacity: 0.15 !important;
}

/* Diagonal gradient lines (speedline glow) */
.hero {
  background: #000;
}
.hero .hero-shapes::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 80px,
      rgba(160,224,171,0.015) 80px,
      rgba(160,224,171,0.015) 82px
    );
  pointer-events: none;
}

/* ── SCANLINES OVERLAY ───────────────────────────────────────── */
.hero-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.12) 3px,
    rgba(0,0,0,0.12) 4px
  );
  z-index: 2;
}

.crt-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9992;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.06) 2px,
    rgba(0,0,0,0.06) 3px
  );
}

/* ── WIREFRAME GLOBE ─────────────────────────────────────────── */
.retro-globe-wrap {
  position: absolute;
  right: -3%;
  top: 50%;
  width: 520px;
  height: 520px;
  pointer-events: none;
  z-index: 0;
  color: #a0e0ab;
  opacity: 0;
  animation:
    globeFadeIn 2s ease forwards 0.5s,
    globeRotate  36s linear infinite;
}

.retro-globe-svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes globeFadeIn {
  from { opacity: 0; }
  to   { opacity: 0.18; }
}

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

/* Second slower gold orbit ring */
.retro-globe-wrap::after {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(200,169,110,0.12);
  animation: globeOrbitSpin 55s linear infinite reverse;
  pointer-events: none;
}

@keyframes globeOrbitSpin {
  from { transform: rotateX(70deg) rotateZ(0deg); }
  to   { transform: rotateX(70deg) rotateZ(360deg); }
}

/* ── SPEEDLINES ──────────────────────────────────────────────── */
.hero-speedlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hsl {
  position: absolute;
  left: 0;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(160,224,171,0.22) 15%,
    rgba(255,172,46,0.14) 55%,
    rgba(160,224,171,0.06) 80%,
    transparent 100%
  );
  animation: speedFlash 5s ease-in-out infinite;
}

.hsl:nth-child(2)   { animation-duration: 4.2s; animation-delay: 0.3s; }
.hsl:nth-child(3)   { animation-duration: 3.6s; animation-delay: 0.7s; }
.hsl:nth-child(4)   { animation-duration: 5.5s; animation-delay: 0.1s; }
.hsl:nth-child(5)   { animation-duration: 4.8s; animation-delay: 1.1s; }
.hsl:nth-child(6)   { animation-duration: 3.9s; animation-delay: 0.4s; }
.hsl:nth-child(7)   { animation-duration: 5.2s; animation-delay: 0.8s; }
.hsl:nth-child(8)   { animation-duration: 4.4s; animation-delay: 1.5s; }
.hsl:nth-child(9)   { animation-duration: 6.1s; animation-delay: 0.2s; }
.hsl:nth-child(10)  { animation-duration: 3.7s; animation-delay: 0.9s; }
.hsl:nth-child(11)  { animation-duration: 5.0s; animation-delay: 0.6s; }
.hsl:nth-child(12)  { animation-duration: 4.6s; animation-delay: 1.3s; }

@keyframes speedFlash {
  0%   { opacity: 0; transform: scaleX(0.3); }
  30%  { opacity: 1; transform: scaleX(1);   }
  65%  { opacity: 0.5; transform: scaleX(1.02); }
  100% { opacity: 0; transform: scaleX(0.8); }
}

/* ── TIMELINE — retro pixel dots ─────────────────────────────── */
.tl-dot {
  border-color: rgba(200,169,110,0.2) !important;
}
.tl-dot--active {
  border-color: rgba(160,224,171,0.7) !important;
  background: rgba(160,224,171,0.10) !important;
  box-shadow:
    0 0 0 3px rgba(160,224,171,0.06),
    2px 2px 0 rgba(160,224,171,0.15) !important;
}

.timeline::before {
  background: linear-gradient(
    to bottom,
    rgba(200,169,110,0.25) 0%,
    rgba(160,224,171,0.12) 50%,
    transparent 100%
  ) !important;
}

/* ── SCROLL PROGRESS — gold retro ────────────────────────────── */
.scroll-progress {
  background: linear-gradient(90deg, var(--pixel-green), var(--gold) 50%, #a52d25) !important;
  height: 3px !important;
}

/* ── CONTACT SECTION — background retro ─────────────────────── */
.contato::before {
  background: radial-gradient(circle,
    rgba(200,169,110,0.06) 0%,
    rgba(160,224,171,0.04) 40%,
    transparent 70%
  ) !important;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  border-top: 2px solid rgba(200,169,110,0.15) !important;
}
.footer p {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.footer-sub {
  color: rgba(200,169,110,0.35) !important;
}

/* ── MARQUEE STRIP — retro ticker ────────────────────────────── */
.marquee-track span {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(200,169,110,0.5) !important;
}
.marquee-sep {
  color: rgba(160,224,171,0.6) !important;
}

/* ── FUNNEL STEPS / SITE LINKS — retro hover ────────────────── */
.funnel-step:hover,
.site-link:hover {
  border-color: rgba(200,169,110,0.30) !important;
}
.fs-label {
  font-family: 'Share Tech Mono', monospace !important;
  font-size: 9px !important;
  color: var(--gold) !important;
}

/* ── BRAND CARDS ─────────────────────────────────────────────── */
.brand-card:hover {
  border-color: rgba(200,169,110,0.35) !important;
}

/* ── SECTION DIVIDERS (dot pattern override) ─────────────────── */
.section-dots::before {
  background-image: radial-gradient(circle, rgba(200,169,110,0.06) 1px, transparent 1px) !important;
  background-size: 32px 32px !important;
}

/* ── BENTO GUESTLY CARD — green retro glow ───────────────────── */
.bento-guestly {
  border-color: rgba(160,224,171,0.18) !important;
}
.bento-guestly:hover {
  border-color: rgba(160,224,171,0.38) !important;
  box-shadow: 4px 4px 0 rgba(160,224,171,0.08), 0 0 24px rgba(160,224,171,0.05) !important;
}
.bento-guestly .bento-device-wrap {
  align-items: center;
}

/* ── AJUSTE 1: Guestly — equilibra texto e janela no desktop ──── */
@media (min-width: 901px) {
  .bento-guestly {
    justify-content: center;
    gap: 36px;
  }
  .bento-guestly .bento-device-wrap {
    flex: none;
  }
}

/* ── SKILL CARD BORDER TOP LINE — gradient retro ─────────────── */
.skill-card::after {
  background: linear-gradient(90deg, var(--gold), var(--pixel-green) 50%, #a52d25) !important;
}

/* ── SOBRE SECTION — ícone SVG retro com acento ouro no hover ── */
.sobre-card:hover .sobre-card-icon { color: var(--gold) !important; }

/* ── HERO PHOTO FRAME — pixel border ────────────────────────── */
.photo-wrap {
  border-color: rgba(200,169,110,0.35) !important;
  box-shadow:
    3px 3px 0 rgba(200,169,110,0.15),
    6px 6px 0 rgba(0,0,0,0.5),
    0 0 32px rgba(160,224,171,0.06) !important;
}

.photo-ring-1 {
  border-color: rgba(200,169,110,0.10) !important;
  border-radius: 170px !important;
}
.photo-ring-2 {
  border-color: rgba(200,169,110,0.05) !important;
}

/* ── NAV LOGO ────────────────────────────────────────────────── */
.nav-logo-img {
  filter: brightness(1.05);
}

/* ── SCROLL INDICATOR — retro ────────────────────────────────── */
.hero-scroll {
  font-family: 'Share Tech Mono', monospace !important;
  letter-spacing: 0.18em !important;
  font-size: 9px !important;
}
.scroll-bar {
  background: linear-gradient(to bottom, var(--gold), transparent) !important;
}

/* ── SECTION HEADER ACCENT LINE ──────────────────────────────── */
.section-header {
  position: relative;
}
.section-header::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0 auto 20px;
}

/* ── ACTIVE NAV — gold underline retro ───────────────────────── */
.nav-links a {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* ── BENTO BADGES — retro font ───────────────────────────────── */
.pbadge {
  font-size: 9px !important;
  letter-spacing: 0.08em !important;
}

/* ── SKILL BADGE ─────────────────────────────────────────────── */
.skill-badge {
  font-size: 10px !important;
  color: var(--gold) !important;
  border-color: rgba(200,169,110,0.3) !important;
}

/* ── BENTO TECH TAGS ─────────────────────────────────────────── */
.bento-tech span {
  color: rgba(200,169,110,0.7) !important;
  border-color: rgba(200,169,110,0.2) !important;
}

/* ── PTECH TAGS ──────────────────────────────────────────────── */
.ptech span {
  color: rgba(200,169,110,0.7) !important;
  border-color: rgba(200,169,110,0.2) !important;
}

/* ── TL TAGS ─────────────────────────────────────────────────── */
.tl-tags span {
  font-family: 'Share Tech Mono', monospace !important;
  font-size: 10px !important;
  color: rgba(200,169,110,0.6) !important;
  border-color: rgba(200,169,110,0.2) !important;
}

/* ── HERO DESC — leve retro ──────────────────────────────────── */
.hero-desc strong {
  color: var(--gold) !important;
}

/* ── PORTFOLIO SECTION BG — diagonal stripes ─────────────────── */
.portfolio {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(200,169,110,0.012) 0px,
      rgba(200,169,110,0.012) 1px,
      transparent 1px,
      transparent 20px
    ),
    var(--canvas) !important;
}

/* ── SOBRE SECTION — orbit retro ─────────────────────────────── */
.orbit-deco {
  opacity: 0.14 !important;
  color: var(--gold);
}
.orbit-deco circle { stroke: currentColor !important; }
.orbit-deco line   { stroke: currentColor !important; }

/* ── RESPONSIVE AJUSTES RETRO ────────────────────────────────── */
@media (max-width: 900px) {
  .retro-globe-wrap {
    width: 380px;
    height: 380px;
    right: -5%;
    opacity: 0;
    animation:
      globeFadeIn 2s ease forwards 0.5s,
      globeRotate 36s linear infinite;
  }
}

@media (max-width: 640px) {
  .retro-globe-wrap {
    width: 280px;
    height: 280px;
    right: -10%;
    top: 30%;
  }

  .hero-name {
    font-size: clamp(52px, 14vw, 80px) !important;
  }

  .section-header h2 {
    font-size: clamp(32px, 8vw, 52px) !important;
  }

  .hero-speedlines { display: none; }
}

/* ── REDUCED MOTION — retro ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .retro-globe-wrap,
  .hsl {
    animation: none !important;
    opacity: 0.12 !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   WINDOWS 95 MOTION SYSTEM
   Abrupt · Stepped · Pixel-perfect · Sem curvas suaves
══════════════════════════════════════════════════════════════ */

/* ── SCROLL — jump instantâneo (Win95, sem smooth) ───────────── */
html { scroll-behavior: auto !important; }

/* ── REVEAL — dialog snap-in, sem float suave ────────────────── */
.reveal,
.reveal-delay,
.reveal-left,
.reveal-scale {
  opacity: 0 !important;
  transform: none !important;
  transition:
    opacity   0.07s steps(1) !important,
    transform 0.07s steps(1) !important;
}
.reveal.visible,
.reveal-delay.visible,
.reveal-left.visible,
.reveal-scale.visible {
  opacity: 1 !important;
  transform: none !important;
}

/* Stagger: cards aparecem um a um como janelas Win95 abrindo */
.stagger-grid .reveal:nth-child(1) { transition-delay: 0.00s !important; }
.stagger-grid .reveal:nth-child(2) { transition-delay: 0.07s !important; }
.stagger-grid .reveal:nth-child(3) { transition-delay: 0.14s !important; }
.stagger-grid .reveal:nth-child(4) { transition-delay: 0.21s !important; }
.stagger-grid .reveal:nth-child(5) { transition-delay: 0.28s !important; }
.stagger-grid .reveal:nth-child(6) { transition-delay: 0.35s !important; }
.stagger-grid .reveal:nth-child(7) { transition-delay: 0.42s !important; }

/* ── CARDS — hover com pixel jump diagonal ───────────────────── */
.skill-card,
.pcard,
.sobre-card,
.tl-card,
.bento-card {
  transition:
    background     0.06s steps(1),
    border-color   0.06s steps(1),
    box-shadow     0.06s steps(1),
    transform      0.06s steps(1) !important;
}
.skill-card:hover  { transform: translate(-3px, -3px) !important; }
.pcard:hover       { transform: translate(-3px, -3px) !important; }
.sobre-card:hover  { transform: translateX(4px)       !important; }
.bento-card:hover  { transform: translate(-3px, -3px) !important; }
.tl-card:hover     { transform: none                  !important; }

/* ── BOTÕES — abrupt, sem ease ───────────────────────────────── */
.btn, .cbtn, .bento-cta,
.funnel-step, .site-link, .brand-card {
  transition: all 0.06s steps(1) !important;
}
.btn-primary:hover,
.btn-outline:hover  { transform: translate(-3px, -3px) !important; }
.cbtn-wa:hover,
.cbtn-li:hover,
.cbtn-email:hover   { transform: translate(-3px, -3px) !important; }

/* ── NAV ─────────────────────────────────────────────────────── */
.nav {
  transition: padding 0.08s steps(2) !important;
}
.nav-links a {
  transition: color 0.06s steps(1), border-bottom-color 0.06s steps(1) !important;
}
.nav-cta { transition: background 0.06s steps(1), border-color 0.06s steps(1) !important; }

/* ── ÍCONES / TAGS ───────────────────────────────────── */
.skill-icon,
.sobre-card-icon { transition: color 0.06s steps(1), border-color 0.06s steps(1) !important; }

/* ── BLINK estilo Win95 cursor ───────────────────────────────── */
@keyframes win95Blink {
  0%,  49% { opacity: 1; }
  50%, 99% { opacity: 0.12; }
}

/* ── SCROLL BAR INDICATOR — descida em steps ─────────────────── */
.scroll-bar {
  animation: scrollDrop 2s steps(6) infinite !important;
}

/* ── TIMELINE DOT ATIVO — pulso retro ───────────────────────── */
.tl-dot--active {
  animation: tlRetro 2.2s steps(4) infinite !important;
}
@keyframes tlRetro {
  0%,  55%, 100% { box-shadow: 0 0 0 4px rgba(160,224,171,0.08), 2px 2px 0 rgba(160,224,171,0.15); }
  65%            { box-shadow: 0 0 0 10px rgba(160,224,171,0.00), 2px 2px 0 rgba(160,224,171,0.05); }
  75%            { box-shadow: 0 0 0 4px rgba(160,224,171,0.18), 2px 2px 0 rgba(160,224,171,0.20); }
}

/* ── MARQUEE — velocidade irregular (like Win95 marquee tag) ─── */
.marquee-track {
  animation: marqueeScroll 18s steps(120) infinite !important;
}

/* ══════════════════════════════════════════════════════════════
   LOGOS — CRT Power-on · Scanline · Flicker periódico
══════════════════════════════════════════════════════════════ */

/* ── Wrapper nav-logo com overflow para clip da scanline ─────── */
.nav-logo {
  position: relative !important;
  overflow: hidden !important;
  perspective: 500px;
}

/* ── NAV LOGO — power-on + scanline + flicker ───────────────── */
.nav-logo-img {
  animation:
    crtPowerOn  1.5s steps(8) both,
    logoFlicker 16s  steps(1) infinite 2.8s !important;
}

/* Rotação 3D ativa apenas no hover */
.nav-logo:hover .nav-logo-img {
  animation:
    crtPowerOn  1.5s  steps(8)  both,
    logoFlicker 16s   steps(1)  infinite 2.8s,
    logo3DSpin  9s    steps(18) infinite !important;
}

/* Scanline varrendo a logo do nav */
.nav-logo::after {
  content: '';
  position: absolute;
  left: -8%; right: -8%;
  height: 38%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255,255,255,0.05) 30%,
    rgba(255,255,255,0.18) 50%,
    rgba(255,255,255,0.05) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
  animation: scanSweep 5s linear infinite 2s;
}

/* ── FOOTER LOGO — power-on retardado + flicker + scanline ───── */
.footer { position: relative; overflow: hidden; }

.footer-logo-img {
  animation:
    crtPowerOn  1.5s steps(8) both 0.4s,
    logoFlicker 20s  steps(1) infinite 3.5s !important;
  position: relative;
  z-index: 1;
}

/* Scanline no rodapé varrendo a área da logo */
.footer::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 50%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255,255,255,0.04) 35%,
    rgba(255,255,255,0.10) 50%,
    rgba(255,255,255,0.04) 65%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
  animation: scanSweep 8s linear infinite 3s;
}

/* ══════════════════════════════════════════════════════════════
   KEYFRAMES 90s / Win95
══════════════════════════════════════════════════════════════ */

/* Monitor CRT ligando */
@keyframes crtPowerOn {
  0%   { opacity: 0;    transform: scaleY(0.02) scaleX(1.1); filter: brightness(8) blur(3px); }
  13%  { opacity: 1;    transform: scaleY(0.02) scaleX(1.1); filter: brightness(8) blur(0);   }
  26%  { opacity: 1;    transform: scaleY(1)    scaleX(1);   filter: brightness(3.5);         }
  39%  { opacity: 0.45; transform: scaleY(1);                filter: brightness(0.4);         }
  52%  { opacity: 1;    transform: scaleY(1);                filter: brightness(2.5);         }
  65%  { opacity: 0.75; transform: scaleY(1);                filter: brightness(0.75);        }
  78%  { opacity: 1;    transform: scaleY(1);                filter: brightness(1.8);         }
  90%  { opacity: 0.9;  transform: scaleY(1);                filter: brightness(0.95);        }
  100% { opacity: 1;    transform: scaleY(1)    scaleX(1);
         filter: brightness(1.05) drop-shadow(0 0 8px rgba(160,224,171,0.18)); }
}

/* Flicker periódico — instabilidade CRT */
@keyframes logoFlicker {
  0%,   86%, 100% { opacity: 1;    filter: brightness(1.05) drop-shadow(0 0 6px rgba(160,224,171,0.14)); }
  88%             { opacity: 0.45; filter: brightness(0.25); }
  90%             { opacity: 1;    filter: brightness(2.2);  }
  92%             { opacity: 0.15; filter: brightness(0.05); }
  94%             { opacity: 1;    filter: brightness(1.5);  }
  96%             { opacity: 0.8;  filter: brightness(0.9);  }
  98%             { opacity: 1;    filter: brightness(1.05); }
}

/* Rotação 3D da logo — eixo Y, estilo 90s */
@keyframes logo3DSpin {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}

/* Scanline descendo continuamente */
@keyframes scanSweep {
  0%   { transform: translateY(-200%); }
  100% { transform: translateY(500%); }
}

/* ── REDUCED MOTION — desativa tudo acima ────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: smooth !important; }

  .reveal,
  .reveal-delay,
  .reveal-left,
  .reveal-scale {
    transition: opacity 0.4s ease, transform 0.4s ease !important;
  }

  .nav-logo-img,
  .footer-logo-img {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    perspective: none !important;
  }

  .marquee-track { animation: marqueeScroll 22s linear infinite !important; }
  .nav-logo::after,
  .footer::before { animation: none !important; display: none; }
}

/* ══════════════════════════════════════════════════════════════
   CRT MONITOR — Tubo de TV anos 90
   Usado nos cards de portfólio no lugar de iPhone/MacBook
══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   WIN95 PROJECT WINDOWS
   Janelas estilo Windows 95 para apresentação dos projetos
══════════════════════════════════════════════════════════════ */

.win95-window {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  background: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  box-shadow: 1px 1px 0 #000000;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: #000000;
  user-select: none;
}

/* ── Barra de título ─────────────────────────────────────────── */
.win95-titlebar {
  background: linear-gradient(90deg, #000080 0%, #1084d0 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 4px;
  height: 22px;
}
.win95-title-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.win95-title-text {
  flex: 1;
  font-size: 11px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Share Tech Mono', monospace;
}
.win95-wbtns {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}
.win95-wbtn {
  width: 16px;
  height: 14px;
  background: #c0c0c0;
  border: 1.5px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  color: #000000;
  font-size: 8px;
  font-family: 'Share Tech Mono', monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}
.win95-wbtn--close { font-size: 9px; }

/* ── Barra de menu ───────────────────────────────────────────── */
.win95-menubar {
  display: flex;
  padding: 2px 4px;
  border-bottom: 1px solid #808080;
  background: #c0c0c0;
}
.win95-menubar span {
  padding: 2px 8px;
  font-size: 11px;
  font-family: 'Share Tech Mono', monospace;
  cursor: default;
}
.win95-menubar span:hover {
  background: #000080;
  color: #ffffff;
}

/* ── Corpo / área de conteúdo ────────────────────────────────── */
.win95-body {
  margin: 6px;
  background: #ffffff;
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  padding: 4px 2px;
  min-height: 110px;
}

/* ── Linhas de arquivo ───────────────────────────────────────── */
.win95-file-row {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 6px;
  font-size: 11px;
  font-family: 'Share Tech Mono', monospace;
  cursor: default;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
}
.win95-file-row:hover {
  background: #000080;
  color: #ffffff;
}
.win95-file-icon {
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  font-size: 13px;
  line-height: 1;
}
.win95-file-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.win95-file-meta {
  color: #808080;
  font-size: 10px;
  flex-shrink: 0;
}
.win95-file-row:hover .win95-file-meta { color: #a0c0ff; }

/* ── Linha de propriedade (stack info) ───────────────────────── */
.win95-prop-row {
  display: flex;
  gap: 5px;
  padding: 3px 6px;
  font-size: 10px;
  font-family: 'Share Tech Mono', monospace;
  color: #000080;
}
.win95-prop-label { font-weight: bold; flex-shrink: 0; }

/* ── Divisor ─────────────────────────────────────────────────── */
.win95-divider {
  height: 0;
  border-top: 1px solid #808080;
  border-bottom: 1px solid #ffffff;
  margin: 4px 6px;
}

/* ── Barra de status ─────────────────────────────────────────── */
.win95-statusbar {
  background: #c0c0c0;
  border-top: 1px solid #808080;
  padding: 3px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.win95-status-panel {
  border: 1px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  padding: 1px 6px;
  font-size: 10px;
  font-family: 'Share Tech Mono', monospace;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.win95-led {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a0e0ab;
  box-shadow: 0 0 4px #a0e0ab;
  display: inline-block;
  animation: win95Blink 2.8s steps(1) infinite;
  flex-shrink: 0;
}

/* ── Botão CTA estilo Win95 ──────────────────────────────────── */
.win95-cta {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  padding: 2px 10px;
  font-size: 11px;
  font-family: 'Share Tech Mono', monospace;
  color: #000000;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 1px 1px 0 #000000;
  white-space: nowrap;
}
.win95-cta:hover { background: #d4d0c8; filter: none; }
.win95-cta:active {
  border-color: #808080 #ffffff #ffffff #808080;
  box-shadow: none;
  transform: translate(1px, 1px);
}

/* ── Barra de endereço (IE4 integrado ao Win95) ──────────────── */
.win95-addressbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 6px;
  background: #c0c0c0;
  border-bottom: 1px solid #808080;
  font-family: 'Share Tech Mono', monospace;
}
.win95-address-label {
  font-size: 10px;
  font-weight: bold;
  color: #000000;
  flex-shrink: 0;
  white-space: nowrap;
}
.win95-address-url {
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  background: #ffffff;
  padding: 1px 5px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-family: 'Share Tech Mono', monospace;
  color: #000080;
}

/* ── Screenshot frame (Picture Viewer retro) ─────────────────── */
.win95-body--img {
  min-height: auto;
  padding: 4px;
}
.win95-img-frame {
  display: block;
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  overflow: hidden;
  background: #000080;
  line-height: 0;
  margin-bottom: 4px;
  text-decoration: none;
  cursor: pointer;
}
.win95-img-frame:hover {
  border-color: #000080 #c0c0c0 #c0c0c0 #000080;
}
.win95-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Wrapper dentro do bento ─────────────────────────────────── */
.bento-device-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0 4px;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 480px) {
  .bento-sites { min-height: 320px; }
  .win95-window { max-width: 100%; }
}

/* ══════════════════════════════════════════════════════════════
   PIXELIZAÇÃO AVANÇADA
   Pixel Wipe · Glitch · CRT Flicker · Scrollbar Win95
══════════════════════════════════════════════════════════════ */

/* ── 2. PIXEL WIPE REVEAL ────────────────────────────────────── */
/* Reveal de seções: gerenciado pelo opacity snap Win95 (acima). */
/* Pixel wipe só nos elementos filhos que têm animação própria.  */

/* ── 3. SECTION H2 — CRT FLICKER NA ENTRADA ─────────────────── */
/* Dispara quando o pai .section-header.reveal recebe .visible   */
.section-header.visible h2 {
  animation: crtTextIn 0.55s steps(5) forwards;
}
@keyframes crtTextIn {
  0%   { opacity: 0;    filter: brightness(8) blur(1px); }
  20%  { opacity: 1;    filter: brightness(4.5); }
  40%  { opacity: 0.2;  filter: brightness(0.2); }
  60%  { opacity: 1;    filter: brightness(2.8); }
  80%  { opacity: 0.6;  filter: brightness(0.7); }
  100% { opacity: 1;    filter: brightness(1); }
}

/* ── 4. HERO NAME — GLITCH PERIÓDICO ────────────────────────── */
@keyframes heroPixelGlitch {
  0%,  87%, 100% {
    transform: none;
    clip-path: none;
    filter: none;
  }
  88% {
    transform: translateX(-4px);
    clip-path: inset(18% 0 58% 0);
    filter: brightness(2.2);
  }
  89% {
    transform: translateX(4px);
    clip-path: inset(50% 0 16% 0);
    filter: brightness(0.3);
  }
  90% {
    transform: translateX(-2px);
    clip-path: none;
    filter: brightness(3.0);
  }
  91% {
    transform: translateX(2px);
    clip-path: inset(8% 0 72% 0);
    filter: brightness(0.5);
  }
  92% {
    transform: none;
    clip-path: none;
    filter: brightness(2.0);
  }
  94% {
    transform: translateX(1px);
    filter: brightness(1.3);
    clip-path: none;
  }
  96% {
    transform: none;
    filter: none;
    clip-path: none;
  }
}
.hero-name {
  animation: heroPixelGlitch 20s steps(1) infinite 4s !important;
}

/* ── 6. HERO STATS — PIXEL FLIP IN ──────────────────────────── */
/* both: 0% keyframe mantém elemento oculto durante o delay     */
.stat {
  animation: statPixelIn 0.6s steps(6) both;
}
.stat:nth-child(1) { animation-delay: 1.2s; }
.stat:nth-child(2) { animation-delay: 1.45s; }
.stat:nth-child(3) { animation-delay: 1.70s; }
@keyframes statPixelIn {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0   0% 0 0); }
}

/* ── 7. SKILL CARDS — PIXEL JUMP NO HOVER ───────────────────── */
.skill-card:hover .skill-icon {
  animation: iconPixelJump 0.18s steps(3) forwards;
}
@keyframes iconPixelJump {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-2px, -2px); }
  66%  { transform: translate(1px, -1px); }
  100% { transform: translate(0, 0); }
}

/* ── 8. TIMELINE DOT — PIXEL PULSE ATIVO ────────────────────── */
.tl-dot--active::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(160,224,171,0.25);
  animation: dotPixelPulse 1.4s steps(4) infinite;
}
@keyframes dotPixelPulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  25%  { transform: scale(1.5); opacity: 0.3; }
  50%  { transform: scale(2);   opacity: 0.1; }
  75%  { transform: scale(2.5); opacity: 0;   }
  100% { transform: scale(1);   opacity: 0.6; }
}

/* ── 9. SCROLLBAR WIN95 DARK ─────────────────────────────────── */
::-webkit-scrollbar {
  width: 14px;
}
::-webkit-scrollbar-track {
  background: #060504;
  box-shadow: inset 1px 0 0 rgba(255,255,255,0.04);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2a2825 0%, #1a1715 100%);
  border: 2px solid transparent;
  border-top-color:    rgba(255,255,255,0.18);
  border-left-color:   rgba(255,255,255,0.12);
  border-bottom-color: rgba(0,0,0,0.65);
  border-right-color:  rgba(0,0,0,0.55);
  min-height: 44px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #383530 0%, #282522 100%);
}
::-webkit-scrollbar-button {
  background: linear-gradient(180deg, #222018 0%, #181614 100%);
  border: 2px solid transparent;
  border-top-color:    rgba(255,255,255,0.14);
  border-left-color:   rgba(255,255,255,0.08);
  border-bottom-color: rgba(0,0,0,0.55);
  border-right-color:  rgba(0,0,0,0.45);
  height: 14px;
  display: block;
}
::-webkit-scrollbar-corner { background: #060504; }

/* ── 10. SCROLL PROGRESS — STEPPED ──────────────────────────── */
.scroll-progress {
  transition: width 0.08s steps(28) !important;
}

/* ── 11. NAV LINKS — PIXEL UNDERLINE ON HOVER ───────────────── */
.nav-links a::after {
  transition: width 0.06s steps(4) !important;
}

/* ── 12. SEÇÃO PORTFOLIO — BENTO CARDS PIXEL BORDER ─────────── */
.bento-card {
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.012) 0px,
      rgba(255,255,255,0.012) 1px,
      transparent 1px,
      transparent 4px
    ) !important;
}

/* ── REDUCED MOTION — desativa pixel extras ──────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-delay, .reveal-left, .reveal-scale {
    clip-path: none !important;
    animation: none !important;
    opacity: 1 !important;
  }
  .hero-name    { animation: none !important; }
  .stat         { animation: none !important; clip-path: none !important; }
  .section-header.visible h2 { animation: none !important; }
  .scroll-progress { transition: width 0.3s ease !important; }
  .tl-dot--active::after { animation: none !important; }
}

/* ══════════════════════════════════════════════════════════════
   ATLAS — versão empresa
   Logo no hero, seção do produto (Atlas CRM) e contato central
══════════════════════════════════════════════════════════════ */

/* Elementos com [hidden] (ex.: e-mail ainda não configurado) */
[hidden] { display: none !important; }

/* ── SEÇÃO ATLAS CRM ─────────────────────────────────────────── */
/* Card do vídeo: mesmo layout em linha do antigo card de lojas */
.bento-produto {
  border-color: rgba(255,172,46,0.14);
  background: rgba(255,172,46,0.025);
  flex-direction: row;
  align-items: center;
  gap: 48px;
  padding: 40px 48px 32px;
  margin-bottom: 20px;
}
.bento-produto:hover { border-color: rgba(255,172,46,0.30); box-shadow: 0 32px 80px rgba(255,172,46,0.08); }
.bento-produto .bento-header { flex: 0 0 auto; max-width: 380px; }
.bento-produto .bento-device-wrap { flex: 1; min-width: 0; }
.bento-produto .bento-title { font-size: clamp(28px, 3.2vw, 44px); }

.win95-window--wide { max-width: 600px; }

.win95-video-frame { cursor: default; background: #000000; }
.win95-video {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000000;
}

.produto-cta {
  margin-top: 48px;
  text-align: center;
}
.produto-cta p {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 300;
  color: var(--frost);
  margin-bottom: 24px;
}
.produto-cta .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

/* ── FOOTER — domínio ────────────────────────────────────────── */
.footer-domain { color: var(--frost) !important; }

/* ── RESPONSIVE ATLAS ────────────────────────────────────────── */
@media (max-width: 900px) {
  .bento-produto {
    flex-direction: column;
    align-items: stretch;
    padding: 32px 32px 28px;
  }
  .bento-produto .bento-header { max-width: 100%; }
}

@media (max-width: 640px) {
  .photo-wrap--logo { width: 220px; height: 220px; border-radius: 50%; }
  .bento-produto { padding: 28px 20px 24px; gap: 28px; }
  .produto-cta .btn { width: 100%; justify-content: center; }
}

/* ── CLIENTES (logo marquee) ─────────────────────────────────── */
.clientes {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.clientes-title {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 36px;
}

.clientes-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.clientes-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 64s linear infinite;
}

.clientes-marquee:hover .clientes-track { animation-play-state: paused; }

.clientes-group {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px; /* keeps spacing equal across the loop seam */
  list-style: none;
}

/* Logos are pre-rendered as white on transparent */
.cliente-logo {
  flex: none;
  height: 64px;
  display: flex;
  align-items: center;
  opacity: 0.8;
  transition: opacity var(--dur) var(--ease);
}

.cliente-logo:hover { opacity: 1; }

.cliente-logo img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .clientes { padding: 40px 0; }
  .clientes-title { margin-bottom: 24px; }
  .clientes-group { gap: 40px; padding-right: 40px; }
  .cliente-logo { height: 46px; }
  .cliente-logo img { max-width: 140px; }
  .clientes-track { animation-duration: 48s; }
}

@media (prefers-reduced-motion: reduce) {
  .clientes-track { animation: none; }
  .clientes-marquee { overflow-x: auto; }
}
