/* =========================================================
   VARIÁVEIS — preto profundo + roxo
   ========================================================= */
:root {
  --bg: #07060b;
  /* fundo da página */
  --surface: #111018;
  /* cartões */
  --surface-2: #19171f;
  /* cartões internos */
  --line: rgba(255, 255, 255, .08);
  --text: #f2f1f7;
  --muted: #8b8798;
  --soft: #bdb9c9;

  --purple: #7c5cff;
  /* roxo principal */
  --purple-soft: #b4a3ff;
  /* roxo claro (textos/ícones) */
  --purple-dark: #2c2163;
  /* roxo escuro (fundos) */
  --purple-glow: rgba(124, 92, 255, .35);

  --lav-1: #eeedff;
  /* faixa clara "Sobre mim" */
  --lav-2: #b9b2f6;
  --ink: #15121f;
  /* texto sobre a faixa clara */

  --font: "Outfit", system-ui, sans-serif;
  --font-wide: "Michroma", "Outfit", sans-serif;

  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 300;
  line-height: 1.15;
  text-wrap: balance;
}

::selection {
  background: var(--purple);
  color: #fff;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
}

.section {
  padding-block: 110px;
  position: relative;
}

/* Rótulo "/ SEÇÃO" */
.title {
  font-size: clamp(32px, 4vw, 50px);
  letter-spacing: -.01em;
}

.text {
  color: var(--soft);
  max-width: 46ch;
}

/* Etiqueta em pílula */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--soft);
}

.tag__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
}

/* Botão pílula com contorno */
/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  text-align: center;
  padding-bottom: 120px;
  overflow: hidden;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -260px;
  width: 1100px;
  height: 760px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(124, 92, 255, .55), rgba(124, 92, 255, .12) 55%, transparent),
    radial-gradient(40% 50% at 50% 30%, rgba(255, 255, 255, .18), transparent 70%);
  pointer-events: none;
}

/* Fundo do topo: poeira estelar (initHeroBackground em js/main.js) */
.hero__bg {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
}

.hero::after {
  /* linha luminosa no topo */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  opacity: .8;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 22px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.topbar__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.topbar__logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform .25s ease, filter .25s ease;
}

.topbar__brand:hover .topbar__logo-img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 10px rgba(124, 92, 255, .6));
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  color: var(--fg);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  transition: all .25s ease;
  cursor: pointer;
}

.status i {
  font-size: 14px;
  color: #25D366;
  transition: transform .25s ease;
}

.status:hover {
  background: rgba(37, 211, 102, .14);
  border-color: rgba(37, 211, 102, .45);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, .25);
}

.status:hover i {
  transform: scale(1.15);
}

.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, .25);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .6);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.hero__photo {
  width: min(480px, 90vw);
  margin: 10px auto 0;
  aspect-ratio: 4 / 5;
  -webkit-mask-image: radial-gradient(ellipse 68% 62% at 50% 20%, #000 20%, rgba(0, 0, 0, 0.45) 48%, rgba(0, 0, 0, 0.08) 72%, transparent 94%);
  mask-image: radial-gradient(ellipse 68% 62% at 50% 20%, #000 20%, rgba(0, 0, 0, 0.45) 48%, rgba(0, 0, 0, 0.08) 72%, transparent 94%);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px 24px 0 0;
}

/* =========================================================
   Glitch em rajadas na foto (initHeroGlitch em js/main.js)
   .is-glitching → rajada rápida (0,35s), sozinha, a cada 15s
   ========================================================= */
.hero__photo[data-glitch] {
  position: relative;
}

/* camadas vermelha e ciano da foto, recortadas em faixas */
.hero__photo[data-glitch]::before,
.hero__photo[data-glitch]::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/profile.png");
  background-size: cover;
  background-position: top center;
  background-blend-mode: multiply;
  mix-blend-mode: screen;
  border-radius: 24px 24px 0 0;
  opacity: 0;
  pointer-events: none;
  /* recorta pelo contorno da foto (o PNG tem fundo transparente) */
  -webkit-mask-image: url("../assets/img/profile.png");
  mask-image: url("../assets/img/profile.png");
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-position: top center;
  mask-position: top center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.hero__photo[data-glitch]::before {
  background-color: #9b6bff; /* roxo do site */
}

.hero__photo[data-glitch]::after {
  background-color: #1fe0ff;
}

/* linhas de TV + clarão roxo durante a falha */
.hero__glitch-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .1) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, rgba(124, 92, 255, .25), rgba(124, 92, 255, .05));
  mix-blend-mode: overlay;
  border-radius: 24px 24px 0 0;
}

.hero__photo.is-glitching img {
  animation: glitch-img .35s steps(1, end) both;
}

