/* ============================================================
   AIRTON DEODATO — PORTFOLIO STYLES
   ============================================================ */

/* ── DESIGN TOKENS ── */
:root {
  /* Colors */
  --bg:          #080808;
  --bg-2:        #0D0D0D;
  --bg-3:        #141414;
  --bg-4:        #1A1A1A;
  --border:      #1E1E1E;
  --border-md:   #2A2A2A;
  --accent:      #C8F542;
  --accent-lo:   rgba(200, 245, 66, 0.08);
  --accent-mid:  rgba(200, 245, 66, 0.30);
  --text:        #EBEBEB;
  --text-muted:  #888888;
  --text-dim:    #444444;
  --white:       #FFFFFF;

  /* Gradients */
  --g-accent:  linear-gradient(135deg, #C8F542, #5BE84C);
  --g-orange:  linear-gradient(140deg, #C8F542 0%, #5BE84C 100%);
  --g-blue:    linear-gradient(140deg, #0D2E12 0%, #2FA83C 100%);
  --g-purple:  linear-gradient(140deg, #16451A 0%, #52D64A 100%);
  --g-teal:    linear-gradient(140deg, #1E5C22 0%, #8FE868 100%);

  /* Spacing */
  --py:   128px;
  --px:   32px;

  /* Radii */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-pill: 9999px;

  /* Motion */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --fast:     0.2s;
  --normal:   0.35s;
  --slow:     0.6s;

  /* Shadows */
  --sh-sm:     0 2px 12px rgba(0,0,0,.45);
  --sh-md:     0 8px 40px rgba(0,0,0,.55);
  --sh-accent: 0 8px 40px rgba(200,245,66,.22);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--text); font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }
section[id] { scroll-margin-top: 90px; }

/* ── ACESSIBILIDADE ── */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.form-input:focus-visible { outline: none; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 1000;
  padding: 10px 18px;
  background: var(--accent); color: #0A0A0A;
  border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600;
  transition: top var(--fast);
}
.skip-link:focus { top: 16px; }

/* ── CURSOR CANETA (pen tool) — 2 estados, só em pointer fino ── */
:root {
  /* Default: seta limpa com ponta lime (hotspot no tip) */
  --cur-pen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M4 2 L4 24 L10.5 18.2 L14.8 28.5 L18.2 27 L13.8 16.8 L22 16 Z' fill='%23FFFFFF' stroke='%230A0A0A' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ccircle cx='22.5' cy='22.5' r='5.2' fill='none' stroke='%23C8F542' stroke-width='1.8'/%3E%3Ccircle cx='22.5' cy='22.5' r='1.6' fill='%23C8F542'/%3E%3C/svg%3E") 4 2;
  /* Hover/clickable: seta lime + anel branco */
  --cur-pen-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M4 2 L4 24 L10.5 18.2 L14.8 28.5 L18.2 27 L13.8 16.8 L22 16 Z' fill='%23C8F542' stroke='%230A0A0A' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ccircle cx='22.5' cy='22.5' r='5.2' fill='none' stroke='%23FFFFFF' stroke-width='1.8'/%3E%3Ccircle cx='22.5' cy='22.5' r='1.6' fill='%23FFFFFF'/%3E%3C/svg%3E") 4 2;
  /* Text: I-beam sutil */
  --cur-pen-text: text;
}
@media (hover: hover) and (pointer: fine) {
  body { cursor: var(--cur-pen), auto; }
  a, button, select, .lever, .pricing-tab, .project-card, .skill-card, .edu-card, .tl-card,
  .hamburger, .back-top, .social-btn, .chip, .filter-chip, .wa-float {
    cursor: var(--cur-pen-hover), pointer;
  }
  input, textarea { cursor: var(--cur-pen-text); }
}

/* ── LAYOUT ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 var(--px); }
.section { padding: var(--py) 0; }

/* ── TYPOGRAPHY HELPERS ── */
.section-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
}
.section-chip::before { content: ''; width: 18px; height: 1.5px; background: var(--accent); border-radius: 2px; }

.section-head { margin-bottom: 60px; }

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.5px;
  color: var(--white);
  margin-bottom: 16px;
}
.section-sub { font-size: 16px; color: var(--text-muted); max-width: 500px; line-height: 1.75; }
.accent-text {
  font-family: 'Caveat', cursive;
  color: var(--accent);
  font-size: 1.3em;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: .3px;
  white-space: nowrap;
  transition: all var(--normal) var(--ease);
  cursor: var(--cur-pen-hover), pointer;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--accent); color: #0A0A0A;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: #DBFF70; border-color: #DBFF70;
  box-shadow: var(--sh-accent);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--text);
  border-color: var(--border-md);
}
.btn-outline:hover {
  border-color: var(--accent); color: var(--accent);
  transform: translateY(-2px);
}
.btn-nav {
  background: var(--accent); color: #0A0A0A;
  border: 1.5px solid var(--accent);
  padding: 8px 10px 8px 18px; font-size: 13px; gap: 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(200,245,66,.28);
}
.btn-nav:hover {
  background: #DBFF70; border-color: #DBFF70; color: #0A0A0A;
  box-shadow: var(--sh-accent);
}
.btn-nav .btn-circle-arrow {
  background: #0A0A0A;
}
.btn-nav .btn-circle-arrow svg { color: var(--accent); }
.btn-nav:hover .btn-circle-arrow { background: #0A0A0A; }
.btn-circle-arrow {
  width: 28px; height: 28px;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--fast), background var(--fast);
}
.btn-circle-arrow svg { width: 13px; height: 13px; color: #0A0A0A; overflow: visible; }

@keyframes arrowDraw {
  0%   { stroke-dashoffset: 30; animation-timing-function: ease-out; }
  45%  { stroke-dashoffset: 0; }
  76%  { stroke-dashoffset: 0; animation-timing-function: ease-in; }
  100% { stroke-dashoffset: 30; }
}
.btn-circle-arrow svg path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: arrowDraw 2.2s linear infinite;
}

