:root {

  --page: #ede8dc;
  --page-dark: #0e0b08;

  --surface: #ffffff;

  --surface-2: #f7f4ee;

  --surface-3: #ede9df;



  --violet: #5b21b6;
  --violet-2: #7c3aed;
  --violet-light: #8b5cf6;
  --violet-pale: rgba(91, 33, 182, .10);
  --violet-xpale: rgba(91, 33, 182, .06);

  --amber: #b45309;
  --amber-light: #d97706;
  --amber-pale: rgba(180, 83, 9, .10);

  --green: #0f6b4d;
  --green-light: #059669;
  --green-pale: rgba(15, 107, 77, .10);


  --ink: #1c1710;

  --ink-muted: #5c5249;
  --ink-faint: #9c9189;
  --white: #ffffff;


  --border: rgba(91, 33, 182, .14);
  --border-dark: rgba(91, 33, 182, .30);


  --shadow-card: 0 2px 16px rgba(28, 23, 16, .10);
  --shadow-lift: 0 8px 32px rgba(28, 23, 16, .15);
  --shadow-violet: 0 4px 24px rgba(91, 33, 182, .20);


  --grad-violet: linear-gradient(135deg, #5b21b6, #7c3aed);
  --grad-amber: linear-gradient(135deg, #b45309, #d97706);
  --grad-skill: linear-gradient(90deg, #5b21b6, #7c3aed);
  --grad-lang: linear-gradient(90deg, #0f6b4d, #059669);


  --s1: .25rem;
  --s2: .5rem;
  --s3: .75rem;
  --s4: 1rem;
  --s5: 1.25rem;
  --s6: 1.5rem;
  --s8: 2rem;
  --s10: 2.5rem;
  --s12: 3rem;
  --s16: 4rem;
  --s20: 5rem;
  --s24: 6rem;


  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-full: 9999px;


  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'Fira Code', 'Consolas', monospace;


  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --glass-bg: rgba(255, 255, 255, .55);
  --glass-bg-2: rgba(255, 255, 255, .35);
  --glass-border: rgba(255, 255, 255, .70);
  --glass-shadow: 0 8px 32px rgba(91, 33, 182, .10),
    0 2px 8px rgba(0, 0, 0, .06);
  --glass-blur: blur(16px) saturate(1.4);


  --orb-violet: radial-gradient(ellipse,
      rgba(91, 33, 182, .18) 0%, transparent 70%);
  --orb-amber: radial-gradient(ellipse,
      rgba(217, 119, 6, .14) 0%, transparent 70%);
  --orb-green: radial-gradient(ellipse,
      rgba(15, 107, 77, .12) 0%, transparent 70%);


  --hero-bg: linear-gradient(135deg,
      #2d1b69 0%, #1a0d2e 40%, #0e0b1e 100%);
}


@media (prefers-color-scheme: dark) {
  :root {
    --page: #12100e;
    --surface: #1c1815;
    --surface-2: #23201b;
    --surface-3: #2a261f;
    --ink: #f0ece2;
    --ink-muted: #b5af9f;
    --ink-faint: #7a7268;
    --white: #f0ece2;

    --border: rgba(139, 92, 246, .20);
    --border-dark: rgba(139, 92, 246, .38);

    --violet-pale: rgba(139, 92, 246, .14);
    --violet-xpale: rgba(139, 92, 246, .08);
    --amber-pale: rgba(217, 119, 6, .14);
    --green-pale: rgba(16, 185, 129, .14);

    --shadow-card: 0 2px 16px rgba(0, 0, 0, .35);
    --shadow-lift: 0 8px 32px rgba(0, 0, 0, .50);
    --shadow-violet: 0 4px 24px rgba(139, 92, 246, .28);
    --glass-bg: rgba(28, 24, 21, .65);
    --glass-bg-2: rgba(28, 24, 21, .45);
    --glass-border: rgba(255, 255, 255, .10);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, .40),
      0 2px 8px rgba(0, 0, 0, .25);
  }
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--page);

  background-image:
    linear-gradient(rgba(91, 33, 182, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 33, 182, .055) 1px, transparent 1px),
    linear-gradient(45deg, rgba(180, 83, 9, .025) 1px, transparent 1px);
  background-size: 44px 44px, 44px 44px, 62px 62px;
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(ellipse 80% 60% at 50% 30%,
      rgba(91, 33, 182, .05) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%,
      rgba(217, 119, 6, .04) 0%, transparent 60%);
}


#navbar,
#hero,
main,
footer,
#scroll-top,
.bg-particles {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover !important;
}

ul {
  list-style: none;
}

a {
  color: var(--violet);
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: var(--violet-2);
  text-decoration: underline;
}

::selection {
  background: rgba(91, 33, 182, .2);
  color: var(--ink);
}


:root {
  --cur: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpolygon points='11,2 20,11 11,20 2,11' fill='%235b21b6' opacity='.82'/%3E%3Cpolygon points='11,5 17,11 11,17 5,11' fill='none' stroke='white' stroke-width='.8' opacity='.5'/%3E%3C/svg%3E") 11 11, auto;
}

body {
  cursor: var(--cur);
}

a,
button,
[role="button"],
[tabindex],
input[type="checkbox"],
input[type="radio"],
select,
label {
  cursor: var(--cur);
}


.skip-link {
  position: fixed;
  top: -6rem;
  left: 1rem;
  z-index: 10000;
  background: var(--violet);
  color: #fff;
  padding: .5rem 1.2rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  transition: top .2s;
}

.skip-link:focus {
  top: 1rem;
}


.bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  opacity: 0;
  animation: float-up linear infinite;
}


.particle-sq {
  border-radius: 2px;
  transform-origin: center;
}


.particle-dm {
  transform: rotate(45deg);
}


.particle-ln {
  width: 1px !important;
  height: 18px !important;
  transform: rotate(calc(30deg + var(--r, 0deg)));
  border-radius: 1px;
}

@keyframes float-up {
  0% {
    transform: translateY(104vh) rotate(-10deg);
    opacity: 0;
  }

  8% {
    opacity: .25;
  }

  50% {
    transform: translateY(48vh) rotate(2deg);
    opacity: .18;
  }

  92% {
    opacity: .08;
  }

  100% {
    transform: translateY(-8vh) rotate(12deg);
    opacity: 0;
  }
}


@keyframes hero-slide-left {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hero-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes photo-glow {


  0%,
  100% {
    filter: drop-shadow(0 4px 18px rgba(91, 33, 182, .20));
  }

  50% {
    filter: drop-shadow(0 6px 30px rgba(91, 33, 182, .32));
  }
}

@keyframes deco-pulse {

  0%,
  100% {
    opacity: .14;
    transform: rotate(45deg) scale(1);
  }

  50% {
    opacity: .26;
    transform: rotate(45deg) scale(1.06);
  }
}


.hero-location {
  animation: hero-slide-left .55s var(--ease-out) .05s both;
}

.hero-nome {
  animation: hero-slide-left .70s var(--ease-out) .15s both;
}

.hero-headline {
  animation: hero-slide-left .55s var(--ease-out) .28s both;
}

.hero-objective {
  animation: hero-slide-left .50s var(--ease-out) .38s both;
}

.hero-actions {
  animation: hero-slide-up .50s var(--ease-out) .48s both;
}

.hero-stats {
  animation: hero-slide-up .45s var(--ease-out) .58s both;
}

.hero-contacts {
  animation: hero-slide-up .45s var(--ease-out) .68s both;
}


.hero-accent-line {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s5);
}

.hero-accent-dot {
  width: 8px;
  height: 8px;
  background: var(--violet-light);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: .7;
}

.hero-accent-dot--amber {
  background: var(--amber-light);
  width: 6px;
  height: 6px;
}

.hero-accent-bar {
  height: 2px;
  width: 48px;
  background: linear-gradient(90deg, var(--violet-light), transparent);
  flex-shrink: 0;
}



#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  padding: 0 var(--s8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, box-shadow .4s;
}

#navbar:not(.scrolled) .nav-link {
  color: rgba(240, 236, 226, .65);
}

