*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: var(--primary); color: #fff; }
::-moz-selection { background: var(--primary); color: #fff; }
:root {
  /* Brand */
  --primary: #8A00C4;
  --primary-hover: #6E009D;
  --primary-glow: rgba(138,0,196,0.28);
  --primary-dim: rgba(138,0,196,0.10);
  /* Dark theme (default) */
  --bg: #111111;
  --bg-nav: rgba(17,17,17,0.75);
  --surface: #1c1c1c;
  --surface2: #242424;
  --border: #2c2c2c;
  --border2: #3d3d3d;
  --text: #f2f0f4;
  --text-muted: #928C97;
  --text-dim: #504a55;
  --card-bg: #191919;
  --font-d: 'Syne', sans-serif;
  --font-m: 'DM Mono', monospace;
}

/* Light theme */
[data-theme="light"] {
  --bg: #ededed;
  --bg-nav: rgba(237,237,237,0.82);
  --surface: #e0e0e0;
  --surface2: #d4d4d4;
  --border: #c8c8c8;
  --border2: #b0b0b0;
  --text: #1a1a1a;
  --text-muted: #5a5560;
  --text-dim: #9a9499;
  --card-bg: #e6e6e6;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-d); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background 0.3s ease, color 0.3s ease; }

/* Theme switch smooth transition — only color/bg, not transforms */
body, nav, footer, section,
.tl-card, .stat-card, .tech-item, .badge, .btn-secondary,
.expand-btn, .copy-btn, .footer-link, .nav-links a, .nav-cta,
.manifesto-pill, .photo-frame, .photo-placeholder,
.section-label, .about-headline, .about-body p, .tl-title, .tl-desc,
.tl-year, .tl-link, .tech-name, .contact-headline, .contact-sub,
.footer-left, .stack-sub, .stack-headline, .stat-label,
.manifesto-tag, .manifesto-text, .at-role, .at-company, .at-year {
  transition: background-color 0.3s ease, border-color 0.3s ease,
              color 0.3s ease, box-shadow 0.3s ease !important;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }

body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1000; opacity: 0.25;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.grid-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(197,77,206,0.075) 1px,transparent 1px), linear-gradient(90deg,rgba(197,77,206,0.075) 1px,transparent 1px);
  background-size: 64px 64px;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem,6vw,5rem); height: 60px;
  background: var(--bg-nav); backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-size: 0.9rem; font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.nav-logo span { color: var(--text-dim); font-weight: 400; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.74rem; font-weight: 500; color: var(--text-muted); text-decoration: none; letter-spacing: 0.07em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { font-size: 0.73rem; padding: 0.38rem 0.95rem; background: transparent; border: 1px solid var(--border2); color: var(--text-muted); border-radius: 6px; cursor: pointer; font-family: var(--font-d); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; transition: all 0.2s; }
.nav-cta:hover { background: var(--surface); color: var(--text); }
.nav-cta.copied { color: var(--primary); border-color: var(--primary-glow); }
.nav-right { display: flex; align-items: center; gap: 0.75rem; }
.theme-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border2);
  border-radius: 8px; cursor: pointer; color: var(--text-muted);
  transition: all 0.2s; flex-shrink: 0;
}
.theme-btn:hover { background: var(--surface); color: var(--text); border-color: var(--primary); }
.theme-btn .icon-sun { display: none; }
.theme-btn .icon-moon { display: block; }
[data-theme="light"] .theme-btn .icon-sun { display: block; }
[data-theme="light"] .theme-btn .icon-moon { display: none; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text-muted); transition: all 0.3s; }
.mobile-menu { display: none; position: fixed; top: 60px; left: 0; right: 0; background: var(--bg-nav); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 1.5rem clamp(1.5rem,6vw,5rem); flex-direction: column; gap: 1.5rem; z-index: 99; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1rem; font-weight: 500; color: var(--text-muted); text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s; }
.mobile-menu a:hover { color: var(--text); }

/* HERO */
#inicio { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 0 clamp(1.5rem,8vw,10rem); padding-top: 80px; overflow: hidden; z-index: 1; }

.hero-mesh { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.mesh-blob { position: absolute; border-radius: 50%; filter: blur(110px); }
.mesh-blob:nth-child(1) { width: 700px; height: 700px; background: radial-gradient(circle, var(--primary-dim), transparent 65%); top: -10%; left: -10%; animation: mf 20s ease-in-out infinite; }
.mesh-blob:nth-child(2) { width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,204,51,0.04), transparent 65%); top: 40%; left: 50%; animation: mf 26s ease-in-out infinite reverse; animation-delay: -8s; }
.mesh-blob:nth-child(3) { width: 350px; height: 350px; background: radial-gradient(circle, rgba(138,0,196,0.03), transparent 65%); bottom: 5%; right: 5%; animation: mf 32s ease-in-out infinite; animation-delay: -14s; }
@keyframes mf { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(40px,-30px) scale(1.06)} 66%{transform:translate(-25px,35px) scale(0.96)} }