.btn-nav:hover .btn-circle-arrow { transform: rotate(-35deg) scale(1.05); background: #0A0A0A; }
.btn-arrow { width: 16px; height: 16px; flex-shrink: 0; }

/* ── CHIPS / TAGS ── */
.chip {
  display: inline-block;
  padding: 5px 13px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500;
  background: var(--bg-4); color: var(--text-muted);
  border: 1px solid var(--border-md);
  transition: all var(--fast);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.sm { padding: 3px 10px; font-size: 11px; }

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 18px 0;
  transition: padding var(--normal) var(--ease);
}
.navbar.scrolled {
  padding: 12px 0;
}

/* Pill gets glass only when scrolled — no full-width rectangle */
.navbar.scrolled .nav-pill-wrap {
  background: rgba(12,12,12,0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 42px; height: 42px;
  background: #000;
  border: 1px solid rgba(200,245,66,.25);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(200,245,66,0.22);
  transition: border-color var(--fast), box-shadow var(--fast), transform var(--fast);
}
.logo-mark img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.nav-logo:hover .logo-mark {
  border-color: rgba(200,245,66,.55);
  box-shadow: 0 6px 20px rgba(200,245,66,0.35);
  transform: translateY(-1px);
}
.logo-mark.sm {
  width: 32px; height: 32px; border-radius: 8px;
}
.logo-text-group { display: flex; flex-direction: column; gap: 1px; }
.logo-name { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 700; color: var(--white); line-height: 1.1; }
.logo-tagline { font-size: 10px; font-weight: 500; color: var(--text-muted); letter-spacing: 1.5px; text-transform: uppercase; line-height: 1; }

/* Pill nav container */
.nav-pill-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 5px 6px;
  flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-size: 13.5px; font-weight: 500; color: var(--text-muted);
  padding: 7px 16px; border-radius: var(--r-pill);
  transition: color var(--fast), background var(--fast);
  position: relative;
}
.nav-link::after { display: none; }
.nav-link:hover  { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-link.active { color: var(--white); background: rgba(255,255,255,0.1); }

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: var(--cur-pen-hover), pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); border-radius: 2px; transition: all var(--normal) var(--ease); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 80px; overflow: hidden;
}

/* Background layers */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-glow {
  position: absolute; top: -160px; left: -80px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(200,245,66,.13) 0%, transparent 62%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-noise {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  opacity: .4;
}

.hero-content { position: relative; z-index: 1; width: 100%; }

/* Hero split: texto + retrato (ref Leonel) */
.hero-cols {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-text {
  display: flex; flex-direction: column; align-items: flex-start;
  text-align: left;
  max-width: 620px;
  animation: fadeUp .8s var(--ease) .12s both;
}
.hero-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 16px;
  max-width: 640px;
}
.hero-headline .accent-text {
  display: inline-block;
  font-size: 1.22em;
  transform: rotate(-2deg);
}
.hero-role-line {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px; font-weight: 500;
  color: var(--accent);
  margin-bottom: 18px;
  min-height: 1.4em;
}
.hero-role-line .role-cursor {
  display: inline-block; width: 2px; height: 1.1em;
  background: var(--accent);
  animation: blink .8s step-end infinite;
  vertical-align: middle;
}
.hero-sub { font-size: 16px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.7; }
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start;
  margin-bottom: 34px;
}

/* Hero portrait */
.hero-visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  animation: fadeUp .9s var(--ease) .22s both;
}
.hero-photo-wrap {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 4 / 5;
}
.hero-photo-glow {
  position: absolute;
  inset: 8% -6% -4% -6%;
  background: radial-gradient(ellipse at 50% 70%, rgba(200,245,66,.22), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.hero-photo {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 64px rgba(0,0,0,.55);
  background: var(--bg-3);
}
.hero-float-tag {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(12,12,12,.78);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 600; color: var(--white);
  box-shadow: var(--sh-sm);
  animation: hvFloat 5.5s ease-in-out infinite;
}
.hero-float-tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px rgba(200,245,66,.6);
}
.hero-float-tag.t1 { top: 14%; left: -8%; animation-delay: 0s; }
.hero-float-tag.t2 { top: 42%; right: -10%; animation-delay: 1.2s; }
.hero-float-tag.t3 { bottom: 16%; left: 4%; animation-delay: 2.1s; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 16px;
  border: 1px solid var(--border-md); border-radius: var(--r-pill);
  background: rgba(255,255,255,.03);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600; color: var(--text);
}
.hero-tag i { font-style: normal; font-size: 13px; }

/* ── HERO VECTORS: caneta/bezier em movimento ── */
.hero-vectors { position: absolute; inset: 0; overflow: hidden; }
.hv-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* curvas que se desenham e apagam em loop */
.hv-curve {
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: .28;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: hvDraw 9s var(--ease) infinite;
}
.hv-c2 { animation-delay: 3s; opacity: .2; }
.hv-c3 { animation-delay: 6s; opacity: .16; }
@keyframes hvDraw {
  0%       { stroke-dashoffset: 1400; }
  38%      { stroke-dashoffset: 0; }
  62%      { stroke-dashoffset: 0; }
  92%,100% { stroke-dashoffset: -1400; }
}

/* alças de controle da pen tool */
.hv-handle {
  stroke: rgba(200,245,66,.5);
  stroke-width: 1.25;
  stroke-dasharray: 4 5;
}
.hv-handle-dot {
  fill: none; stroke: var(--accent); stroke-width: 1.5;
  animation: hvPulse 3s ease-in-out infinite;
}

/* âncoras (quadradinhos do Illustrator) */
.hv-anchor {
  fill: var(--bg); stroke: var(--accent); stroke-width: 1.75;
  animation: hvPulse 3.5s ease-in-out infinite;
}
.hv-anchor:nth-of-type(odd) { animation-delay: 1.2s; }

/* nós circulares flutuando */
.hv-node { fill: var(--accent); opacity: .8; animation: hvFloat 6s ease-in-out infinite; }
.hv-n2 { animation-delay: 2s; }
.hv-n3 { animation-delay: 4s; opacity: .5; }

@keyframes hvPulse {
  0%,100% { opacity: .9; }
  50%     { opacity: .35; }
}
@keyframes hvFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-14px); }
}

/* blobs orgânicos ao fundo */
.hv-blob {
  position: absolute;
  background: linear-gradient(140deg, rgba(200,245,66,.16), rgba(91,232,76,.05));
  border: 1px solid rgba(200,245,66,.14);
  border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%;
  animation: blobMorph 12s ease-in-out infinite;
  filter: blur(2px);
}
.hv-b1 { width: 280px; height: 280px; top: 18%; right: 8%; opacity: .55; }
.hv-b2 { width: 180px; height: 180px; bottom: 12%; right: 28%; animation-delay: 4s; opacity: .4; }

@media (prefers-reduced-motion: reduce) {
  .hv-curve { animation: none; stroke-dashoffset: 0; }
  .hv-anchor, .hv-handle-dot, .hv-node, .hv-blob { animation: none; }
}