#navbar:not(.scrolled) .nav-link:hover,
#navbar:not(.scrolled) .nav-link.active {
  color: #f0ece2;
}

#navbar:not(.scrolled) .nav-brand {
  color: #f0ece2;
}

#navbar:not(.scrolled) .nav-brand-dot {
  color: #f59e0b;
}

#navbar.scrolled {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}


.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.03em;
  color: var(--violet);
  display: flex;
  align-items: center;
  gap: var(--s2);
  text-decoration: none;
}

.nav-brand-geo {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--amber-light);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.nav-brand-dot {
  color: var(--amber-light);
}


.nav-brand {
  position: relative;
  overflow: visible;
}

.nav-brand::before,
.nav-brand::after {
  content: attr(data-text);
  position: absolute;
  left: 26px;

  top: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
}

.nav-brand::before {
  color: var(--amber-light);
  transform: translate(-1.5px, 0);
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.nav-brand::after {
  color: var(--violet-light);
  transform: translate(1.5px, 0);
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

.nav-brand:hover::before,
.nav-brand:hover::after {
  opacity: .45;
}


.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s5);
}

.nav-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: .01em;
  position: relative;
  padding-bottom: 2px;
  transition: color .2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--amber-light);
  border-radius: 2px;
  transition: width .3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--violet);
  text-decoration: none;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}


.nav-cta {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .42rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--violet);
  color: #fff !important;
  text-decoration: none !important;
  transition: background .2s, transform .2s var(--ease-spring), box-shadow .2s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

.nav-cta:hover {
  background: var(--violet-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-violet);
}


.nav-menu-btn {
  display: none;
  background: none;
  border: 2px solid var(--border-dark);
  border-radius: var(--r-sm);
  color: var(--ink-muted);
  padding: .3rem .6rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

.nav-menu-btn:hover {
  border-color: var(--violet);
  color: var(--violet);
}


#hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 64px;
  background: var(--hero-bg);
  display: flex;
  align-items: center;
  color: #f0ece2;
}


#hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  top: -150px;
  right: -100px;
  background: var(--orb-violet);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: orb-float 12s ease-in-out infinite;
}


#hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -80px;
  background: var(--orb-amber);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: orb-float 16s ease-in-out infinite reverse;
}

@keyframes orb-float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(20px, -30px) scale(1.06);
  }

  66% {
    transform: translate(-15px, 20px) scale(.96);
  }
}


#hero .hero-nome {
  color: #f0ece2;
}

#hero .hero-location {
  color: rgba(240, 236, 226, .7);
}

#hero .hero-headline {
  color: rgba(240, 236, 226, .85);
}

#hero .hero-objective {
  color: rgba(240, 236, 226, .9);
  border-left-color: var(--amber-light);
}

#hero .hero-tagline {
  color: var(--amber-light);
}

#hero .contact-link {
  color: rgba(240, 236, 226, .75);
}

#hero .contact-link:hover {
  color: #f0ece2;
}

#hero .contact-icon {
  background: rgba(139, 92, 246, .2);
  border-color: rgba(139, 92, 246, .3);
  color: var(--violet-light);
}

#hero .stat-chip {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .1);
}

#hero .stat-value {
  color: var(--amber-light);
}

#hero .stat-label {
  color: rgba(240, 236, 226, .55);
}

#hero .btn-ghost {
  color: #f0ece2;
  border-color: rgba(240, 236, 226, .4);
}

#hero .btn-ghost:hover {
  background: rgba(240, 236, 226, .1);
  border-color: #f0ece2;
}


#hero .hero-nome {
  color: #f0ece2;
}

#hero .hero-nome-em {
  color: transparent;
  background: linear-gradient(120deg, #d97706, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
}

#hero .hero-nome-em::before {
  display: none;
}


#hero .hero-headline {
  color: rgba(240, 236, 226, .75);
}

