/* Redesign inspirado na linguagem editorial da referência, com identidade própria. */

:root {
  --redesign-bg: #0a0a0a;
  --redesign-surface: #121212;
  --redesign-surface-soft: #171717;
  --redesign-line: rgba(255, 255, 255, 0.11);
  --redesign-line-strong: rgba(255, 255, 255, 0.24);
  --redesign-text: #f5f5f5;
  --redesign-muted: #979797;
  --redesign-accent: #f2f2f3;
  --redesign-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --redesign-reveal-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

body {
  background: var(--redesign-bg);
}

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: auto;
  }
}

/* Evita que os reveals laterais ampliem a largura rolável da página. */
.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  filter: blur(6px);
  transition:
    opacity 920ms var(--redesign-reveal-ease),
    transform 980ms var(--redesign-reveal-ease),
    filter 820ms ease-out;
  will-change: opacity, transform, filter;
}

.scroll-reveal--left,
.scroll-reveal--right {
  transform: translate3d(0, 34px, 0);
}

:where(.hero-minimal, .projects-redesign, .contact-redesign) span {
  color: inherit;
}

:where(.hero-minimal, .projects-redesign, .contact-redesign) a:focus-visible,
:where(.hero-minimal, .projects-redesign, .contact-redesign) button:focus-visible {
  outline: 2px solid var(--redesign-accent);
  outline-offset: 4px;
}

.hero-minimal a:focus-visible,
.hero-minimal button:focus-visible {
  outline-color: rgba(255, 255, 255, 0.78);
}

/* Loading mais curto e coerente com a nova direção. */
.loading-screen {
  background: #090909;
}

.logo-text {
  background: none;
  -webkit-text-fill-color: var(--redesign-text);
  color: var(--redesign-text);
  font-family: "Poppins", sans-serif;
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.08em;
  animation: none;
}

.loading-container {
  animation: none;
}

.loading-dots span,
.progress-fill {
  background: var(--redesign-text);
  box-shadow: none;
}

.loading-progress {
  height: 2px;
}

.progress-fill {
  animation-duration: 1.1s;
}

/* Hero */
.hero-minimal.first_section {
  min-height: 100svh;
  display: block;
  isolation: auto;
  background:
    radial-gradient(circle at 77% 42%, rgba(255, 255, 255, 0.035), transparent 24rem),
    linear-gradient(180deg, #0b0b0b 0%, #090909 100%);
  color: var(--redesign-text);
  overflow: visible;
}

.hero-minimal.first_section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 88%);
}

.hero-minimal.first_section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  z-index: 0;
  background: linear-gradient(to bottom, transparent, #000);
}

.hero-minimal__grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.32;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

.hero-minimal__grain .particle {
  display: none;
}

.hero-header.cabecalho {
  width: 100%;
  min-height: 74px;
  padding: 14px clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: initial;
  background: rgba(10, 10, 10, 0.72) !important;
  border-bottom: 1px solid var(--redesign-line);
  backdrop-filter: blur(18px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(130%) !important;
}

.hero-header__brand {
  justify-self: start;
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  color: var(--redesign-text);
  font-family: "Poppins", sans-serif;
}

.hero-header__brand span {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.hero-header__brand small {
  color: var(--redesign-muted);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-header .hero-header__nav ul {
  display: flex;
  gap: 4px;
}

.hero-header .hero-header__nav li a {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  color: #c5c5c5;
  background: transparent;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.hero-header .hero-header__nav li a::before,
.hero-header .hero-header__nav li a::after {
  display: none;
}

.hero-header .hero-header__nav li:hover a {
  color: #0a0a0a;
  background: var(--redesign-text);
  box-shadow: none;
  transform: translateY(-1px);
}

.hero-header__availability {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--redesign-muted);
  font-family: "Poppins", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-header__availability span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8de8a4;
  box-shadow: 0 0 0 5px rgba(141, 232, 164, 0.08);
  animation: availabilityPulse 2.4s ease-in-out infinite;
}

.hero-minimal__shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 132px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.72fr);
  align-items: center;
  gap: clamp(56px, 8vw, 118px);
}

.hero-minimal__copy {
  min-width: 0;
}

.hero-minimal__eyebrow {
  margin: 0 0 12px;
  color: var(--redesign-muted) !important;
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.8rem, 1.1vw, 0.96rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-minimal .hero-minimal__title {
  margin: 0;
  max-width: 760px;
  color: #77747a;
  font-family: "Raleway", sans-serif;
  font-size: clamp(4rem, 7.7vw, 7.7rem);
  font-style: normal;
  font-weight: 300;
  letter-spacing: -0.075em;
  line-height: 0.9;
  text-align: left;
  text-transform: none;
  text-shadow: none;
}

.hero-minimal .hero-minimal__title strong {
  display: block;
  color: var(--redesign-text);
  font-weight: 700;
}

.hero-minimal .hero-minimal__subtitle {
  max-width: 580px;
  margin: clamp(24px, 3vw, 38px) 0 0;
  color: #aaaaaa !important;
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  font-weight: 300;
  line-height: 1.85;
  text-align: left;
  text-transform: none;
}

.hero-minimal__footer {
  margin-top: clamp(34px, 4vw, 54px);
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 54px);
}

.hero-minimal__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
}

.hero-button {
  min-width: 142px;
  padding: 13px 23px;
  border: 1px solid var(--redesign-text);
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  transition: transform 260ms var(--redesign-ease), background 260ms ease, color 260ms ease, border-color 260ms ease;
}

.hero-button:hover {
  transform: translateY(-3px);
}

.hero-button--filled {
  background: var(--redesign-text);
  color: #0a0a0a;
}

.hero-button--filled:hover {
  background: #d8d8da;
  border-color: #d8d8da;
  color: #0a0a0a;
}

.hero-button--outline {
  background: transparent;
  color: var(--redesign-text);
}

.hero-button--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--redesign-line-strong);
}

.hero-minimal__quote {
  max-width: 255px;
  color: #777777;
  font-family: "Raleway", sans-serif;
  font-size: 0.77rem;
  font-style: italic;
  line-height: 1.65;
}

.hero-minimal__quote span {
  display: block;
  margin-top: 5px;
  color: #b4b4b4;
  text-align: right;
}

.hero-portrait {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-portrait__frame {
  position: relative;
  z-index: 2;
  width: 83%;
  aspect-ratio: 1;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: #111;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.hero-portrait__frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  box-shadow: inset 0 0 52px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-portrait__frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: contrast(1.03) saturate(0.9) grayscale(0.24);
  transition: transform 700ms var(--redesign-ease), filter 500ms ease;
}

.hero-portrait:hover .hero-portrait__frame img {
  transform: scale(1.045);
  filter: contrast(1.05) saturate(0.98) grayscale(0.08);
}

.hero-portrait__orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  animation: portraitOrbit 18s linear infinite;
}

.hero-portrait__orbit::before,
.hero-portrait__orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--redesign-text);
}

.hero-portrait__orbit::before {
  top: 13%;
  right: 13%;
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.05);
}

.hero-portrait__orbit::after {
  left: 6%;
  bottom: 20%;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-portrait__orbit span {
  position: absolute;
  inset: 8%;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  border-right: 1px solid transparent;
  border-radius: 50%;
}

.hero-portrait__caption {
  position: absolute;
  z-index: 3;
  right: -18px;
  bottom: 12%;
  padding: 8px 13px;
  border: 1px solid var(--redesign-line);
  background: rgba(12, 12, 12, 0.82);
  backdrop-filter: blur(10px);
  color: var(--redesign-muted) !important;
  font-family: "Poppins", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}

.hero-scroll {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #777777;
  font-family: "Poppins", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll i {
  font-size: 0.62rem;
  animation: scrollNudge 1.8s ease-in-out infinite;
}

.motion-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.992);
  filter: blur(6px);
  transition:
    opacity 920ms var(--redesign-reveal-ease),
    transform 1020ms var(--redesign-reveal-ease),
    filter 820ms ease-out;
  will-change: opacity, transform, filter;
}

.motion-reveal.is-visible,
body.is-ready .hero-minimal .motion-reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

body.is-ready .hero-minimal__eyebrow { transition-delay: 80ms; }
body.is-ready .hero-minimal__title { transition-delay: 170ms; }
body.is-ready .hero-minimal__subtitle { transition-delay: 260ms; }
body.is-ready .hero-minimal__footer { transition-delay: 350ms; }
body.is-ready .hero-portrait { transition-delay: 250ms; }

/* Projetos */
.projects-redesign.projetos {
  position: relative;
  max-width: none;
  margin: 0;
  padding: clamp(100px, 10vw, 160px) clamp(24px, 6vw, 88px);
  background: #111;
  color: var(--redesign-text);
  overflow: clip;
}

.projects-redesign.projetos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(88%, 1180px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.projects-redesign__intro,
.projects-redesign__layout {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.projects-redesign__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 54px;
}

.projects-redesign__kicker,
.contact-redesign__kicker {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--redesign-muted);
  font-family: "Poppins", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.projects-redesign__intro h2 {
  margin: 0;
  color: var(--redesign-text);
  font-family: "Raleway", sans-serif;
  font-size: clamp(3.8rem, 7vw, 6.9rem);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.85;
  text-transform: none;
}

.projects-redesign__intro > p:last-child {
  max-width: 530px;
  justify-self: end;
  margin: 0;
  color: #9f9f9f;
  font-family: "Poppins", sans-serif;
  font-size: 0.93rem;
  font-weight: 300;
  line-height: 1.8;
}

.projects-redesign__layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
}

.projects-redesign__sidebar {
  position: sticky;
  top: 104px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-filter {
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #181818;
  color: #77737c;
  font-family: "Poppins", sans-serif;
  font-size: 0.79rem;
  text-align: left;
  transition: transform 250ms var(--redesign-ease), background 250ms ease, color 250ms ease, border-color 250ms ease;
}

.project-filter:hover {
  transform: translateX(4px);
  color: var(--redesign-text);
  border-color: var(--redesign-line);
}

.project-filter.is-active {
  background: var(--redesign-text);
  color: #0d0d0d;
}

.project-filter i {
  width: 18px;
  font-size: 0.9rem;
  text-align: center;
}

.projects-redesign__sidebar-note {
  margin-top: 12px;
  padding-left: 4px;
  color: #646168 !important;
  font-family: "Poppins", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.projects-redesign__panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--redesign-line);
  border-radius: 22px;
  background: rgba(9, 9, 9, 0.38);
}

.projects-redesign__panel-head {
  margin-bottom: 22px;
  padding: 0 3px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--redesign-line);
  color: #dedede;
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.projects-redesign__panel-head small {
  color: #69666d;
  font-size: 0.62rem;
}

.projects-grid-redesign.projects-container {
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.projects-redesign .project-card.project {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: flex !important;
  flex-direction: column;
  grid-template-columns: none;
  gap: 0;
  border: 1px solid var(--redesign-line);
  border-radius: 18px;
  background: #151515;
  overflow: hidden;
  box-shadow: none;
  transform: translateY(0);
  transition:
    opacity 420ms var(--redesign-ease),
    transform 420ms var(--redesign-ease),
    border-color 300ms ease,
    box-shadow 300ms ease;
  order: initial !important;
}

.projects-redesign .project-card.project[hidden] {
  display: none !important;
}

.projects-redesign .project-card.project:hover {
  transform: translateY(-7px) !important;
  border-color: rgba(255, 255, 255, 0.27);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.36);
}

.projects-redesign .project-card.filter-enter {
  animation: projectFilterEnter 520ms var(--redesign-ease) var(--filter-delay, 0ms) both;
}

.project-card__visual.project-link {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  border: 0;
  border-radius: 0;
  background: #090909;
  overflow: hidden;
}

.project-card__visual.project-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.7));
  opacity: 0.65;
  transition: opacity 350ms ease;
}

.project-card__visual .project-image {
  width: 100%;
  height: 100%;
  padding: 0;
  display: block;
  object-fit: cover;
  border-radius: 0;
  filter: saturate(0.52) brightness(0.76);
  transform: scale(1.01);
  transition: transform 750ms var(--redesign-ease), filter 500ms ease;
}

.project-card:hover .project-card__visual .project-image {
  filter: saturate(0.9) brightness(0.92);
  transform: scale(1.065);
}

.project-card__number {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  min-width: 38px;
  height: 27px;
  padding: 0 9px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.7);
  color: #c9c9c9 !important;
  backdrop-filter: blur(10px);
  font-family: "Poppins", sans-serif;
  font-size: 0.61rem;
  letter-spacing: 0.08em;
}

.project-card__body.project-details {
  min-width: 0;
  padding: 22px 22px 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  color: var(--redesign-text);
  text-align: left;
}

.project-card__body > div:first-child {
  display: block;
}

.project-card__type {
  display: block;
  margin-bottom: 6px;
  color: #77737c !important;
  font-family: "Poppins", sans-serif;
  font-size: 0.61rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card__body h3 {
  margin: 0;
  color: var(--redesign-text);
  font-family: "Raleway", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.project-card__body > p {
  margin: 0;
  color: #909090;
  font-family: "Poppins", sans-serif;
  font-size: 0.76rem;
  font-weight: 300;
  line-height: 1.7;
}

.project-card__actions {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--redesign-line);
}

.project-card__actions a {
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--redesign-line);
  border-radius: 999px;
  color: #aaaaaa;
  font-family: "Poppins", sans-serif;
  font-size: 0.65rem;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}

.project-card__actions a:hover {
  border-color: var(--redesign-text);
  background: var(--redesign-text);
  color: #0c0c0c;
}

/* Contato */
.contact-redesign.contact-section {
  position: relative;
  min-height: 84svh;
  padding: clamp(110px, 12vw, 180px) clamp(24px, 6vw, 88px) 100px;
  display: grid;
  place-items: center;
  background: #0b0b0b;
  color: var(--redesign-text);
  overflow: hidden;
}

.contact-redesign__glow {
  position: absolute;
  left: 50%;
  top: 12%;
  width: 62vw;
  height: 62vw;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 62%);
  pointer-events: none;
}

.contact-redesign__shell {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  margin-inline: auto;
  text-align: center;
}

.contact-redesign__kicker {
  margin-bottom: 25px;
}

.contact-redesign .contact-title {
  margin: 0;
  color: #77737c;
  font-family: "Raleway", sans-serif;
  font-size: clamp(3.7rem, 8vw, 7.4rem);
  font-style: normal;
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 0.9;
  text-transform: none;
}

.contact-redesign .contact-title span {
  color: var(--redesign-text);
  font-weight: 700;
}

.contact-redesign .contact-subtitle {
  max-width: 650px;
  margin: 28px auto 54px;
  color: #939393;
  font-family: "Poppins", sans-serif;
  font-size: 0.93rem;
  font-weight: 300;
  line-height: 1.8;
}

.contact-redesign__channels.contact-container {
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-redesign .contact-item {
  min-width: 0;
  min-height: 82px;
  padding: 17px 20px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--redesign-line);
  border-radius: 16px;
  background: #121212;
  color: var(--redesign-text);
  text-align: left;
  box-shadow: none;
  animation: none;
  transition: transform 300ms var(--redesign-ease), background 300ms ease, border-color 300ms ease;
}

.contact-redesign .contact-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  background: #171717;
  box-shadow: none;
}

.contact-redesign .contact-item > i:first-child {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--redesign-line);
  border-radius: 50%;
  color: #d8d8d8;
  font-size: 1.02rem;
  transition: background 250ms ease, color 250ms ease;
}

.contact-redesign .contact-item:hover > i:first-child {
  background: var(--redesign-text);
  color: #0b0b0b;
}

.contact-redesign .contact-item > i:last-child {
  color: #555555;
  font-size: 0.67rem;
  transition: color 250ms ease, transform 250ms var(--redesign-ease);
}

.contact-redesign .contact-item:hover > i:last-child {
  color: var(--redesign-text);
  transform: translate(2px, -2px);
}

.contact-redesign .contact-item span {
  min-width: 0;
  overflow: hidden;
  color: #c9c9c9;
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.68rem, 1vw, 0.78rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-redesign .contact-item small {
  display: block;
  margin-bottom: 3px;
  color: #69666e;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-redesign__footer {
  margin-top: 34px;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--redesign-line);
  color: #706d74;
  font-family: "Poppins", sans-serif;
  font-size: 0.67rem;
  letter-spacing: 0.04em;
}

.contact-redesign__footer > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-redesign__footer a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d5d5d5;
  text-transform: uppercase;
  transition: color 220ms ease, gap 220ms ease;
}

.contact-redesign__footer a:hover {
  gap: 15px;
  color: var(--redesign-accent);
}

.footer {
  border-top: 1px solid var(--redesign-line);
  background: #080808;
}

@keyframes portraitOrbit {
  to { transform: rotate(360deg); }
}

@keyframes scrollNudge {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(5px); opacity: 1; }
}

@keyframes availabilityPulse {
  0%, 100% { opacity: 0.62; }
  50% { opacity: 1; }
}