/* Stats bar under the hero */
.hero-statsbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--border);
  animation: fadeUp .8s var(--ease) .45s both;
}
.hs-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 22px 16px 0;
  text-align: left;
}
.hs-item + .hs-item { border-left: 1px solid var(--border); }
.hs-ico {
  width: 18px; height: 18px; color: var(--accent); opacity: .9;
}
.hs-item strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px; font-weight: 700; color: var(--white);
  display: flex; align-items: center; gap: 8px;
}
.hs-item span { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 18px;
  background: var(--accent-lo); border: 1px solid var(--accent-mid);
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500; color: var(--accent);
  margin-bottom: 36px;
  animation: fadeDown .8s var(--ease) both;
}
.badge-pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(200,245,66,.5); }
  50%      { box-shadow: 0 0 0 5px rgba(200,245,66,0); }
}

/* Name (legacy helpers kept for compatibility) */
.hero-greeting {
  font-family: 'Caveat', cursive;
  font-size: 28px; font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  transform: rotate(-2deg);
  transform-origin: left bottom;
  display: inline-block;
}
.hero-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(60px, 10vw, 108px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -3px;
  margin-bottom: 22px;
}
.name-solid  { display: block; color: var(--white); }
.name-outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
}

/* Role typing */
.hero-role {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 500;
  color: var(--accent); margin-bottom: 28px;
}
.role-dash { color: var(--text-dim); }
.role-cursor { animation: blink .8s step-end infinite; color: var(--accent); }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* Desc */
.hero-desc {
  font-size: 17px; line-height: 1.8; color: var(--text-muted);
  max-width: 520px; margin-bottom: 44px;
}

/* CTA row */
.hero-actions {
  display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 14px;
  animation: fadeUp .8s var(--ease) .3s both;
}

/* Stats row */
.hero-stats {
  display: flex; align-items: center; gap: 28px;
  animation: fadeUp .8s var(--ease) .45s both;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; color: var(--white); }
.stat-lbl { font-size: 12px; color: var(--text-muted); }
.stat-sep { width: 1px; height: 32px; background: var(--border-md); }

/* Scroll cue */
.scroll-cue {
  position: absolute; right: 48px; bottom: 48px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: fadeUp 1s var(--ease) .8s both;
}
.scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollPulse 1.6s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
.scroll-cue span {
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--text-dim); writing-mode: vertical-rl;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg-2); }

.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px; align-items: center;
}

/* Photo column */
.about-visual { display: flex; justify-content: center; }
.photo-frame { position: relative; width: 300px; height: 360px; }

.photo-placeholder {
  width: 100%; height: 100%;
  background: var(--bg-3); border-radius: var(--r-lg);
  border: 1px solid var(--border-md);
  display: flex; align-items: center; justify-content: center;
}
.photo-init {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 72px; font-weight: 700; color: var(--text-dim);
}
.about-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  border-radius: var(--r-lg);
}
.photo-ring {
  position: absolute; inset: -10px;
  border-radius: calc(var(--r-lg) + 10px);
  border: 1px dashed var(--accent-mid);
  pointer-events: none;
  animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.floating-badge {
  position: absolute; bottom: -18px; right: -24px;
  background: var(--bg-3); border: 1px solid var(--border-md);
  border-radius: var(--r-md); padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--sh-md);
}
.fb-icon { font-size: 26px; }
.fb-text { display: flex; flex-direction: column; gap: 2px; }
.fb-text strong { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; color: var(--white); }
.fb-text small { font-size: 11px; color: var(--text-muted); }

/* Text column */
.about-name {
  font-family: 'Caveat', cursive;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700; line-height: 1;
  color: var(--accent);
  margin-bottom: 14px;
}
.about-role-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border-md); border-radius: var(--r-pill);
  background: rgba(255,255,255,.03);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600; color: var(--text);
  margin-bottom: 20px;
}
.about-role-pill i { font-style: normal; }
.about-lead {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px; font-weight: 600; color: var(--white);
  margin-bottom: 16px;
}
.about-text { font-size: 16px; line-height: 1.85; color: var(--text-muted); margin-bottom: 20px; }
.about-text strong { color: var(--white); font-weight: 600; }

.about-details { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 32px 0; }
.detail-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-muted); }
.detail-ico { flex-shrink: 0; font-size: 16px; margin-top: 1px; }
.detail-row a { transition: color var(--fast); }
.detail-row a:hover { color: var(--accent); }

/* ============================================================
   SKILLS
   ============================================================ */
.skills { background: var(--bg); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
/* Cards unificados estilo Start Pages: ilustração + texto no mesmo bloco preto */
.skill-card {
  position: relative;
  min-height: 248px;
  background: #000;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  transition: border-color var(--normal) var(--ease), transform var(--normal) var(--ease), box-shadow var(--normal);
}
.skill-card:hover {
  border-color: rgba(200,245,66,.35);
  transform: translateY(-5px);
  box-shadow: 0 18px 48px rgba(0,0,0,.55), 0 0 36px rgba(200,245,66,.12);
}

/* ilustração fundida no card (direita / fundo) */
.skill-card .sk-illu-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  display: block;
  z-index: 0;
  transition: transform var(--slow) var(--ease), opacity var(--normal);
  opacity: .92;
}
.skill-card:hover .sk-illu-img {
  transform: scale(1.05);
  opacity: 1;
}

/* vinheta: texto legível à esquerda, arte à direita — um só cartão */
.skill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg,
      #000 0%,
      #000 28%,
      rgba(0,0,0,.82) 42%,
      rgba(0,0,0,.35) 62%,
      transparent 82%),
    linear-gradient(0deg, #000 0%, transparent 42%);
}

/* bolinhas de janela (detalhe da ref) */
.skill-card::after {
  content: '';
  position: absolute;
  top: 14px; right: 16px;
  z-index: 2;
  width: 34px; height: 8px;
  background:
    radial-gradient(circle at 4px 4px, var(--accent) 3px, transparent 3.5px),
    radial-gradient(circle at 15px 4px, rgba(255,255,255,.22) 3px, transparent 3.5px),
    radial-gradient(circle at 26px 4px, rgba(255,255,255,.22) 3px, transparent 3.5px);
  pointer-events: none;
  opacity: .85;
}