#hero .hero-objective {
  color: rgba(240, 236, 226, .85);
  border-left-color: #d97706;
}

#hero .hero-tagline {
  color: #f59e0b;
}

#hero .hero-location {
  color: rgba(240, 236, 226, .6);
}

#hero .stat-chip {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .12);
}

#hero .stat-value {
  color: #f59e0b;
}

#hero .stat-label {
  color: rgba(240, 236, 226, .5);
}

#hero .contact-link {
  color: rgba(240, 236, 226, .7);
}

#hero .contact-link:hover {
  color: #f0ece2;
}

#hero .contact-icon {
  background: rgba(139, 92, 246, .2);
  border-color: rgba(139, 92, 246, .3);
  color: #c4b5fd;
}

#hero .btn-ghost {
  color: #f0ece2;
  border-color: rgba(240, 236, 226, .35);
}

#hero .btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
}


.hero-geo-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-geo-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--s16) var(--s8);
  display: grid;
  grid-template-columns: 1fr 340px;

  gap: var(--s12);
  align-items: center;
}


.hero-location {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: .78rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--ink);

  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: var(--s4);
}

.location-icon {
  color: var(--amber-light);
  font-size: .9rem;
}


.hero-nome {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -.04em;
  color: var(--ink);
  margin-bottom: var(--s3);
}

.hero-nome-em {
  font-style: normal;
  color: var(--amber-light);
  position: relative;
  display: inline-block;

  text-decoration: none;
}


.hero-nome-em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--amber-light);
  transform: skewX(-8deg);
  opacity: .5;
}


.hero-nome-em::before {
  content: attr(data-text);
  position: absolute;
  left: 4px;
  top: 3px;
  color: var(--violet-light);
  opacity: .25;
  pointer-events: none;
  user-select: none;
  z-index: -1;
}


.hero-headline {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-mono);
  font-size: clamp(.9rem, 1.8vw, 1.1rem);
  color: var(--ink);

  font-weight: 500;
  margin-bottom: var(--s5);
}

.headline-bracket {
  color: var(--amber);
  font-weight: 700;
}


.hero-objective {
  font-size: 1rem;
  font-weight: 600;

  color: var(--ink);

  margin-bottom: var(--s6);
  padding-left: var(--s5);
  border-left: 3px solid var(--violet);
}


.hero-tagline {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: .04em;
  margin-bottom: var(--s5);
  margin-top: calc(-1 * var(--s3));
  opacity: .85;
  animation: hero-slide-up .45s var(--ease-out) .42s both;
}


.hero-actions {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  margin-bottom: var(--s6);
}


.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: var(--violet);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .03em;
  padding: .8rem 1.8rem;
  border: none;
  cursor: pointer;
  text-decoration: none;

  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: background .2s, transform .2s var(--ease-spring), box-shadow .2s;
}

.btn-primary:hover {
  background: var(--violet-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-violet);
  color: #fff;
  text-decoration: none;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .02em;
  padding: .8rem 1.8rem;
  border: 2px solid rgba(28, 23, 16, .5);
  cursor: pointer;
  text-decoration: none;

  transition: border-color .22s, color .22s, background-color .22s,
    box-shadow .22s, transform .22s var(--ease-spring);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.btn-ghost:hover {
  border-color: var(--surface);
  color: #fff;

  background: var(--violet);

  box-shadow: var(--shadow-violet);
  transform: translateY(-3px);
  text-decoration: none;
}


.hero-stats {
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
  margin-bottom: var(--s5);
}

.stat-chip {
  background: var(--surface);
  border: 2px solid rgba(28, 23, 16, .1);

  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  padding: .7rem 1.2rem;
  text-align: center;
  min-width: 100px;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--violet);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: .65rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-muted);

  margin-top: .3rem;
}


.hero-contacts {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  font-size: .875rem;

  font-weight: 500;
  color: var(--ink);

  transition: color .2s, gap .15s;
  text-decoration: none;
}

.contact-link:hover {
  color: var(--violet);
  gap: var(--s4);
  text-decoration: none;
}

.contact-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: var(--violet-pale);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--violet);

  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
  transition: background .2s;
}

.contact-link:hover .contact-icon {
  background: rgba(91, 33, 182, .18);
}


.hero-photo-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-frame-outer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}


.photo-frame-deco-1 {
  position: absolute;
  width: 330px;
  height: 330px;

  background: rgba(255, 255, 255, .1);
  transform: rotate(45deg);
  border: 2px solid rgba(255, 255, 255, .22);
  z-index: 0;
}


.photo-frame-deco-3 {
  position: absolute;
  width: 358px;
  height: 358px;
  border-radius: 0;
  border: none;
  z-index: 0;
  clip-path: polygon(30% 0%, 70% 0%,
      100% 30%, 100% 70%,
      70% 100%, 30% 100%,
      0% 70%, 0% 30%);
  outline: 1.5px dashed rgba(255, 255, 255, .18);
  outline-offset: -1px;
  animation: ring-spin 28s linear infinite;
}


.photo-frame-deco-3::after {
  content: '';
  position: absolute;
  inset: 18px;
  clip-path: polygon(30% 0%, 70% 0%,
      100% 30%, 100% 70%,
      70% 100%, 30% 100%,
      0% 70%, 0% 30%);
  outline: 1px dashed rgba(255, 255, 255, .09);
  animation: ring-spin-reverse 40s linear infinite;
}

@keyframes ring-spin-reverse {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}


.photo-frame-deco-2 {
  position: absolute;
  width: 52px;
  height: 52px;
  background: var(--amber-light);
  bottom: -10px;
  right: -10px;
  z-index: 2;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 280px;
  height: 280px;
  object-fit: cover;
  object-position: top center;
  border-radius: 40% 60% 55% 45% / 45% 50% 50% 55%;

  border: 3px solid rgba(255, 255, 255, .25);
  box-shadow:
    0 0 0 8px rgba(91, 33, 182, .12),
    0 0 0 16px rgba(91, 33, 182, .06),
    0 24px 64px rgba(91, 33, 182, .35);
  animation: photo-breathe 12s ease-in-out infinite;
  transition: filter .10s;
}