@keyframes projectFilterEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1024px) {
  .hero-header.cabecalho {
    grid-template-columns: 1fr auto;
  }

  .hero-header__availability {
    display: none;
  }

  .hero-minimal__shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.72fr);
    gap: 48px;
  }

  .hero-minimal__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-minimal__quote {
    max-width: 320px;
  }

  .projects-redesign__layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .projects-grid-redesign.projects-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-header.cabecalho {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-height: 64px;
    padding: 10px 20px !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    border-width: 0 0 1px !important;
    border-radius: 0 !important;
    transform: none !important;
    box-shadow: none !important;
    background: rgba(10, 10, 10, 0.78) !important;
  }

  .hero-header .hero-header__nav {
    width: auto !important;
  }

  .hero-header .hero-header__nav ul {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 0 !important;
  }

  .hero-header__brand small {
    display: none;
  }

  .hero-header .hero-header__nav ul {
    gap: 0;
  }

  .hero-header .hero-header__nav li a {
    min-height: 0 !important;
    padding: 9px 10px !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.07em !important;
    white-space: nowrap !important;
    border-radius: 999px !important;
  }

  .hero-header .hero-header__nav li a:is(:hover, :focus-visible, :active) {
    background: var(--redesign-text) !important;
    color: #0a0a0a !important;
    box-shadow: none !important;
    transform: translateY(-1px) !important;
  }

  .hero-minimal.first_section {
    padding: 0 !important;
  }

  .hero-minimal__shell {
    width: min(100% - 36px, 620px);
    min-height: auto;
    padding: 112px 0 110px;
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-minimal__copy {
    text-align: left;
  }

  .hero-minimal .hero-minimal__title {
    margin: 0 !important;
    font-size: clamp(3.55rem, 18vw, 6rem) !important;
    line-height: 0.9 !important;
    letter-spacing: -0.075em !important;
    text-align: left !important;
  }

  .hero-minimal .hero-minimal__subtitle {
    max-width: 100% !important;
    margin: 24px 0 0 !important;
    font-size: 0.92rem !important;
    line-height: 1.7 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
  }

  .hero-minimal__footer {
    gap: 25px;
  }

  .hero-minimal__actions {
    width: 100%;
  }

  .hero-button {
    min-width: 0;
    flex: 1;
  }

  .hero-portrait {
    width: min(86vw, 390px);
  }

  .hero-portrait__caption {
    right: 0;
  }

  .hero-scroll {
    display: none;
  }

  .section-dots {
    display: none !important;
  }

  .projects-redesign.projetos {
    padding-inline: 18px;
  }

  .projects-redesign__intro {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 38px;
  }

  .projects-redesign__intro h2 {
    font-size: clamp(3.6rem, 18vw, 5.7rem);
  }

  .projects-redesign__intro > p:last-child {
    justify-self: start;
  }

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

  .projects-redesign__sidebar {
    position: static;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .project-filter {
    width: auto;
    min-width: max-content;
    min-height: 46px;
  }

  .project-filter:hover {
    transform: translateY(-2px);
  }

  .projects-redesign__sidebar-note {
    display: none;
  }

  .projects-redesign__panel {
    padding: 14px;
    border-radius: 18px;
  }

  .contact-redesign.contact-section {
    min-height: auto;
    padding-inline: 18px;
  }

  .contact-redesign__channels.contact-container {
    grid-template-columns: 1fr;
  }

  .contact-redesign__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-header .hero-header__nav li:first-child {
    display: none;
  }

  .hero-minimal__shell {
    width: min(100% - 28px, 440px);
  }

  .hero-minimal .hero-minimal__subtitle {
    line-height: 1.7;
  }

  .hero-minimal__quote {
    font-size: 0.72rem;
  }

  .projects-redesign__panel-head {
    margin-bottom: 14px;
  }

  .project-card__body.project-details {
    padding: 18px;
  }

  .project-card__actions a {
    flex: 1;
    justify-content: center;
  }

  .contact-redesign .contact-title {
    font-size: clamp(3.3rem, 17vw, 4.7rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-portrait__orbit,
  .hero-scroll i,
  .hero-header__availability span {
    animation: none !important;
  }

  .motion-reveal,
  .scroll-reveal,
  .section-motion,
  .project-card,
  .hero-portrait,
  .hero-portrait__frame img {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition-duration: 0.01ms !important;
  }

  .projects-redesign .project-card.filter-enter {
    animation: none !important;
  }
}

/* ================================================================
   ABOUT — composição inspirada na referência adeondev
   ================================================================ */
.sobre-mim.about-reference {
  min-height: 100svh;
  max-width: none;
  margin: 0;
  padding: clamp(112px, 10vw, 148px) clamp(28px, 7vw, 112px) clamp(88px, 9vw, 132px);
  display: block;
  background:
    radial-gradient(circle at 84% 20%, rgba(255, 255, 255, 0.025), transparent 28%),
    #080808;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 1;
  transform: none;
  animation: none;
  transition: background-color 620ms ease, border-color 620ms ease;
}

.about-reference__container {
  width: min(100%, 1500px);
  margin: 0 auto;
}

.about-reference__heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: clamp(42px, 5vw, 68px);
}

.about-reference__index {
  padding-top: 10px;
  color: rgba(255, 255, 255, 0.34);
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.about-reference__heading h2 {
  margin: 0;
  color: #f4f4f4;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.15rem, 3.7vw, 3.8rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.about-reference__title-line {
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 18px;
  background: #f3f3f3;
  transform-origin: left center;
  transition: width 0.45s ease;
}

.about-reference__heading:hover .about-reference__title-line {
  width: 104px;
}

.about-reference__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.8fr);
  gap: clamp(48px, 6.4vw, 104px);
  align-items: start;
}

.about-reference__content {
  min-width: 0;
  color: #aaa;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1rem, 1.16vw, 1.18rem);
  font-weight: 300;
  line-height: 1.72;
  text-align: justify;
}

.about-reference__content > p {
  margin: 0 0 26px;
}

.about-reference__content > p:last-child {
  margin-bottom: 0;
}

.about-reference__content strong {
  color: #e8e8e8;
  font-weight: 500;
}

.about-reference__quote {
  margin: 34px 0 38px;
  padding: 7px 0 7px 25px;
  border-left: 3px solid #f0f0f0;
  color: #f5f5f5;
  font-style: italic;
}

.about-reference__quote p {
  margin: 0;
  color: inherit;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.18rem, 1.45vw, 1.45rem);
  font-weight: 500;
  line-height: 1.45;
}

.about-reference__quote cite {
  display: block;
  margin-top: 6px;
  color: #747474;
  font-size: 0.9rem;
  font-style: normal;
}

.about-reference__note {
  color: #777 !important;
  font-size: 0.96em;
}

.about-reference__cards {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-reference__card {
  position: relative;
  min-height: 156px;
  padding: 30px 32px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.025);
  border-radius: 18px;
  transition:
    opacity 880ms var(--redesign-ease),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    filter 880ms var(--redesign-ease),
    background-color 0.35s ease,
    border-color 0.35s ease;
}

.about-reference__card::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 0.35s ease, transform 0.45s ease;
}

.about-reference__card:hover {
  background: #151515;
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.about-reference__card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.about-reference__card-number {
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(255, 255, 255, 0.15);
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}

.about-reference__card h3 {
  margin: 0 0 14px;
  color: #f7f7f7;
  font-family: 'Raleway', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.about-reference__card p {
  max-width: 42ch;
  margin: 0;
  color: #929292;
  font-family: 'Raleway', sans-serif;
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.6;
}

.about-reference__card:nth-child(2) {
  transition-delay: 80ms;
}

.about-reference__card:nth-child(3) {
  transition-delay: 160ms;
}

.about-reference__content.motion-reveal {
  transition-delay: 90ms;
}

@media (max-width: 900px) {
  .sobre-mim.about-reference {
    padding: 112px 24px 88px !important;
  }

  .about-reference__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .about-reference__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .about-reference__card {
    min-height: 200px;
    padding: 26px 22px;
  }
}

@media (max-width: 680px) {
  .sobre-mim.about-reference {
    padding: 96px 18px 72px !important;
  }

  .about-reference__heading {
    gap: 12px;
    margin-bottom: 38px;
  }

  .about-reference__index {
    padding-top: 7px;
    font-size: 0.64rem;
  }

  .about-reference__content {
    font-size: 0.98rem;
    line-height: 1.68;
    text-align: left;
  }

  .about-reference__content > p {
    margin-bottom: 22px;
  }

  .about-reference__quote {
    margin: 30px 0;
    padding-left: 18px;
  }

  .about-reference__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-reference__card {
    min-height: 0;
    padding: 26px 24px;
  }
}

/* ================================================================
   PROJECTS — grade visual e navegação da referência adeondev
   ================================================================ */
.projects-redesign.projetos {
  min-height: 100svh;
  padding: clamp(112px, 10vw, 150px) clamp(28px, 7vw, 112px) clamp(90px, 9vw, 132px);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.025), transparent 25%),
    #080808;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: clip;
}

.projects-redesign.projetos::before {
  display: none;
}

.projects-redesign__intro,
.projects-redesign__layout {
  width: min(100%, 1500px);
  margin-inline: auto;
}

.projects-redesign__intro {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: clamp(48px, 5vw, 70px);
}

.projects-redesign__kicker {
  align-self: flex-start;
  margin: 0 0 13px;
  color: rgba(255, 255, 255, 0.36);
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.projects-redesign__intro h2 {
  width: fit-content;
  margin: 0;
  color: #f4f4f4;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.4rem, 4.2vw, 4.25rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: none !important;
}

.projects-redesign__intro h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 18px;
  background: #f3f3f3;
  transform-origin: left center;
  transition: width 0.45s ease;
}

.projects-redesign__intro:hover h2::after {
  width: 104px;
}

.projects-redesign__intro > p:last-child {
  align-self: flex-start;
  justify-self: auto;
  max-width: 760px;
  margin: 30px 0 0;
  color: #8f8f8f;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  font-weight: 300;
  line-height: 1.7;
  text-align: left;
}

.projects-redesign__layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(34px, 4vw, 58px);
  align-items: start;
}

.projects-redesign__sidebar {
  position: sticky;
  top: 104px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
  padding: 0;
}

.project-filter__active {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 0;
  height: 0;
  border-radius: 12px;
  background: #f2f2f2;
  opacity: 0;
  pointer-events: none;
  transition:
    width 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease;
}

.project-filter__active.is-ready {
  opacity: 1;
}

.projects-redesign .project-filter {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 12px;
  background: #111;
  color: #777;
  font-family: 'Raleway', sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
  text-align: left;
  transition: color 0.28s ease, transform 0.28s ease;
}

.projects-redesign .project-filter:hover {
  color: #d5d5d5;
  border-color: transparent;
  transform: translateX(4px);
}

.projects-redesign .project-filter.is-active {
  background: transparent;
  color: #090909;
  font-weight: 700;
}

.projects-redesign .project-filter.is-active:hover {
  color: #090909;
  transform: none;
}

.projects-redesign .project-filter i {
  width: 19px;
  font-size: 0.9rem;
  text-align: center;
}

.projects-redesign__sidebar-note {
  display: none;
}

.projects-redesign__panel {
  min-width: 0;
  min-height: 540px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.projects-redesign__panel-head {
  min-height: 40px;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border: 0;
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
}

.projects-redesign__panel-head > span {
  color: rgba(255, 255, 255, 0.24);
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  transition: opacity 0.28s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.projects-redesign__panel-head > span.is-switching {
  opacity: 0;
  transform: translateY(-12px);
}

.projects-redesign__panel-head small {
  order: -1;
  margin-right: auto;
  color: #686868;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.projects-grid-redesign.projects-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  transition: opacity 0.21s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.projects-grid-redesign.is-switching-out {
  opacity: 0;
  transform: translateY(var(--project-exit-y, -30px));
}

.projects-grid-redesign.is-switching-in {
  opacity: 0;
  transform: translateY(var(--project-entry-y, 30px));
  transition: none;
}

.projects-redesign .project-card.project {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  display: block !important;
  border: 0;
  border-radius: 15px;
  background: #131313;
  box-shadow: none;
  overflow: hidden;
  isolation: isolate;
  transform: translateY(0);
  transition:
    opacity 0.42s ease,
    transform 0.46s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s ease;
}

.projects-redesign .project-card.project[hidden] {
  display: none !important;
}

.projects-redesign .project-card.project:hover,
.projects-redesign .project-card.project:has(:focus-visible) {
  border-color: transparent;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.36);
  transform: translateY(-6px) !important;
}

.projects-redesign .project-card.filter-enter {
  animation: projectReferenceEnter 0.52s cubic-bezier(0.22, 1, 0.36, 1) var(--filter-delay, 0ms) both;
}

.projects-redesign .project-card__visual.project-link {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  display: block;
  background: #111;
  border: 0;
  border-radius: inherit;
  overflow: hidden;
}

.projects-redesign .project-card__visual.project-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 28%, rgba(0, 0, 0, 0.84) 100%);
  opacity: 0.3;
  transition: opacity 0.38s ease;
}

.projects-redesign .project-card__visual .project-image {
  width: 100%;
  height: 100%;
  padding: 0;
  display: block;
  object-fit: cover;
  border-radius: 0;
  filter: saturate(0.58) brightness(0.72);
  transform: scale(1.01);
  transition:
    filter 0.5s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.projects-redesign .project-card__zoom {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  min-height: 34px;
  padding: 7px 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 8, 8, 0.68);
  color: #f4f4f4;
  backdrop-filter: blur(9px);
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 650;
  opacity: 0;
  transform: translateY(-7px);
  transition: opacity 0.28s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.projects-redesign .project-card:hover .project-card__zoom,
.projects-redesign .project-card:has(:focus-visible) .project-card__zoom {
  opacity: 1;
  transform: translateY(0);
}

.projects-redesign .project-card:hover .project-card__visual::after,
.projects-redesign .project-card:has(:focus-visible) .project-card__visual::after {
  opacity: 0.9;
}

.projects-redesign .project-card:hover .project-image,
.projects-redesign .project-card:has(:focus-visible) .project-image {
  filter: saturate(0.92) brightness(0.82);
  transform: scale(1.065);
}

.projects-redesign .project-card__number {
  display: none;
}

.projects-redesign .project-card__body.project-details {
  position: absolute;
  inset: 0;
  z-index: 2;
  min-width: 0;
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #fff;
  text-align: left;
  pointer-events: none;
}

.projects-redesign .project-card__body > div:first-child {
  width: fit-content;
  max-width: 88%;
  margin-left: auto;
  display: block;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.52);
  backdrop-filter: blur(9px);
}

.projects-redesign .project-card__type {
  display: none;
}

.projects-redesign .project-card__body h3 {
  margin: 0;
  overflow: hidden;
  color: #f5f5f5;
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.projects-redesign .project-card__body > p {
  display: none;
}

.projects-redesign .project-card__actions {
  width: fit-content;
  max-width: 100%;
  margin: auto auto 10px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  pointer-events: auto;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease 0.04s,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.04s;
}

.projects-redesign .project-card:hover .project-card__actions,
.projects-redesign .project-card:has(:focus-visible) .project-card__actions {
  opacity: 1;
  transform: translateY(0);
}

.projects-redesign .project-card__actions a {
  min-width: 112px;
  min-height: 44px;
  padding: 9px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  background: rgba(13, 13, 14, 0.82);
  color: #f4f4f4;
  backdrop-filter: blur(10px);
  font-family: 'Raleway', sans-serif;
  font-size: 0.73rem;
  font-weight: 650;
  white-space: nowrap;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.projects-redesign .project-card__actions a:first-child {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(13, 13, 14, 0.82);
}

.projects-redesign .project-card__actions a:last-child {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(13, 13, 14, 0.82);
  color: #f4f4f4;
}

.projects-redesign .project-card__actions a:visited {
  color: #f4f4f4;
}

.projects-redesign .project-card__actions a:hover,
.projects-redesign .project-card__actions a:focus-visible {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-1px);
}

.projects-redesign .project-card__visual:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

body.is-lightbox-open {
  overflow: hidden;
}

.project-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: clamp(18px, 4vw, 56px);
  border: 0;
  background: rgba(0, 0, 0, 0.86);
  color: #fff;
  overflow: auto;
}

.project-lightbox[open] {
  display: grid;
  place-items: center;
  animation: projectLightboxFade 0.24s ease both;
}

.project-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
}

.project-lightbox__surface {
  position: relative;
  width: min(1240px, 100%);
  min-height: min(620px, calc(100vh - 112px));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: #151516;
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  animation: projectLightboxEnter 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.project-lightbox__layout {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.9fr);
}

.project-lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 5;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.3s ease;
}

.project-lightbox__close:hover,
.project-lightbox__close:focus-visible {
  background: #fff;
  color: #090909;
  transform: rotate(90deg);
}

.project-lightbox__media {
  position: relative;
  min-width: 0;
  margin: 0;
  display: flex;
  align-items: stretch;
  background: #050506;
  overflow: hidden;
}

.project-lightbox__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 72%, rgba(21, 21, 22, 0.34));
  pointer-events: none;
}

.project-lightbox__image {
  width: 132%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  display: block;
  flex: 0 0 132%;
  object-fit: cover;
  object-position: 0% 50%;
  animation: projectLightboxPan 12s ease-in-out infinite alternate;
}