.hero__photo.is-glitching::before {
  opacity: 1;
  animation: glitch-purple .35s steps(1, end) both;
}

.hero__photo.is-glitching::after {
  opacity: 1;
  animation: glitch-cyan .35s steps(1, end) both;
}

.hero__photo.is-glitching .hero__glitch-lines {
  opacity: 1;
  animation: glitch-flash .35s steps(1, end) both;
}

@keyframes glitch-img {
  0% { transform: translate(0, 0) skewX(0); }
  10% { transform: translate(-9px, 2px) skewX(4deg); }
  20% { transform: translate(7px, -2px) skewX(-3deg); }
  30% { transform: translate(0, 0) skewX(0); }
  45% { transform: translate(-5px, 3px) skewX(2deg); }
  60% { transform: translate(10px, 0) skewX(-5deg); }
  75% { transform: translate(-3px, -2px) skewX(0); }
  90% { transform: translate(6px, 1px) skewX(3deg); }
  100% { transform: translate(0, 0) skewX(0); }
}

@keyframes glitch-purple {
  0% { clip-path: inset(8% 0 70% 0); transform: translate(-24px, 0); }
  10% { clip-path: inset(42% 0 34% 0); transform: translate(20px, 0); }
  20% { clip-path: inset(66% 0 12% 0); transform: translate(-14px, 0); }
  30% { clip-path: inset(20% 0 56% 0); transform: translate(28px, 0); }
  45% { clip-path: inset(2% 0 82% 0); transform: translate(-20px, 0); }
  60% { clip-path: inset(52% 0 22% 0); transform: translate(12px, 0); }
  75% { clip-path: inset(28% 0 46% 0); transform: translate(-28px, 0); }
  90% { clip-path: inset(74% 0 6% 0); transform: translate(18px, 0); }
  100% { clip-path: inset(0 0 100% 0); transform: translate(0, 0); }
}

@keyframes glitch-cyan {
  0% { clip-path: inset(58% 0 18% 0); transform: translate(22px, 0); }
  10% { clip-path: inset(14% 0 64% 0); transform: translate(-18px, 0); }
  20% { clip-path: inset(36% 0 40% 0); transform: translate(26px, 0); }
  30% { clip-path: inset(78% 0 4% 0); transform: translate(-12px, 0); }
  45% { clip-path: inset(26% 0 50% 0); transform: translate(16px, 0); }
  60% { clip-path: inset(4% 0 76% 0); transform: translate(-24px, 0); }
  75% { clip-path: inset(46% 0 30% 0); transform: translate(14px, 0); }
  90% { clip-path: inset(18% 0 62% 0); transform: translate(-20px, 0); }
  100% { clip-path: inset(0 0 100% 0); transform: translate(0, 0); }
}

@keyframes glitch-flash {
  0% { opacity: 1; }
  20% { opacity: .4; }
  35% { opacity: 1; }
  60% { opacity: .2; }
  80% { opacity: .9; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__photo[data-glitch]::before,
  .hero__photo[data-glitch]::after,
  .hero__glitch-lines {
    display: none;
  }

  .hero__photo[data-glitch] img {
    animation: none !important;
  }

}

.hero__name {
  margin: -85px auto 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-inline: 40px;
  box-sizing: border-box;
}

.hero__name-img {
  max-width: 760px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 40px rgba(124, 92, 255, .35));
}

.hero__tag {
  margin: 22px auto 0;
  max-width: 52ch;
  color: var(--soft);
  font-size: 17px;
  padding-inline: 8px;
}

/* =========================================================
   MENU EM PÍLULA
   ========================================================= */
.pillnav {
  position: sticky;
  top: 16px;
  z-index: 50;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: -78px auto 0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(14, 13, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(124, 92, 255, 0.28);
  overflow: hidden;
  border: 1px solid transparent;
}

/* Efeito LED Roxo em Movimento no Traçado (Border Beam) */
.pillnav::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 230deg,
    rgba(124, 92, 255, 0.35) 270deg,
    var(--purple-soft) 310deg,
    #e8e2ff 342deg,
    var(--purple) 360deg
  );
  animation: pillnav-led-trace 3.5s linear infinite;
  z-index: 1;
}

/* Fundo escuro interno da pílula */
.pillnav::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  border-radius: 999px;
  background: rgba(16, 14, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1;
}

.pillnav > * {
  position: relative;
  z-index: 2;
}

@keyframes pillnav-led-trace {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.pillnav a {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--soft);
  transition: color .2s, background .2s;
}

.pillnav a:hover {
  color: var(--purple-soft);
}

.pillnav a.is-active {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: var(--purple);
}