.orbit-rings { position: absolute; top: 50%; left: clamp(1.5rem,8vw,10rem); pointer-events: none; z-index: 0; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(138,0,196,0.05); top: 0; left: 0; transform: translate(-50%,-50%); }
.orbit-ring:nth-child(1) { width: 680px; height: 680px; animation: spin 70s linear infinite; }
.orbit-ring:nth-child(2) { width: 480px; height: 480px; animation: spin 52s linear infinite reverse; border-color: rgba(138,0,196,0.03); }
.orbit-ring:nth-child(3) { width: 320px; height: 320px; animation: spin 38s linear infinite; border-color: rgba(138,0,196,0.06); }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.hero-inner { position: relative; z-index: 2; max-width: 1200px; opacity: 0; transform: translateY(28px); animation: fadeUp 0.9s cubic-bezier(.22,1,.36,1) 0.15s forwards; }
@keyframes fadeUp { to { opacity:1; transform:translateY(0); } }

.hero-label { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-m); font-size: 0.68rem; color: var(--text-dim); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.75rem; }
.hero-label::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary), 0 0 22px rgba(138,0,196,0.5); animation: pulse 2.4s ease infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.35;transform:scale(0.75)} }

.hero-name {
  font-size: clamp(2rem,11vw,9rem); font-weight: 800; line-height: 0.88; letter-spacing: -0.04em;
  color: var(--primary);
  margin-bottom: 1.6rem; position: relative;
  filter: drop-shadow(0 0 40px rgba(138,0,196,0.35));
  text-wrap: balance;
}

.hero-tagline { font-size: clamp(0.95rem,2.2vw,1.25rem); color: var(--text-muted); font-weight: 400; line-height: 1.7; max-width: 520px; margin-bottom: 1.2rem; }
.hero-tagline em { font-style: normal; color: var(--text); font-weight: 600; }