.project-lightbox__gallery {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.project-lightbox__gallery[hidden] {
  display: none;
}

.project-lightbox__gallery-button {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(8, 8, 9, 0.7);
  color: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.project-lightbox__gallery-button--previous {
  left: 20px;
}

.project-lightbox__gallery-button--next {
  right: 20px;
}

.project-lightbox__gallery-button:hover,
.project-lightbox__gallery-button:focus-visible {
  background: #fff;
  color: #090909;
  transform: translateY(-50%) scale(1.06);
}

.project-lightbox__gallery-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  min-width: 64px;
  padding: 8px 13px;
  display: flex;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(8, 8, 9, 0.72);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.project-lightbox__panel {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: clamp(74px, 7vw, 96px) clamp(38px, 4vw, 58px) 54px clamp(56px, 5vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: #151516;
}

.project-lightbox__copy {
  position: relative;
  width: 100%;
}

.project-lightbox__copy::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -38px;
  width: 58px;
  height: 168px;
  border-top: 3px solid rgba(255, 255, 255, 0.7);
  border-left: 3px solid rgba(255, 255, 255, 0.7);
  border-top-left-radius: 20px;
  opacity: 0.72;
  pointer-events: none;
}

.project-lightbox__eyebrow {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.42);
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-lightbox__title {
  margin: 0;
  background: none !important;
  color: #f5f5f5 !important;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 720;
  font-style: normal;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-transform: none;
  -webkit-text-fill-color: #f5f5f5 !important;
}

.project-lightbox__description {
  max-width: 36ch;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.9rem, 1.15vw, 1.02rem);
  font-weight: 350;
  line-height: 1.75;
}

.project-lightbox__actions {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-lightbox__actions a[hidden] {
  display: none;
}

.project-lightbox__actions a {
  min-height: 46px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: #efefef !important;
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 650;
  -webkit-text-fill-color: #efefef !important;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.project-lightbox__actions a:visited {
  color: #efefef !important;
  -webkit-text-fill-color: #efefef !important;
}

.project-lightbox__actions a:hover,
.project-lightbox__actions a:focus-visible {
  border-color: #fff;
  background: #fff;
  color: #090909 !important;
  -webkit-text-fill-color: #090909 !important;
  transform: translateY(-2px);
}

.project-lightbox__actions a i,
.project-lightbox__actions a span {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

@keyframes projectLightboxFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes projectLightboxEnter {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes projectLightboxPan {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-24.25%);
  }
}

@media (max-width: 900px) {
  .project-lightbox__surface {
    width: min(720px, 100%);
    min-height: 0;
  }

  .project-lightbox__layout {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .project-lightbox__media {
    min-height: clamp(250px, 42vh, 370px);
  }

  .project-lightbox__panel {
    padding: 52px 42px 38px;
  }

  .project-lightbox__copy::before {
    top: -18px;
    left: -20px;
    width: 42px;
    height: 112px;
  }

  .project-lightbox__title {
    font-size: clamp(2.2rem, 8vw, 3.35rem);
  }

  .project-lightbox__description {
    max-width: 54ch;
    margin-top: 24px;
  }

  .project-lightbox__actions {
    margin-top: 30px;
  }
}

.projects-redesign__expand {
  padding-top: 30px;
  display: flex;
  justify-content: center;
}

.projects-redesign__expand[hidden] {
  display: none;
}

.project-expand {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #111;
  color: #bcbcbc;
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-expand:hover {
  border-color: #f2f2f2;
  background: #f2f2f2;
  color: #090909;
  transform: translateY(-3px);
}

.project-expand i {
  font-size: 0.7rem;
}

@keyframes projectReferenceEnter {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1080px) {
  .projects-redesign__layout {
    grid-template-columns: 205px minmax(0, 1fr);
    gap: 32px;
  }

  .projects-grid-redesign.projects-container {
    gap: 18px;
  }
}

@media (max-width: 820px) {
  .projects-redesign.projetos {
    padding: 108px 24px 88px !important;
  }

  .projects-redesign__layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .projects-redesign__sidebar {
    position: relative;
    top: auto;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .projects-redesign__sidebar::-webkit-scrollbar {
    display: none;
  }

  .projects-redesign .project-filter {
    width: auto;
    min-width: max-content;
    min-height: 48px;
    padding-inline: 16px;
  }

  .projects-redesign .project-filter:hover {
    transform: none;
  }
}

@media (max-width: 620px) {
  .projects-redesign.projetos {
    padding: 94px 18px 72px !important;
  }

  .projects-redesign__intro {
    margin-bottom: 42px;
  }

  .projects-redesign__intro h2 {
    font-size: clamp(2.7rem, 13vw, 3.8rem);
  }

  .projects-redesign__intro > p:last-child {
    margin-top: 25px;
    font-size: 0.96rem;
  }

  .projects-redesign__panel {
    min-height: 0;
    padding: 0;
    border-radius: 0;
  }

  .projects-redesign__panel-head {
    margin-bottom: 16px;
  }

  .projects-redesign__panel-head > span {
    font-size: 1.05rem;
  }

  .projects-grid-redesign.projects-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .projects-redesign .project-card.project {
    aspect-ratio: 16 / 10;
  }

  .projects-redesign .project-card__body.project-details {
    padding: 16px;
  }

  .projects-redesign .project-card__actions {
    width: 100%;
    margin-bottom: 6px;
    padding: 0;
    gap: 8px;
  }

  .projects-redesign .project-card__actions a {
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 10px;
  }

  .project-lightbox {
    padding: 10px;
  }

  .project-lightbox__surface {
    padding: 0;
    border-radius: 16px;
  }

  .project-lightbox__media {
    min-height: 235px;
    max-height: 36vh;
  }

  .project-lightbox__gallery-button {
    width: 40px;
    height: 40px;
  }

  .project-lightbox__gallery-button--previous {
    left: 12px;
  }

  .project-lightbox__gallery-button--next {
    right: 12px;
  }

  .project-lightbox__gallery-counter {
    bottom: 12px;
    min-width: 56px;
    padding: 7px 11px;
  }

  .project-lightbox__panel {
    padding: 42px 24px 26px;
  }

  .project-lightbox__copy::before {
    left: -10px;
    width: 30px;
    height: 88px;
    border-width: 2px;
  }

  .project-lightbox__eyebrow {
    margin-bottom: 12px;
  }

  .project-lightbox__description {
    margin-top: 18px;
    font-size: 0.84rem;
    line-height: 1.65;
  }

  .project-lightbox__close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .project-lightbox__actions {
    width: 100%;
    margin-top: 24px;
  }

  .project-lightbox__actions a {
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 10px;
  }
}

@media (hover: none), (pointer: coarse) {
  .projects-redesign .project-card__visual::after {
    opacity: 0.72;
  }

  .projects-redesign .project-card__body > p {
    display: none;
  }

  .projects-redesign .project-card__actions {
    margin-top: auto;
    opacity: 1;
    transform: none;
  }

  .projects-redesign .project-card__zoom {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-filter__active,
  .projects-grid-redesign.projects-container,
  .projects-redesign .project-card,
  .projects-redesign .project-card__visual .project-image,
  .projects-redesign .project-card__body > p,
  .projects-redesign .project-card__actions,
  .projects-redesign .project-card__zoom,
  .project-lightbox[open],
  .project-lightbox__surface,
  .project-lightbox__image {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Hero/header fidelity pass: aproxima a composição da referência sem copiar
   sua fonte ou identidade.
   -------------------------------------------------------------------------- */

html,
body,
a,
button {
  cursor: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 3v23l6.5-6.5 5.2 10 5-2.6-5.1-9.4H25L4 3Z' fill='%23fff' stroke='%230b0b0b' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 5 4, auto !important;
}

.cursor-trail {
  position: fixed;
  inset: 0;
  z-index: 9998;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 1;
  transform: translateZ(0);
  transition: opacity 300ms ease;
}

.section-dots {
  display: none !important;
}

body.cursor-effect-off .cursor-trail {
  opacity: 0;
}

.hero-header.cabecalho {
  top: 0 !important;
  left: 50% !important;
  right: auto !important;
  width: 95% !important;
  max-width: 1400px;
  height: 90px;
  min-height: 90px;
  padding: 0 46px !important;
  display: block !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.085) !important;
  border-radius: 0 0 25px 25px !important;
  background: rgba(12, 12, 12, 0.74) !important;
  box-shadow: none !important;
  backdrop-filter: blur(16px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(125%) !important;
  opacity: 0;
  transform: translate(-50%, -18px) !important;
  will-change: width, max-width, height, transform;
  transition:
    opacity 420ms ease,
    transform 620ms var(--redesign-ease),
    width 520ms var(--redesign-ease),
    max-width 520ms var(--redesign-ease),
    height 520ms var(--redesign-ease),
    min-height 520ms var(--redesign-ease),
    padding 520ms var(--redesign-ease),
    border-radius 520ms var(--redesign-ease),
    background-color 300ms ease,
    box-shadow 300ms ease !important;
}

body.is-ready .hero-header.cabecalho {
  opacity: 1;
  transform: translate(-50%, 0) !important;
}

.hero-header.cabecalho::before {
  content: none;
  display: none;
}

.hero-header.cabecalho.is-scrolled {
  width: 100% !important;
  max-width: 100%;
  height: 62px;
  min-height: 62px;
  padding-inline: clamp(24px, 4vw, 60px) !important;
  border-radius: 0 !important;
  background: rgba(9, 9, 9, 0.92) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24) !important;
}

.hero-header.is-scrolled::before {
  opacity: 0;
}

.hero-header__inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.hero-header__left {
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #f4f4f4;
  font-family: "Poppins", sans-serif;
}

.hero-header__brand span {
  color: inherit;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-transform: lowercase;
}

.hero-header__brand strong {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50% 50% 8px 8px;
  color: #d9d9d9;
  font-size: 0.48rem;
  letter-spacing: -0.04em;
}

.hero-header__flag {
  margin-left: 10px;
  font-size: 1.15rem;
  filter: saturate(0.82);
}

.hero-header__language-toggle {
  position: relative;
  min-width: 64px;
  height: 34px;
  margin-left: 7px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #d0d0d0;
  font-family: "Poppins", sans-serif;
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    color 240ms ease,
    transform 240ms var(--redesign-ease);
}

.hero-header__language-toggle:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-1px);
}

.language-toggle__flag {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 20px;
  object-fit: contain;
  filter: saturate(0.9);
}

.language-toggle__code {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.language-toggle__chevron {
  margin-left: -1px;
  font-size: 0.48rem;
  opacity: 0.52;
  transition: transform 240ms var(--redesign-ease);
}

.hero-header__language-toggle:hover .language-toggle__chevron {
  transform: translateY(1px);
}

.hero-header__language-toggle.is-language-changing {
  animation: languageToggleSwap 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes languageToggleSwap {
  0%, 100% {
    transform: perspective(240px) rotateX(0deg) scale(1);
  }

  46% {
    transform: perspective(240px) rotateX(88deg) scale(0.92);
  }

  54% {
    transform: perspective(240px) rotateX(-88deg) scale(0.92);
  }
}

.hero-header__effect-toggle {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #f3f3f3;
  font-size: 1.02rem;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.hero-header__effect-toggle:hover {
  color: #f3f3f3;
  background: rgba(255, 255, 255, 0.06);
  transform: rotate(-12deg);
}

.hero-header__effect-toggle[aria-pressed="false"] {
  color: #5e5e5e;
}

.hero-header .hero-header__nav {
  width: auto !important;
  margin-left: auto;
}

.hero-header .hero-header__nav ul {
  min-width: 0 !important;
  padding: 0 !important;
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: clamp(2px, 0.65vw, 9px) !important;
}

.hero-header .hero-header__nav li {
  min-width: 0;
}

.hero-header .hero-header__nav li a {
  position: relative;
  width: 42px;
  height: 42px;
  min-height: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center;
  border: 0;
  border-radius: 50% !important;
  background: transparent !important;
  color: #8c898f !important;
  font-size: 1.05rem !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  overflow: visible;
  transition: color 220ms ease, background 220ms ease, transform 220ms var(--redesign-ease) !important;
}

.hero-header .hero-header__nav li a::before,
.hero-header .hero-header__nav li a::after {
  display: none !important;
}

.hero-header .hero-header__nav li a:hover,
.hero-header .hero-header__nav li a.is-active {
  color: #f6f6f6 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: none !important;
  transform: translateY(-2px) scale(1.04) !important;
}

.hero-header__tooltip {
  position: absolute;
  top: calc(100% + 11px);
  left: 50%;
  z-index: 20;
  padding: 6px 9px;
  border-radius: 7px;
  background: #f4f4f4;
  color: #101010 !important;
  font-family: "Poppins", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -5px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.hero-header__tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  border: 4px solid transparent;
  border-bottom-color: #f4f4f4;
  transform: translateX(-50%);
}

.hero-header__nav a:hover .hero-header__tooltip,
.hero-header__effect-toggle:hover .hero-header__tooltip,
.hero-header__language-toggle:hover .hero-header__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.hero-menu-toggle {
  display: none;
}

.hero-mobile-menu {
  display: none;
}

.hero-minimal.first_section {
  min-height: 100svh;
  padding: 0 !important;
  background:
    radial-gradient(ellipse at 76% 44%, rgba(255, 255, 255, 0.022), transparent 34%),
    linear-gradient(145deg, #0e0e0f 0%, #0c0c0d 48%, #09090a 100%);
}

.hero-minimal.first_section::before {
  background:
    radial-gradient(ellipse at 18% 28%, rgba(255, 255, 255, 0.014), transparent 38%),
    radial-gradient(ellipse at 82% 78%, rgba(0, 0, 0, 0.16), transparent 42%);
  background-size: auto;
  mask-image: none;
  opacity: 1;
}

.hero-minimal.first_section::after {
  height: 22%;
  background: linear-gradient(to bottom, transparent, rgba(5, 5, 6, 0.76));
}

.hero-minimal__grain {
  display: none;
}

.hero-minimal__shell {
  width: min(1280px, calc(100% - 76px));
  min-height: 100svh;
  padding: 112px 0 88px;
  grid-template-columns: minmax(650px, 1.3fr) minmax(330px, 420px);
  justify-content: center;
  gap: clamp(54px, 7vw, 110px);
}

.hero-minimal__copy {
  align-self: center;
  min-width: 0;
  transform: translateY(-8px);
}

.hero-minimal .hero-minimal__eyebrow {
  margin: 0 0 18px;
  color: #77747b !important;
  font-size: clamp(0.68rem, 0.8vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.16em;
}

.hero-minimal .hero-minimal__title {
  max-width: none;
  margin: 0 !important;
  color: #f1f1f1;
  font-family: "Raleway", sans-serif;
  font-size: clamp(3.45rem, 5.7vw, 5.55rem);
  font-style: normal;
  font-weight: 300;
  letter-spacing: -0.052em;
  line-height: 1.05;
  text-align: left;
  text-transform: none;
  white-space: normal;
}

.hero-minimal .hero-minimal__title strong {
  display: block;
  color: #fff;
  font-size: 0.58em;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-minimal .hero-minimal__subtitle {
  max-width: 720px !important;
  margin: 20px 0 0 !important;
  color: #77747b !important;
  font-family: "Raleway", sans-serif;
  font-size: clamp(0.98rem, 1.55vw, 1.27rem) !important;
  font-weight: 300;
  letter-spacing: -0.01em !important;
  line-height: 1.55 !important;
  text-align: left !important;
  white-space: normal;
}

.hero-minimal .hero-minimal__subtitle::after {
  display: none !important;
}

.hero-minimal__footer {
  width: 100%;
  margin-top: 42px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.hero-minimal__actions {
  gap: 14px;
}

.hero-button {
  min-width: 154px;
  padding: 14px 26px;
  font-size: 0.83rem;
}

.hero-minimal__quote {
  max-width: 295px;
  margin: -2px 0 0 auto;
  color: #747177;
  font-family: "Raleway", sans-serif;
  font-size: clamp(0.7rem, 0.9vw, 0.82rem);
  line-height: 1.65;
  text-align: right;
}

.hero-minimal__quote span {
  margin-top: 8px;
}

.hero-portrait {
  width: min(31vw, 410px);
  min-width: 330px;
  align-self: center;
  justify-self: center;
  aspect-ratio: 1;
}

.hero-portrait__frame {
  position: relative;
  width: 94%;
  height: auto;
  aspect-ratio: 1;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  clip-path: circle(50% at 50% 50%);
  overflow: hidden;
}

.hero-portrait__frame::after {
  display: none;
}

.hero-portrait__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  backface-visibility: hidden;
  animation: none;
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 720ms ease;
}

.hero-portrait__image--dark {
  z-index: 1;
  opacity: 1;
  filter: grayscale(0.24) saturate(0.9) contrast(1.03);
  transform: scale(1);
}

.hero-portrait__image--light {
  z-index: 2;
  opacity: 0;
  filter: saturate(0.88) contrast(1.01) blur(9px);
  transform: scale(0.94) rotate(-1deg);
}

html[data-theme="light"] .hero-portrait__image--dark {
  opacity: 0;
  filter: grayscale(0.12) saturate(0.8) blur(8px);
  transform: scale(1.055) rotate(0.8deg);
}

html[data-theme="light"] .hero-portrait__image--light {
  opacity: 1;
  filter: saturate(0.96) contrast(1.01) blur(0);
  transform: scale(1);
}

html[data-theme="dark"] .hero-portrait:hover .hero-portrait__image--dark {
  filter: grayscale(0.08) saturate(0.98) contrast(1.05);
  transform: scale(1.025);
}

html[data-theme="light"] .hero-portrait:hover .hero-portrait__image--light {
  filter: saturate(1) contrast(1.03);
  transform: scale(1.025);
}

.hero-scroll {
  position: fixed;
  bottom: 24px;
  z-index: 30;
  color: #706d73;
}

body:not(.at-page-top) .hero-scroll {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 20px);
}

@keyframes heroPhotoIn {
  from { opacity: 0; transform: scale(0.94); filter: grayscale(0.42) saturate(0.78) blur(8px); }
  to { opacity: 1; transform: scale(1); filter: grayscale(0.24) saturate(0.9) contrast(1.03) blur(0); }
}

@media (max-width: 1080px) {
  .hero-header.cabecalho {
    padding-inline: 28px !important;
  }

  .hero-header .hero-header__nav ul {
    gap: 0 !important;
  }

  .hero-header .hero-header__nav li a {
    width: 38px;
    height: 38px;
    font-size: 0.95rem !important;
  }

  .hero-minimal__shell {
    width: min(100% - 48px, 1060px);
    grid-template-columns: minmax(560px, 1.2fr) minmax(300px, 350px);
    gap: 44px;
  }

  .hero-minimal .hero-minimal__title {
    font-size: clamp(3.15rem, 5.5vw, 4.6rem);
  }

  .hero-minimal .hero-minimal__subtitle {
    font-size: 1rem !important;
  }

  .hero-portrait {
    min-width: 300px;
  }
}

@media (max-width: 960px) {
  .hero-header.cabecalho,
  .hero-header.cabecalho.is-scrolled {
    top: 0 !important;
    left: 50% !important;
    width: min(calc(100% - 20px), 720px) !important;
    height: 68px;
    min-height: 68px;
    padding: 0 18px !important;
    border-radius: 0 0 20px 20px !important;
    transform: translate(-50%, 0) !important;
  }

  .hero-header.cabecalho::before {
    display: none;
  }

  .hero-header__brand span {
    font-size: 0.92rem;
  }

  .hero-header__language-toggle {
    min-width: 58px;
    margin-left: 3px;
    padding-inline: 7px;
    gap: 5px;
  }

  .hero-header__flag,
  .hero-header__effect-toggle,
  .hero-header .hero-header__nav {
    display: none !important;
  }

  .hero-header__theme-toggle {
    display: grid !important;
  }

  body.mobile-menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .hero-menu-toggle {
    width: 42px;
    height: 42px;
    padding: 9px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 5px;
    border-radius: 50%;
    background: transparent;
  }

  .hero-menu-toggle span {
    width: 100%;
    height: 1px;
    background: #f4f4f4;
    transition: transform 240ms ease, opacity 240ms ease;
  }

  .hero-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .hero-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .hero-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-mobile-menu {
    position: fixed;
    top: 78px;
    left: 50%;
    z-index: 1200;
    width: min(calc(100% - 28px), 520px);
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(13, 13, 13, 0.95);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -12px) scale(0.98);
    transition: opacity 220ms ease, visibility 220ms ease, transform 220ms var(--redesign-ease);
  }

  .hero-mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
  }

  .hero-mobile-menu a {
    padding: 13px 12px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.04);
    color: #c9c9c9;
    font-family: "Poppins", sans-serif;
    font-size: 0.72rem;
    text-align: center;
  }

  .hero-mobile-menu a:hover {
    background: #f4f4f4;
    color: #0d0d0d;
  }

  .hero-minimal__shell {
    width: min(100% - 34px, 680px);
    min-height: auto;
    padding: 104px 0 90px;
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
  }

  .hero-minimal__copy {
    grid-row: 2;
    transform: none;
  }

  .hero-portrait {
    grid-row: 1;
    width: min(68vw, 310px);
    min-width: 0;
  }

  .hero-minimal .hero-minimal__title {
    font-size: clamp(2.8rem, 10vw, 4.6rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.06em !important;
    text-align: center !important;
    white-space: normal;
  }

  .hero-minimal .hero-minimal__title strong {
    display: block;
    font-size: 0.72em;
    white-space: normal;
  }

  .hero-minimal .hero-minimal__subtitle {
    max-width: 590px !important;
    margin: 18px auto 0 !important;
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
    text-align: center !important;
    white-space: normal;
  }

  .hero-minimal__footer {
    margin-top: 30px;
    align-items: center;
    flex-direction: column;
    gap: 22px;
  }

  .hero-minimal__quote {
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-minimal__quote span {
    text-align: center;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-header.cabecalho,
  .hero-header.cabecalho.is-scrolled {
    width: 100% !important;
    border-radius: 0 !important;
  }

  .hero-header__brand strong {
    display: none;
  }

  .hero-mobile-menu {
    grid-template-columns: 1fr;
    max-height: calc(100svh - 98px);
    overflow-y: auto;
  }

  .hero-minimal__shell {
    width: min(100% - 28px, 440px);
    padding-top: 94px;
  }

  .hero-portrait {
    width: min(72vw, 280px);
  }

  .hero-minimal .hero-minimal__title {
    font-size: clamp(2.62rem, 13vw, 3.65rem) !important;
  }

  .hero-minimal__actions {
    width: 100%;
  }

  .hero-button {
    min-width: 0;
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-header.cabecalho,
  body.is-ready .hero-header.cabecalho {
    opacity: 1;
    transform: translate(-50%, 0) !important;
    transition-duration: 0.01ms !important;
  }
}

@media (hover: none), (pointer: coarse) {
  html,
  body,
  a,
  button {
    cursor: auto !important;
  }

  .cursor-trail {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-trail {
    display: none;
  }

  .hero-portrait__frame img {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .hero-portrait__frame .hero-portrait__image--dark {
    opacity: 1 !important;
  }

  .hero-portrait__frame .hero-portrait__image--light {
    opacity: 0 !important;
  }

  html[data-theme="light"] .hero-portrait__frame .hero-portrait__image--dark {
    opacity: 0 !important;
  }

  html[data-theme="light"] .hero-portrait__frame .hero-portrait__image--light {
    opacity: 1 !important;
  }
}

/* ================================================================
   TOOLS & SOFTWARE — abas deslizantes inspiradas na referência
   ================================================================ */
.toolkit-reference {
  min-height: 100svh;
  padding: clamp(112px, 10vw, 150px) clamp(28px, 7vw, 112px) clamp(90px, 9vw, 132px);
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, 0.025), transparent 28%),
    #090909;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #f2f2f2;
  overflow: hidden;
}

.toolkit-reference__shell {
  width: min(100%, 1500px);
  margin: 0 auto;
}

.toolkit-reference__heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: clamp(44px, 5vw, 66px);
}

.toolkit-reference__index {
  padding-top: 9px;
  color: rgba(255, 255, 255, 0.34);
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.toolkit-reference__heading h2 {
  margin: 0;
  color: #f4f4f4;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.25rem, 3.8vw, 3.9rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: none;
}

.toolkit-reference__title-line {
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 18px;
  background: #f3f3f3;
  transition: width 0.42s ease;
}

.toolkit-reference__heading:hover .toolkit-reference__title-line {
  width: 104px;
}

.toolkit-reference__heading p {
  max-width: 720px;
  margin: 24px 0 0;
  color: #868686;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(0.96rem, 1.1vw, 1.08rem);
  font-weight: 300;
  line-height: 1.7;
}

.toolkit-tabs {
  display: flex;
  gap: clamp(24px, 4vw, 52px);
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.toolkit-tab {
  position: relative;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: #626262;
  font-family: 'Raleway', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.28s ease;
}

.toolkit-tab::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -11px;
  width: 100%;
  height: 2px;
  background: #f2f2f2;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.toolkit-tab:hover {
  color: #bdbdbd;
}

.toolkit-tab.is-active {
  color: #f1f1f1;
}

.toolkit-tab.is-active::after {
  transform: scaleX(1);
}

.toolkit-tab:focus-visible,
.toolkit-arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.toolkit-reference__navigator {
  position: relative;
}

.toolkit-tabs.motion-reveal {
  transition-delay: 90ms;
}

.toolkit-reference__navigator.motion-reveal {
  transition-delay: 170ms;
}

.toolkit-viewport {
  width: 100%;
  overflow: hidden;
  transition: height 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

.toolkit-track {
  width: 100%;
  display: flex;
  align-items: flex-start;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.toolkit-panel {
  min-width: 100%;
  flex: 0 0 100%;
  padding-top: 12px;
  opacity: 0.16;
  transition: opacity 0.38s ease;
}

.toolkit-panel.is-active {
  opacity: 1;
}

.toolkit-panel > h3,
.toolkit-group > h3 {
  margin: 0 0 18px;
  color: #696969;
  font-family: 'IBM Plex Mono', 'Consolas', monospace;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.toolkit-groups {
  display: grid;
  gap: clamp(30px, 3.5vw, 48px);
}

.toolkit-group {
  min-width: 0;
}

.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.toolkit-grid--languages {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.toolkit-card {
  position: relative;
  min-width: 0;
  min-height: 102px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.025);
  border-radius: 13px;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.toolkit-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.toolkit-card:hover {
  background: #161616;
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.toolkit-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.toolkit-card--featured {
  border-color: rgba(255, 255, 255, 0.13);
  background: #151515;
}

.toolkit-card--featured::before {
  content: 'EM DESTAQUE';
  position: absolute;
  top: 11px;
  right: 13px;
  color: rgba(255, 255, 255, 0.28);
  font-family: 'Poppins', sans-serif;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

html[data-language="en"] .toolkit-card--featured::before {
  content: 'FEATURED';
}

.toolkit-card__icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  color: #d8d8d8;
  font-size: 2.35rem;
}

.toolkit-card__icon--game {
  color: #f1f1f1;
}

.toolkit-card__icon--brand {
  overflow: visible;
}

.toolkit-card__icon--wide {
  width: 70px;
  flex-basis: 70px;
}

.toolkit-card__brand-logo {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
}

.toolkit-card__brand-logo--gamemaker {
  width: 48px;
  height: 48px;
  filter: invert(1);
  transition: filter 380ms ease;
}

.toolkit-card__brand-logo--photoshop {
  width: 46px;
  height: 46px;
}

.toolkit-card__brand-logo--cursor {
  width: 43px;
  height: 43px;
  filter: none;
  transition: filter 380ms ease;
}

.toolkit-card__brand-logo--codex {
  width: 45px;
  height: 45px;
}

.toolkit-card__brand-logo--antigravity {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.toolkit-card__brand-logo--node {
  width: 68px;
  height: 42px;
}

.toolkit-card__brand-logo--colab {
  width: 50px;
  height: 32px;
}

.toolkit-card__brand-logo--sql-server {
  width: 44px;
  height: 44px;
}

.toolkit-card > div {
  min-width: 0;
}

.toolkit-card__label {
  display: block;
  margin-bottom: 5px;
  overflow: hidden;
  color: #676767;
  font-family: 'IBM Plex Mono', 'Consolas', monospace;
  font-size: 0.67rem;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toolkit-card h4 {
  margin: 0;
  color: #eeeeee;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-transform: none;
}

.toolkit-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: #121212;
  color: #d9d9d9;
  font-size: 0.82rem;
  transform: translateY(-50%);
  transition: opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.toolkit-arrow:hover:not(:disabled) {
  background: #f2f2f2;
  color: #090909;
}

.toolkit-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.toolkit-arrow--prev {
  left: -70px;
}

.toolkit-arrow--next {
  right: -70px;
}

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

  .toolkit-arrow--prev {
    left: -22px;
  }

  .toolkit-arrow--next {
    right: -22px;
  }
}

@media (max-width: 720px) {
  .toolkit-reference {
    padding: 96px 18px 76px;
  }

  .toolkit-reference__heading {
    gap: 12px;
    margin-bottom: 38px;
  }

  .toolkit-reference__index {
    padding-top: 7px;
    font-size: 0.64rem;
  }

  .toolkit-reference__heading p {
    font-size: 0.94rem;
  }

  .toolkit-tabs {
    gap: 28px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .toolkit-tabs::-webkit-scrollbar {
    display: none;
  }

  .toolkit-tab {
    min-width: max-content;
  }

  .toolkit-grid,
  .toolkit-grid--languages {
    grid-template-columns: 1fr;
  }

  .toolkit-card {
    min-height: 92px;
    padding: 16px 18px;
  }

  .toolkit-arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .toolkit-track,
  .toolkit-viewport,
  .toolkit-tab::after,
  .toolkit-card {
    transition-duration: 0.01ms !important;
  }
}

/* Formação e certificações — adaptação editorial da referência. */
.formation-showcase {
  --formation-bg: #0d0d0e;
  --formation-card: #141415;
  --formation-card-hover: #18181a;
  --formation-line: rgba(255, 255, 255, 0.1);
  --formation-line-strong: rgba(255, 255, 255, 0.2);
  --formation-copy: var(--redesign-text);
  --formation-muted: var(--redesign-muted);
  --formation-accent: var(--redesign-accent);
  min-height: 100vh;
  padding: clamp(96px, 9vw, 148px) 24px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.07), transparent 25rem),
    var(--formation-bg);
  border-top: 1px solid var(--formation-line);
  color: var(--formation-copy);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.formation-showcase::before {
  width: min(1320px, calc(100% - 48px));
  background: linear-gradient(90deg, transparent, var(--formation-line-strong), transparent);
}

.formation-showcase::after {
  content: "05";
  position: absolute;
  right: max(24px, calc((100vw - 1320px) / 2));
  top: 58px;
  z-index: -1;
  color: rgba(255, 255, 255, 0.018);
  font-family: "Poppins", sans-serif;
  font-size: clamp(9rem, 20vw, 21rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.1em;
  pointer-events: none;
  user-select: none;
}

.formation-shell {
  display: block;
  width: min(100%, 1320px);
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.formation-hero {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 58px);
  max-width: 970px;
}

.formation-hero__index {
  display: grid;
  place-items: center;
  width: 72px;
  aspect-ratio: 1;
  border: 1px solid var(--formation-line-strong);
  border-radius: 50%;
  color: var(--formation-muted);
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
}

.formation-kicker,
.formation-heading__code,
.formation-heading__count,
.formation-item-period,
.formation-badge-index,
.formation-badge-copy p {
  font-family: "IBM Plex Mono", "Consolas", monospace;
}

.formation-kicker {
  display: block;
  margin: 4px 0 22px;
  color: var(--formation-muted);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.formation-hero__copy h2 {
  max-width: 920px;
  margin: 0;
  color: var(--formation-copy);
  font-family: "Poppins", sans-serif;
  font-size: clamp(3.5rem, 7.1vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.formation-hero__copy h2 span {
  color: var(--formation-accent);
  font-weight: 700;
}

.formation-hero__intro {
  max-width: 680px;
  margin: 30px 0 0;
  color: var(--formation-muted);
  font-size: clamp(0.98rem, 1.4vw, 1.14rem);
  font-weight: 300;
  line-height: 1.75;
}

.formation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(370px, 0.92fr);
  align-items: start;
  gap: clamp(48px, 7vw, 104px);
  margin-top: clamp(74px, 8vw, 116px);
}

.formation-column {
  min-width: 0;
}

.formation-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px 24px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--formation-line-strong);
}

.formation-heading__code {
  grid-column: 1 / -1;
  color: var(--formation-muted);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
}

.formation-heading h3 {
  margin: 0;
  color: var(--formation-copy);
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1;
}

.formation-heading h3 span {
  color: var(--formation-accent);
}

.formation-heading__count {
  padding-bottom: 5px;
  color: var(--formation-muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.formation-list {
  position: relative;
  padding-left: 32px;
  border: 0;
}

.formation-list::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 5px;
  width: 1px;
  background: linear-gradient(180deg, var(--formation-accent), var(--formation-line) 42%, transparent);
}

.formation-item {
  display: block;
  position: relative;
  margin: 0 0 18px;
  padding: 26px 66px 26px 28px;
  overflow: visible;
  border: 1px solid var(--formation-line);
  border-radius: 12px;
  background: var(--formation-card);
  box-shadow: none;
  transition:
    opacity 820ms var(--redesign-ease),
    transform 340ms var(--redesign-ease),
    filter 820ms var(--redesign-ease),
    background-color 340ms ease,
    border-color 340ms ease;
}

.formation-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  border-radius: 12px 0 0 12px;
  background: var(--formation-accent);
  opacity: 0;
  transition: opacity 300ms ease;
}

.formation-item-marker {
  position: absolute;
  top: 31px;
  left: -33px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--formation-bg);
  border-radius: 3px;
  background: var(--formation-accent);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45);
  transition: transform 340ms var(--redesign-ease), box-shadow 340ms ease;
}

.formation-item-index {
  position: absolute;
  top: 22px;
  right: 22px;
  color: rgba(255, 255, 255, 0.12);
  font-family: "Poppins", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.formation-item-meta {
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.formation-item-period {
  color: var(--formation-accent);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.formation-chip {
  min-height: 25px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.formation-chip-active {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  color: #e6e6e6;
}

.formation-chip-done {
  border: 1px solid var(--formation-line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: #b9b9b9;
}

.formation-item-copy h4 {
  max-width: 570px;
  margin: 0 0 9px;
  color: var(--formation-copy);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  font-weight: 550;
  line-height: 1.32;
}

.formation-item-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--formation-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.formation-item:hover {
  transform: translateX(7px);
  border-color: var(--formation-line-strong);
  background: var(--formation-card-hover);
}

.formation-item:hover::before {
  opacity: 1;
}

.formation-item:hover .formation-item-marker {
  transform: rotate(45deg) scale(1.12);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.formation-badges {
  display: grid;
  gap: 12px;
  border: 0;
}

.formation-badge-card {
  display: grid;
  grid-template-columns: 30px 64px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 17px 20px;
  border: 1px solid var(--formation-line);
  border-radius: 12px;
  background: var(--formation-card);
  color: inherit;
  text-decoration: none;
  transition:
    opacity 820ms var(--redesign-ease),
    transform 340ms var(--redesign-ease),
    filter 820ms var(--redesign-ease),
    background-color 340ms ease,
    border-color 340ms ease;
}

.formation-badge-index {
  color: var(--formation-muted);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.formation-badge-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: grayscale(0.25) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.24));
  transition: filter 300ms ease, transform 340ms var(--redesign-ease);
}

.formation-badge-copy p {
  margin: 0 0 6px;
  color: var(--formation-accent);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.formation-badge-copy h4 {
  margin: 0;
  color: var(--formation-copy);
  font-size: clamp(0.94rem, 1.15vw, 1.08rem);
  font-weight: 550;
  line-height: 1.32;
}

.formation-badge-arrow {
  color: var(--formation-muted);
  font-size: 0.74rem;
  transition: color 300ms ease, transform 340ms var(--redesign-ease);
}

.formation-badge-card:hover {
  transform: translateX(7px);
  border-color: var(--formation-line-strong);
  background: var(--formation-card-hover);
}

.formation-badge-card:hover img {
  transform: scale(1.06) rotate(-2deg);
  filter: grayscale(0) drop-shadow(0 12px 20px rgba(0, 0, 0, 0.3));
}

.formation-badge-card:hover .formation-badge-arrow {
  color: var(--formation-accent);
  transform: translate(2px, -2px);
}

.formation-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 18px;
}

.formation-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid var(--formation-line);
  border-radius: 999px;
  color: var(--formation-copy);
  font-size: 0.78rem;
  font-weight: 550;
  line-height: 1.25;
  text-decoration: none;
  transition: border-color 300ms ease, background-color 300ms ease, transform 300ms var(--redesign-ease);
}

.formation-actions a::before {
  content: none;
}

.formation-actions a i {
  color: var(--formation-accent);
  font-size: 0.7rem;
}

.formation-actions a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.formation-showcase a:focus-visible {
  outline: 2px solid var(--formation-accent);
  outline-offset: 4px;
}

.formation-item.scroll-reveal.is-visible:hover,
.formation-badge-card.scroll-reveal.is-visible:hover {
  transform: translateX(7px) !important;
}

.formation-actions.scroll-reveal.is-visible:hover {
  transform: none !important;
}

@media (max-width: 1050px) {
  .formation-layout {
    grid-template-columns: 1fr;
  }

  .formation-column-certifications {
    width: 100%;
    max-width: none;
  }

  .formation-badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .formation-badge-card {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: start;
    min-height: 190px;
  }

  .formation-badge-index {
    display: none;
  }

  .formation-badge-card img {
    width: 68px;
    height: 68px;
  }

  .formation-badge-copy {
    grid-column: 1 / -1;
    align-self: end;
  }
}

@media (max-width: 720px) {
  .formation-showcase {
    min-height: auto;
    padding: 88px 18px;
  }

  .formation-showcase::after {
    top: 80px;
    right: 16px;
    font-size: 10rem;
  }

  .formation-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .formation-hero__index {
    width: 52px;
  }

  .formation-kicker {
    margin-bottom: 16px;
    font-size: 0.62rem;
  }

  .formation-hero__copy h2 {
    font-size: clamp(2.75rem, 15vw, 4.5rem);
    line-height: 0.94;
  }

  .formation-hero__intro {
    margin-top: 22px;
  }

  .formation-layout {
    gap: 62px;
    margin-top: 68px;
  }

  .formation-heading {
    margin-bottom: 24px;
  }

  .formation-heading__count {
    display: none;
  }

  .formation-list {
    padding-left: 20px;
  }

  .formation-list::before {
    left: 0;
  }

  .formation-item {
    padding: 23px 18px;
  }

  .formation-item-marker {
    top: 29px;
    left: -26px;
  }

  .formation-item-index {
    display: none;
  }

  .formation-item-meta {
    flex-wrap: wrap;
  }

  .formation-badges {
    grid-template-columns: 1fr;
  }

  .formation-badge-card {
    grid-template-columns: 56px minmax(0, 1fr) 16px;
    grid-template-rows: auto;
    align-items: center;
    min-height: 96px;
    padding: 16px;
  }

  .formation-badge-card img {
    width: 54px;
    height: 54px;
  }

  .formation-badge-copy {
    grid-column: auto;
    align-self: auto;
  }

  .formation-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .formation-item,
  .formation-item-marker,
  .formation-badge-card,
  .formation-badge-card img,
  .formation-badge-arrow,
  .formation-actions a {
    transition-duration: 0.01ms !important;
  }
}

/* Ajuste da formação: composição neutra inspirada na seção de conquistas. */
.formation-showcase {
  --formation-bg: #050505;
  --formation-card: rgba(255, 255, 255, 0.03);
  --formation-card-hover: rgba(255, 255, 255, 0.055);
  --formation-line: rgba(255, 255, 255, 0.06);
  --formation-line-strong: rgba(255, 255, 255, 0.16);
  --formation-copy: #f4f4f4;
  --formation-muted: #8c8c91;
  --formation-accent: #ffffff;
  min-height: 100vh;
  padding: clamp(100px, 9vw, 140px) 24px;
  background: var(--formation-bg);
  border-top-color: var(--formation-line);
}

.formation-showcase::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.formation-showcase::after {
  display: none;
}

.formation-shell {
  width: min(100%, 1200px);
  max-width: 1200px;
}

.formation-hero {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: none;
}

.formation-hero__index,
.formation-kicker {
  display: none;
}

.formation-hero__copy h2 {
  width: fit-content;
  margin: 0;
  color: #f4f4f4;
  font-family: "Raleway", sans-serif;
  font-size: clamp(2.15rem, 3.7vw, 3.8rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: none;
}

.formation-hero__rule {
  display: block;
  width: 60px;
  height: 2px;
  margin-top: 19px;
  background: #fff;
  border-color: transparent;
  color: #fff;
}

.formation-hero__intro {
  max-width: 820px;
  margin: 0 auto;
  color: var(--formation-muted);
  font-size: clamp(0.94rem, 1.2vw, 1.04rem);
  font-weight: 300;
  line-height: 1.7;
  text-align: center;
}

.formation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(92px, 10vw, 136px);
  width: min(100%, 900px);
  margin: clamp(62px, 7vw, 90px) auto 0;
}

.formation-list {
  padding-left: 30px;
  border-left: 2px solid var(--formation-line);
}

.formation-list::before,
.formation-item::before {
  display: none;
}

.formation-item {
  margin-bottom: 40px;
  padding: 30px;
  overflow: visible;
  border: 0;
  border-radius: 12px;
  background: var(--formation-card);
  transition:
    opacity 820ms var(--redesign-ease),
    transform 340ms var(--redesign-ease),
    filter 820ms var(--redesign-ease),
    background-color 300ms ease;
}

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

.formation-item-marker {
  top: 31px;
  left: -38px;
  width: 12px;
  height: 12px;
  border: 0;
  border-color: transparent;
  border-radius: 3px;
  background: #fff;
  color: #fff;
  box-shadow: none;
}

.formation-item-index {
  top: 25px;
  right: 28px;
  color: rgba(255, 255, 255, 0.14);
  font-size: 2rem;
  font-weight: 600;
}

.formation-item-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}

.formation-item-period {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.16rem, 2vw, 1.42rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.formation-chip {
  min-height: 26px;
  padding: 6px 11px;
  border-radius: 5px;
  font-size: 0.58rem;
}

.formation-chip-active {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.formation-chip-done {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #96969b;
}

.formation-item-copy h4 {
  max-width: 700px;
  margin-bottom: 13px;
  color: #f5f5f5;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  font-weight: 550;
  line-height: 1.4;
}

.formation-item-copy p {
  max-width: 720px;
  color: #99999e;
  font-size: 0.93rem;
  line-height: 1.65;
}

.formation-item:hover {
  transform: translateY(-3px);
  border-color: transparent;
  background: var(--formation-card-hover);
}

.formation-item:hover .formation-item-marker {
  transform: scale(1.08);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.05);
}

.formation-column-certifications {
  width: 100%;
  max-width: none;
}

.formation-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 0 0 clamp(42px, 5vw, 68px);
  padding: 0;
  border: 0;
}

.formation-heading__code,
.formation-heading__count {
  display: none;
}

.formation-heading h3 {
  width: fit-content;
  margin: 0;
  color: #f4f4f4;
  font-family: "Raleway", sans-serif;
  font-size: clamp(2.15rem, 3.7vw, 3.8rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: none;
}

.formation-heading h3 span {
  color: inherit;
}

.formation-heading h3::after {
  content: none;
}

.formation-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.formation-badge-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 250px;
  padding: 28px;
  position: relative;
  border: 0;
  border-radius: 12px;
  background: var(--formation-card);
  transition:
    opacity 820ms var(--redesign-ease),
    transform 340ms var(--redesign-ease),
    filter 820ms var(--redesign-ease),
    background-color 300ms ease;
}

.formation-badge-index {
  display: none;
}

.formation-badge-card img {
  width: 78px;
  height: 78px;
  margin-bottom: auto;
  filter: grayscale(0.2) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}

.formation-badge-copy {
  padding-top: 28px;
}

.formation-badge-copy p {
  margin-bottom: 8px;
  color: #8e8e93;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
}

.formation-badge-copy h4 {
  color: #f3f3f3;
  font-size: 1rem;
  font-weight: 550;
  line-height: 1.4;
}

.formation-badge-arrow {
  position: absolute;
  top: 30px;
  right: 28px;
  color: #77777c;
}

.formation-badge-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  background: var(--formation-card-hover);
}

.formation-badge-card:hover .formation-badge-arrow {
  color: #fff;
}

.formation-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 24px;
}

.formation-actions a {
  width: auto;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-size: 0.78rem;
}

.formation-actions a i {
  color: #fff;
}

.formation-actions a:hover {
  border-color: #fff;
  background: #fff;
  color: #050505;
}

.formation-actions a:hover i {
  color: #050505;
}

.formation-showcase a:focus-visible {
  outline-color: #fff;
}

.formation-item.scroll-reveal.is-visible:hover,
.formation-badge-card.scroll-reveal.is-visible:hover {
  transform: translateY(-4px) !important;
}

@media (max-width: 780px) {
  .formation-showcase {
    min-height: auto;
    padding: 88px 18px;
  }

  .formation-hero__copy h2,
  .formation-heading h3 {
    font-size: clamp(2.15rem, 3.7vw, 3.8rem);
  }

  .formation-hero__intro {
    margin-top: 0;
    text-align: left;
  }

  .formation-hero,
  .formation-heading {
    gap: 12px;
    margin-bottom: 38px;
  }

  .formation-layout {
    gap: 84px;
    margin-top: 54px;
  }

  .formation-list {
    padding-left: 20px;
  }

  .formation-item {
    margin-bottom: 26px;
    padding: 24px 20px;
  }

  .formation-item-marker {
    top: 29px;
    left: -27px;
    width: 12px;
    height: 12px;
  }

  .formation-item-index {
    display: none;
  }

  .formation-item-meta {
    flex-wrap: wrap;
    padding-right: 0;
  }

  .formation-badges {
    grid-template-columns: 1fr;
  }

  .formation-badge-card {
    min-height: 180px;
    padding: 24px;
  }

  .formation-badge-card img {
    width: 66px;
    height: 66px;
  }

  .formation-badge-copy {
    padding-top: 22px;
  }

  .formation-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .formation-actions a {
    justify-content: space-between;
  }
}

/* Experiências — mesma linguagem neutra da timeline de formação. */
.experience {
  --experience-bg: #050505;
  --experience-card: rgba(255, 255, 255, 0.03);
  --experience-card-hover: rgba(255, 255, 255, 0.055);
  --experience-line: rgba(255, 255, 255, 0.06);
  --experience-line-strong: rgba(255, 255, 255, 0.16);
  --experience-copy: #f4f4f4;
  --experience-muted: #8f8f94;
  --experience-soft: #b6b6ba;
  min-height: 100vh;
  padding: clamp(100px, 9vw, 140px) 24px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--experience-line);
  background: var(--experience-bg);
  color: var(--experience-copy);
}

.experience::before {
  width: min(1200px, calc(100% - 48px));
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.experience-shell {
  width: min(100%, 1200px);
  max-width: 1200px;
  margin: 0 auto;
}

.experience-hero h2 {
  width: fit-content;
  margin: 0;
  color: #f4f4f4;
  font-family: "Raleway", sans-serif;
  font-size: clamp(2.15rem, 3.7vw, 3.8rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: none;
}

.experience-hero__rule {
  display: block;
  width: 60px;
  height: 2px;
  margin-top: 19px;
  border-color: transparent;
  background: #fff;
  color: #fff;
}

.experience-hero__intro {
  max-width: 820px;
  margin: 0 auto;
  color: var(--experience-muted);
  font-size: clamp(0.94rem, 1.2vw, 1.04rem);
  font-weight: 300;
  line-height: 1.7;
  text-align: center;
}

.experience-list {
  display: grid;
  gap: 40px;
  width: min(100%, 900px);
  margin: clamp(62px, 7vw, 90px) auto 0;
  padding-left: 30px;
  border-left: 2px solid var(--experience-line);
}

.experience-entry {
  display: grid;
  grid-template-columns: minmax(190px, 0.68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: clamp(30px, 5vw, 58px);
  padding: 30px;
  position: relative;
  overflow: visible;
  border: 0;
  border-radius: 12px;
  background: var(--experience-card);
  box-shadow: none;
  transition:
    opacity 820ms var(--redesign-ease),
    transform 340ms var(--redesign-ease),
    filter 820ms var(--redesign-ease),
    background-color 300ms ease;
}

.experience-entry::before {
  display: none;
}

.experience-entry-marker {
  position: absolute;
  top: 31px;
  left: -38px;
  width: 12px;
  height: 12px;
  border: 0;
  border-color: transparent;
  border-radius: 3px;
  background: #fff;
  box-shadow: none;
  color: #fff;
  transition: transform 300ms var(--redesign-ease), box-shadow 300ms ease;
}

.experience-entry-aside,
.experience-entry-body {
  position: relative;
  z-index: 1;
}

.experience-entry-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: none;
}

.experience-entry-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: #0d0d0e;
  box-shadow: none;
}

.experience-entry-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.experience-entry-mark--image {
  background: #0d0d0e;
}

.experience-entry-mark--image img {
  object-fit: contain;
  transform: scale(1.16);
}

.experience-entry-mark--ifsp {
  padding: 6px;
  background: #fff;
}

.experience-entry-index {
  position: absolute;
  top: -2px;
  right: 0;
  color: rgba(255, 255, 255, 0.14);
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.experience-entry-company {
  max-width: 180px;
  margin: 0;
  color: #f3f3f3;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.12rem, 1.7vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.experience-entry-tenure {
  margin: 6px 0 0;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.experience-entry-details {
  margin: 0;
  color: var(--experience-muted);
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  line-height: 1.55;
  text-transform: none;
}

.experience-entry-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
  padding-top: 2px;
}

.experience-entry-role-label {
  display: block;
  margin: 0 0 9px;
  color: #838388;
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.experience-entry-heading h3 {
  max-width: none;
  margin: 0;
  color: #f5f5f5;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.72rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.experience-highlights {
  display: grid;
  gap: 12px;
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.experience-highlights li {
  position: relative;
  padding-left: 18px;
  color: #a5a5aa;
  font-size: 0.9rem;
  line-height: 1.6;
}

.experience-highlights li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: #fff;
  box-shadow: none;
}

.experience-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.experience-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: transparent;
  color: #a7a7ac;
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 300ms ease, color 300ms ease, background-color 300ms ease;
}

.experience-pill:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.experience-entry:hover {
  transform: translateY(-3px);
  border-color: transparent;
  background: var(--experience-card-hover);
  box-shadow: none;
}

.experience-entry:hover .experience-entry-marker {
  transform: scale(1.08);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.05);
}

.experience-entry.scroll-reveal.is-visible:hover {
  transform: translateY(-3px) !important;
}

@media (max-width: 780px) {
  .experience {
    min-height: auto;
    padding: 88px 18px !important;
  }

  .experience-hero h2 {
    font-size: clamp(2.15rem, 3.7vw, 3.8rem);
  }

  .experience-hero__intro {
    margin-top: 0;
    text-align: left;
  }

  .experience-list {
    gap: 26px;
    margin-top: 54px;
    padding-left: 20px;
  }

  #experiencia .experience-entry {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
    padding: 24px 20px !important;
    border-radius: 12px !important;
  }

  .experience-entry-marker {
    top: 29px;
    left: -27px;
  }

  .experience-entry-aside {
    max-width: none;
  }

  #experiencia .experience-entry-mark {
    width: 64px !important;
    height: 64px !important;
    border-radius: 10px !important;
  }

  #experiencia .experience-entry-company {
    max-width: none;
    font-size: 1.35rem !important;
  }

  #experiencia .experience-entry-heading h3 {
    font-size: 1.32rem !important;
  }

  #experiencia .experience-highlights li {
    padding-left: 18px !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }

  #experiencia .experience-entry-tenure,
  #experiencia .experience-entry-details {
    font-size: 0.68rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .experience-entry,
  .experience-entry-marker,
  .experience-pill {
    transition-duration: 0.01ms !important;
  }
}

/* Contato — composição central e social, com tipografia própria do portfólio. */
.contact-redesign.contact-section {
  min-height: 90svh;
  padding: clamp(104px, 11vw, 156px) 24px 28px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-top: 0;
  background: #111112;
  color: #f4f4f4;
}

#contato.section-motion .section-motion__veil {
  display: none;
}

.contact-redesign__shell {
  width: min(100%, 1100px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-redesign__kicker {
  margin: 0 0 22px;
  color: #717176;
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-redesign__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-redesign .contact-title {
  margin: 0;
  color: #f5f5f5;
  font-family: "Raleway", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
  text-transform: none;
}

.contact-redesign__title-line {
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 20px;
  border-color: transparent;
  background: #f3f3f3;
  color: #fff;
  transform-origin: center;
  transition: width 360ms var(--redesign-ease);
}

.contact-redesign__heading:hover .contact-redesign__title-line {
  width: 104px;
}

.contact-redesign .contact-subtitle {
  max-width: 720px;
  margin: 38px auto 28px;
  color: #a2a2a7;
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  font-weight: 300;
  line-height: 1.75;
}

.contact-redesign__primary.contact-container,
.contact-redesign__secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.contact-redesign__primary.contact-container {
  gap: clamp(14px, 2.2vw, 26px);
}

.contact-social {
  display: grid;
  place-items: center;
  position: relative;
  border: 0;
  background: transparent;
  text-decoration: none;
  transition: color 260ms ease, opacity 260ms ease, transform 300ms var(--redesign-ease);
}

.contact-social--primary {
  width: 50px;
  height: 50px;
  color: #f3f3f3;
  font-size: 2rem;
}

.contact-social--secondary {
  width: 42px;
  height: 42px;
  color: #8d8d92;
  font-size: 1.45rem;
}

.contact-social:hover,
.contact-social:focus-visible {
  color: #fff;
  transform: translateY(-5px);
}

.contact-social--secondary:hover,
.contact-social--secondary:focus-visible {
  color: #d7d7da;
}

.contact-social span {
  position: absolute;
  top: calc(100% + 11px);
  left: 50%;
  z-index: 20;
  padding: 6px 9px;
  border: 0;
  border-radius: 7px;
  background: #f4f4f4;
  color: #101010 !important;
  font-family: "Poppins", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -5px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.contact-social span::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  border: 4px solid transparent;
  border-bottom-color: #f4f4f4;
  transform: translateX(-50%);
}

.contact-social:hover span,
.contact-social:focus-visible span {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.contact-redesign__divider {
  width: min(100%, 760px);
  height: 1px;
  margin: 46px auto 38px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-redesign__secondary-title {
  margin: 0 0 12px;
  color: #66666b;
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-redesign__secondary {
  gap: 8px;
}

.contact-redesign__footer {
  width: min(100%, 980px);
  margin: 52px auto 0;
  padding: 0;
  display: block;
  border-top: 0;
  color: #6f6f74;
  font-family: "Poppins", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.contact-redesign__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-redesign__meta > span,
.contact-redesign__footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-redesign__footer a {
  color: #aaa9ae;
  text-transform: none;
  transition: color 220ms ease, gap 220ms ease;
}

.contact-redesign__footer a:hover {
  gap: 13px;
  color: #fff;
}

.contact-redesign__copyright {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  color: #55555a;
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}

.contact-redesign a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

@media (max-width: 680px) {
  .contact-redesign.contact-section {
    min-height: auto;
    padding: 88px 18px 22px;
  }

  .contact-redesign .contact-title {
    font-size: clamp(2.6rem, 14vw, 3.8rem);
  }

  .contact-redesign .contact-subtitle {
    margin-top: 32px;
  }

  .contact-redesign__primary.contact-container {
    gap: 12px;
  }

  .contact-social--primary {
    width: 46px;
    height: 46px;
    font-size: 1.75rem;
  }

  .contact-redesign__divider {
    margin-top: 40px;
  }

  .contact-redesign__meta {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
  }

  .contact-redesign__copyright {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-social,
  .contact-social span,
  .contact-redesign__title-line,
  .contact-redesign__footer a {
    transition-duration: 0.01ms !important;
  }
}

/* Comunidade — narrativa horizontal orientada pelo scroll. */
.community-story.community-showcase {
  --community-bg: #080809;
  --community-surface: #101011;
  --community-border: rgba(255, 255, 255, 0.09);
  --community-divider: rgba(255, 255, 255, 0.08);
  --community-copy: #f2f2f3;
  --community-muted: #8c8c92;
  --community-soft: #77777d;
  --community-accent: #f2f2f3;
  --community-accent-deep: #77777d;
  --community-story-bg: #070708;
  --community-story-surface: #101011;
  --community-story-line: rgba(255, 255, 255, 0.1);
  --community-story-copy: #f2f2f3;
  --community-story-muted: #8c8c92;
  height: 600vh;
  min-height: 100svh;
  padding: 0;
  position: relative;
  overflow: clip;
  background: var(--community-story-bg);
  color: var(--community-story-copy);
}

.community-story.community-showcase::before {
  width: 100%;
  left: 0;
  transform: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.community-story__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: var(--community-story-bg);
}

.community-story__header {
  position: absolute;
  top: clamp(14px, 2vh, 22px);
  left: 50%;
  z-index: 5;
  width: min(1280px, calc(100% - 72px));
  display: flex;
  justify-content: center;
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.community-story .community-showcase__label {
  display: none;
}

.community-story .community-showcase__label .skills-board__index,
.community-story .community-showcase__label .skills-board__eyebrow {
  color: #79797f;
}

.community-story .community-showcase__label .skills-board__line {
  background: rgba(255, 255, 255, 0.14);
}

.community-story .community-showcase__intro {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.community-story .community-showcase__title {
  max-width: min(900px, 100%);
  margin: 0;
  color: var(--community-story-copy);
  font-family: "Raleway", sans-serif;
  font-size: clamp(1.95rem, 2.65vw, 2.8rem);
  font-style: normal;
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1.04;
  text-align: center;
}

.community-story .community-showcase__title span {
  color: #fff;
  font-style: normal;
  font-weight: 750;
}

.community-story .community-showcase__title::after {
  content: "";
  width: 54px;
  height: 2px;
  margin: 14px auto 0;
  display: block;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.72;
}

.community-story .community-showcase__subtitle {
  display: none !important;
}

.community-story__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.community-story__track {
  width: max-content;
  height: 100%;
  display: flex;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.community-story__panel {
  width: 100vw;
  height: 100%;
  flex: 0 0 100vw;
  padding: clamp(122px, 15vh, 142px) clamp(24px, 8vw, 128px) clamp(52px, 6vh, 70px);
  display: grid;
  place-items: start center;
}

.community-story__content {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 520px);
  align-items: center;
  gap: clamp(48px, 4.2vw, 64px);
}

.community-story__content--reverse .community-story__copy {
  order: initial;
}

.community-story__content--reverse .community-story__media {
  order: initial;
}

.community-story__copy,
.community-story__media {
  opacity: var(--community-panel-opacity, 1);
  transform: translate3d(0, var(--community-panel-shift, 0), 0);
  transition: none;
  will-change: opacity, transform;
}

.community-story__panel.is-active .community-story__copy,
.community-story__panel.is-active .community-story__media {
  opacity: var(--community-panel-opacity, 1);
  transform: translate3d(0, var(--community-panel-shift, 0), 0);
}

.community-story__panel.is-active .community-story__media {
  transition-delay: 0ms;
}

.community-story__media {
  scale: var(--community-panel-scale, 1);
}

.community-story__chapter {
  display: block;
  margin-bottom: 18px;
  color: #77777d;
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.community-story__copy {
  width: 100%;
  max-width: 490px;
}

.community-story__copy h3 {
  max-width: 700px;
  margin: 0;
  color: #f5f5f6;
  font-family: "Raleway", sans-serif;
  font-size: clamp(2.2rem, 3vw, 3.45rem);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 0.96;
  text-wrap: balance;
}

.community-story__copy > strong {
  display: block;
  margin-top: 14px;
  color: #c9c9cc;
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.community-story__copy p {
  max-width: 540px;
  margin: 24px 0 0;
  color: #8e8e94;
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.76rem, 0.92vw, 0.84rem);
  font-weight: 300;
  line-height: 1.8;
}

.community-story__copy a {
  width: fit-content;
  margin-top: 26px;
  padding-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: #d7d7da;
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 240ms ease, border-color 240ms ease, gap 240ms ease;
}

.community-story__copy a:hover {
  gap: 15px;
  border-color: #fff;
  color: #fff;
}

.community-story__copy .community-story__credits {
  margin-top: 14px;
  color: #77777d;
  font-size: clamp(0.68rem, 0.86vw, 0.76rem);
  line-height: 1.7;
}

.community-story__copy .community-story__credits a {
  margin: 0;
  padding: 0;
  display: inline;
  border: 0;
  color: #b6b6ba;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
}

.community-story__copy .community-story__credits a:hover {
  color: #fff;
}

.community-story__media {
  width: 100%;
  height: clamp(370px, 58vh, 410px);
  min-height: 0;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--community-story-line);
  border-radius: 24px;
  background: var(--community-story-surface);
}

.community-story__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: inherit;
  pointer-events: none;
}

.community-story__media > span {
  display: none;
}

.community-story__media img {
  width: min(64%, 220px);
  max-height: 48%;
  position: relative;
  z-index: 1;
  object-fit: contain;
  filter: grayscale(1) brightness(1.14) contrast(0.96);
  transition: none;
}

.community-story__panel.is-active .community-story__media img {
  filter: grayscale(1) brightness(1.14) contrast(0.96);
  transform: none;
}

.community-story__media--photo img {
  width: 100%;
  height: 100%;
  max-height: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: cover;
  filter: saturate(0.74) brightness(0.84) contrast(1.03);
  transform: none;
}

.community-story__media--photo {
  max-width: 520px;
  border-radius: 20px;
}

.community-story__panel.is-active .community-story__media--photo img {
  filter: saturate(0.74) brightness(0.84) contrast(1.03);
  transform: none;
}

.community-story__media--startup img {
  object-position: 45% center;
}

.community-story__media--fiap img {
  object-position: center;
}

.community-story__media--ctrl-alt img {
  object-position: 46% center;
}

.community-story__media--feteps img {
  object-position: center 10%;
}

.community-story__media--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, 0.24));
  pointer-events: none;
}

.community-story__media--photo::after {
  inset: 0;
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.085);
  border-radius: inherit;
}

.community-story__media--photo > span {
  z-index: 2;
  color: rgba(255, 255, 255, 0.09);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.46);
}

.community-story__progress {
  position: absolute;
  left: 50%;
  bottom: clamp(24px, 4vh, 42px);
  z-index: 6;
  width: min(330px, calc(100% - 48px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  color: #66666b;
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  transform: translateX(-50%);
}

.community-story__progress > span {
  color: #66666b;
}

.community-story__progress > div {
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.11);
}

.community-story__progress i {
  width: 100%;
  height: 100%;
  display: block;
  background: #f2f2f3;
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

/* Transição cinematográfica e discreta entre seções. */
.section-motion {
  position: relative;
  isolation: isolate;
  opacity: 0;
  transform: translate3d(0, 44px, 0) scale(0.992);
  filter: blur(8px);
  transition:
    opacity 940ms var(--redesign-reveal-ease),
    transform 1080ms var(--redesign-reveal-ease),
    filter 840ms ease-out;
  will-change: opacity, transform, filter;
}

.section-motion__veil {
  display: none;
}

.section-motion.is-section-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@media (max-width: 1100px) {
  .community-story__header {
    width: min(100% - 48px, 940px);
  }

  .community-story__panel {
    padding-inline: 24px;
  }

  .community-story__content {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1fr);
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .community-story.community-showcase {
    height: auto;
    min-height: 0;
    padding: 74px 18px 78px;
    overflow: hidden;
  }

  .community-story__sticky {
    position: relative;
    height: auto;
    overflow: visible;
    background: transparent;
  }

  .community-story__header {
    width: min(100%, 680px);
    margin: 0 auto 42px;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    pointer-events: auto;
  }

  .community-story .community-showcase__intro {
    display: block;
  }

  .community-story .community-showcase__title {
    max-width: 580px;
    margin-inline: auto;
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .community-story__viewport {
    height: auto;
    overflow: visible;
  }

  .community-story__track {
    width: 100%;
    height: auto;
    display: grid;
    gap: 16px;
    transform: none !important;
  }

  .community-story__panel {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
  }

  .community-story__content,
  .community-story__content--reverse {
    width: min(100%, 680px);
    min-height: 0;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.018);
  }

  .community-story__content--reverse .community-story__copy,
  .community-story__content--reverse .community-story__media {
    order: initial;
  }

  .community-story__copy,
  .community-story__media,
  .community-story__panel.is-active .community-story__copy,
  .community-story__panel.is-active .community-story__media {
    opacity: 1;
    transform: none;
  }

  .community-story__copy h3 {
    font-size: clamp(2rem, 8vw, 3.4rem);
  }

  .community-story__media {
    height: 250px;
    min-height: 0;
    order: -1;
  }

  .community-story__media img {
    max-height: 72px;
  }

  .community-story__media--photo {
    height: 250px;
    min-height: 0;
  }

  .community-story__media--photo img {
    width: 100%;
    height: 100%;
    max-height: none;
  }

  .community-story__progress {
    display: none;
  }
}

@media (max-width: 520px) {
  .community-story.community-showcase {
    padding: 64px 14px 68px;
  }

  .community-story__header {
    margin-bottom: 32px;
  }

  .community-story__content,
  .community-story__content--reverse {
    padding: 20px 18px 22px;
  }

  .community-story__copy p {
    margin-top: 18px;
    font-size: 0.78rem;
  }

  .community-story__media--photo {
    height: 220px;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .community-story.community-showcase {
    height: auto;
    padding: 74px 18px 78px;
  }

  .community-story__sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .community-story__header {
    margin: 0 auto 50px;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }

  .community-story__viewport {
    height: auto;
    overflow: visible;
  }

  .community-story__track {
    width: 100%;
    height: auto;
    display: grid;
    gap: 20px;
    transform: none !important;
  }

  .community-story__panel {
    width: 100%;
    height: auto;
    padding: 24px;
  }

  .community-story__copy,
  .community-story__media {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .community-story__progress,
  .section-motion__veil {
    display: none;
  }
}

/* Identidade fox e alternância de tema. */
.theme-logo--light {
  display: none;
}

html[data-theme="light"] .theme-logo--dark {
  display: none;
}

html[data-theme="light"] .theme-logo--light {
  display: block;
}

.loading-logo__mark {
  width: 98px;
  height: 98px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.3);
  animation: foxLogoIn 720ms var(--redesign-ease) both;
}

.loading-logo__mark .theme-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-header__brand-mark {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
}

.hero-header__brand-mark .theme-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-header__theme-toggle {
  --theme-toggle-ring: rgba(255, 255, 255, 0.16);
  color: #f3f3f3 !important;
}

.hero-header__theme-toggle.is-theme-changing {
  animation: themeToggleBloom 780ms cubic-bezier(0.76, 0, 0.24, 1) both;
}

.hero-header__theme-toggle.is-theme-changing .theme-toggle__icons {
  animation: themeIconOrbit 780ms cubic-bezier(0.76, 0, 0.24, 1) both;
}

.theme-toggle__icons {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  position: relative;
  color: inherit;
  transition: transform 440ms cubic-bezier(0.65, 0, 0.35, 1);
}

.theme-toggle__icons i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: inherit;
  transition:
    opacity 420ms cubic-bezier(0.65, 0, 0.35, 1),
    transform 440ms cubic-bezier(0.65, 0, 0.35, 1);
}

.theme-toggle__moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.theme-toggle__sun {
  opacity: 0;
  transform: scale(0.28) rotate(-95deg);
}

html[data-theme="light"] .theme-toggle__icons {
  transform: rotate(90deg);
}

html[data-theme="light"] .theme-toggle__moon {
  opacity: 0;
  transform: scale(0.3) rotate(90deg);
}

html[data-theme="light"] .theme-toggle__sun {
  opacity: 1;
  transform: scale(1) rotate(-90deg);
}

@keyframes foxLogoIn {
  from {
    opacity: 0;
    transform: scale(0.72) rotate(-8deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes themeToggleBloom {
  0%, 100% {
    box-shadow: 0 0 0 0 transparent;
    transform: scale(1);
  }

  42% {
    box-shadow: 0 0 0 11px var(--theme-toggle-ring);
    transform: scale(0.84);
  }

  72% {
    box-shadow: 0 0 0 4px var(--theme-toggle-ring);
    transform: scale(1.08);
  }
}

@keyframes themeIconOrbit {
  0% {
    rotate: 0deg;
    scale: 1;
  }

  48% {
    rotate: 170deg;
    scale: 0.68;
  }

  100% {
    rotate: 360deg;
    scale: 1;
  }
}

body,
.loading-screen,
.hero-minimal.first_section,
.hero-header.cabecalho,
.sobre-mim.about-reference,
.toolkit-reference,
.formation-showcase,
.formation-item,
.formation-badge-card,
.experience,
.experience-entry,
.projects-redesign.projetos,
.projects-redesign .project-filter,
.community-story__sticky,
.community-story__media,
.contact-redesign.contact-section {
  transition:
    background-color 440ms cubic-bezier(0.65, 0, 0.35, 1),
    background 440ms cubic-bezier(0.65, 0, 0.35, 1),
    color 380ms ease,
    border-color 380ms ease;
}

.formation-showcase.section-motion,
.experience.section-motion,
.projects-redesign.projetos.section-motion {
  transition:
    opacity 940ms var(--redesign-reveal-ease),
    transform 1080ms var(--redesign-reveal-ease),
    filter 840ms ease-out,
    background-color 440ms cubic-bezier(0.65, 0, 0.35, 1),
    background 440ms cubic-bezier(0.65, 0, 0.35, 1),
    color 380ms ease,
    border-color 380ms ease;
}

.formation-item.scroll-reveal,
.formation-badge-card.scroll-reveal,
.experience-entry.scroll-reveal {
  transition:
    opacity 920ms var(--redesign-reveal-ease),
    transform 760ms var(--redesign-reveal-ease),
    filter 820ms ease-out,
    background-color 440ms cubic-bezier(0.65, 0, 0.35, 1),
    background 440ms cubic-bezier(0.65, 0, 0.35, 1),
    color 380ms ease,
    border-color 380ms ease;
}

.theme-transition-layer {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: block;
  pointer-events: none;
  transform: translateZ(0);
  will-change: clip-path, opacity;
}

html.theme-transition-active *:not(.hero-portrait__image),
html.theme-transition-active *::before,
html.theme-transition-active *::after {
  transition: none !important;
}

html.theme-transition-active .hero-portrait__image {
  transition: none !important;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  z-index: 1;
}

::view-transition-new(root) {
  z-index: 2;
}

html[data-theme="light"] {
  --redesign-bg: #f4f4f2;
  --redesign-surface: #ffffff;
  --redesign-surface-soft: #ececea;
  --redesign-line: rgba(15, 15, 17, 0.12);
  --redesign-line-strong: rgba(15, 15, 17, 0.26);
  --redesign-text: #111113;
  --redesign-muted: #68686d;
  --redesign-accent: #111113;
}

body.light-mode {
  background: #f4f4f2;
  color: #171719;
}

body.light-mode .loading-screen {
  background: #f4f4f2;
}

body.light-mode .loading-logo__mark {
  box-shadow: 0 22px 58px rgba(25, 25, 28, 0.12);
}

body.light-mode .loading-dots span,
body.light-mode .progress-fill {
  background: #141416;
}

body.light-mode .hero-minimal.first_section {
  background:
    radial-gradient(ellipse at 76% 44%, rgba(0, 0, 0, 0.025), transparent 34%),
    linear-gradient(145deg, #fafaf8 0%, #f3f3f1 48%, #eaeae8 100%);
  color: #151517;
}

body.light-mode .hero-minimal.first_section::before {
  background:
    radial-gradient(ellipse at 18% 28%, rgba(0, 0, 0, 0.018), transparent 38%),
    radial-gradient(ellipse at 82% 78%, rgba(0, 0, 0, 0.045), transparent 42%);
}

body.light-mode .hero-minimal.first_section::after {
  background: linear-gradient(to bottom, transparent, rgba(226, 226, 224, 0.78));
}

body.light-mode .hero-header.cabecalho {
  border-bottom-color: rgba(15, 15, 17, 0.1) !important;
  background: rgba(248, 248, 246, 0.78) !important;
}

body.light-mode .hero-header.cabecalho.is-scrolled {
  background: rgba(250, 250, 248, 0.94) !important;
  box-shadow: 0 12px 34px rgba(20, 20, 22, 0.09) !important;
}

body.light-mode .hero-header__brand,
body.light-mode .hero-header__theme-toggle,
body.light-mode .hero-header__language-toggle {
  color: #151517 !important;
}

body.light-mode .hero-header__language-toggle {
  border-color: rgba(15, 15, 17, 0.1);
  background: rgba(15, 15, 17, 0.035);
}

body.light-mode .hero-header__language-toggle:hover {
  border-color: rgba(15, 15, 17, 0.18);
  background: rgba(15, 15, 17, 0.075);
}

body.light-mode .hero-header__theme-toggle {
  --theme-toggle-ring: rgba(17, 17, 19, 0.14);
}

body.light-mode .hero-header .hero-header__nav li a {
  color: #69696e !important;
}

body.light-mode .hero-header .hero-header__nav li a:hover,
body.light-mode .hero-header .hero-header__nav li a.is-active {
  background: rgba(15, 15, 17, 0.075) !important;
  color: #111113 !important;
}

body.light-mode .hero-header__effect-toggle:hover {
  background: rgba(15, 15, 17, 0.06);
  color: #111113 !important;
}

body.light-mode .hero-minimal a:focus-visible,
body.light-mode .hero-minimal button:focus-visible {
  outline-color: rgba(15, 15, 17, 0.76);
}

body.light-mode .hero-header__tooltip {
  background: #151517;
  color: #fff !important;
}

body.light-mode .hero-header__tooltip::before {
  border-bottom-color: #151517;
}

body.light-mode .hero-minimal .hero-minimal__title,
body.light-mode .hero-minimal .hero-minimal__title strong {
  color: #111113;
}

body.light-mode .hero-minimal .hero-minimal__subtitle,
body.light-mode .hero-minimal__quote {
  color: #67676c !important;
}

body.light-mode .hero-button--filled {
  background: #151517;
  color: #fff;
}

body.light-mode .hero-button--outline {
  border-color: rgba(15, 15, 17, 0.5);
  color: #171719;
}

body.light-mode .hero-button--outline:hover {
  background: #151517;
  color: #fff;
}

body.light-mode .hero-scroll {
  color: #747479;
}

body.light-mode .hero-mobile-menu {
  border-color: rgba(15, 15, 17, 0.1);
  background: rgba(250, 250, 248, 0.96);
  box-shadow: 0 24px 60px rgba(20, 20, 22, 0.12);
}

body.light-mode .hero-mobile-menu a {
  background: rgba(15, 15, 17, 0.045);
  color: #454549;
}

body.light-mode .hero-menu-toggle span {
  background: #171719;
}

body.light-mode .sobre-mim.about-reference {
  border-top-color: rgba(15, 15, 17, 0.09);
  background:
    radial-gradient(circle at 84% 20%, rgba(0, 0, 0, 0.02), transparent 28%),
    #fafaf8;
}

body.light-mode .about-reference__heading h2,
body.light-mode .about-reference__content strong,
body.light-mode .about-reference__quote,
body.light-mode .about-reference__card h3 {
  color: #151517;
}

body.light-mode .about-reference__title-line,
body.light-mode .about-reference__quote {
  border-color: #171719;
}

body.light-mode .about-reference__title-line {
  background: #171719;
}

body.light-mode .about-reference__index,
body.light-mode .about-reference__card-number {
  color: rgba(15, 15, 17, 0.34);
}

body.light-mode .about-reference__content,
body.light-mode .about-reference__card p {
  color: #626267;
}

body.light-mode .about-reference__quote cite,
body.light-mode .about-reference__note {
  color: #77777c !important;
}

body.light-mode .about-reference__card {
  border-color: rgba(15, 15, 17, 0.07);
  background: #f0f0ee;
}

body.light-mode .about-reference__card:hover {
  border-color: rgba(15, 15, 17, 0.13);
  background: #e9e9e7;
}

body.light-mode .toolkit-reference {
  border-top-color: rgba(15, 15, 17, 0.09);
  background:
    radial-gradient(circle at 84% 16%, rgba(0, 0, 0, 0.02), transparent 28%),
    #f4f4f2;
  color: #151517;
}

body.light-mode .toolkit-reference__heading h2,
body.light-mode .toolkit-tab.is-active,
body.light-mode .toolkit-card h4 {
  color: #151517;
}

body.light-mode .toolkit-reference__index {
  color: #5f5f64;
  font-weight: 600;
}

body.light-mode .toolkit-reference__title-line,
body.light-mode .toolkit-tab::after {
  background: #171719;
}

body.light-mode .toolkit-reference__heading p,
body.light-mode .toolkit-card__label,
body.light-mode .toolkit-panel > h3,
body.light-mode .toolkit-group > h3 {
  color: #68686d;
}

body.light-mode .toolkit-tabs {
  border-bottom-color: rgba(15, 15, 17, 0.11);
}

body.light-mode .toolkit-tab {
  color: #87878b;
}

body.light-mode .toolkit-card,
body.light-mode .toolkit-card--featured {
  border-color: rgba(15, 15, 17, 0.075);
  background: #fff;
}

body.light-mode .toolkit-card:hover {
  border-color: rgba(15, 15, 17, 0.14);
  background: #ececea;
}

body.light-mode .toolkit-card__icon {
  color: #333337;
}

body.light-mode .toolkit-card__brand-logo--gamemaker {
  filter: none;
}

body.light-mode .toolkit-card__brand-logo--cursor {
  filter: brightness(0);
}

body.light-mode .toolkit-card--featured::before {
  color: rgba(15, 15, 17, 0.34);
}

body.light-mode .toolkit-arrow {
  border-color: rgba(15, 15, 17, 0.14);
  background: #fff;
  color: #1d1d20;
}

body.light-mode .formation-showcase {
  --formation-bg: #fafaf8;
  --formation-card: rgba(15, 15, 17, 0.038);
  --formation-card-hover: rgba(15, 15, 17, 0.065);
  --formation-line: rgba(15, 15, 17, 0.09);
  --formation-line-strong: rgba(15, 15, 17, 0.18);
  --formation-copy: #151517;
  --formation-muted: #68686d;
  --formation-accent: #151517;
}

body.light-mode .formation-hero__copy h2,
body.light-mode .formation-heading h3,
body.light-mode .formation-item-period,
body.light-mode .formation-item-copy h4,
body.light-mode .formation-badge-copy h4 {
  color: #151517;
}

body.light-mode .formation-hero__rule,
body.light-mode .formation-item-marker {
  background: #151517;
  color: #151517;
}

body.light-mode .formation-item-index {
  color: rgba(15, 15, 17, 0.14);
}

body.light-mode .formation-chip-active,
body.light-mode .formation-actions a {
  border-color: rgba(15, 15, 17, 0.42);
  color: #151517;
}

body.light-mode .formation-chip-active {
  background: rgba(15, 15, 17, 0.06);
}

body.light-mode .formation-actions a i {
  color: #151517;
}

body.light-mode .formation-actions a:hover {
  background: #151517;
  color: #fff;
}

body.light-mode .formation-actions a:hover i {
  color: #fff;
}

body.light-mode .experience {
  --experience-bg: #f4f4f2;
  --experience-card: rgba(15, 15, 17, 0.038);
  --experience-card-hover: rgba(15, 15, 17, 0.065);
  --experience-line: rgba(15, 15, 17, 0.09);
  --experience-line-strong: rgba(15, 15, 17, 0.18);
  --experience-copy: #151517;
  --experience-muted: #68686d;
  --experience-soft: #454549;
}

body.light-mode .experience-hero h2,
body.light-mode .experience-entry-company,
body.light-mode .experience-entry-heading h3,
body.light-mode .experience-entry-tenure {
  color: #151517;
}

body.light-mode .experience-hero__rule,
body.light-mode .experience-entry-marker,
body.light-mode .experience-highlights li::before {
  background: #151517;
  color: #151517;
}

body.light-mode .experience-entry-index {
  color: rgba(15, 15, 17, 0.14);
}

body.light-mode .experience-entry-mark,
body.light-mode .experience-entry-mark--image {
  border-color: rgba(15, 15, 17, 0.1);
  background: #e7e7e5;
}

body.light-mode .experience-highlights li,
body.light-mode .experience-pill {
  color: #5f5f64;
}

body.light-mode .experience-pill {
  border-color: rgba(15, 15, 17, 0.12);
}

body.light-mode .projects-redesign.projetos {
  border-top-color: rgba(15, 15, 17, 0.09);
  background:
    radial-gradient(circle at 16% 18%, rgba(0, 0, 0, 0.018), transparent 25%),
    #fafaf8;
}

body.light-mode .projects-redesign__intro h2 {
  color: #151517;
}

body.light-mode .projects-redesign__intro h2::after {
  background: #151517;
}

body.light-mode .projects-redesign__kicker,
body.light-mode .projects-redesign__panel-head > span {
  color: rgba(15, 15, 17, 0.36);
}

body.light-mode .projects-redesign__intro > p:last-child,
body.light-mode .projects-redesign__panel-head small {
  color: #68686d;
}

body.light-mode .projects-redesign .project-filter {
  background: #ededeb;
  color: #727277;
}

body.light-mode .projects-redesign .project-filter:not(.is-active):hover,
body.light-mode .projects-redesign .project-filter:not(.is-active):focus-visible {
  background: #e2e2df;
  color: #202024;
}

body.light-mode .project-filter__active {
  background: #151517;
}

body.light-mode .projects-redesign .project-filter.is-active,
body.light-mode .projects-redesign .project-filter.is-active:hover,
body.light-mode .projects-redesign .project-filter.is-active:focus-visible {
  background: transparent;
  color: #fff;
  transform: none;
}

body.light-mode .project-expand {
  border-color: rgba(15, 15, 17, 0.13);
  background: #ededeb;
  color: #444449;
}

body.light-mode .community-story.community-showcase {
  --community-story-bg: #f4f4f2;
  --community-story-surface: #fff;
  --community-story-line: rgba(15, 15, 17, 0.11);
  --community-story-copy: #151517;
  --community-story-muted: #68686d;
  background: var(--community-story-bg);
  color: var(--community-story-copy);
}

body.light-mode .community-story__sticky {
  background: #f4f4f2;
}

body.light-mode .community-story .community-showcase__title,
body.light-mode .community-story .community-showcase__title span,
body.light-mode .community-story__copy h3 {
  color: #151517;
}

body.light-mode .community-story .community-showcase__label .skills-board__line {
  background: rgba(15, 15, 17, 0.15);
}

body.light-mode .community-story__copy > strong {
  color: #3e3e42;
}

body.light-mode .community-story__copy p,
body.light-mode .community-story__chapter {
  color: #68686d;
}

body.light-mode .community-story__copy a {
  border-bottom-color: rgba(15, 15, 17, 0.25);
  color: #303034;
}

body.light-mode .community-story__media {
  background: #fff;
}

body.light-mode .community-story__media img,
body.light-mode .community-story__panel.is-active .community-story__media img {
  filter: grayscale(0.86) brightness(0.86) contrast(1.04);
}

body.light-mode .community-story__media--photo img,
body.light-mode .community-story__panel.is-active .community-story__media--photo img {
  filter: saturate(0.86) brightness(0.96) contrast(1.02);
}

body.light-mode .community-story__copy .community-story__credits a {
  color: #454549;
}

body.light-mode .community-story__copy .community-story__credits a:hover {
  color: #111113;
}

body.light-mode .community-story__progress > div {
  background: rgba(15, 15, 17, 0.13);
}

body.light-mode .community-story__progress > span {
  color: #68686d;
}

body.light-mode .community-story__progress i {
  background: #151517;
}

body.light-mode .contact-redesign.contact-section {
  background: #f5f5f3;
  color: #151517;
}

body.light-mode .contact-redesign .contact-title,
body.light-mode .contact-social--primary {
  color: #151517;
}

body.light-mode .contact-redesign__title-line {
  background: #151517;
}

body.light-mode .contact-redesign .contact-subtitle,
body.light-mode .contact-social--secondary,
body.light-mode .contact-redesign__footer,
body.light-mode .contact-redesign__footer a {
  color: #69696e;
}

body.light-mode .contact-redesign__divider,
body.light-mode .contact-redesign__footer,
body.light-mode .contact-redesign__copyright {
  border-color: rgba(15, 15, 17, 0.09);
}

body.light-mode .contact-redesign__divider {
  background: rgba(15, 15, 17, 0.09);
}

body.light-mode .contact-social span {
  background: #151517;
  color: #fff !important;
}

body.light-mode .contact-social span::before {
  border-bottom-color: #151517;
}

body.light-mode .section-motion__veil {
  background:
    linear-gradient(180deg, rgba(244, 244, 242, 0.08), rgba(244, 244, 242, 0.95) 78%),
    #f4f4f2;
}

@media (max-width: 820px) {
  .hero-header__theme-toggle {
    display: grid !important;
  }

  .hero-header__brand-mark {
    width: 26px;
    height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-header__language-toggle.is-language-changing,
  .hero-header__theme-toggle.is-theme-changing,
  .hero-header__theme-toggle.is-theme-changing .theme-toggle__icons,
  .theme-toggle__icons,
  .theme-toggle__icons i,
  .loading-logo__mark {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Mobile experience polish
   Mantem a composicao desktop e torna navegacao, leitura e toque mais naturais.
   -------------------------------------------------------------------------- */

@media (max-width: 820px) {
  html {
    scroll-padding-top: 74px;
  }

  body {
    width: 100%;
    overflow-x: clip;
    -webkit-tap-highlight-color: transparent;
  }

  body.mobile-menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  #inicio,
  #sobre-mim,
  #hard-skills,
  #experiencia,
  #projetos,
  #educacao,
  #comunidade,
  #contato {
    scroll-margin-top: 72px;
  }

  button,
  a {
    touch-action: manipulation;
  }

  .hero-header.cabecalho,
  .hero-header.cabecalho.is-scrolled {
    width: 100% !important;
    height: 64px;
    min-height: 64px;
    padding: 0 12px !important;
    border-radius: 0 0 16px 16px !important;
  }

  .hero-header__inner {
    gap: 7px;
  }

  .hero-header__left {
    min-width: 0;
    gap: 5px;
  }

  .hero-header__brand {
    gap: 5px;
  }

  .hero-header__brand span {
    font-size: 0.82rem;
  }

  .hero-header__brand-mark {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
  }

  .hero-header__language-toggle {
    min-width: 54px;
    height: 40px;
    margin-left: 0;
    padding-inline: 7px;
    gap: 4px;
  }

  .language-toggle__flag {
    width: 18px;
    height: 18px;
  }

  .language-toggle__chevron {
    display: none;
  }

  .hero-header__theme-toggle,
  .hero-menu-toggle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    flex: 0 0 42px;
  }

  .hero-mobile-menu {
    top: 72px;
    width: calc(100% - 20px);
    max-height: calc(100svh - 84px);
    padding: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  }

  .hero-mobile-menu a {
    min-height: 48px;
    padding: 11px 8px;
    display: grid;
    place-items: center;
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .hero-mobile-menu a:active {
    transform: scale(0.97);
  }

  .hero-mobile-menu a.is-active {
    background: #f4f4f4;
    color: #0d0d0d;
  }

  body.light-mode .hero-mobile-menu a.is-active {
    background: #171719;
    color: #fff;
  }

  .hero-minimal__shell {
    width: min(calc(100% - 32px), 620px);
    padding: 88px 0 64px;
    gap: 24px;
  }

  .hero-portrait {
    width: min(62vw, 250px);
  }

  .hero-minimal .hero-minimal__title {
    font-size: clamp(2.4rem, 11vw, 3.55rem) !important;
    letter-spacing: -0.055em !important;
  }

  .hero-minimal .hero-minimal__subtitle {
    margin-top: 14px !important;
    font-size: 0.9rem !important;
    line-height: 1.58 !important;
  }

  .hero-minimal__footer {
    margin-top: 22px;
    gap: 14px;
  }

  .hero-minimal__actions {
    width: min(100%, 420px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding-inline: 14px;
  }

  .about-reference,
  .toolkit-reference,
  .formation-showcase,
  .experience,
  .projects-redesign.projetos {
    padding: 80px 16px 72px !important;
  }

  .about-reference__heading,
  .toolkit-reference__heading,
  .formation-hero,
  .experience-hero {
    margin-bottom: 32px;
  }

  .about-reference__grid {
    gap: 36px;
  }

  .about-reference__cards {
    gap: 12px;
  }

  .about-reference__card {
    min-height: 0;
    padding: 22px 18px;
    border-radius: 14px;
  }

  .toolkit-tabs,
  .projects-redesign__sidebar {
    margin-inline: -16px;
    padding-inline: 16px;
    scroll-padding-inline: 16px;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
  }

  .toolkit-tab,
  .projects-redesign .project-filter {
    scroll-snap-align: start;
  }

  .toolkit-tabs {
    gap: 22px;
  }

  .toolkit-tab {
    min-height: 44px;
  }

  .toolkit-card {
    min-height: 84px;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .toolkit-card__icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .formation-layout {
    gap: 62px;
    margin-top: 42px;
  }

  .formation-list,
  .experience-list {
    padding-left: 16px;
  }

  .formation-item,
  .experience-entry {
    margin-bottom: 16px;
    padding: 20px 18px !important;
    border-radius: 12px !important;
  }

  .formation-item-marker,
  .experience-entry-marker {
    left: -23px;
  }

  .formation-badge-card {
    min-height: 0;
    padding: 18px;
    border-radius: 12px;
  }

  .formation-badge-card img {
    width: 58px;
    height: 58px;
  }

  .formation-badge-copy {
    padding-top: 0;
  }

  .formation-actions a {
    min-height: 48px;
  }

  .projects-redesign__intro {
    margin-bottom: 36px;
  }

  .projects-redesign__sidebar {
    padding-bottom: 4px;
  }

  .projects-redesign .project-filter {
    min-height: 46px;
  }

  .projects-grid-redesign.projects-container {
    gap: 16px;
  }

  .projects-redesign .project-card.project {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }

  .projects-redesign .project-card__body.project-details {
    padding: 16px;
  }

  .projects-redesign .project-card__actions a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .community-story.community-showcase {
    padding: 72px 16px 72px;
  }

  .community-story__header {
    margin-bottom: 32px;
  }

  .community-story__track {
    gap: 18px;
  }

  .community-story__content,
  .community-story__content--reverse {
    padding: 18px;
    gap: 20px;
    overflow: hidden;
    border-radius: 16px;
  }

  .community-story__media,
  .community-story__media--photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }

  .community-story__copy h3 {
    font-size: clamp(1.9rem, 8vw, 2.75rem);
  }

  .community-story__copy p {
    font-size: 0.82rem;
    line-height: 1.65;
  }

  .community-story__link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .contact-redesign.contact-section {
    min-height: 0;
    padding: 80px 16px 22px;
  }

  .contact-redesign .contact-subtitle {
    margin: 28px auto 26px;
    line-height: 1.65;
  }

  .contact-redesign__primary {
    gap: 10px;
  }

  .contact-social--primary {
    width: 48px;
    height: 48px;
  }

  .contact-redesign__divider {
    margin: 34px auto 28px;
  }

  .contact-redesign__secondary {
    gap: 10px;
  }

  .contact-redesign__copyright {
    margin-top: 0 !important;
    padding-top: 18px;
  }

  .section-motion__veil {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero-header__brand > span:first-child {
    display: none;
  }

  .hero-header__left {
    gap: 4px;
  }

  .hero-header__language-toggle {
    min-width: 52px;
  }

  .hero-minimal__shell {
    width: calc(100% - 24px);
  }

  .hero-minimal__actions {
    grid-template-columns: 1fr;
  }
}

@media (hover: none), (pointer: coarse) {
  .about-reference__card:hover,
  .formation-item:hover,
  .formation-badge-card:hover,
  .experience-entry:hover,
  .projects-redesign .project-card:hover {
    transform: none !important;
  }

  .projects-redesign .project-card__visual::after {
    opacity: 0.76;
  }

  .projects-redesign .project-card__actions {
    opacity: 1;
    transform: none;
  }

  .contact-social span,
  .hero-header__tooltip {
    display: none;
  }
}

@media (max-width: 820px) and (prefers-reduced-motion: no-preference) {
  .motion-reveal {
    filter: none;
    transform: translateY(18px);
    transition-duration: 680ms;
  }

  .scroll-reveal {
    filter: none;
    transform: translate3d(0, 22px, 0);
    transition-duration: 680ms;
  }

  .section-motion {
    transition-duration: 720ms, 780ms, 640ms;
  }

  .section-motion:not(.is-section-active) {
    transform: translate3d(0, 26px, 0) scale(0.996);
    filter: blur(4px);
  }
}

/* Certificacoes no mobile: cards deslizaveis, compactos e com snap. */
@media (max-width: 780px) {
  .formation-column-certifications {
    min-width: 0;
  }

  .formation-badges {
    margin-inline: -16px;
    padding: 0 16px 10px;
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 310px);
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .formation-badges::-webkit-scrollbar {
    display: none;
  }

  .formation-badge-card {
    min-height: 224px;
    padding: 20px !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .formation-badge-card img {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    object-fit: contain;
  }

  .formation-badge-copy {
    margin-top: auto;
    padding-top: 0;
  }

  .formation-badge-copy h4 {
    font-size: 0.94rem;
    line-height: 1.42;
  }

  .formation-actions {
    margin-top: 26px;
  }
}

@media (max-width: 380px) {
  .formation-badges {
    grid-auto-columns: 86vw;
  }
}

/* Toolkit compacto: os nomes aparecem apenas como tooltips dos ícones. */

.toolkit-groups {
  gap: 22px;
}

.toolkit-panel--languages > h3 {
  margin-bottom: 28px;
  text-align: center;
}

.toolkit-groups--languages {
  gap: 0;
}

.toolkit-group--language {
  padding: 6px 0 26px;
}

.toolkit-group--language + .toolkit-group--language {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.toolkit-group--language > h3 {
  margin-bottom: 12px;
  text-align: center;
}

.toolkit-group--language .toolkit-grid {
  justify-content: center;
}

.toolkit-grid,
.toolkit-grid--languages {
  grid-template-columns: repeat(auto-fit, 104px);
  justify-content: center;
  gap: 18px;
  padding-bottom: 6px;
}

.toolkit-card,
.toolkit-card--featured {
  width: 104px;
  min-width: 104px;
  height: 104px;
  min-height: 104px;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 1px solid transparent;
  border-radius: 20px;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.toolkit-card--featured::before {
  content: none;
}

html[data-language="en"] .toolkit-card--featured::before {
  content: none;
}

.toolkit-card::after {
  content: none;
}

.toolkit-floating-tooltip {
  position: fixed;
  z-index: 10000;
  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 6px 9px;
  border-radius: 7px;
  background: #f4f4f4;
  color: #101010;
  font-family: 'Poppins', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.toolkit-floating-tooltip::before {
  content: '';
  position: absolute;
  left: 50%;
  border: 4px solid transparent;
  transform: translateX(-50%);
}

.toolkit-floating-tooltip[data-placement='above'] {
  transform: translateY(5px);
}

.toolkit-floating-tooltip[data-placement='above']::before {
  top: 100%;
  border-top-color: #f4f4f4;
}

.toolkit-floating-tooltip[data-placement='below'] {
  transform: translateY(-5px);
}

.toolkit-floating-tooltip[data-placement='below']::before {
  bottom: 100%;
  border-bottom-color: #f4f4f4;
}

.toolkit-floating-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.toolkit-card:hover,
.toolkit-card:focus-visible {
  z-index: 10;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  transform: translateY(-3px);
}

.toolkit-card:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.toolkit-card > div {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.toolkit-card__icon,
.toolkit-card__icon--wide {
  width: 70px;
  height: 70px;
  flex: none;
  font-size: 3.3rem;
  filter: drop-shadow(0 7px 14px rgba(0, 0, 0, 0.24));
  transition: transform 0.24s ease, filter 0.24s ease;
}

.toolkit-card:hover .toolkit-card__icon,
.toolkit-card:focus-visible .toolkit-card__icon {
  transform: scale(1.1);
  filter: drop-shadow(0 9px 18px rgba(0, 0, 0, 0.3));
}

.toolkit-card__brand-logo {
  width: 60px;
  height: 60px;
}

.toolkit-card__brand-logo--gamemaker {
  width: 64px;
  height: 64px;
}

.toolkit-card__brand-logo--photoshop,
.toolkit-card__brand-logo--codex,
.toolkit-card__brand-logo--sql-server {
  width: 60px;
  height: 60px;
}

.toolkit-card__brand-logo--cursor,
.toolkit-card__brand-logo--antigravity {
  width: 58px;
  height: 58px;
}

.toolkit-card__brand-logo--node {
  width: 84px;
  height: 52px;
}

.toolkit-card__brand-logo--colab {
  width: 68px;
  height: 46px;
}

body.light-mode .toolkit-card,
body.light-mode .toolkit-card--featured,
body.light-mode .toolkit-card:hover,
body.light-mode .toolkit-card:focus-visible {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

body.light-mode .toolkit-group--language + .toolkit-group--language {
  border-top-color: rgba(15, 15, 17, 0.1);
}

body.light-mode .toolkit-card:hover,
body.light-mode .toolkit-card:focus-visible {
  border-color: transparent;
  background: transparent;
}

body.light-mode .toolkit-floating-tooltip {
  background: #151517;
  color: #fff;
}

body.light-mode .toolkit-floating-tooltip[data-placement='above']::before {
  border-top-color: #151517;
}

body.light-mode .toolkit-floating-tooltip[data-placement='below']::before {
  border-bottom-color: #151517;
}

body.light-mode .toolkit-card__icon {
  filter: none;
}

body.light-mode .toolkit-card:hover .toolkit-card__icon,
body.light-mode .toolkit-card:focus-visible .toolkit-card__icon {
  filter: none;
}

@media (max-width: 720px) {
  .toolkit-grid,
  .toolkit-grid--languages {
    grid-template-columns: repeat(auto-fit, 82px);
    gap: 14px;
    padding-bottom: 6px;
  }

  .toolkit-card,
  .toolkit-card--featured {
    width: 82px;
    min-width: 82px;
    height: 82px;
    min-height: 82px;
    padding: 0;
    border-radius: 17px;
  }

  .toolkit-card__icon,
  .toolkit-card__icon--wide {
    width: 56px;
    height: 56px;
    flex: none;
    font-size: 2.65rem;
  }

  .toolkit-card__brand-logo {
    max-width: 54px;
    max-height: 54px;
  }

}

/* --------------------------------------------------------------------------
   Navegacao da comunidade e robustez responsiva
   A galeria usa scroll nativo: a pagina continua rolando livremente na vertical.
   -------------------------------------------------------------------------- */

.visually-hidden {
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  position: absolute !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.about-reference__grid > *,
.about-reference__heading > *,
.toolkit-reference__heading > *,
.toolkit-panel,
.formation-layout > *,
.formation-item > *,
.experience-entry > *,
.projects-redesign__layout > *,
.projects-redesign .project-card__body,
.community-story__content > *,
.contact-redesign__shell > * {
  min-width: 0;
}

.about-reference__heading h2,
.toolkit-reference__heading h2,
.formation-hero h2,
.experience-hero h2,
.projects-redesign__intro h2,
.community-story__copy h3,
.contact-redesign .contact-title {
  overflow-wrap: anywhere;
}

.community-story.community-showcase {
  height: auto;
  min-height: 0;
  padding: clamp(96px, 9vw, 138px) clamp(22px, 5vw, 72px) clamp(84px, 8vw, 118px);
  overflow: hidden;
}

.community-story__sticky {
  position: relative;
  top: auto;
  height: auto;
  overflow: visible;
  background: transparent;
}

.community-story__header {
  width: min(1100px, 100%);
  margin: 0 auto clamp(20px, 2.2vw, 32px);
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  pointer-events: auto;
}

.community-story__navigator {
  width: min(1160px, 100%);
  margin: 0 auto;
  position: relative;
}

.community-story__viewport {
  width: 100%;
  height: auto;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y pinch-zoom;
  transition: height 320ms cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-overflow-scrolling: touch;
}

.community-story__viewport.is-animating {
  scroll-snap-type: none;
}

.community-story__viewport::-webkit-scrollbar {
  display: none;
}

.community-story__viewport:focus-visible {
  outline: 2px solid #f2f2f3;
  outline-offset: 8px;
}

.community-story__track {
  width: 100%;
  height: auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
  transform: none !important;
  will-change: auto;
}

.community-story__panel {
  width: 100%;
  height: auto;
  min-height: clamp(440px, 42vw, 520px);
  padding: 2px;
  flex: 0 0 100%;
  display: grid;
  place-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.community-story__content,
.community-story__content--reverse {
  width: min(1100px, 100%);
  min-height: 440px;
  padding: clamp(8px, 1.5vw, 20px) clamp(8px, 2vw, 24px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: clamp(34px, 4vw, 62px);
  border: 0;
  border-radius: 0;
  background: transparent;
}

.community-story__copy,
.community-story__media,
.community-story__panel.is-active .community-story__copy,
.community-story__panel.is-active .community-story__media {
  opacity: 1;
  transform: none;
}

.community-story__copy p,
.community-story__copy a,
.community-story__credits {
  overflow-wrap: anywhere;
}

.community-story__media,
.community-story__media--photo {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.community-story__media img,
.community-story__media--photo img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.community-story__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: #111112;
  color: #d9d9d9;
  font-size: 0.78rem;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 220ms ease, opacity 220ms ease;
}

.community-story__arrow--prev {
  left: -70px;
}

.community-story__arrow--next {
  right: -70px;
}

.community-story__arrow:hover:not(:disabled) {
  border-color: #f2f2f3;
  background: #f2f2f3;
  color: #0a0a0b;
  transform: translateY(-50%);
}

.community-story__arrow:focus-visible {
  outline: 2px solid #f2f2f3;
  outline-offset: 5px;
}

.community-story__arrow:disabled {
  opacity: 0;
  pointer-events: none;
  cursor: default;
}

.community-story__progress {
  width: min(330px, calc(100% - 96px));
  margin: 0;
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
}

.community-story__footer-controls {
  width: min(420px, 100%);
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.community-story__autoplay {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: #111112;
  color: #d9d9d9;
  font-size: 0.66rem;
  cursor: pointer;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.community-story__autoplay:hover {
  border-color: #f2f2f3;
  background: #f2f2f3;
  color: #0a0a0b;
}

.community-story__autoplay:focus-visible {
  outline: 2px solid #f2f2f3;
  outline-offset: 5px;
}

body.light-mode .community-story__viewport:focus-visible,
body.light-mode .community-story__arrow:focus-visible,
body.light-mode .community-story__autoplay:focus-visible {
  outline-color: #151517;
}

body.light-mode .community-story__content,
body.light-mode .community-story__content--reverse {
  background: transparent;
}

body.light-mode .community-story__arrow {
  border-color: rgba(15, 15, 17, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: #232326;
}

body.light-mode .community-story__arrow:hover:not(:disabled) {
  border-color: #171719;
  background: #171719;
  color: #fff;
}

body.light-mode .community-story__autoplay {
  border-color: rgba(15, 15, 17, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: #232326;
}

body.light-mode .community-story__autoplay:hover {
  border-color: #171719;
  background: #171719;
  color: #fff;
}

@media (max-width: 1300px) {
  .community-story__arrow--prev {
    left: -22px;
  }

  .community-story__arrow--next {
    right: -22px;
  }
}

@media (max-width: 900px) {
  .community-story.community-showcase {
    padding: 82px 18px 78px;
  }

  .community-story__header {
    margin-bottom: 24px;
  }

  .community-story__navigator {
    padding-bottom: 68px;
  }

  .community-story__panel {
    min-height: 0;
    padding: 2px;
    place-items: start center;
  }

  .community-story__content,
  .community-story__content--reverse {
    min-height: 0;
    padding: 0 2px 12px;
    grid-template-columns: 1fr;
    gap: 24px;
    border-radius: 0;
  }

  .community-story__content--reverse .community-story__copy,
  .community-story__content--reverse .community-story__media,
  .community-story__media {
    order: initial;
  }

  .community-story__media,
  .community-story__media--photo {
    order: -1;
  }

  .community-story__copy {
    max-width: none;
  }

  .community-story__arrow {
    top: auto;
    bottom: 0;
    transform: none;
  }

  .community-story__arrow:hover:not(:disabled) {
    transform: none;
  }

  .community-story__arrow--prev {
    left: calc(50% - 62px);
  }

  .community-story__arrow--next {
    right: calc(50% - 62px);
  }

  .community-story__footer-controls {
    margin-top: 18px;
  }
}

@media (max-width: 600px) {
  .community-story.community-showcase {
    padding-inline: 14px;
  }

  .community-story__copy h3 {
    font-size: clamp(1.8rem, 9.2vw, 2.55rem);
    line-height: 1.02;
  }

  .community-story__copy > strong {
    line-height: 1.55;
  }

  .community-story__copy p {
    font-size: 0.8rem;
    line-height: 1.68;
  }

  .community-story__arrow {
    width: 46px;
    height: 46px;
  }

  .community-story__progress {
    gap: 10px;
  }

  .community-story__autoplay {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .formation-item-copy h4,
  .experience-entry-company,
  .experience-entry-heading h3,
  .projects-redesign .project-card__body h3 {
    overflow-wrap: anywhere;
  }

  .projects-redesign .project-card__actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 360px) {
  .community-story__content,
  .community-story__content--reverse {
    padding: 16px 14px 20px;
  }

  .community-story__arrow {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .community-story__viewport {
    scroll-behavior: auto;
    transition-duration: 0.01ms !important;
  }

  .community-story__arrow {
    transition-duration: 0.01ms !important;
  }

  .community-story__autoplay {
    transition-duration: 0.01ms !important;
  }
}