@keyframes photo-breathe {

  0%,
  100% {
    border-radius: 40% 60% 55% 45% / 45% 50% 50% 55%;
    box-shadow: 0 0 0 8px rgba(91, 33, 182, .12),
      0 0 0 16px rgba(91, 33, 182, .06),
      0 24px 64px rgba(91, 33, 182, .30);
  }

  50% {
    border-radius: 55% 45% 45% 55% / 50% 45% 55% 50%;
    box-shadow: 0 0 0 12px rgba(91, 33, 182, .10),
      0 0 0 24px rgba(91, 33, 182, .05),
      0 32px 72px rgba(91, 33, 182, .40);
  }
}


.photo-frame-deco-1,
.photo-frame-deco-3 {
  display: none;
}


.photo-frame-deco-2 {
  position: absolute;
  width: 40px;
  height: 40px;
  background: var(--amber-light);
  bottom: 16px;
  right: -8px;
  z-index: 2;
  border-radius: 8px;
  opacity: .85;
  clip-path: none;
  box-shadow: 0 4px 16px rgba(217, 119, 6, .4);
}

@keyframes ring-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


main {
  position: relative;
  z-index: 1;
}


.page-section {
  padding: calc(var(--s16) + 28px) 0;
  clip-path: polygon(0 28px, 100% 0, 100% calc(100% - 28px), 0 100%);
  margin: 0;
}

.page-section--alt {
  background-color: rgba(255, 255, 255, .45);
  background-image: none;

  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255, 255, 255, .70);
  border-bottom: 1px solid rgba(255, 255, 255, .70);
  clip-path: polygon(0 0, 100% 28px, 100% 100%, 0 calc(100% - 28px));
  padding: calc(var(--s16) + 28px) 0;
  margin: 0;
}

@media (prefers-color-scheme: dark) {
  .page-section--alt {
    background-color: rgba(28, 24, 21, .55);
    border-color: rgba(255, 255, 255, .08);
  }
}

.section-inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--s8);
}

.section-inner--narrow {
  max-width: 700px;
}


.section-number-bg {
  position: absolute;
  top: -2.5rem;
  right: calc(var(--s8) - .5rem);
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 12rem);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -.06em;

  color: transparent;
  -webkit-text-stroke: 1.5px rgba(91, 33, 182, .12);

  background: linear-gradient(170deg,
      rgba(91, 33, 182, .07) 0%,
      rgba(180, 83, 9, .04) 60%,
      transparent 100%);
  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
}


.hero-code-float {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  width: clamp(240px, 30vw, 360px);
  pointer-events: none;
  opacity: .55;
  animation: code-float 6s ease-in-out infinite;
}

.hero-code-svg {
  width: 100%;
  height: auto;
}

@keyframes code-float {

  0%,
  100% {
    transform: translateY(-50%) rotate(-.5deg);
  }

  50% {
    transform: translateY(calc(-50% - 12px)) rotate(.5deg);
  }
}


@media (max-width: 900px) {
  .hero-code-float {
    display: none;
  }
}


.section-header {
  margin-bottom: var(--s10);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: .68rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--violet);
  background: rgba(91, 33, 182, .07);
  border: 1px solid rgba(91, 33, 182, .16);
  padding: .28rem 1rem;
  border-radius: var(--r-full);

  clip-path: none;

  margin-bottom: var(--s4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--amber-light);
  border-radius: 50%;

  flex-shrink: 0;
  animation: dot-pulse 2.5s ease-in-out infinite;
}

@keyframes dot-pulse {

  0%,
  100% {
    opacity: .7;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.4);
  }
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.05em;
  line-height: 1.0;
  margin-bottom: var(--s4);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;

  max-width: 120px;
  height: 3px;
  background: linear-gradient(90deg,
      var(--violet) 0%, var(--amber-light) 60%, transparent 100%);
  border-radius: 2px;
  clip-path: none;
}

.section-title::before {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 8px;
  width: 38px;
  height: 3px;
  background: var(--violet-light);
  opacity: .35;
  clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 100%, 0 100%);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--ink);

  line-height: 1.7;
  max-width: 560px;
  margin-top: var(--s4);
}


.sobre-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--violet);
  border-radius: var(--r-lg);
  clip-path: none;

  padding: var(--s8) var(--s10);
  display: flex;
  gap: var(--s6);
  align-items: flex-start;
  box-shadow: var(--glass-shadow);
  transition: box-shadow .35s, transform .3s var(--ease-spring);
  position: relative;
  overflow: hidden;
}


.sobre-card::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  top: -60px;
  right: -40px;
  background: var(--orb-violet);
  border-radius: 50%;
  pointer-events: none;
  opacity: .6;
}

.sobre-card:hover {
  box-shadow: 0 16px 48px rgba(91, 33, 182, .14),
    0 4px 16px rgba(0, 0, 0, .06);
  transform: translateY(-3px);
}

.sobre-corner-deco {
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
  flex-shrink: 0;
}

.sobre-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.sobre-icon {
  font-size: 2rem;
  color: var(--violet);
  flex-shrink: 0;
  margin-top: .2rem;
  opacity: .75;
}

.sobre-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink);

}


.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--s6);
}

.edu-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--violet);
  border-radius: var(--r-lg);
  clip-path: none;
  padding: var(--s6) var(--s8);
  box-shadow: var(--glass-shadow);
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out),
    box-shadow .3s;
}

.edu-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.edu-card:hover {
  box-shadow: 0 14px 40px rgba(91, 33, 182, .16);
  transform: translateY(-4px);
  border-left-color: var(--violet-2);
}

.edu-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.edu-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.edu-body {}

.edu-course {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s1);
  line-height: 1.3;
}