.pillnav__sep {
  width: 1px;
  height: 20px;
  background: var(--line);
  margin-inline: 4px;
}

.pillnav a.pillnav__cta {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  color: var(--text);
}

.pillnav a.pillnav__cta:hover {
  background: var(--purple-dark);
  border-color: var(--purple);
}

/* =========================================================
   EMPRESAS / MARQUEE
   ========================================================= */
.brands {
  padding-block: 70px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.brands::before {
  /* grade sutil ao fundo */
  content: "";
  position: absolute;
  inset: 20px 0 0;
  z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent);
  opacity: .5;
}

.brands__marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  /* Máscara em degradê: bordas opacas/transparentes com foco total no centro */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.brands__track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 12px 0;
  white-space: nowrap;
  /* Velocidade constante e fluida (26s com tempo linear) */
  animation: marquee-loop-fade 26s linear infinite;
}

.brands__track:hover {
  animation-play-state: paused;
}

.brands__track li {
  display: flex;
  align-items: center;
  gap: 64px;
  transition: transform .3s;
  cursor: pointer;
}

.brands__track li::after {
  content: "•";
  color: var(--purple);
  opacity: .4;
  font-size: 14px;
}

.brand-logo {
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: .75;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  transition: opacity .3s ease, transform .3s ease, filter .3s ease;
}

.brand-logo[src*="logo-11-7kpoker"] {
  opacity: 0.95;
}

.brands__track li:hover .brand-logo {
  opacity: 1;
  transform: scale(1.08);
  filter: drop-shadow(0 0 14px var(--purple-soft));
}

@keyframes marquee-loop-fade {
  0% {
    transform: translateX(-50%);
    opacity: 0;
    filter: blur(4px);
  }
  3% {
    transform: translateX(-48.35%);
    opacity: 1;
    filter: blur(0px);
  }
  90% {
    transform: translateX(0%);
    opacity: 1;
    filter: blur(0px);
  }
  94% {
    transform: translateX(0%);
    opacity: 0;
    filter: blur(4px);
  }
  95% {
    transform: translateX(-50%);
    opacity: 0;
    filter: blur(4px);
  }
  100% {
    transform: translateX(-50%);
    opacity: 0;
    filter: blur(4px);
  }
}

/* =========================================================
   SERVIÇOS
   ========================================================= */
.services {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  align-items: center;
}

.services__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 100%;
  width: 100%;
}

.services__intro .title {
  margin-top: 18px; /* espaço entre a etiqueta "Serviços" e o título */
  text-align: left;
}

.services__intro .text {
  text-align: left;
  max-width: 100%;
  margin: 18px 0 30px;
}

.mini-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 44px 0 14px;
  text-align: left;
}

/* Serviços: "Ferramentas" mais perto do texto (sem o botão entre eles) */
.services__intro .mini-title {
  margin-top: 6px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.chips li {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--soft);
  transition: border-color .2s, color .2s, transform .2s, background-color .2s;
}

.chips li:hover {
  border-color: var(--purple);
  color: var(--purple-soft);
  background: rgba(124, 92, 255, 0.1);
  transform: translateY(-1px);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

/* Cartão com borda em degradê */
.gcard {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, #1a1824, #0e0d13) padding-box,
    linear-gradient(140deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .03) 40%, rgba(124, 92, 255, .25)) border-box;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.gcard:hover {
  transform: translateY(-4px);
  background:
    linear-gradient(160deg, #221c3a, #0f0d17) padding-box,
    linear-gradient(140deg, var(--purple-soft), rgba(124, 92, 255, .15) 50%, var(--purple)) border-box;
  box-shadow: 0 20px 60px rgba(124, 92, 255, .18);
}

.gcard h3 {
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 10px;
  text-align: left;
}

.gcard h3 span {
  color: var(--muted);
}

.gcard p {
  font-size: 14px;
  color: var(--muted);
  text-align: left;
  margin: 0;
}

/* =========================================================
   DESTAQUES
   ========================================================= */
/* =========================================================
   EDUCAÇÃO + CELULAR
   ========================================================= */
/* Licenças e certificados (importados do LinkedIn) */
/* Slider de Formação / Certificados (gerado por initFormacao em js/main.js) */
.edu .slider {
  margin-top: 40px;
}

.edu .slider + .slider {
  margin-top: 72px;
}

.slider__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.slider__title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
}

.slider__nav {
  display: flex;
  gap: 8px;
}

.slider__btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  transition: border-color .3s, background .3s, opacity .3s;
}

.slider__btn:hover:not(:disabled) {
  border-color: var(--purple-soft);
  background: rgba(124, 92, 255, .15);
}

.slider__btn:disabled {
  opacity: .35;
  cursor: default;
}