.sk-txt {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 22px 20px;
  max-width: min(100%, 58%);
  margin-top: auto;
}
.sk-cat {
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent);
  opacity: .9;
}
.sk-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -.6px;
  color: var(--white);
}
.sk-desc {
  font-size: 13px; line-height: 1.5; color: rgba(235,235,235,.62);
  margin-top: 2px;
  max-width: 28ch;
}
.sk-tools {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px;
}
.skill-card .sk-tools .chip {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
}

/* legado edu-card (se reaparecer) */
.edu-card {
  background: #0B0B0B; border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 16px 22px;
}

/* Education — lista diferenciada dos skill-cards */
.edu-list {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 860px;
}
.edu-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px; align-items: center;
  padding: 18px 22px;
  background: #0B0B0B;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--normal), transform var(--normal), box-shadow var(--normal);
}
.edu-row:hover {
  border-color: var(--accent-mid);
  transform: translateX(4px);
  box-shadow: 0 10px 32px rgba(0,0,0,.35);
}
.edu-mark {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-lo); border: 1px solid var(--accent-mid);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.edu-mark svg { width: 22px; height: 22px; }
.edu-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 4px;
}
.edu-body p { font-size: 13px; color: var(--text-muted); }
.edu-tag {
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--bg-4); border: 1px solid var(--border-md);
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  white-space: nowrap;
}

/* Featured experience card */
.tl-item.featured .tl-card {
  border-color: rgba(200,245,66,.4);
  background: linear-gradient(160deg, rgba(200,245,66,.08), rgba(255,255,255,.02));
  box-shadow: 0 0 32px rgba(200,245,66,.08);
}
.tl-item.featured .tl-dot {
  box-shadow: 0 0 0 2px var(--accent), 0 0 14px rgba(200,245,66,.55);
}

/* Project filters */
.project-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: -20px 0 32px;
}
.filter-chip {
  padding: 8px 16px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-md);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  transition: all var(--fast);
}
.filter-chip:hover { color: var(--white); border-color: var(--accent-mid); }
.filter-chip.active {
  background: var(--accent-lo); border-color: var(--accent); color: var(--white);
}
.project-card.is-hidden { display: none; }
.project-thumb img.project-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.project-thumb::after { z-index: 1; opacity: .35; }
.project-card[data-color] .project-thumb.has-img { background: var(--bg-3); }
.project-badge-demo {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.2);
  font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  color: #fff; backdrop-filter: blur(8px);
}

/* Sticky WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 850;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px;
  background: #25D366; color: #fff;
  border-radius: var(--r-pill);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 10px 32px rgba(37,211,102,.4);
  transition: transform var(--fast), box-shadow var(--fast);
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(37,211,102,.5); }
.wa-float svg { width: 22px; height: 22px; flex-shrink: 0; }
.wa-float span { display: none; }
@media (min-width: 769px) {
  .wa-float span { display: inline; }
}

.contact-actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px;
}
.contact-actions .btn { flex: 1; min-width: 160px; justify-content: center; }
.pricing-trust {
  text-align: center; margin-top: 16px;
  font-size: 13px; color: var(--text-muted);
}
.pricing-trust strong { color: var(--accent); font-weight: 600; }

.footer-nav {
  display: flex; flex-wrap: wrap; gap: 14px;
}
.footer-nav a {
  font-size: 13px; color: var(--text-muted);
  transition: color var(--fast);
}
.footer-nav a:hover { color: var(--accent); }

@keyframes blobMorph {
  0%, 100% { border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; transform: rotate(0deg) scale(1); }
  33%      { border-radius: 45% 55% 40% 60% / 58% 42% 58% 42%; transform: rotate(4deg) scale(1.05); }
  66%      { border-radius: 52% 48% 60% 40% / 42% 54% 46% 58%; transform: rotate(-3deg) scale(.97); }
}
@media (prefers-reduced-motion: reduce) {
  .skill-card:hover .sk-illu-img { transform: none; }
}

/* Skills cards — stack text full width on narrow columns */
@media (max-width: 1040px) {
  .skill-card { min-height: 230px; }
  .sk-txt { max-width: 62%; }
}
@media (max-width: 768px) {
  .skill-card { min-height: 260px; }
  .skill-card .sk-illu-img { object-position: 80% center; opacity: .88; }
  .skill-card::before {
    background:
      linear-gradient(105deg,
        #000 0%,
        #000 34%,
        rgba(0,0,0,.78) 48%,
        rgba(0,0,0,.3) 70%,
        transparent 90%),
      linear-gradient(0deg, #000 0%, transparent 48%);
  }
  .sk-txt { max-width: 70%; padding: 20px 18px 18px; }
  .sk-title { font-size: 24px; }
}

/* ============================================================
   EXPERIENCE
   ============================================================ */
.experience { background: var(--bg-2); }

.timeline { position: relative; max-width: 700px; }
.timeline::before {
  content: ''; position: absolute;
  left: 15px; top: 20px; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.tl-item { position: relative; padding-left: 52px; margin-bottom: 40px; }
.tl-item:last-child { margin-bottom: 0; }

.tl-dot {
  position: absolute; left: 7px; top: 22px;
  width: 16px; height: 16px;
  background: var(--accent); border-radius: 50%;
  border: 3px solid var(--bg-2);
  box-shadow: 0 0 0 2px var(--accent);
}

.tl-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  transition: border-color var(--normal), transform var(--normal);
}
.tl-card:hover { border-color: var(--accent-mid); transform: translateX(5px); }

.tl-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.tl-role { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.tl-company { font-size: 14px; color: var(--accent); font-weight: 500; }
.tl-now {
  padding: 3px 12px; background: var(--accent-lo);
  color: var(--accent); border: 1px solid var(--accent-mid);
  border-radius: var(--r-pill); font-size: 11px; font-weight: 700;
  flex-shrink: 0; letter-spacing: .5px; text-transform: uppercase;
}
.tl-period {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted); margin-bottom: 14px;
}
.period-ico { width: 14px; height: 14px; flex-shrink: 0; color: var(--text-dim); }
.tl-desc { font-size: 14px; line-height: 1.78; color: var(--text-muted); margin-bottom: 18px; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ============================================================
   PROJECTS
   ============================================================ */
.projects { background: var(--bg); }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }

.project-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform var(--normal) var(--ease), box-shadow var(--normal);
  display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }

.project-thumb { height: 180px; position: relative; overflow: hidden; }
.project-card[data-color="orange"] .project-thumb { background: var(--g-orange); }
.project-card[data-color="blue"]   .project-thumb { background: var(--g-blue); }
.project-card[data-color="purple"] .project-thumb { background: var(--g-purple); }