.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.btn-primary { display:inline-flex; align-items:center; gap:0.45rem; padding:0.68rem 1.5rem; background:var(--primary); color:#fff; border:none; border-radius:8px; font-family:var(--font-d); font-size:0.82rem; font-weight:700; cursor:pointer; text-decoration:none; transition:all 0.2s; letter-spacing:-0.01em; }
.btn-primary:hover { background:var(--primary-hover); transform:translateY(-1px); box-shadow: 0 4px 20px var(--primary-glow); }
.btn-secondary { display:inline-flex; align-items:center; gap:0.45rem; padding:0.68rem 1.5rem; background:transparent; color:var(--text-muted); border:1px solid var(--border); border-radius:8px; font-family:var(--font-d); font-size:0.82rem; font-weight:500; cursor:pointer; text-decoration:none; transition:all 0.2s; }
.btn-secondary:hover { border-color:var(--border2); color:var(--text); background:var(--surface); }

.hero-scroll { position:absolute; bottom:2.5rem; left:50%; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center; gap:0.5rem; z-index:2; }
.hero-scroll span { font-family:var(--font-m); font-size:0.58rem; color:var(--text-dim); letter-spacing:0.12em; text-transform:uppercase; }
.scroll-line { width:1px; height:44px; background:linear-gradient(to bottom,var(--border2),transparent); animation:sln 2s ease infinite; }
@keyframes sln { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* SECTIONS */
section { position:relative; z-index:1; padding:clamp(5rem,10vw,9rem) clamp(1.5rem,8vw,10rem); }
.section-label { display:flex; align-items:center; gap:0.75rem; font-family:var(--font-m); font-size:0.67rem; color:var(--text-dim); letter-spacing:0.15em; text-transform:uppercase; margin-bottom:3rem; }
.section-label::before { content:''; display:block; width:24px; height:2px; background:var(--primary); border-radius:2px; }

/* MANIFESTO */
#manifesto { border-top:1px solid var(--border); text-align:center; }
.manifesto-tag { display:inline-block; font-family:var(--font-m); font-size:0.63rem; color:var(--text-dim); letter-spacing:0.16em; text-transform:uppercase; margin-bottom:2rem; }
.manifesto-text { font-size:clamp(1.7rem,4.2vw,3.4rem); font-weight:800; line-height:1.12; letter-spacing:-0.04em; max-width:820px; margin:0 auto 2rem; text-wrap:balance; }
.manifesto-text .dim { color:var(--text-muted); font-weight:500; }
.manifesto-text .acc { color: var(--primary); }
.manifesto-pills { display:flex; justify-content:center; flex-wrap:wrap; gap:0.75rem; margin-top:2.5rem; }
.manifesto-pill { font-family:var(--font-m); font-size:0.65rem; color:var(--text-dim); letter-spacing:0.1em; text-transform:uppercase; padding:0.4rem 0.9rem; border:1px solid var(--border); border-radius:20px; background:rgba(255,255,255,0.012); }

/* SOBRE */
#sobre .about-grid { display:grid; grid-template-columns:1.15fr 0.85fr; gap:5rem; align-items:start; }
.about-headline { font-size:clamp(1.8rem,3.6vw,2.9rem); font-weight:700; line-height:1.12; letter-spacing:-0.03em; color:var(--text); margin-bottom:1.75rem; text-wrap:balance; }
.about-headline span { color:var(--text-muted); }
.about-body { display:flex; flex-direction:column; gap:1rem; }
.about-body p { color:var(--text-muted); font-size:0.88rem; line-height:1.85; }
.about-body p strong { color:var(--text); font-weight:600; }

.about-timeline { display:flex; flex-direction:column; margin-top:2.25rem; }
.at-item { display:flex; gap:1.25rem; padding-bottom:1.6rem; position:relative; }
.at-item::before { content:''; position:absolute; left:0.3rem; top:1.4rem; bottom:0; width:1px; background:var(--border); }
.at-item:last-child::before { display:none; }
.at-dot { flex-shrink:0; width:8px; height:8px; border-radius:50%; background:var(--surface2); border:1px solid var(--border2); margin-top:0.35rem; }
.at-year { font-family:var(--font-m); font-size:0.63rem; color:var(--text-dim); letter-spacing:0.1em; margin-bottom:0.2rem; }
.at-role { font-size:0.87rem; font-weight:600; color:var(--text); margin-bottom:0.15rem; }
.at-company { font-size:0.78rem; color:var(--text-muted); }

.about-right { display:flex; flex-direction:column; gap:1.25rem; position:sticky; top:90px; }
.stats-grid { display:grid; grid-template-columns:1fr 1fr; gap:0.85rem; }

/* FOTO */
.photo-frame {
  position: relative;
  width: 100%; max-width: 320px;
  aspect-ratio: 3/4;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  align-self: center;
}
.photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block; transition: transform 0.5s ease;
}
.photo-frame:hover img { transform: scale(1.04); }

.photo-placeholder {
  width: 100%; height: 100%; min-height: 180px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.85rem;
  background: var(--surface);
}
.photo-placeholder svg { opacity: 0.15; }
.photo-placeholder-text {
  font-family: var(--font-m); font-size: 0.58rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); text-align: center; line-height: 1.7;
}
.photo-upload-hint {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem 0.75rem 0.75rem;
  background: linear-gradient(to top, rgba(17,17,17,0.85) 0%, transparent 100%);
  font-family: var(--font-m); font-size: 0.58rem;
  color: var(--text-muted); letter-spacing: 0.1em;
  text-transform: uppercase; text-align: center;
  opacity: 0; transition: opacity 0.25s;
}
.photo-frame:hover .photo-upload-hint { opacity: 1; }
#photoInput { display: none; }

.stat-card { padding:1.35rem 1.5rem; background:var(--surface); border:1px solid var(--border); border-radius:12px; transition:border-color 0.2s; }
.stat-card:hover { border-color:var(--border2); }
.stat-number { font-size:2.2rem; font-weight:800; letter-spacing:-0.04em; color:var(--primary); line-height:1; margin-bottom:0.3rem; }
.stat-label { font-family:var(--font-m); font-size:0.64rem; color:var(--text-dim); letter-spacing:0.08em; text-transform:uppercase; }