.slider--static .slider__nav,
.slider--static .slider__dots {
  display: none;
}

.slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max(280px, calc((100% - 40px) / 3));
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block: 4px;
}

.slider__track::-webkit-scrollbar {
  display: none;
}

.slide {
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(22, 20, 30, 0.7);
  border: 1px solid rgba(124, 92, 255, 0.2);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}

.slide:hover {
  border-color: var(--purple-soft);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(124, 92, 255, 0.2);
}

.slide__date {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--purple-soft);
  margin-bottom: 8px;
}

.slide__title {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 6px;
}

.slide__org {
  font-size: 13px;
  color: var(--soft);
  margin-bottom: 14px;
}

.slide__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.slide--cert {
  padding: 22px 52px 22px 22px;
}

.slide--cert .slide__title {
  font-size: 17px;
  line-height: 1.4;
}

.slide__icon {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 20px;
  color: var(--purple-soft);
}

.slide__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--purple-soft);
  text-decoration: none;
}

.slide__link:hover {
  color: var(--text);
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
  cursor: pointer;
  transition: width .3s var(--ease), background .3s;
}

.slider__progress {
  position: relative;
  width: min(220px, 60%);
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}

.slider__bar {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple-glow);
  transition: transform .15s linear;
}

.slider__dot.is-active {
  width: 24px;
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple-glow);
}

@media (max-width: 768px) {
  .slider__track {
    grid-auto-columns: 85%;
  }

}

/* Formação: 2 cards por vez + foto da instituição desfocada com degradê */
#edu-track {
  grid-auto-columns: calc((100% - 20px) / 2);
}

.slide--edu {
  overflow: hidden;
  isolation: isolate;
  min-height: 260px;
  justify-content: flex-end;
  padding: 36px;
}

.slide--edu::before {
  content: "";
  position: absolute;
  inset: -20px;
  z-index: -2;
  background: var(--slide-img, none) right 6% center / auto 100% no-repeat;
  filter: blur(6px) saturate(1.2);
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.slide--edu.has-img::before {
  opacity: .9;
}

.slide--edu:hover::before {
  transform: scale(1.1);
}

.slide--edu::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* escuro à esquerda (texto) → logo da instituição aparece à direita + brilho roxo no topo */
  background:
    linear-gradient(90deg, var(--surface) 0%, rgba(17, 16, 24, .85) 40%, rgba(17, 16, 24, .35) 100%),
    linear-gradient(180deg, rgba(124, 92, 255, .18) 0%, transparent 60%);
}

.slide--edu .slide__title {
  font-size: clamp(22px, 2.4vw, 28px);
}

.slide--edu .slide__org {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  #edu-track {
    grid-auto-columns: 85%;
  }

  .slide--edu {
    min-height: 220px;
    padding: 26px;
  }

}

/* =========================================================
   SOBRE (tema escuro)
   ========================================================= */
.about {
  background: linear-gradient(180deg, #13111b 0%, #0c0b11 100%);
  color: var(--text);
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(124, 92, 255, 0.35);
  border-bottom: 1px solid rgba(124, 92, 255, 0.35);
  margin-block: 40px 20px;
  animation: pulsePurpleGlow 3.5s infinite alternate ease-in-out;
}

@keyframes pulsePurpleGlow {
  0% {
    border-top-color: rgba(124, 92, 255, 0.25);
    border-bottom-color: rgba(124, 92, 255, 0.25);
    box-shadow: 0 0 12px rgba(124, 92, 255, 0.15), inset 0 0 15px rgba(124, 92, 255, 0.08);
  }
  50% {
    border-top-color: rgba(180, 163, 255, 0.85);
    border-bottom-color: rgba(180, 163, 255, 0.85);
    box-shadow: 0 0 24px rgba(124, 92, 255, 0.45), inset 0 0 25px rgba(124, 92, 255, 0.2);
  }
  100% {
    border-top-color: rgba(124, 92, 255, 0.25);
    border-bottom-color: rgba(124, 92, 255, 0.25);
    box-shadow: 0 0 12px rgba(124, 92, 255, 0.15), inset 0 0 15px rgba(124, 92, 255, 0.08);
  }
}

.about__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 28px 36px;
  min-height: 520px;
}

.about__header {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.about__content {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 28px;
  align-items: flex-start;
  width: 100%;
  margin-top: -12px;
}

.about__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  position: relative;
  gap: 24px;
  margin-top: 0;
}

.about__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  width: 100%;
  margin-top: -15px;
}

.about__quote {
  margin-top: 0;
  padding: 24px 26px;
  background: rgba(19, 17, 27, 0.45);
  border: none !important;
  box-shadow: none !important;
  border-radius: 16px;
  position: relative;
  text-align: center;
  width: 100%;
}

