/* ═══════════════════════════════════════════════════════════════
   TIAGO RODRIGUES — PORTFOLIO
   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: background 0.35s, padding 0.35s;
}

.nav.scrolled {
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  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 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--frost);
  text-decoration: none;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-pill);
  transition: border-color var(--dur);
}
.nav-logo:hover { border-color: var(--frost); }

.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 320px;
  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;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(8px);
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 36px;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2.5s ease infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,0.4); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

.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-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ── 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 { font-size: 26px; flex-shrink: 0; }
.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);
}

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

.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;
}

/* ── FERRAMENTAS ─────────────────────────────────────────────── */
.ferramentas { background: var(--canvas); }

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

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

.tools-cat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  transition: color var(--dur), border-color var(--dur), background var(--dur);
}
.tool:hover { color: var(--frost); border-color: var(--border-hover); background: rgba(255,255,255,0.08); }

/* ── 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 {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--frost);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  margin-bottom: 4px;
}

.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-location { 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; }
}

/* 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); }
  .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; }
  .tools-grid { grid-template-columns: 1fr; }

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

  .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%; }

/* ── CUSTOM CURSOR ───────────────────────────────────────────── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: left, top;
}

.cursor-dot {
  width: 8px; height: 8px;
  background: white;
  z-index: 10001;
  mix-blend-mode: difference;
  transition: width 0.25s var(--ease), height 0.25s var(--ease);
}

.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.5);
  z-index: 10000;
  mix-blend-mode: difference;
  transition: width 0.45s var(--ease), height 0.45s var(--ease);
}

.cursor-ring.cursor-hovering { width: 56px; height: 56px; }
.cursor-dot.cursor-clicking  { width: 14px; height: 14px; }

@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── 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 PLACEHOLDER ───────────────────────────────────── */
.ig-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #1a1a1a 0%, #0d0d0d 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
}

.ig-placeholder-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.ig-placeholder-handle {
  font-size: 9px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-align: center;
  word-break: break-all;
  font-family: monospace;
}

/* ── LAYOUTS ─────────────────────────────────────────────────── */
.mockup-iphone-center {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.mockup-iphone-center .device-iphone { width: 150px; }

.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; }
  }

  /* Hero badge — gentle float */
  .hero-badge {
    animation: badgeFloat 4s ease-in-out infinite;
  }
  @keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-4px); }
  }

  /* 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,
  .hero-badge,
  .stat::after,
  .tl-dot--active::after,
  .cbtn-wa {
    animation: none !important;
    transition: none !important;
  }
}
