/* ───────── Abertura ───────── */
.hero {
  position: relative;
  min-height: max(680px, 100svh);
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(env(safe-area-inset-top, 0px) + 80px) var(--gutter) 160px;
  overflow: hidden;
}
.hero__planet {
  position: absolute;
  left: 50%;
  top: 78%;
  width: max(1500px, 150vw);
  aspect-ratio: 1;
  border-radius: 50%;
  translate: calc(-50% + var(--px, 0px)) var(--py, 0px);
  background:
    radial-gradient(circle at 50% 0%, rgba(159, 230, 255, 0.35), transparent 12%),
    radial-gradient(circle at 50% 50%, #0a1640 55%, #050b24 70%);
  box-shadow:
    0 -2px 0 rgba(190, 225, 255, 0.55),
    0 -10px 40px rgba(122, 167, 255, 0.55),
    0 -40px 140px rgba(29, 63, 184, 0.55),
    inset 0 30px 80px rgba(122, 167, 255, 0.25);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 100%;
}
.hero__name {
  --lx: 50%;
  --ly: 40%;
  font-size: var(--fs-name);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.9;
  padding: 0.04em 0.08em 0.1em;
  margin-top: 8px;
  background:
    radial-gradient(40% 80% at var(--lx) var(--ly), #ffffff, transparent 70%),
    linear-gradient(180deg, #ffffff 15%, #b8c8ff 60%, #5f78c9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 50px rgba(122, 167, 255, 0.28));
  animation: name-in 1.4s var(--ease) 0.1s both;
}
.hero__subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin-top: 0.1em;
  font-family: var(--font-wide);
  font-weight: 400;
  font-size: clamp(0.95rem, 0.7rem + 1.2vw, 1.6rem);
  letter-spacing: 0.55em;
  text-transform: uppercase;
  line-height: 1.2;
  padding-left: 0.55em;
  color: transparent;
  background: linear-gradient(90deg, #d6e2ff, var(--accent-2) 50%, #c4b5ff);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(159, 230, 255, 0.35));
}
.hero__subtitle::before,
.hero__subtitle::after {
  content: "";
  width: clamp(28px, 6vw, 72px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(159, 230, 255, 0.7));
}
.hero__subtitle::after { background: linear-gradient(90deg, rgba(159, 230, 255, 0.7), transparent); }
.hero__lead { max-width: 44ch; color: var(--text-2); font-size: clamp(1rem, 0.94rem + 0.35vw, 1.18rem); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 30px);
  translate: -50% 0;
  color: var(--text-2);
  transition: color 0.3s;
}
.hero__cue:hover { color: var(--text); }
.hero__mouse { display: flex; justify-content: center; width: 24px; height: 38px; padding-top: 7px; border: 1.5px solid currentColor; border-radius: 14px; }
.hero__mouse span { width: 3px; height: 8px; border-radius: 2px; background: currentColor; animation: wheel 1.8s var(--ease) infinite; }

@media (max-width: 600px) {
  .hero__planet { top: 84%; }
}

/* ───────── Experiência: lista editorial, sem cartões ───────── */
.xp { border-top: 1px solid var(--line-2); }
.role {
  --brand: var(--accent);
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line-2);
  isolation: isolate;
}
.role--comtele { --brand: #7c4dff; }
.role--ads { --brand: #3d4dff; }
.role::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -1);
  z-index: -1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.9s var(--ease);
}
.role:hover::before { transform: scaleX(1); }

.role__aside { display: grid; gap: 16px; justify-items: start; }
.role__logo {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--brand) 90%, transparent);
  transition: rotate 0.6s var(--spring), scale 0.6s var(--spring);
}
.role--ads .role__logo { background: #00008f; }
.role:hover .role__logo { rotate: -6deg; scale: 1.06; }
.role__logo img { width: 100%; height: 100%; object-fit: cover; }
.role__when { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--text-2); }
.role__when--live { color: var(--ok); }
.role__when--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: ping 2.2s var(--ease) infinite; }

.role__name {
  font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin-bottom: 14px;
  transition: translate 0.6s var(--ease);
}
.role--ads .role__name { font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3.1rem); }
.role:hover .role__name { translate: 10px 0; }
.role__sub { color: var(--text-2); font-size: 1.02rem; }