.about__mark {
  font-size: 32px;
  display: block;
  margin: 0 auto 12px;
  color: var(--purple-soft);
  line-height: 1;
  text-align: center;
}

.about__quote p {
  font-family: var(--font-main);
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 20px;
  text-align: center;
}

.about__quote cite {
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple-soft);
  display: block;
  letter-spacing: 0.04em;
  text-align: center;
  margin-top: 16px;
}

.tag--light {
  background: rgba(124, 92, 255, 0.15);
  border: 1px solid rgba(157, 135, 255, 0.3);
  color: var(--purple-soft);
  align-self: flex-start;
}

.about__photo {
  align-self: center;
  position: relative;
  width: 100%;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 20%, #000 20%, rgba(0, 0, 0, 0.5) 52%, rgba(0, 0, 0, 0.08) 78%, transparent 96%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 20%, #000 20%, rgba(0, 0, 0, 0.5) 52%, rgba(0, 0, 0, 0.08) 78%, transparent 96%);
}

.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.about__right {
  padding-block: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  align-self: flex-start;
  margin-top: 10px;
}

.about__text {
  font-size: 19px;
  line-height: 1.6;
  color: var(--soft);
  text-align: center;
  padding-inline: 16px;
  margin-inline: auto;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: -38px;
  position: relative;
  z-index: 2;
  width: 100%;
  padding-inline: 0;
}

.about__stats li {
  padding: 16px 12px;
  border-radius: 16px;
  background: rgba(22, 20, 30, 0.7);
  border: 1px solid rgba(124, 92, 255, 0.2);
  text-align: center;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}

.about__stats li:hover {
  border-color: var(--purple-soft);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(124, 92, 255, 0.2);
}

.about__stats strong {
  display: block;
  font-family: var(--font-wide);
  font-size: 22px;
  color: var(--purple-soft);
  text-align: center;
}

.about__stats span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
  display: block;
  margin-top: 6px;
  text-align: center;
}

/* =========================================================
   EXPERIÊNCIA (estilo planos)
   ========================================================= */
/* =========================================================
   EXPERIÊNCIA — linha do tempo com scroll
   ========================================================= */
.exp__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 56px;
}

.tl {
  --when: 210px;
  --rail: 56px;
  position: relative;
  display: grid;
  gap: 56px;
}

.tl__line {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: calc(var(--when) + var(--rail) / 2);
  width: 2px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}

.tl__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--purple-soft), var(--purple));
  box-shadow: 0 0 12px var(--purple-glow);
  transform-origin: top;
  transform: scaleY(0);
}

.tl__item {
  display: grid;
  grid-template-columns: var(--when) var(--rail) minmax(0, 1fr);
  align-items: start;
}

.tl__when {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding-top: 14px;
  text-align: right;
}

.tl__year {
  font-family: var(--font-wide);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  color: rgba(255, 255, 255, .18);
  transition: color .6s var(--ease), text-shadow .6s var(--ease);
}

/* Todos os anos ficam preenchidos (igual ao cargo atual) quando a linha chega neles */
.tl__item.is-in .tl__year {
  color: var(--text);
  text-shadow: 0 0 32px var(--purple-glow);
}

.tl__period {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.tl__duration {
  font-size: 12px;
  color: var(--muted);
  opacity: .8;
}

.tl__logos:not(:has(img)) {
  display: none;
}

.tl__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(157, 135, 255, .3);
  background: rgba(124, 92, 255, .15);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--purple-soft);
}

.tl__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-soft);
  box-shadow: 0 0 8px var(--purple);
}

.tl__dot {
  position: relative;
  z-index: 1;
  justify-self: center;
  margin-top: 30px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .25);
  background: var(--bg);
  transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}

.tl__item.is-in .tl__dot {
  border-color: var(--purple-soft);
  background: var(--purple);
  box-shadow: 0 0 0 6px rgba(124, 92, 255, .15), 0 0 18px var(--purple-glow);
}

.tl__card {
  position: relative;
  padding: 30px 32px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #16141d, #0e0d13);
  border: 1px solid var(--line);
  transition: border-color .3s, opacity .7s var(--ease), transform .7s var(--ease);
}

.tl.is-ready .tl__item:not(.is-in) .tl__card {
  opacity: .3;
  transform: translateX(28px);
}

.tl__card:hover {
  border-color: rgba(124, 92, 255, .5);
}