.project-thumb::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.project-thumb-inner {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.project-thumb-ico { font-size: 48px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }

.project-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-chip {
  display: inline-block; align-self: flex-start;
  padding: 3px 12px; background: var(--accent-lo); color: var(--accent);
  border-radius: var(--r-pill); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.project-title { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; color: var(--white); line-height: 1.35; }
.project-desc { font-size: 13px; line-height: 1.75; color: var(--text-muted); flex: 1; }
.project-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.project-foot { border-top: 1px solid var(--border); padding-top: 14px; margin-top: 4px; }
.project-link {
  font-size: 13px; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--fast);
}
.project-link:hover { gap: 10px; }
.project-link span { transition: transform var(--fast); }
.project-link:hover span { transform: translateX(2px); }

.projects-more {
  text-align: center; padding: 40px 32px;
  border: 1px dashed var(--border-md); border-radius: var(--r-lg);
}
.projects-more p { font-size: 15px; color: var(--text-muted); margin-bottom: 22px; }

/* ============================================================
   PRICING / PLANOS — glass glow
   ============================================================ */
.pricing { background: var(--bg); position: relative; overflow: hidden; }

/* ambient glow orbs behind the glass cards */
.pricing-bg { position: absolute; inset: 0; pointer-events: none; }
.pricing-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
}
.pricing-orb-1 {
  top: 10%; left: -140px; width: 480px; height: 480px;
  background: rgba(200,245,66,.16);
  animation: orbDrift 11s ease-in-out infinite;
}
.pricing-orb-2 {
  bottom: 4%; right: -120px; width: 420px; height: 420px;
  background: rgba(91,232,76,.12);
  animation: orbDrift 13s ease-in-out 5s infinite;
}
@keyframes orbDrift {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(30px,-24px) scale(1.08); }
}

.pricing .container { position: relative; z-index: 1; }

/* ── Tabs ── */
.pricing-tabs {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 40px;
}
.pricing-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-md);
  border-radius: var(--r-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  cursor: var(--cur-pen-hover), pointer;
  transition: all var(--normal) var(--ease);
}
.pricing-tab:hover { color: var(--white); border-color: var(--accent-mid); }
.pricing-tab.active {
  background: var(--accent-lo);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 0 24px rgba(200,245,66,.25), inset 0 0 12px rgba(200,245,66,.06);
}
.tab-flag {
  padding: 2px 9px;
  background: var(--accent); color: #0A0A0A;
  border-radius: var(--r-pill);
  font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
}

/* ── Panels ── */
.pricing-panel { display: none; }
.pricing-panel.active { display: block; animation: panelIn .45s var(--ease) both; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.panel-intro { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; max-width: 560px; }

.pricing-grid { display: grid; gap: 18px; align-items: stretch; }
.pricing-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pricing-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Glass cards ── */
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 30px 26px;
  background: linear-gradient(160deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  transition: transform var(--normal) var(--ease), border-color var(--normal), box-shadow var(--normal);
}
/* glow sweep on top edge */
.price-card::before {
  content: ''; position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,245,66,.65), transparent);
  opacity: .6; transition: opacity var(--normal);
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200,245,66,.45);
  box-shadow: 0 16px 48px rgba(0,0,0,.45), 0 0 42px rgba(200,245,66,.22);
}
.price-card:hover::before { opacity: 1; }

.price-card.featured {
  background: linear-gradient(160deg, rgba(200,245,66,.14), rgba(91,232,76,.05) 55%, rgba(255,255,255,.02));
  border-color: rgba(200,245,66,.55);
  box-shadow: 0 8px 40px rgba(0,0,0,.4), 0 0 46px rgba(200,245,66,.28), inset 0 0 24px rgba(200,245,66,.05);
}
.price-card.featured:hover {
  box-shadow: 0 16px 52px rgba(0,0,0,.5), 0 0 64px rgba(200,245,66,.4), inset 0 0 24px rgba(200,245,66,.07);
}

.pc-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; white-space: nowrap;
  background: var(--g-accent); color: #0A0A0A;
  border-radius: var(--r-pill);
  font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(200,245,66,.5);
}

.pc-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px; font-weight: 600; color: var(--white);
  margin-bottom: 12px;
}
.pc-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 38px; font-weight: 700; color: var(--white);
  line-height: 1.1; margin-bottom: 12px;
  display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap;
}
.pc-price small { font-size: 16px; font-weight: 600; color: var(--accent); }
.pc-price span  { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.pc-price em    { font-size: 12px; font-style: normal; font-weight: 500; color: var(--text-muted); width: 100%; }
.pc-ideal {
  font-size: 13px; line-height: 1.65; color: var(--text-muted);
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.pc-features { display: flex; flex-direction: column; gap: 9px; flex: 1; margin-bottom: 24px; }
.pc-features li {
  position: relative; padding-left: 24px;
  font-size: 13.5px; line-height: 1.5; color: var(--text);
}
.pc-features li::before {
  content: '✦'; position: absolute; left: 2px; top: 0;
  color: var(--accent); font-size: 11px;
}
.pc-cta { width: 100%; justify-content: center; }

/* Arte avulsa — item à la carte, fora dos planos mensais */
.avulso {
  margin-top: 18px;
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 20px 28px;
  padding: 26px 30px;
  border: 1px solid var(--border-md);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, var(--accent-lo), transparent 60%),
    var(--bg-2);
  position: relative; overflow: hidden;
}
.avulso::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--g-accent);
}
.avulso-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
  padding: 5px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--accent-mid); background: var(--accent-lo);
  align-self: flex-start;
}
.avulso-main { flex: 1 1 260px; }
.avulso-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 600; color: var(--white);
  margin-bottom: 6px;
}
.avulso-desc { font-size: 13.5px; line-height: 1.6; color: var(--text-muted); max-width: 46ch; }
.avulso-price { text-align: right; }
.avulso-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px; font-weight: 700; color: var(--white); line-height: 1;
  display: flex; align-items: baseline; gap: 4px; justify-content: flex-end;
}
.avulso-value small { font-size: 16px; font-weight: 600; color: var(--accent); }
.avulso-value span  { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.avulso-extra { margin-top: 6px; font-size: 12.5px; color: var(--text-muted); }
.avulso-cta { flex: 0 0 auto; }

@media (max-width: 640px) {
  .avulso { flex-direction: column; align-items: stretch; text-align: left; padding: 22px; }
  .avulso-price { text-align: left; }
  .avulso-value { justify-content: flex-start; }
  .avulso-cta { width: 100%; justify-content: center; }
}

.pricing-note { text-align: center; margin-top: 40px; font-size: 15px; color: var(--text-muted); }
.pricing-note a { color: var(--accent); font-weight: 600; }
.pricing-note a:hover { text-decoration: underline; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-2); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.ci-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--bg-3); border: 1px solid var(--border-md);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.ci-text { display: flex; flex-direction: column; gap: 4px; }
.ci-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); }
.ci-value { font-size: 15px; color: var(--text); transition: color var(--fast); }
a.ci-value:hover { color: var(--accent); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); }
.form-input {
  width: 100%; padding: 13px 16px;
  background: var(--bg-3); border: 1px solid var(--border-md);
  border-radius: var(--r-md);
  color: var(--text); font-size: 15px;
  outline: none; transition: border-color var(--fast), box-shadow var(--fast);
}
.form-input::placeholder { color: var(--text-dim); }
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,245,66,.1); }
.form-input.invalid { border-color: #EF4444; box-shadow: 0 0 0 3px rgba(239,68,68,.08); }
.form-select {
  appearance: none; cursor: var(--cur-pen-hover), pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath d='M8 10.5L2 4.5h12L8 10.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form-select option { background: var(--bg-3); }
.form-textarea { resize: vertical; min-height: 120px; }
.btn-submit { width: 100%; justify-content: center; padding: 15px 26px; font-size: 15px; }
.contact-actions .btn-submit { width: auto; flex: 1.2; }
.contact-actions .btn-outline { flex: 1; }
.btn-label { flex: 1; text-align: center; }
.form-success {
  display: none; padding: 14px 18px;
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3);
  border-radius: var(--r-md); color: #22c55e;
  font-size: 14px; text-align: center;
}
.form-success.show { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 36px 0; border-top: 1px solid var(--border); position: relative; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; color: var(--white); }
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  background: var(--bg-3); border: 1px solid var(--border-md);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all var(--fast);
}
.social-btn svg { width: 16px; height: 16px; }
.social-btn:hover { background: var(--accent-lo); border-color: var(--accent-mid); color: var(--accent); transform: translateY(-2px); }