.edu-institution {
  font-size: .82rem;
  color: var(--ink-muted);
  margin-bottom: var(--s2);
  line-height: 1.4;
}

.edu-meta {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
}

.edu-period {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ink-faint);
}

.edu-status {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .2rem .6rem;
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 0 100%);
}

.edu-status--andamento {
  background: var(--violet-pale);
  color: var(--violet);
}

.edu-status--concluido {
  background: var(--green-pale);
  color: var(--green);
}


.timeline {
  position: relative;
  padding-left: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--s8);
}



.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 24px;
  bottom: 24px;
  width: 3px;
  background: linear-gradient(to bottom,
      var(--violet) 0%,
      var(--violet-light) 40%,
      var(--green) 80%,
      transparent 100%);
  opacity: .4;
  pointer-events: none;
}



.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 24px;
  bottom: 24px;
  width: 3px;
  background: repeating-linear-gradient(to bottom,
      var(--violet) 0px,
      var(--violet) 5px,
      transparent 5px,
      transparent 11px);

  mask-image: linear-gradient(to bottom,
      black 0%,
      black 65%,
      transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom,
      black 0%,
      black 65%,
      transparent 100%);
  pointer-events: none;
}

.timeline-item {
  position: relative;
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}

.timeline-item.animate-in {
  opacity: 1;
  transform: translateX(0);
}


.timeline-diamond {
  position: absolute;
  left: calc(-3.5rem + 3px);
  top: 20px;
  width: 20px;
  height: 20px;
  transform: rotate(45deg);
  border: 2px solid var(--surface);
  z-index: 2;
  transition: transform .25s var(--ease-spring);
}

.timeline-item:hover .timeline-diamond {
  transform: rotate(45deg) scale(1.35);
}

.timeline-diamond.completed {
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-pale);
}

.timeline-diamond.current {
  background: var(--violet);
  box-shadow:
    0 0 0 5px rgba(91, 33, 182, .22),
    0 0 0 10px rgba(91, 33, 182, .08),
    0 0 20px rgba(91, 33, 182, .35);
  animation: pulse-diamond 2s ease-in-out infinite;
}

.timeline-diamond.next {
  background: var(--surface);
  border-color: var(--violet-light);
  box-shadow: 0 0 0 3px var(--violet-xpale);
}

@keyframes pulse-diamond {

  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(91, 33, 182, .22), 0 0 0 10px rgba(91, 33, 182, .08), 0 0 20px rgba(91, 33, 182, .30);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(91, 33, 182, .15), 0 0 0 16px rgba(91, 33, 182, .05), 0 0 32px rgba(91, 33, 182, .50);
  }
}


.timeline-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--border);
  border-radius: var(--r-lg);
  clip-path: none;
  padding: var(--s6) var(--s8);
  box-shadow: var(--glass-shadow);
  transition: box-shadow .3s, border-color .3s, transform .28s var(--ease-spring);
}

.timeline-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 32px rgba(91, 33, 182, .16);
  border-left-color: var(--violet);
}


.timeline-card.current {
  background: var(--grad-violet);
  border: 1px solid rgba(255, 255, 255, .15);
  border-left: 3px solid var(--amber-light);
  box-shadow: 0 0 0 4px rgba(91, 33, 182, .15), var(--glass-shadow);
}

.timeline-card.current .timeline-title {
  color: #fff;
}

.timeline-card.current .timeline-icon {
  color: #86efac;
}

.timeline-card.current .timeline-period {
  color: rgba(255, 255, 255, .6);
}

.timeline-card.current .timeline-description {
  color: rgba(255, 255, 255, .82);
}

.timeline-card.current .toggle-btn {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .2);
}

.timeline-card.current .toggle-btn:hover {
  background: rgba(255, 255, 255, .2);
}

.timeline-card.current .details-section-title {
  color: rgba(255, 255, 255, .5);
}

.timeline-card.current .soft-skill-item {
  color: rgba(255, 255, 255, .8);
}

.timeline-card.current .roadmap-badge {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .2);
}

.timeline-card.current .timeline-status.status-current {
  background: var(--amber-light);
  color: #fff;
}


.status-current {
  background: var(--amber-light);
  color: #fff;
}


.timeline-card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
  flex-wrap: wrap;
  margin-bottom: var(--s3);
}

.timeline-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.timeline-meta {
  flex: 1;
  min-width: 0;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ink-faint);
  margin-top: .2rem;
}

.timeline-status {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: .25rem .75rem;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
  flex-shrink: 0;
}

.status-completed {
  background: var(--green-pale);
  color: var(--green);
}

.status-current {
  background: var(--violet-pale);
  color: var(--violet);
}

.status-next {
  background: rgba(28, 23, 16, .06);
  color: var(--ink-faint);
}

.timeline-description {
  font-size: .92rem;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: var(--s4);
}


.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: .8rem;
  font-weight: 700;
  color: var(--violet);
  background: var(--violet-pale);
  border: 1px solid var(--border);
  padding: .38rem .9rem;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
  transition: background .2s;
}

.toggle-btn:hover {
  background: rgba(91, 33, 182, .15);
}

.toggle-btn .arrow {
  transition: transform .3s var(--ease-out);
}

.toggle-btn.open .arrow {
  transform: rotate(180deg);
}

.timeline-details {
  display: none;
  margin-top: var(--s5);
  padding-top: var(--s5);
  border-top: 1px dashed rgba(91, 33, 182, .2);
  animation: slide-down .3s var(--ease-out);
}

.timeline-details.open {
  display: block;
}

@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.details-section-title {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-faint);
  margin-bottom: var(--s3);
  margin-top: var(--s5);
}

.details-section-title:first-child {
  margin-top: 0;
}

.soft-skill-list {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.soft-skill-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
  font-size: .87rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.soft-skill-item::before {
  content: '▸';
  color: var(--amber-light);
  flex-shrink: 0;
  font-size: .9rem;
  margin-top: 1px;
}

.roadmap-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.roadmap-badge {
  font-size: .73rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: .28rem .75rem;
  background: var(--violet-pale);
  color: var(--violet);
  border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 0 100%);
  transition: background .2s, transform .15s;
  cursor: default;
}