.tl__item.is-current .tl__card {
  background:
    linear-gradient(180deg, #1d1a2a, #100e17) padding-box,
    linear-gradient(160deg, rgba(180, 163, 255, .7), rgba(124, 92, 255, .1) 50%, rgba(124, 92, 255, .4)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 80px rgba(124, 92, 255, .15);
}

.tl__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  min-height: 30px;
  margin-bottom: 22px;
}

.tl__logos img {
  height: 26px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  opacity: .7;
  transition: opacity .3s, transform .3s, filter .3s;
}

.tl__card:hover .tl__logos img {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(180, 163, 255, .45));
}

.tl__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}

.tl__role {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1.2;
}

.tl__area {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--soft);
}

.tl__item.is-current .tl__area {
  border-color: transparent;
  background: linear-gradient(90deg, #6b4dff, #9d87ff);
  color: #fff;
}

.tl__company {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--purple-soft);
}

.tl__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.tl__list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--soft);
}

.tl__list li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 8px var(--purple-glow);
}

@media (max-width: 768px) {
  .tl {
    --rail: 30px;
    gap: 40px;
  }

  .tl__line {
    left: calc(var(--rail) / 2);
    top: 12px;
  }

  .tl__item {
    grid-template-columns: var(--rail) minmax(0, 1fr);
  }

  .tl__when {
    grid-column: 2;
    grid-row: 1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding-top: 0;
    margin-bottom: 14px;
    text-align: left;
  }

  .tl__year {
    font-size: 30px;
  }

  .tl__dot {
    grid-column: 1;
    grid-row: 1;
    margin-top: 9px;
  }

  .tl__card {
    grid-column: 2;
    grid-row: 2;
    padding: 24px 22px;
  }

  .tl.is-ready .tl__item:not(.is-in) .tl__card {
    transform: translateY(18px);
  }

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

  .tl__logos {
    gap: 12px 18px;
  }

  .tl__logos img {
    height: 20px;
    max-width: 100px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .tl__card,
  .tl__year,
  .tl__dot {
    transition: none;
  }

}

/* =========================================================
   PORTFÓLIO
   ========================================================= */
/* =========================================================
   PORTFÓLIO — cards grandes (fundo desfocado + logo nítido)
   ========================================================= */
.works__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 40px;
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.pcard {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(124, 92, 255, .35), transparent 60%),
    linear-gradient(160deg, #1b1728, #0c0b12);
  cursor: pointer;
  text-align: left;
  animation: pcard-in .7s var(--ease) both;
  animation-delay: var(--d, 0ms);
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s;
}

/* imagem do projeto, desfocada */
.pcard__bg {
  position: absolute;
  inset: -30px;
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(1.2) brightness(.6);
  transform: scale(1.08);
  transition: filter .7s var(--ease), transform .9s var(--ease);
}

.pcard__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 60% at 50% 45%, transparent, rgba(7, 6, 11, .55)),
    linear-gradient(180deg, transparent 55%, rgba(7, 6, 11, .9));
}

/* logo nítido no centro */
.pcard__logo {
  height: clamp(40px, 6vw, 64px);
  width: auto;
  max-width: 62%;
  object-fit: contain;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .55));
  transition: transform .6s var(--ease), filter .6s;
}

/* card sem logo (ex.: UX/UI Design): nome em destaque no lugar do logo */
.pcard__wordmark {
  font-family: var(--font-wide);
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.1;
  text-align: center;
  color: var(--text);
  text-shadow: 0 6px 30px rgba(0, 0, 0, .6);
  transition: transform .6s var(--ease), text-shadow .6s;
}

.pcard:hover .pcard__wordmark {
  transform: scale(1.04);
  text-shadow: 0 0 24px rgba(180, 163, 255, .55), 0 6px 30px rgba(0, 0, 0, .6);
}

.deck__logo[hidden] {
  display: none;
}

.deck__logo[hidden] + .deck__heading {
  padding-left: 0;
  border-left: 0;
}

.pcard__info {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
}

.pcard__meta {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--purple-soft);
}

.pcard__title {
  display: block;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--text);
}

.pcard__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(7, 6, 11, .45);
  backdrop-filter: blur(8px);
  font-size: 12px;
  color: var(--soft);
  transition: background .3s, border-color .3s, color .3s;
}

.pcard:hover {
  border-color: rgba(180, 163, 255, .55);
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(124, 92, 255, .18);
}

.pcard:hover .pcard__bg {
  filter: blur(10px) saturate(1.3) brightness(.7);
  transform: scale(1.14);
}

.pcard:hover .pcard__logo {
  transform: scale(1.06);
  filter: drop-shadow(0 0 18px rgba(180, 163, 255, .55)) drop-shadow(0 6px 24px rgba(0, 0, 0, .55));
}