/* PROJETOS */
#projetos .timeline { position:relative; padding-left:clamp(2rem,5vw,4rem); }
#projetos .timeline::before { content:''; position:absolute; left:0; top:0.5rem; bottom:0.5rem; width:1px; background:linear-gradient(to bottom,transparent,var(--border) 10%,var(--border) 90%,transparent); }
.tl-item { position:relative; margin-bottom:2.75rem; opacity:0; transform:translateX(-18px); transition:opacity 0.65s ease,transform 0.65s ease; }
.tl-item.visible { opacity:1; transform:translateX(0); }
.tl-item::before { content:''; position:absolute; left:clamp(-2.5rem,-5.5vw,-4.5rem); top:0.6rem; width:7px; height:7px; border-radius:50%; background:var(--surface2); border:1px solid var(--border2); transition:background 0.3s,box-shadow 0.3s; }
.tl-item:hover::before { background:var(--primary); box-shadow:0 0 10px var(--primary-glow); border-color:var(--primary); }
.tl-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:1.5rem 1.75rem; transition:border-color 0.3s,transform 0.3s; position:relative; overflow:hidden; cursor:default; }
.tl-card::before { content:''; position:absolute; inset:0; background:radial-gradient(480px circle at var(--x,50%) var(--y,50%),rgba(138,0,196,0.04),transparent 50%); opacity:0; transition:opacity 0.3s; }
.tl-card:hover::before { opacity:1; }
.tl-card:hover { border-color:var(--primary); transform:translateY(-2px); }
.tl-year { font-family:var(--font-m); font-size:0.63rem; color:var(--text-muted); letter-spacing:0.1em; text-transform:uppercase; margin-bottom:0.55rem; }
.tl-title { font-size:1.07rem; font-weight:700; letter-spacing:-0.02em; color:var(--text); margin-bottom:0.7rem; }
.tl-badges { display:flex; flex-wrap:wrap; gap:0.35rem; margin-bottom:0.85rem; }
.badge { font-family:var(--font-m); font-size:0.6rem; padding:0.2rem 0.55rem; border-radius:4px; border:1px solid var(--border); color:var(--text-muted); background:var(--bg); letter-spacing:0.04em; font-weight:500; }
.tl-desc { color:var(--text-muted); font-size:0.86rem; line-height:1.8; }
.tl-link { display:inline-flex; align-items:center; gap:0.4rem; margin-top:1rem; font-family:var(--font-m); font-size:0.66rem; color:var(--text-dim); text-decoration:none; letter-spacing:0.07em; text-transform:uppercase; transition:color 0.2s; }
.tl-card:hover .tl-link { color:var(--text-muted); }
.tl-link:hover { color:var(--text) !important; }
.tl-link svg { transition:transform 0.2s; }
.tl-link:hover svg { transform:translateX(3px); }

/* STACK */
#stack { border-top:1px solid var(--border); }
.stack-header { max-width:580px; margin-bottom:3.5rem; }
.stack-headline { font-size:clamp(1.7rem,3.8vw,2.7rem); font-weight:700; letter-spacing:-0.03em; color:var(--text); margin-bottom:0.55rem; text-wrap:balance; }
.stack-sub { color:var(--text-muted); font-size:0.87rem; line-height:1.7; }

.tech-category { margin-bottom:2.5rem; }
.tech-cat-label { font-family:var(--font-m); font-size:0.63rem; color:var(--text-dim); letter-spacing:0.12em; text-transform:uppercase; margin-bottom:0.9rem; display:flex; align-items:center; gap:0.7rem; }
.tech-cat-label::after { content:''; flex:1; height:1px; background:var(--border); }

.tech-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(96px,1fr)); gap:0.7rem; }
.tech-item { display:flex; flex-direction:column; align-items:center; gap:0.5rem; padding:1.1rem 0.7rem; background:var(--surface); border:1px solid var(--border); border-radius:10px; transition:all 0.22s; opacity:0; transform:translateY(12px); }
.tech-item.visible { opacity:1; transform:translateY(0); }
.tech-item:hover { border-color:var(--border2); background:var(--surface2); transform:translateY(-3px); }
.tech-icon { width:32px; height:32px; display:flex; align-items:center; justify-content:center; }
.tech-icon i { font-size:1.9rem; }
.tech-name { font-family:var(--font-m); font-size:0.6rem; color:var(--text-muted); letter-spacing:0.05em; text-transform:uppercase; text-align:center; }

.tech-extra { display:none; }
.tech-extra.expanded { display:flex; }

.expand-btn { display:inline-flex; align-items:center; gap:0.6rem; margin-top:1.75rem; padding:0.55rem 1.3rem; background:transparent; border:1px solid var(--border); border-radius:8px; color:var(--text-muted); font-family:var(--font-m); font-size:0.7rem; letter-spacing:0.08em; text-transform:uppercase; cursor:pointer; transition:all 0.2s; }
.expand-btn:hover { border-color:var(--border2); color:var(--text); background:var(--surface); }
.expand-btn svg { transition:transform 0.3s; }
.expand-btn.open svg { transform:rotate(180deg); }

/* CONTATO */
#contato { border-top:1px solid var(--border); }
.contact-inner { max-width:560px; }
.contact-headline { font-size:clamp(2rem,5vw,3.4rem); font-weight:800; letter-spacing:-0.04em; line-height:1.05; color:var(--text); margin-bottom:0.9rem; text-wrap:balance; }
.contact-sub { color:var(--text-muted); font-size:0.88rem; line-height:1.75; margin-bottom:2.25rem; }