.roadmap-badge:hover {
  background: rgba(91, 33, 182, .18);
  transform: translateY(-2px);
}


.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s6);
}

.cert-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-top: 3px solid var(--amber-light);
  border-radius: var(--r-lg);
  clip-path: none;
  padding: var(--s6) var(--s6) var(--s5);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  position: relative;
  overflow: hidden;
}


.cert-card::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  bottom: -40px;
  right: -30px;
  background: var(--orb-amber);
  border-radius: 50%;
  pointer-events: none;
}

.cert-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.cert-card:hover {
  box-shadow: 0 14px 40px rgba(180, 83, 9, .14);
  transform: translateY(-4px);
}

.cert-icon-wrap {
  width: 46px;
  height: 46px;
  background: var(--amber-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  flex-shrink: 0;
}

.cert-name {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.cert-issuer {
  font-size: .8rem;
  font-weight: 600;
  color: var(--amber);
}

.cert-area {
  font-size: .78rem;
  color: var(--ink-muted);
}

.cert-status-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  margin-top: auto;
}

.cert-status {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .2rem .65rem;
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 0 100%);
}

.cert-status--andamento {
  background: var(--violet-pale);
  color: var(--violet);
}

.cert-status--concluido {
  background: var(--green-pale);
  color: var(--green);
}

.cert-link {
  font-size: .72rem;
  font-weight: 600;
  color: var(--amber);
  text-decoration: none;
  font-family: var(--font-mono);
  transition: color .2s;
}

.cert-link:hover {
  color: var(--amber-light);
  text-decoration: underline;
}


.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
  margin-bottom: var(--s8);
}

.skill-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  clip-path: none;
  padding: 0;

  box-shadow: var(--glass-shadow);
  overflow: hidden;

  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out),
    box-shadow .3s;
}

.skill-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.skill-card:hover {
  box-shadow: 0 14px 40px rgba(91, 33, 182, .18);
  transform: translateY(-4px);
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4) var(--s5);
  background: linear-gradient(120deg, var(--violet) 0%, var(--violet-2) 100%);
  color: #fff;
  margin-bottom: 0;
  border-bottom: none;
}


.skill-card .skill-item {
  padding: 0 var(--s5);
}

.skill-card-header+.skill-item {
  padding-top: var(--s6);
}

.skill-card .skill-item:last-child {
  padding-bottom: var(--s5);
}

.skill-card-icon {
  background: rgba(255, 255, 255, .15);
  color: #fde68a;
  clip-path: none;
  border-radius: 6px;
}

.skill-card-title {
  color: #fff;
}

.skill-card-title {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}

.skill-card-title {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
}


.skill-item {
  margin-bottom: var(--s4);
}

.skill-item:last-child {
  margin-bottom: 0;
}

.skill-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--s2);
}

.skill-name {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink);
}

.skill-percent {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  color: var(--violet);
}


.skill-bar-track {
  height: 8px;
  background: rgba(91, 33, 182, .10);
  border-radius: 4px;
  clip-path: none;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  width: 0;
  transition: width 1.4s var(--ease-out);
  border-radius: 4px;
  background: linear-gradient(90deg, var(--violet) 0%, var(--violet-2) 60%, #a78bfa 100%);
  clip-path: none;
}


.skill-bar-fill::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  box-shadow: 0 0 6px 2px rgba(124, 58, 237, .5);
  transition: opacity .3s ease 1s;
}

.skill-bar-fill.filled::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;

  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, .14) 2px,
      rgba(255, 255, 255, .14) 4px);
  animation: bar-shimmer 3s ease-in-out infinite;
  animation-delay: 1.6s;
}


.other-skills-block {
  background: var(--surface);
  border-left: 5px solid var(--amber-light);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  padding: var(--s6) var(--s8);
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}

.other-skills-block.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.other-skills-title {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-muted);
  margin-bottom: var(--s5);
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.geo-marker {
  color: var(--amber-light);
  font-size: .75rem;
}

.other-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.other-skill-badge {
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem .9rem;
  background: rgba(28, 23, 16, .05);
  color: var(--ink);
  border: 1px solid rgba(28, 23, 16, .14);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
  transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease-spring);
  cursor: default;
}

.other-skill-badge:hover {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
  transform: translateY(-2px);
}


.languages-wrap {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}

.languages-wrap.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.language-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s6);
}

.language-item {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--green);
  border-radius: var(--r-lg);
  clip-path: none;
  padding: var(--s6) var(--s8);
  box-shadow: var(--glass-shadow);
  transition: transform .28s var(--ease-spring), box-shadow .28s, border-color .3s;
}

.language-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 42px rgba(15, 107, 77, .16);
  border-left-color: var(--green-light);
}

.language-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s3);
}

.language-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.language-level {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-pale);
  padding: .15rem .6rem;
  clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 4px, 100% 100%, 0 100%);
}

.language-bar-track {
  height: 8px;
  background: rgba(15, 107, 77, .10);
  border-radius: 4px;
  clip-path: none;
  overflow: hidden;
}

.language-bar-fill {
  height: 100%;
  background: var(--grad-lang);
  width: 0;
  transition: width 1.4s var(--ease-out);
  border-radius: 4px;
  clip-path: none;
}