.pcard:hover .pcard__cta {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

@keyframes pcard-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* =========================================================
   APRESENTAÇÃO EM SLIDES (tela cheia)
   ========================================================= */
.deck {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(7, 6, 11, .96);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}

.deck.is-open {
  opacity: 1;
  visibility: visible;
}

.deck__bg {
  position: absolute;
  inset: -60px;
  z-index: -1;
  background-size: cover;
  background-position: center;
  filter: blur(60px) brightness(.35) saturate(1.3);
  opacity: .8;
}

.deck__top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
}

.deck__logo {
  height: 30px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.deck__heading {
  flex: 1;
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.deck__meta {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--purple-soft);
}

.deck__title {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deck__counter {
  font-family: var(--font-wide);
  font-size: 13px;
  color: var(--soft);
  letter-spacing: .08em;
}

.deck__close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: 22px;
  color: var(--text);
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .3s var(--ease);
}

.deck__close:hover {
  background: var(--purple);
  border-color: var(--purple);
  transform: rotate(90deg);
}

.deck__stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.deck__stage:active {
  cursor: grabbing;
}

.deck__track {
  display: flex;
  height: 100%;
  transition: transform .6s var(--ease);
}

.deck__slide {
  flex: 0 0 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 36px) clamp(56px, 8vw, 110px);
  margin: 0;
}

.deck__slide img,
.deck__slide video {
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  user-select: none;
  transform: scale(.94);
  opacity: .5;
  transition: transform .6s var(--ease), opacity .6s;
}

.deck.is-open .deck__slide video,
.deck.is-open .deck__slide img {
  transform: none;
  opacity: 1;
}

/* landing pages longas: rolagem vertical dentro do slide */
.deck__slide--long {
  display: block;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(180, 163, 255, .4) transparent;
}

.deck__slide--long img {
  display: block;
  width: min(900px, 100%);
  max-height: none;
  margin: 0 auto;
}

.deck__slide--empty {
  gap: 18px;
  color: var(--muted);
}

.deck__slide--empty img {
  max-height: 70px;
  box-shadow: none;
  opacity: .9;
}

.deck__nav {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(7, 6, 11, .6);
  backdrop-filter: blur(8px);
  font-size: 26px;
  color: var(--text);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background .25s, border-color .25s, opacity .25s;
}

.deck__nav:hover:not(:disabled) {
  background: var(--purple);
  border-color: var(--purple);
}

.deck__nav:disabled {
  opacity: .25;
  cursor: default;
}

.deck__nav--prev { left: clamp(8px, 2vw, 28px);
}

.deck__nav--next { right: clamp(8px, 2vw, 28px);
}

.deck--single .deck__nav { display: none;
}

.deck__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 clamp(16px, 4vw, 40px) 24px;
}

.deck__desc {
  max-width: 70ch;
  text-align: center;
  font-size: 14px;
  color: var(--soft);
}

.deck__desc:empty {
  display: none;
}

.deck__progress {
  display: flex;
  gap: 6px;
  width: min(520px, 100%);
}

.deck__progress button {
  flex: 1;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, .15);
  cursor: pointer;
  transition: background .3s;
}

.deck__progress button.is-active {
  background: var(--purple-soft);
  box-shadow: 0 0 10px var(--purple-glow);
}

@media (max-width: 760px) {
  .pgrid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pcard {
    aspect-ratio: 4 / 3;
  }

  .pcard__info {
    padding: 16px 18px;
  }

  .deck__top {
    gap: 12px;
    padding: 14px 16px;
  }

  .deck__logo {
    height: 22px;
    max-width: 90px;
  }

  .deck__heading {
    padding-left: 12px;
  }

  .deck__counter {
    display: none;
  }

  .deck__slide {
    padding: 12px;
  }

  .deck__nav {
    top: auto;
    bottom: 10px;
    width: 44px;
    height: 44px;
    transform: none;
  }

}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   CONTATO
   ========================================================= */
.contact {
  --arc-top: 200px; /* espaço acima do arco para o brilho roxo sumir suave */
  position: relative;
  overflow: hidden;
  padding-block: 340px 120px;
  text-align: center;
  isolation: isolate;
}

.contact__arc {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: var(--arc-top);
  width: 1500px;
  height: 1500px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, #07060b 96%, transparent);
  box-shadow: 0 -2px 0 rgba(200, 190, 255, .9), 0 -30px 90px rgba(124, 92, 255, .55), 0 -80px 160px rgba(124, 92, 255, .25);
}

/* Globo de pontos girando dentro do arco (desenhado em js/main.js → initGlobe) */
.contact__globe {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: var(--arc-top);
  width: 1500px;
  height: calc(100% - var(--arc-top));
  transform: translateX(-50%);
  pointer-events: none;
}