footer { position:relative; z-index:1; padding:1.75rem clamp(1.5rem,8vw,10rem); border-top:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.footer-left { font-family:var(--font-m); font-size:0.65rem; color:var(--text-dim); letter-spacing:0.06em; }
.footer-links { display:flex; gap:1.2rem; align-items:center; }
.footer-link { display:inline-flex; align-items:center; gap:0.4rem; font-family:var(--font-m); font-size:0.65rem; color:var(--text-dim); text-decoration:none; letter-spacing:0.06em; text-transform:uppercase; transition:color 0.2s; }
.footer-link:hover { color:var(--text); }
.copy-btn { display:inline-flex; align-items:center; gap:0.4rem; font-family:var(--font-m); font-size:0.65rem; color:var(--text-dim); letter-spacing:0.06em; text-transform:uppercase; background:none; border:1px solid var(--border); border-radius:5px; padding:0.35rem 0.7rem; cursor:pointer; transition:all 0.2s; }
.copy-btn:hover { color:var(--text); border-color:var(--border2); }
.copy-btn.copied { color:var(--primary); border-color:var(--primary-glow); }

.fade-up { opacity:0; transform:translateY(20px); transition:opacity 0.7s ease,transform 0.7s ease; }
.fade-up.visible { opacity:1; transform:translateY(0); }

/* LIGHT MODE OVERRIDES */
[data-theme="light"] body::after { opacity: 0.08; }
[data-theme="light"] .grid-bg {
  background-image:
    linear-gradient(rgba(138,0,196,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138,0,196,0.06) 1px, transparent 1px);
}
[data-theme="light"] nav {
  background: var(--bg-nav);
  border-bottom-color: var(--border);
}
[data-theme="light"] .mobile-menu { background: rgba(237,237,237,0.97); }
[data-theme="light"] .hero-name {
  color: var(--primary);
  filter: drop-shadow(0 0 20px rgba(138,0,196,0.18));
}
[data-theme="light"] .mesh-blob:nth-child(1) { background: radial-gradient(circle, rgba(138,0,196,0.09), transparent 65%); }
[data-theme="light"] .mesh-blob:nth-child(2) { background: radial-gradient(circle, rgba(110,0,157,0.05), transparent 65%); }
[data-theme="light"] .mesh-blob:nth-child(3) { background: radial-gradient(circle, rgba(138,0,196,0.06), transparent 65%); }
[data-theme="light"] .orbit-ring { border-color: rgba(138,0,196,0.08); }
[data-theme="light"] .orbit-ring:nth-child(2) { border-color: rgba(138,0,196,0.05); }
[data-theme="light"] .orbit-ring:nth-child(3) { border-color: rgba(138,0,196,0.1); }
[data-theme="light"] .tl-card { background: var(--card-bg); }
[data-theme="light"] .tl-card:hover { border-color: var(--primary); box-shadow: 0 4px 24px rgba(138,0,196,0.12); }
[data-theme="light"] .badge { background: #ddd; border-color: var(--border2); color: #444; }
[data-theme="light"] .stat-card { background: var(--card-bg); border-color: var(--border); }
[data-theme="light"] .tech-item { background: var(--card-bg); }
[data-theme="light"] .tech-item:hover { background: var(--surface2); border-color: var(--primary); }
[data-theme="light"] .manifesto-pill { background: rgba(138,0,196,0.06); border-color: rgba(138,0,196,0.2); color: var(--primary); }
[data-theme="light"] .expand-btn:hover { border-color: var(--primary); background: rgba(138,0,196,0.07); color: var(--primary); }
[data-theme="light"] .scroll-line { background: linear-gradient(to bottom, var(--primary), transparent); }
[data-theme="light"] #projetos .timeline::before { background: linear-gradient(to bottom, transparent, var(--border) 10%, var(--border) 90%, transparent); }
[data-theme="light"] .photo-frame { border-color: var(--border2); }
[data-theme="light"] .photo-placeholder { background: var(--card-bg); }

@media (max-width: 900px) {
  #sobre .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-right { gap: 0.5rem; }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  footer { flex-direction: column; align-items: flex-start; }
  .manifesto-pills { flex-direction: column; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .mesh-blob, .orbit-ring, .scroll-line { animation: none !important; }
  .hero-label::before { animation: none !important; }
  .hero-inner { animation: none !important; opacity: 1; transform: none; }
  .tl-item, .tech-item, .fade-up { opacity: 1 !important; transform: none !important; transition: none !important; }
}