#loading {

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;

  background-color: #0e0b08;
  background-color: var(--page-dark, #0e0b08);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  gap: var(--s5, 1.25rem);
  transition: opacity .4s ease, visibility .4s ease;

  animation: loading-css-fallback 0.5s ease 8s forwards;


  .loader-brand {
    margin-bottom: 1.2rem;
  }

  .loader-brand-text {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -.04em;
    color: #f0ece2;
    position: relative;
    display: inline-block;
    animation: loader-glitch 3.5s ease-in-out infinite;
  }

  .loader-brand-text::before,
  .loader-brand-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
  }

  .loader-brand-text::before {
    color: var(--amber-light);
    transform: translate(-2px, 1px);
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%);
    animation: loader-glitch-a 3.5s ease-in-out infinite;
  }

  .loader-brand-text::after {
    color: var(--violet-light);
    transform: translate(2px, -1px);
    clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
    animation: loader-glitch-b 3.5s ease-in-out infinite;
  }

  @keyframes loader-glitch {

    0%,
    90%,
    100% {
      transform: translate(0);
    }

    92% {
      transform: translate(-1px, 0);
    }

    94% {
      transform: translate(1px, 0);
    }

    96% {
      transform: translate(0);
    }
  }

  @keyframes loader-glitch-a {

    0%,
    90%,
    100% {
      opacity: 0;
      transform: translate(-2px, 1px);
    }

    91% {
      opacity: .6;
      transform: translate(-3px, 1px);
    }

    93% {
      opacity: .4;
      transform: translate(-1px, 0);
    }

    95% {
      opacity: 0;
    }
  }

  @keyframes loader-glitch-b {

    0%,
    90%,
    100% {
      opacity: 0;
      transform: translate(2px, -1px);
    }

    92% {
      opacity: .5;
      transform: translate(3px, -1px);
    }

    94% {
      opacity: .3;
      transform: translate(1px, 0);
    }

    96% {
      opacity: 0;
    }
  }
}

@keyframes loading-css-fallback {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

#loading.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


.loader-hex {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.loader-hex span {
  display: block;
  width: 16px;
  height: 16px;
  background: #5b21b6;
  background: var(--violet, #5b21b6);
  transform: rotate(45deg) scale(1);
  animation: loader-bounce 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

.loader-hex span:nth-child(2) {
  background: #d97706;
  background: var(--amber-light, #d97706);
  animation-delay: .22s;
}

.loader-hex span:nth-child(3) {
  background: #0f6b4d;
  background: var(--green, #0f6b4d);
  animation-delay: .44s;
}

@keyframes loader-bounce {

  0%,
  100% {
    transform: rotate(45deg) scale(1);
    opacity: 1;
  }

  50% {
    transform: rotate(45deg) scale(1.35);
    opacity: 0.7;
  }
}

.loader-text {
  font-family: 'Fira Code', monospace;
  font-family: var(--font-mono, 'Fira Code', monospace);
  font-size: .78rem;
  color: #9c9189;
  color: var(--ink-faint, #9c9189);
  letter-spacing: .06em;
}


#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 44px;
  height: 44px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(91, 33, 182, .25);
  color: var(--violet);
  border-radius: 50%;

  clip-path: none;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(91, 33, 182, .20);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s var(--ease-spring), box-shadow .2s;
  cursor: pointer;
}

#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#scroll-top:hover {
  background: var(--violet);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(91, 33, 182, .35);
}


.toggle-btn {
  clip-path: none;
  border-radius: var(--r-sm);
}

.roadmap-badge {
  clip-path: none;
  border-radius: var(--r-sm);
}

.cert-status {
  clip-path: none;
  border-radius: var(--r-full);
}

.other-skill-badge {
  clip-path: none;
  border-radius: var(--r-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(4px);
}

.contact-icon {
  clip-path: none;
  border-radius: 8px;
}

.cert-icon-wrap {
  clip-path: none;
  border-radius: 12px;
}

.skill-card-icon {
  clip-path: none;
  border-radius: 6px;
}

.timeline-status {
  clip-path: none;
  border-radius: var(--r-full);
}

.section-number-bg {
  -webkit-text-stroke: 1px rgba(91, 33, 182, .1);
}


#scroll-top::after {
  content: 'Topo';
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  font-size: .65rem;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
  background: var(--ink);
  color: var(--white);
  padding: 3px 8px;
  clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 4px, 100% 100%, 0 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s;
}

#scroll-top:hover::after {
  opacity: 1;
}

#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-violet);
}


footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--s10) var(--s8) var(--s12);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  overflow: hidden;
}


footer {
  background-image: none;
}


footer::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 200px;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse,
      rgba(91, 33, 182, .12) 0%, transparent 70%);
  pointer-events: none;
}


footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
      var(--violet) 0%,
      var(--amber-light) 35%,
      var(--green) 65%,
      var(--violet) 100%);
}

.footer-geo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s5);
}

.footer-diamond {
  display: block;
  width: 10px;
  height: 10px;
  background: var(--violet);
  transform: rotate(45deg);
  opacity: .35;
}

.footer-diamond--sm {
  width: 6px;
  height: 6px;
  background: var(--amber-light);
  opacity: .55;
}

.footer-text {
  font-size: .83rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.footer-text strong {
  color: var(--ink);
  font-weight: 700;
}


:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 2px;
}


@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}



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

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--s10);
    padding: var(--s12) var(--s6);
  }

  .hero-photo-col {
    order: -1;
  }

  .hero-photo {
    width: 180px;
    height: 180px;
  }

  .photo-frame-deco-1 {
    width: 220px;
    height: 220px;
  }


  .hero-geo-svg {
    opacity: .6;
  }
}

@media (max-width: 768px) {
  #navbar {
    padding: 0 var(--s5);
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(240, 236, 226, .98);
    backdrop-filter: blur(18px);
    padding: var(--s6) var(--s6) var(--s8);
    gap: var(--s4);
    border-bottom: 1px solid var(--border);
    animation: slide-down .25s var(--ease-out);
  }

  .photo-frame-deco-3 {
    width: 298px;
    height: 298px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    font-size: .95rem;
  }

  .nav-cta {
    align-self: flex-start;
    margin-top: var(--s2);
  }

  .nav-menu-btn {
    display: flex;
    align-items: center;
  }

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

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

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

  .section-number-bg {
    font-size: 5rem;
    right: var(--s5);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-ghost {
    justify-content: center;
    max-width: 280px;
  }

  .page-section--alt {
    clip-path: polygon(0 0, 100% 16px, 100% 100%, 0 calc(100% - 16px));
    padding: calc(var(--s12) + 16px) 0;
  }

  .page-section {
    clip-path: polygon(0 16px, 100% 0, 100% calc(100% - 16px), 0 100%);
    padding: calc(var(--s12) + 16px) 0;
  }
}