.contact .title {
  margin-bottom: 36px;
}

.contact__logo {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(124, 92, 255, .55));
}

.contact__pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .03);
}

.contact__number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--soft);
  font-size: 15px;
  white-space: nowrap;
}

.contact__number i {
  color: var(--purple-soft);
}

.contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6b4dff, #9d87ff);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: box-shadow .3s, filter .3s, transform .25s var(--ease);
}

.contact__btn:hover {
  box-shadow: 0 10px 40px var(--purple-glow);
  filter: brightness(.88);
  transform: translateY(-2px);
}

.contact__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 22px auto 0;
  font-size: 14px;
  color: var(--soft);
  transition: color .2s;
}

.contact__link:hover {
  color: var(--purple-soft);
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 28px;
  margin-top: 22px;
}

.contact__links .contact__link {
  margin: 0;
}

/* =========================================================
   RODAPÉ
   ========================================================= */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer__social {
  display: flex;
  gap: 14px;
  font-size: 18px;
}

.footer__social a,
.footer__top {
  transition: color .2s;
}

.footer__social a:hover,
.footer__top:hover {
  color: var(--purple-soft);
}

.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Foco visível e movimento reduzido */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1080px) {
  .services {
    grid-template-columns: 1fr;
  }

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

  .about__left {
    grid-column: 1 / -1;
    padding-bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .about__quote {
    margin-top: 10px;
    width: 100%;
  }

  .about__right {
    padding-top: 30px;
  }

}

@media (max-width: 860px) {
  .section {
    padding-block: 80px;
  }

  .about__inner {
    padding-block: 20px;
    gap: 12px;
  }

  .about__header {
    justify-content: flex-start;
  }

  .about__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-top: 0;
  }

  .about__center {
    order: 1;
    max-width: 400px;
    width: 100%;
    margin-top: 0;
  }

  .about__photo {
    max-width: 360px;
    width: 100%;
    justify-self: center;
    align-self: center;
  }

  .about__left {
    order: 2;
    max-width: 400px;
    width: 100%;
    margin-top: 0;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about__quote {
    display: block;
    margin-top: 0;
    margin-inline: auto;
    width: 100%;
    text-align: center;
  }

  .about__right {
    order: 3;
    padding-block: 0 20px;
    width: 100%;
    margin-top: 0;
  }

}

@media (max-width: 640px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .status {
    font-size: 10px;
    padding: 6px 10px;
  }

  .hero__name {
    margin-top: -45px;
    padding-inline: 20px;
  }

  .pillnav {
    margin-top: -60px;
    gap: 0;
    padding: 4px;
  }

  .pillnav a {
    padding: 9px 10px;
    font-size: 10px;
    letter-spacing: .04em;
  }

  .pillnav__sep {
    display: none;
  }

  .pillnav a.pillnav__cta {
    padding: 9px 10px;
  }

  /* menu com 6 itens: some o "Início" (o logo/voltar ao topo já levam ao início) */
  .pillnav a[data-link="inicio"] {
    display: none;
  }

  .pillnav a {
    white-space: nowrap;
  }

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

  .about__stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .about__stats li {
    padding: 12px 10px;
  }

  .about__stats strong {
    font-size: 18px;
  }

  .contact {
    padding-top: 290px;
  }

  .contact__pill {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border-radius: 24px;
    width: 100%;
  }

  .contact__btn {
    width: 100%;
  }

  .footer {
    justify-content: center;
    text-align: center;
  }

}

/* =========================================================
   EFEITOS INTERATIVOS — INSPIRAÇÃO REENI
   ========================================================= */
/* 1. Surgimento ao rolar a página (Scroll Reveal) */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 2. Hover nos títulos dos cartões — muda cor + linha roxa animada */
.gcard h3,
.ecard h3,
.exp__item h3 {
  position: relative;
  display: inline-block;
  transition: color 0.35s var(--ease);
}

.gcard h3::after,
.ecard h3::after,
.exp__item h3::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple) 0%, var(--purple-soft) 100%);
  transition: width 0.35s var(--ease);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--purple-glow);
}

.gcard:hover h3,
.ecard:hover h3,
.exp__item:hover h3 {
  color: var(--purple-soft);
}

.gcard:hover h3::after,
.ecard:hover h3::after,
.exp__item:hover h3::after {
  width: 100%;
}

/* telas bem estreitas: menu mais compacto ("Sobre mim" vira "Sobre") */
@media (max-width: 400px) {
  .pillnav a,
  .pillnav a.pillnav__cta {
    padding: 8px 6px;
    font-size: 9.5px;
    letter-spacing: .02em;
  }

  .pillnav__long {
    display: none;
  }
}