.back-top {
  position: absolute; right: 32px; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  background: var(--bg-3); border: 1px solid var(--border-md);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  opacity: 0; pointer-events: none;
  transition: all var(--normal);
}
.back-top svg { width: 17px; height: 17px; }
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { border-color: var(--accent); color: var(--accent); transform: translateY(calc(-50% - 2px)); }

/* ============================================================
   EDUCATION / FORMAÇÕES
   ============================================================ */
.education { background: var(--bg); }

.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* .edu-card compartilha o estilo dos quadros de skills (ver seção SKILLS) */

/* ============================================================
   ÍCONES CUSTOMIZADOS SVG
   ============================================================ */
.ci-icon svg  { width: 22px; height: 22px; display: block; overflow: visible; }
.fb-icon svg  { width: 28px; height: 28px; display: block; overflow: visible; }
.detail-ico svg { overflow: visible; }
.project-thumb-ico svg { width: 54px; height: 54px; display: block; }

/* ============================================================
   PROJECT — UI DESIGN CARD
   ============================================================ */
.project-card[data-color="teal"] .project-thumb { background: var(--g-teal); }

.project-interactive-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 4px 11px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; color: #fff;
  letter-spacing: .8px; text-transform: uppercase;
  backdrop-filter: blur(8px);
  animation: liveBlink 2.4s ease-in-out infinite;
}
@keyframes liveBlink {
  0%,80%,100% { opacity: 1; }
  90%          { opacity: 0.4; }
}