.role__desc { color: var(--text-2); font-size: 1.04rem; margin-bottom: 24px; }
.role__tech { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.role__tech li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; color: var(--text); transition: color 0.3s, translate 0.35s var(--spring); }
.role__tech li:hover { translate: 0 -2px; color: #fff; }
.role__icon { width: 20px; height: 20px; flex: none; display: grid; place-items: center; }
.role__icon img, .role__icon svg { width: 100%; height: 100%; }

@media (max-width: 900px) {
  .role { grid-template-columns: 96px minmax(0, 1fr); }
  .role__body { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .role { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .role__aside { grid-auto-flow: column; align-items: center; justify-content: start; }
  .role__logo { width: 72px; height: 72px; border-radius: 18px; }
}

/* ───────── Stack ───────── */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; perspective: 1200px; }
.tech {
  --c: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 22px;
  min-height: 170px;
  overflow: hidden;
  transition: opacity 0.5s var(--ease), scale 0.5s var(--ease), filter 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s var(--ease);
}
.tech__glow {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 55%, transparent), transparent 65%);
  opacity: 0.18;
  transition: opacity 0.5s, scale 0.6s var(--ease);
  pointer-events: none;
}
.tech:hover .tech__glow { opacity: 0.6; scale: 1.3; }
.tech__icon {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  transition: scale 0.5s var(--spring), rotate 0.5s var(--spring), background 0.4s;
}
.tech__icon img, .tech__icon svg { width: 100%; height: 100%; }
.tech__icon svg { color: var(--c); }
.tech:hover .tech__icon { scale: 1.1; rotate: -6deg; background: rgba(255, 255, 255, 0.1); }
.tech__name { position: relative; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.02em; margin-top: auto; }
.tech__cat { position: relative; font-size: 0.8rem; color: var(--text-3); margin-top: -12px; }
.tech.is-dim { opacity: 0.2; scale: 0.95; filter: grayscale(1); }

@media (max-width: 900px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .tech { padding: 16px; min-height: 140px; } }

/* ───────── Rodapé ───────── */
.footer { border-top: 1px solid var(--line); padding-block: clamp(56px, 8vw, 96px) calc(env(safe-area-inset-bottom, 0px) + 28px); background: linear-gradient(180deg, transparent, rgba(3, 6, 22, 0.85)); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px; margin-bottom: 56px; }
.footer__title { font-family: var(--font-display); font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); font-weight: 700; letter-spacing: -0.04em; margin-bottom: 8px; }
.footer__text { color: var(--text-2); }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: var(--text-3); }

/* ───────── Datas da experiência ───────── */
.role { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.15fr); }
.role__dates { display: grid; gap: 4px; }
.role__period { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.role__duration { font-size: 0.84rem; color: var(--text-3); }
@media (max-width: 900px) { .role { grid-template-columns: 120px minmax(0, 1fr); } }
@media (max-width: 520px) { .role { grid-template-columns: minmax(0, 1fr); } .role__aside { gap: 16px; } }

/* ───────── Cartão do perfil no LinkedIn ───────── */
.section--tight { padding-block: clamp(40px, 6vw, 80px) clamp(80px, 10vw, 140px); }
.profile {
  position: relative;
  display: block;
  max-width: 820px;
  margin-inline: auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #0a1235;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9), 0 0 80px -40px rgba(124, 77, 255, 0.5);
  transition: box-shadow 0.5s var(--ease), border-color 0.4s;
}
.profile:hover { border-color: rgba(159, 230, 255, 0.45); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9), 0 0 100px -30px rgba(124, 77, 255, 0.75); }
.profile__banner { display: block; height: clamp(110px, 18vw, 170px); overflow: hidden; }
.profile__banner img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.profile:hover .profile__banner img { scale: 1.05; }
.profile__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "photo photo" "info orgs" "cta cta";
  gap: 14px 24px;
  padding: 0 clamp(20px, 4vw, 36px) clamp(22px, 3vw, 30px);
}
.profile__photo {
  grid-area: photo;
  width: clamp(96px, 14vw, 132px);
  aspect-ratio: 1;
  margin-top: calc(clamp(96px, 14vw, 132px) / -2);
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #0a1235;
  box-shadow: 0 0 0 1px var(--line-2);
}
.profile__photo img { width: 100%; height: 100%; object-fit: cover; scale: 1.08; }
.profile__info { grid-area: info; display: grid; gap: 2px; min-width: 0; }
.profile__name { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 700; letter-spacing: -0.03em; }
.profile__role { font-size: 1.02rem; color: var(--text); }
.profile__place { font-size: 0.9rem; color: var(--text-3); }
.profile__orgs { grid-area: orgs; display: grid; gap: 10px; align-content: start; }
.profile__org { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 600; }
.profile__logo { width: 32px; height: 32px; flex: none; border-radius: 7px; overflow: hidden; background: #fff; }
.profile__logo img { width: 100%; height: 100%; object-fit: cover; }
.profile__logo--comtele img { scale: 1.7; }
.profile__cta {
  grid-area: cta;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding-inline: 18px;
  margin-top: 6px;
  border-radius: var(--r-pill);
  background: var(--text);
  color: var(--space-0);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  transition: translate 0.4s var(--spring);
}
.profile:hover .profile__cta { translate: 4px 0; }
@media (max-width: 600px) {
  .profile__body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "info" "orgs" "cta"; }
}

/* ───────── E-mail no rodapé ───────── */
.footer__mail { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.footer__address {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.9rem + 1vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent-2);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease);
  word-break: break-all;
}
.footer__address:hover { background-size: 100% 1px; }
.footer__copy {
  height: 32px;
  padding-inline: 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.footer__copy:hover { color: var(--text); border-color: var(--accent-2); background: rgba(159, 230, 255, 0.08); }