@media (max-width: 480px) {
  .hero-nome {
    font-size: 2.5rem;
  }

  .stat-chip {
    min-width: 85px;
    padding: .6rem 1rem;
  }

  .sobre-card {
    flex-direction: column;
  }
}




#hero::before {
  content: '';
  position: absolute;
  inset: 0;

  background-image: radial-gradient(circle, rgba(91, 33, 182, .12) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
  animation: dot-drift 50s linear infinite;
}


#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  animation: dot-drift 70s linear infinite reverse;
}

@keyframes dot-drift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 36px 36px;
  }
}


.hero-deco-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}


.hd-square-lg {
  position: absolute;
  width: 110px;
  height: 110px;
  border: 1.5px solid rgba(91, 33, 182, .1);
  top: 18%;
  left: 38%;
  animation: hd-spin 38s linear infinite;
}


.hd-square-md {
  position: absolute;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(180, 83, 9, .14);
  top: 58%;
  left: 30%;
  animation: hd-spin 22s linear infinite reverse;
}


.hd-diamond-a {
  position: absolute;
  width: 13px;
  height: 13px;
  background: var(--amber-light);
  top: 28%;
  left: 7%;
  animation: hd-drift-a 15s ease-in-out infinite;
  opacity: 0.75;
}


.hd-diamond-b {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--violet-2);
  top: 65%;
  left: 22%;
  animation: hd-drift-b 19s ease-in-out infinite;
  opacity: 0.50;
}


.hd-diamond-c {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #0f6b4d;
  top: 45%;
  left: 3%;
  animation: hd-drift-c 24s ease-in-out infinite;
  opacity: 0.55;
}


.hd-ring {
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px dashed rgba(91, 33, 182, .15);
  top: 50%;
  left: 2%;
  animation: hd-spin 45s linear infinite reverse;
}


.hd-plus {
  position: absolute;
  top: 12%;
  left: 26%;
  width: 18px;
  height: 18px;
  animation: hd-pulse 6.5s ease-in-out infinite;
}

.hd-plus::before,
.hd-plus::after {
  content: '';
  position: absolute;
  background: var(--amber);
  border-radius: 1px;
}

.hd-plus::before {
  width: 18px;
  height: 2px;
  top: 8px;
  left: 0;
}

.hd-plus::after {
  width: 2px;
  height: 18px;
  top: 0;
  left: 8px;
}


.hd-tri {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid rgba(15, 107, 77, .45);
  top: 40%;
  left: 34%;
  animation: hd-drift-c 26s ease-in-out infinite;
}


.hd-line {
  position: absolute;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(91, 33, 182, .22), transparent);
  top: 75%;
  left: 12%;
  transform: rotate(-30deg);
  animation: hd-pulse 9s ease-in-out infinite;
}


@keyframes hd-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes hd-drift-a {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
    opacity: .75;
  }

  50% {
    transform: rotate(55deg) translateY(-16px) translateX(6px);
    opacity: .55;
  }
}

@keyframes hd-drift-b {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
    opacity: .50;
  }

  50% {
    transform: rotate(35deg) translateY(12px) translateX(-8px);
    opacity: .35;
  }
}

@keyframes hd-drift-c {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
    opacity: .55;
  }

  50% {
    transform: rotate(50deg) translateY(-18px) translateX(4px);
    opacity: .40;
  }
}

@keyframes hd-pulse {

  0%,
  100% {
    opacity: .18;
    transform: scale(1);
  }

  50% {
    opacity: .35;
    transform: scale(1.15);
  }
}


.edu-card,
.cert-card,
.skill-card {
  transition: transform .28s var(--ease-spring), box-shadow .28s;
}

.edu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 42px rgba(91, 33, 182, .16);
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 42px rgba(91, 33, 182, .14);
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 42px rgba(91, 33, 182, .14);
  border-color: rgba(91, 33, 182, .25);
}


.section-label {
  position: relative;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--amber-light);
  transform: rotate(45deg);
  margin-right: 8px;
  vertical-align: middle;
  animation: label-diamond 2.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes label-diamond {

  0%,
  100% {
    transform: rotate(45deg) scale(1);
    opacity: .75;
  }

  50% {
    transform: rotate(45deg) scale(1.45);
    opacity: 1;
  }
}


.section-subtitle {
  color: var(--ink);

}


.timeline-card {
  transition: box-shadow .28s, border-color .28s, transform .28s var(--ease-spring);
}

.timeline-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 32px rgba(91, 33, 182, .12);
  border-color: rgba(91, 33, 182, .3);
}


.skill-bar-track {
  overflow: hidden;
  position: relative;
}

.skill-bar-fill.filled::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  animation: bar-shimmer 2.8s ease-in-out infinite;
  animation-delay: 1.4s;
}

@keyframes bar-shimmer {
  from {
    left: -70%;
  }

  to {
    left: 130%;
  }
}


:focus-visible {
  outline: 2.5px solid var(--violet);
  outline-offset: 3px;
  border-radius: 2px;
}


.nav-link.active {
  font-weight: 700;
}


#scroll-top:hover {
  animation: none;
  transform: translateY(-4px) scale(1.1);
}


@media (max-width: 768px) {

  .hd-square-lg,
  .hd-ring,
  .hd-diamond-b,
  .hd-line {
    display: none;
  }

  .hd-diamond-a {
    left: 3%;
    top: 35%;
  }

  .hd-plus {
    left: 18%;
  }

  .photo-frame-deco-3 {
    width: 295px;
    height: 295px;
  }

  .photo-frame-deco-1 {
    width: 275px;
    height: 275px;
  }

  .hero-photo {
    width: 245px;
    height: 245px;
  }
}