/* mini browser preview inside thumb */
.ui-thumb-preview {
  width: 170px; background: #f9f9f9;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 10px 32px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.1);
  transform: perspective(600px) rotateX(8deg) rotateY(-6deg);
  transition: transform var(--normal);
}
.project-card:hover .ui-thumb-preview {
  transform: perspective(600px) rotateX(4deg) rotateY(0deg) scale(1.04);
}
.utp-bar {
  height: 22px; background: #e8e8e8;
  display: flex; align-items: center; padding: 0 8px;
  border-bottom: 1px solid #ddd;
}
.utp-dots { display: flex; gap: 4px; }
.utp-dots i {
  display: block; width: 7px; height: 7px; border-radius: 50%;
  font-style: normal;
}
.utp-dots i:nth-child(1) { background: #FF5F57; }
.utp-dots i:nth-child(2) { background: #FEBC2E; }
.utp-dots i:nth-child(3) { background: #28C840; }
.utp-body { padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.utp-line  { height: 5px; background: #ccc; border-radius: 3px; }
.utp-line.w70 { width: 70%; }
.utp-line.w45 { width: 45%; }
.utp-line.w55 { width: 55%; }
.utp-btn-row { display: flex; gap: 8px; margin-top: 4px; }
.utp-btn { height: 14px; width: 52px; background: #aaa; border-radius: 4px; }
.utp-btn.ghost { background: transparent; border: 1.5px solid #ccc; }

/* project-link as button */
button.project-link {
  background: none; border: none; cursor: var(--cur-pen-hover), pointer;
  font-family: inherit;
}

/* ============================================================
   UI DEMO MODAL
   ============================================================ */
.ui-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.ui-modal.open { opacity: 1; pointer-events: auto; }

.ui-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(14px);
}

.ui-modal-frame {
  position: relative; z-index: 1;
  width: min(980px, 100%);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.08);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s var(--ease);
}
.ui-modal.open .ui-modal-frame { transform: translateY(0) scale(1); }

/* Browser chrome */
.browser-chrome {
  display: flex; align-items: center; gap: 12px;
  background: #1C1C1C; padding: 11px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.browser-dots { display: flex; gap: 7px; align-items: center; }
.bd { width: 13px; height: 13px; border-radius: 50%; display: block; }
.bd-close { background: #FF5F57; border: none; cursor: var(--cur-pen-hover), pointer; }
.bd-close:hover { filter: brightness(1.15); }
.bd-min  { background: #FEBC2E; }
.bd-max  { background: #28C840; }
.browser-urlbar {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px; padding: 5px 14px;
  font-size: 12px; color: rgba(255,255,255,0.4);
}
.url-lock-ico { width: 10px; height: 12px; flex-shrink: 0; opacity: 0.5; }
.url-text { font-size: 12px; }
.browser-chrome-right { width: 60px; }

/* Demo site area */
.demo-container {
  position: relative; height: 500px; overflow: hidden;
  background: #f5f5f5;
}

/* ── Toggle bar ── */
.demo-toggle-bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 28px;
  background: rgba(8,8,8,0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.dtb-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; color: rgba(255,255,255,0.75);
  line-height: 1.4;
}
.dtb-text strong { color: var(--accent); font-weight: 700; }

.lever-wrapper { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.lever-lbl {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.3);
  letter-spacing: .5px; transition: color var(--normal);
  user-select: none;
}
.lever-lbl.active { color: var(--white); }
.lever-lbl.accent  { color: var(--accent); }

/* Alavanca / Lever */
.lever {
  position: relative;
  width: 88px; height: 42px;
  background: rgba(255,255,255,0.09);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 21px;
  cursor: var(--cur-pen-hover), pointer;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
  user-select: none;
  flex-shrink: 0;
}
.lever.on {
  background: rgba(200,245,66,0.22);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(200,245,66,0.35), inset 0 0 10px rgba(200,245,66,0.08);
}
.lever-thumb {
  position: absolute;
  top: 5px; left: 5px;
  width: 28px; height: 28px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
  transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.35s, box-shadow 0.35s;
  pointer-events: none;
}
.lever.on .lever-thumb {
  left: calc(100% - 33px);
  background: var(--accent);
  box-shadow: 0 0 14px rgba(200,245,66,0.6);
}
.lever.dragging .lever-thumb { transition: none; }

/* ── Demo pages ── */
.demo-page {
  position: absolute; inset: 0;
  padding-top: 58px;
  transition: opacity 0.5s var(--ease);
  overflow: hidden;
}
.demo-before { background: #f5f5f5; opacity: 1; }
.demo-after  { background: #050510; opacity: 0; pointer-events: none; }
.demo-before.fade-out { opacity: 0; pointer-events: none; }
.demo-after.fade-in   { opacity: 1; pointer-events: auto; }

/* ── BEFORE: site simples ── */
.db-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 28px; background: #fff; border-bottom: 1px solid #ddd;
}
.db-logo { font-family: Arial, sans-serif; font-weight: 700; font-size: 16px; color: #333; }
.db-links { display: flex; gap: 22px; }
.db-links span { font-family: Arial, sans-serif; font-size: 13px; color: #777; cursor: default; }

.db-hero { padding: 50px 28px; text-align: center; }
.db-over { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: #bbb; margin-bottom: 14px; }
.db-hero h1 { font-family: Arial, sans-serif; font-size: 34px; font-weight: 700; color: #222; margin-bottom: 16px; line-height: 1.3; }
.db-desc { font-family: Arial, sans-serif; font-size: 15px; color: #777; margin-bottom: 28px; max-width: 420px; margin-left: auto; margin-right: auto; line-height: 1.65; }
.db-actions { display: flex; gap: 12px; justify-content: center; }
.db-cta { padding: 11px 30px; background: #555; color: #fff; border: none; font-family: Arial, sans-serif; font-size: 14px; cursor: default; border-radius: 4px; }
.db-cta-sec { padding: 11px 30px; background: transparent; color: #555; border: 1.5px solid #ccc; border-radius: 4px; font-family: Arial, sans-serif; font-size: 14px; cursor: default; }
.db-footer { padding: 16px 28px; border-top: 1px solid #eee; text-align: center; font-family: Arial, sans-serif; font-size: 12px; color: #bbb; position: absolute; bottom: 0; left: 0; right: 0; }

/* ── AFTER: site incrível ── */
.da-bg { position: absolute; inset: 0; overflow: hidden; }
.da-glow-1 {
  position: absolute; top: -100px; left: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,245,66,0.2) 0%, transparent 65%);
  animation: glowFloat 5s ease-in-out infinite;
}
.da-glow-2 {
  position: absolute; bottom: -80px; right: -60px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(100,40,200,0.18) 0%, transparent 65%);
  animation: glowFloat 5s ease-in-out 2.5s infinite;
}
@keyframes glowFloat {
  0%,100% { transform: scale(1) translate(0,0); }
  50%      { transform: scale(1.12) translate(12px,-12px); }
}
.da-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.027) 1px, transparent 1px);
  background-size: 52px 52px;
}
.da-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.da-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0%   { transform: translateY(0) scale(1); opacity: 0.7; }
  100% { transform: translateY(-420px) scale(0); opacity: 0; }
}

.da-nav {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.da-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px; font-weight: 800; color: #fff;
}
.da-logo span { color: var(--accent); }
.da-logo em { color: var(--accent); font-style: normal; }
.da-links { display: flex; gap: 20px; }
.da-links span { font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: rgba(255,255,255,0.55); cursor: default; }
.da-nav-btn {
  padding: 8px 20px; background: var(--accent); color: #0A0A0A;
  border: none; border-radius: 20px; font-size: 13px; font-weight: 700;
  cursor: default; font-family: 'Space Grotesk', sans-serif;
  box-shadow: 0 4px 16px rgba(200,245,66,0.4);
}

.da-hero {
  position: relative; z-index: 10;
  padding: 36px 28px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}

.da-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 16px;
  background: rgba(200,245,66,0.12); border: 1px solid rgba(200,245,66,0.4);
  border-radius: 20px; font-size: 12px; font-weight: 700; color: var(--accent);
  font-family: 'Space Grotesk', sans-serif;
  animation: badgePulse 2.5s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(200,245,66,0.25); }
  50%      { box-shadow: 0 0 0 6px rgba(200,245,66,0); }
}

.da-headline { display: flex; flex-direction: column; line-height: 1.08; }
.da-line-1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px; font-weight: 700; color: #fff;
}
.da-line-2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px; font-weight: 800;
  background: linear-gradient(135deg, #C8F542 0%, #5BE84C 50%, #EFFFC8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite alternate;
  background-size: 200%;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.da-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.75;
  max-width: 440px;
}

.da-actions { display: flex; gap: 12px; margin-top: 4px; }
.da-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; background: var(--accent); color: #0A0A0A;
  border: none; border-radius: 26px;
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 700;
  cursor: default;
  box-shadow: 0 8px 28px rgba(200,245,66,0.45);
  animation: btnGlow 2.5s ease-in-out infinite;
}
@keyframes btnGlow {
  0%,100% { box-shadow: 0 8px 28px rgba(200,245,66,0.45); }
  50%      { box-shadow: 0 8px 40px rgba(200,245,66,0.7); transform: translateY(-1px); }
}
.da-btn-arrow { display: inline-block; animation: arrowBounce 1s ease-in-out infinite; }
@keyframes arrowBounce {
  0%,100% { transform: translateX(0); }
  50%      { transform: translateX(3px); }
}
.da-btn-ghost {
  padding: 13px 26px; background: transparent; color: rgba(255,255,255,0.65);
  border: 1.5px solid rgba(255,255,255,0.18); border-radius: 26px;
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600;
  cursor: default;
}

.da-stats { display: flex; align-items: center; gap: 22px; padding-top: 6px; }
.da-stat { display: flex; flex-direction: column; gap: 2px; }
.da-stat strong {
  font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; color: #fff;
}
.da-stat small { font-size: 11px; color: rgba(255,255,255,0.35); letter-spacing: .5px; }
.da-sep { width: 1px; height: 30px; background: rgba(255,255,255,0.1); }

/* Entry animations for after-state elements */
.demo-after.fade-in .da-badge    { animation: fadeUp 0.5s var(--ease) 0.05s both; }
.demo-after.fade-in .da-headline { animation: fadeUp 0.5s var(--ease) 0.12s both; }
.demo-after.fade-in .da-desc     { animation: fadeUp 0.5s var(--ease) 0.22s both; }
.demo-after.fade-in .da-actions  { animation: fadeUp 0.5s var(--ease) 0.32s both; }
.demo-after.fade-in .da-stats    { animation: fadeUp 0.5s var(--ease) 0.42s both; }
.demo-after.fade-in .da-nav      { animation: fadeDown 0.4s var(--ease) 0.02s both; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp   { from { opacity: 0; transform: translateY(24px);  } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .pricing-grid.cols-3 { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .pricing-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { order: -1; }
  .pricing-grid { row-gap: 26px; }
  .about-grid    { grid-template-columns: 1fr; gap: 48px; }
  .about-visual  { order: -1; }
  .photo-frame   { width: 240px; height: 290px; }
  .floating-badge { right: -10px; }
  .skills-grid   { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .edu-grid      { grid-template-columns: repeat(2, 1fr); }
  .contact-grid  { grid-template-columns: 1fr; gap: 48px; }

  .hero-cols { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-text { align-items: center; text-align: center; max-width: 720px; margin: 0 auto; }
  .hero-tags, .hero-actions { justify-content: center; }
  .hero-role-line { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-photo-wrap { width: min(300px, 72vw); }
  .hero-float-tag.t1 { left: -4%; }
  .hero-float-tag.t2 { right: -4%; }

  .hero-statsbar { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .hs-item { align-items: center; text-align: center; }
  .hs-item strong { justify-content: center; }
  .hs-item:nth-child(3) { border-left: none; }
  .hv-b1 { width: 240px; height: 240px; }
  .hv-b2 { display: none; }

  .edu-row { grid-template-columns: 48px 1fr; }
  .edu-tag { grid-column: 2; justify-self: start; }
}

@media (max-width: 768px) {
  :root { --py: 80px; --px: 20px; }

  /* Mobile nav */
  .nav-pill-wrap { background: none; border-color: transparent; padding: 0; }
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0;
    background: rgba(8,8,8,.97);
    justify-content: center; align-items: center; gap: 28px;
    z-index: 899; backdrop-filter: blur(8px);
  }
  .nav-links.open .nav-link {
    font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 600;
    padding: 10px 24px; background: none;
  }
  .nav-links.open .nav-link.active { color: var(--accent); }
  /* Modal on mobile */
  .ui-modal { padding: 12px 8px; }
  .ui-modal-frame { border-radius: 14px; }
  .browser-chrome { padding: 8px 12px; gap: 8px; }
  .browser-chrome-right { display: none; }
  .browser-urlbar { padding: 4px 10px; }
  .url-text { font-size: 10px; }
  .bd { width: 10px; height: 10px; }
  .bd-close { width: 30px; height: 30px; border-radius: 50%; }
  .demo-toggle-bar { flex-direction: column; gap: 8px; padding: 10px 14px; }
  .dtb-text { font-size: 11.5px; text-align: center; }
  .lever-wrapper { justify-content: center; }
  .lever { width: 72px; height: 36px; }
  .lever-thumb { width: 24px; height: 24px; top: 4px; left: 4px; }
  .lever.on .lever-thumb { left: calc(100% - 28px); }
  .demo-container { height: 360px; }
  .demo-page { padding-top: 80px; }
  .da-nav { padding: 10px 14px; }
  .da-logo { font-size: 14px; }
  .da-nav-btn { display: none; }
  .da-links { display: none; }
  .da-hero { padding: 18px 14px; gap: 10px; }
  .da-line-1, .da-line-2 { font-size: 22px; }
  .da-desc { font-size: 13px; }
  .da-stats { gap: 10px; flex-wrap: wrap; }
  .da-stat strong { font-size: 20px; }
  .db-nav { padding: 10px 14px; }
  .db-logo { font-size: 14px; }
  .db-links { display: none; }
  .db-hero { padding: 28px 14px; }
  .db-hero h1 { font-size: 22px; }
  .db-desc { font-size: 13px; }
  .db-actions { flex-direction: column; gap: 8px; align-items: center; }
  .db-cta, .db-cta-sec { padding: 9px 24px; font-size: 13px; }

  .hero { padding: 110px 0 72px; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-statsbar { grid-template-columns: 1fr 1fr; }
  .hs-item { padding-top: 16px; }
  .hero-float-tag { font-size: 11px; padding: 6px 11px; }
  .scroll-cue { display: none; }
  .wa-float { right: 16px; bottom: 16px; padding: 14px; border-radius: 50%; }
  .wa-float span { display: none !important; }
  .pricing-tabs {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 6px; scrollbar-width: none;
  }
  .pricing-tabs::-webkit-scrollbar { display: none; }
  .pricing-tab { flex-shrink: 0; }

  .about-details { grid-template-columns: 1fr; }

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

  .form-row { grid-template-columns: 1fr; }

  .pricing-grid.cols-4 { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .pricing-tabs { gap: 8px; }
  .pricing-tab { padding: 9px 15px; font-size: 13px; }
  .pricing-orb { filter: blur(70px); }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .back-top { position: static; transform: none; margin-top: 4px; }
  .back-top.show { display: flex; }
}

@media (max-width: 480px) {
  .hero-name   { letter-spacing: -2px; }
  .hero-stats  { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  body { cursor: auto; }
  a, button, .hamburger, .lever, .form-select, button.project-link, .bd-close,
  .pricing-tab, .filter-chip, .wa-float { cursor: pointer; }
  .form-input { cursor: text; }
}


