/* ==========================================================================
   Portfólio — Mateus Junior Monteiro
   HTML/CSS/JS puro (standalone). Reconstruído a partir do layout original
   gerado, sem dependência de framework/React.
   ========================================================================== */

/* Fonte hospedada localmente ---------------------------------------------------
   Alexandria (variável, 400–800) sob SIL Open Font License 1.1.
   Cópia da licença em assets/fonts/OFL.txt.
   Local em vez do Google Fonts porque a folha de estilo de terceiro bloqueava
   a renderização por ~890 ms e exigia duas conexões extras (DNS + TLS).
   ---------------------------------------------------------------------------- */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/alexandria-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/alexandria-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Design tokens (tema claro) ---------------------------------------------- */
:root {
  --bg: #ffffff;
  --card: #ffffff;
  --card-strong: #fafafc;
  --card-border: #eaeaf0;
  --card-border-strong: #d3d3dd;
  --text: #16161f;
  --text-2: #5c5c6b;
  --text-3: #6e6e79;
  --accent: #5546e8;
  --accent-2: #4433c9;
  --accent-soft: rgba(85, 70, 232, 0.07);
  --accent-soft-2: rgba(85, 70, 232, 0.22);
  --shadow-sm: 0 1px 2px rgba(22, 22, 31, 0.05);
  --shadow-md: 0 10px 30px rgba(22, 22, 31, 0.09);
  --font-head: 'Alexandria', sans-serif;
  --font-body: 'Alexandria', sans-serif;
  --font-mono: 'Alexandria', sans-serif;
}

/* Reset básico ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

/* Animações --------------------------------------------------------------- */
@keyframes floatGlowA {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.08); }
}
@keyframes floatGlowB {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 40px) scale(1.1); }
}

/* Glows de fundo ---------------------------------------------------------- */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  z-index: 0;
}
.glow--a {
  top: -140px;
  right: -160px;
  width: 560px;
  height: 560px;
  background: var(--accent);
  opacity: 0.05;
  animation: floatGlowA 20s ease-in-out infinite alternate;
}
.glow--b {
  top: 900px;
  left: -200px;
  width: 520px;
  height: 520px;
  background: var(--accent-2);
  opacity: 0.04;
  animation: floatGlowB 24s ease-in-out infinite alternate;
}

.page {
  position: relative;
  z-index: 1;
  counter-reset: sec;
}

/* Layout helpers ---------------------------------------------------------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(52px, 6vw, 88px) clamp(20px, 4vw, 48px);
}
.section {
  position: relative;
}
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: clamp(20px, 4vw, 48px);
  right: clamp(20px, 4vw, 48px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-border-strong) 14%, var(--card-border-strong) 86%, transparent);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  counter-increment: sec;
  content: counter(sec, decimal-leading-zero);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  border: 1px solid var(--card-border-strong);
  border-radius: 100px;
  padding: 2px 8px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 40px);
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}
.section-title--narrow {
  max-width: 640px;
}

/* Navegação --------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--card-border);
}
.nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}
.nav__brand-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__link {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.2s ease;
}
.nav__link:hover {
  color: var(--text);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  display: flex;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  padding: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.lang-switch__btn {
  background: transparent;
  color: var(--text-2);
  border: none;
  border-radius: 100px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
}
.lang-switch__btn.is-active {
  background: var(--accent);
  color: #fff;
}
.btn-contact {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.btn-contact:hover {
  background: var(--accent-2);
}
.nav__burger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text);
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
}
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 8px 20px 20px;
  border-top: 1px solid var(--card-border);
}
.nav__mobile.is-open {
  display: flex;
}
.nav__mobile a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 16px;
  padding: 8px 0;
}
.nav__mobile a.is-accent {
  color: var(--accent-2);
  font-weight: 600;
}

/* Botões genéricos -------------------------------------------------------- */
.btn {
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  padding: 14px 24px;
  border-radius: 9px;
  display: inline-block;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent-2);
}
.btn--ghost {
  background: var(--card);
  border: 1px solid var(--card-border-strong);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--accent-2);
}
.btn--link {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  padding: 14px 10px;
}
.btn--link:hover {
  color: var(--text);
}

/* Hero -------------------------------------------------------------------- */
.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 120px) clamp(20px, 4vw, 48px) clamp(48px, 6vw, 80px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-2);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  display: inline-block;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--text);
}
.hero__title .accent {
  color: var(--accent-2);
}
.hero__sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-2);
  max-width: 560px;
  margin: 0 0 12px;
}
.hero__location {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  margin: 0 0 32px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
  border-top: 1px solid var(--card-border);
  padding-top: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat__value {
  font-family: var(--font-head);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  color: var(--text);
}
.stat__label {
  font-size: 12.5px;
  color: var(--text-3);
}
.hero__photo {
  position: relative;
  justify-self: center;
}
.hero__photo-frame {
  width: min(320px, 80vw);
  height: min(320px, 80vw);
  border-radius: 32px;
  padding: 3px;
  background: linear-gradient(150deg, var(--accent), var(--accent-2), transparent 70%);
}
.hero__photo-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 29px;
  display: block;
  filter: contrast(1.03);
}
.hero__photo-badge {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 100px;
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

/* About ------------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 6vw, 80px);
}
.about__text p {
  color: var(--text-2);
  font-size: 16px;
  margin: 0 0 18px;
  max-width: 560px;
}
.timeline {
  position: relative;
  padding-left: 28px;
}
.timeline__line {
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--card-border);
}
.timeline__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.timeline__item {
  position: relative;
}
.timeline__dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--card-border-strong);
}
.timeline__dot.is-current {
  background: var(--accent-2);
  border-color: var(--accent-2);
}
.timeline__label {
  font-weight: 500;
  font-size: 15.5px;
  color: var(--text-2);
}
.timeline__label.is-current {
  font-weight: 700;
  color: var(--text);
}

/* Impacto ----------------------------------------------------------------- */
.band {
  background: #f7f6fc;
  border-top: 1px solid var(--card-border);
}
.impact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.impact__cell {
  background: #ffffff;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.impact__value {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  color: var(--text);
}
.impact__label {
  font-size: 13px;
  color: var(--text-2);
}

/* Projetos ---------------------------------------------------------------- */
.flagship {
  background: linear-gradient(180deg, rgba(85, 70, 232, 0.045), rgba(85, 70, 232, 0.01));
  border: 1px solid var(--accent-soft-2);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 48px);
  margin-bottom: 56px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.flagship__tagpill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  background: rgba(85, 70, 232, 0.1);
  border: 1px solid var(--accent-soft-2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.flagship__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.flagship__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 0;
  color: var(--text);
}
.link-visit {
  color: var(--accent-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.link-visit:hover {
  color: var(--text);
}
.mono-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 18px;
}
.flagship__desc {
  color: var(--text-2);
  font-size: 16px;
  max-width: 720px;
  margin: 0 0 20px;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.pill {
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-2);
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 100px;
}
.pill--soft {
  background: #f5f5f8;
  font-size: 12px;
  padding: 5px 11px;
}
.pill--accent {
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-2);
  padding: 5px 11px;
  border-radius: 100px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  border-color: var(--card-border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text);
}
.card__desc {
  color: var(--text-2);
  font-size: 14px;
  margin: 0 0 14px;
}
.point-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.point {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 13px;
  color: var(--text-2);
}
.point__mark {
  color: var(--accent-2);
}
.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 20px;
}
.project-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.project-card:hover {
  border-color: var(--card-border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.project-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.project-card__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  margin: 0;
  color: var(--text);
}
.mono-note {
  color: var(--text-3);
  font-size: 12px;
  font-family: var(--font-mono);
  white-space: nowrap;
}
.mono-tag--sm {
  font-size: 11px;
  margin-bottom: 14px;
}
.project-card__desc {
  color: var(--text-2);
  font-size: 14.5px;
  margin: 0 0 18px;
  flex-grow: 1;
}
.pill-row--tight {
  margin-bottom: 10px;
}

/* Outros projetos --------------------------------------------------------- */
.subtitle {
  color: var(--text-2);
  font-size: 15px;
  margin: 0 0 32px;
  max-width: 600px;
}
.grid-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.tile {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.tile:hover {
  border-color: var(--card-border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.tile__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
}
.tile__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}

/* Seções escuras (liderança / contato) ------------------------------------ */
.dark {
  background: #171522;
  --text: #f5f4fa;
  --text-2: #b7b3c9;
  --text-3: #8d89a0;
  --card: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --card-border-strong: rgba(255, 255, 255, 0.22);
  --accent-2: #9b8dff;
  --accent-soft: rgba(155, 141, 255, 0.16);
  --accent-soft-2: rgba(155, 141, 255, 0.35);
  color: var(--text);
}
.dark--footer {
  --card-border: rgba(255, 255, 255, 0.12);
  --card-border-strong: rgba(255, 255, 255, 0.24);
}
.dark {
  position: relative;
  overflow: hidden;
}
.dark::before {
  content: '';
  position: absolute;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 96%);
  height: 620px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(155, 141, 255, 0.15), rgba(155, 141, 255, 0) 68%);
}
.dark > * {
  position: relative;
  z-index: 1;
}
.band {
  position: relative;
}
.band::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(85, 70, 232, 0.05), rgba(85, 70, 232, 0));
}
.band > * {
  position: relative;
  z-index: 1;
}

/* Liderança --------------------------------------------------------------- */
.leadership__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}
.leadership__paragraph {
  color: var(--text-2);
  font-size: 16px;
  margin: 0 0 24px;
  max-width: 560px;
}
.bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bullet {
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.bullet__mark {
  color: var(--accent-2);
}
.bullet span:last-child {
  color: var(--text-2);
  font-size: 15px;
}
.mentees-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}
.mentees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.mentee {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-2);
  margin: 0 auto;
}
.mentees-card__count {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.mentees-card__caption {
  color: var(--text-2);
  font-size: 14px;
}

/* Depoimentos ------------------------------------------------------------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.testimonial {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.testimonial:hover {
  border-color: var(--card-border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.testimonial__quote-mark {
  color: var(--accent-2);
  font-size: 28px;
  font-family: var(--font-head);
  line-height: 1;
}
.testimonial__quote {
  color: var(--text-2);
  font-size: 14.5px;
  margin: 0;
  font-style: italic;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}
.testimonial__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-2);
}
.testimonial__name {
  font-size: 13.5px;
  color: var(--text);
  font-weight: 500;
}

/* Experiência ------------------------------------------------------------- */
.experience__list {
  display: flex;
  flex-direction: column;
}
.experience__row {
  border-top: 1px solid var(--card-border);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}
.experience__company {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 4px;
}
.experience__location {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}
.experience__roles {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.role__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.role__title {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}
.role__period {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-2);
}

/* Palestras --------------------------------------------------------------- */

/* Formação / Certificações ------------------------------------------------ */
.cert-item__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  display: inline-block;
  flex-shrink: 0;
}
.cert-item span:last-child {
  font-size: 14.5px;
  color: var(--text);
}

/* Diferenciais ------------------------------------------------------------ */
.diff span:last-child {
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
}

/* Contato ----------------------------------------------------------------- */
.contact {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 140px) clamp(20px, 4vw, 48px);
  text-align: center;
}
.contact__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 46px);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.contact__text {
  color: var(--text-2);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 40px;
}
.contact__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.contact__ctas .btn {
  padding: 14px 26px;
}

/* Footer ------------------------------------------------------------------ */
.footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px clamp(20px, 4vw, 48px) 48px;
  border-top: 1px solid var(--card-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-3);
}
.footer a {
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer a:hover {
  color: var(--text);
}

/* Destaque de sistema em produção ----------------------------------------- */
.showcase {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--card-border-strong);
  border-radius: 20px;
  padding: clamp(26px, 3.4vw, 42px);
  margin-bottom: 24px;
  background: var(--card-strong);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease;
}
.showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #8b7bff 55%, transparent);
}
.showcase:hover {
  box-shadow: var(--shadow-md);
}
.showcase__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.showcase__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-2);
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.showcase__label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.showcase__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(21px, 2.5vw, 30px);
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin: 0 0 8px;
  color: var(--text);
}
.showcase__side {
  text-align: right;
  padding-top: 6px;
}
.showcase__period {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
}
.showcase__org {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  margin-top: 4px;
  white-space: nowrap;
}
.showcase__side .link-visit {
  display: inline-block;
  margin-top: 8px;
}
.showcase__desc {
  color: var(--text-2);
  font-size: 15px;
  margin: 0 0 16px;
  max-width: 780px;
}
.showcase__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: clamp(22px, 2.6vw, 30px);
}
.showcase__fact {
  background: var(--card);
  padding: 18px 20px;
}
.showcase__fact-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(19px, 2.1vw, 25px);
  letter-spacing: -0.015em;
  color: var(--accent-2);
  line-height: 1.1;
}
.showcase__fact-label {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 6px;
  line-height: 1.4;
}
.showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.showcase__pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin-bottom: 8px;
}
.showcase__pillar-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 8px;
}
.showcase__pillar-text {
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

/* Autoria do card: agência ou projeto próprio ------------------------------ */
.project-card__period {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 14px;
}
.project-card__org {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-3);
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--card-border);
}
.project-card__org::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-3);
  flex: none;
}
.project-card__org--own {
  color: var(--accent-2);
}
.project-card__org--own::before {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.flagship__org {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-3);
  margin-bottom: 16px;
}
.flagship__org::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-3);
  flex: none;
}

/* Cauda da seção de lojas: portfólio Magento ------------------------------- */
.stores__more {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(30px, 3.6vw, 44px);
  border-top: 1px solid var(--card-border-strong);
}
.stores__more-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(19px, 2.1vw, 24px);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--text);
}

/* Rangoo — produto próprio ------------------------------------------------ */
.rangoo__top {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.rangoo__title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.rangoo__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0;
  color: var(--text);
}
.rangoo__badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-2);
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.rangoo__lead {
  color: var(--text-2);
  font-size: clamp(15px, 1.5vw, 17px);
  margin: 0 0 20px;
  max-width: 620px;
}
.rangoo__foot {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.rangoo__partner {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-3);
}
.rangoo__partner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.rangoo__meta {
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}
.rangoo__meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--card-border);
}
.rangoo__meta-row:last-child {
  border-bottom: 0;
}
.rangoo__meta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  flex: none;
}
.rangoo__meta-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-align: right;
}

.rangoo__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 64px);
  margin-top: clamp(40px, 5vw, 68px);
}
.rangoo__block,
.rangoo__case,
.rangoo__method {
  margin-top: clamp(40px, 5vw, 68px);
}
.rangoo__kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.rangoo__h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  max-width: 640px;
  color: var(--text);
}
.rangoo__h3--sm {
  font-size: clamp(18px, 1.9vw, 22px);
}
.rangoo__p {
  color: var(--text-2);
  font-size: 14.5px;
  margin: 0 0 14px;
  max-width: 620px;
}
.rangoo__p--wide {
  max-width: 860px;
}
.rangoo__caption {
  color: var(--text-3);
  font-size: 12px;
  margin: 14px 0 0;
  max-width: 340px;
}

.rangoo__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}
.rangoo__stat {
  border-top: 1px solid var(--card-border-strong);
  padding-top: 12px;
}
.rangoo__stat-value {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.rangoo__stat-label {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 3px;
}

.rangoo__arch {
  display: flex;
  flex-direction: column;
}
.rangoo__arch-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 10px;
}
.rangoo__arch-note {
  color: var(--text-3);
  font-size: 12.5px;
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--card-border);
}

.rangoo__case {
  background: linear-gradient(150deg, rgba(155, 141, 255, 0.11), rgba(155, 141, 255, 0.015));
  border: 1px solid var(--accent-soft-2);
  border-radius: 22px;
  padding: clamp(24px, 3.2vw, 40px);
}
.rangoo__case-head {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.rangoo__delta {
  border-left: 1px solid var(--accent-soft-2);
  padding-left: clamp(20px, 2.5vw, 32px);
}
.rangoo__delta-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.rangoo__delta-val {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -0.02em;
  color: var(--text-3);
}
.rangoo__delta-val--to {
  color: var(--text);
}
.rangoo__delta-arrow {
  color: var(--text-3);
  font-size: 18px;
}
.rangoo__delta-badge {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #171522;
  background: var(--accent-2);
  padding: 5px 13px;
  border-radius: 100px;
}

.rangoo__findings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
  margin-top: clamp(26px, 3vw, 36px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--accent-soft-2);
}
.rangoo__finding-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 7px;
  padding-left: 14px;
  position: relative;
}
.rangoo__finding-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
}
.rangoo__finding-text {
  color: var(--text-2);
  font-size: 13px;
  margin: 0;
  padding-left: 14px;
}

.rangoo__method {
  border-left: 2px solid var(--accent-soft-2);
  padding-left: clamp(18px, 2.5vw, 28px);
}

/* Bagagem — palestras, formação, certificações e diferenciais ------------- */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 48px);
}
.cred-col__head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--card-border-strong);
}
.cred-col__count {
  font-size: 10.5px;
  color: var(--text-3);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  padding: 1px 7px;
}
.cred-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--card-border);
}
.cred-row:last-child {
  border-bottom: 0;
}
.cred-row--flat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
}
.cred-row__title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}
.cred-row__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 4px;
}
.cred-diff {
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: clamp(28px, 3.5vw, 40px);
  border-top: 1px solid var(--card-border-strong);
}
.cred-diff__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(19px, 2.1vw, 24px);
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--text);
}

/* Entrada por scroll ------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Responsivo -------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__actions .btn-contact { display: none; }
}
@media (max-width: 860px) {
  .hero__grid,
  .about__grid,
  .leadership__grid { grid-template-columns: 1fr; }
  .experience__row { grid-template-columns: 1fr; }
  .rangoo__phase { grid-template-columns: 1fr; gap: 6px; }
  .rangoo__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .showcase__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase__grid { grid-template-columns: 1fr; }
  .showcase__side { text-align: left; }
  .rangoo__top,
  .rangoo__split,
  .rangoo__case-head { grid-template-columns: 1fr; }
  .rangoo__delta { border-left: 0; padding-left: 0; border-top: 1px solid var(--accent-soft-2); padding-top: 20px; }
  .rangoo__caption { max-width: none; }
  .rangoo__findings { grid-template-columns: 1fr; gap: 18px; }
  .cred-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .showcase__facts { grid-template-columns: 1fr; }
  .showcase__period,
  .showcase__org { white-space: normal; }
  .rangoo__stats { grid-template-columns: 1fr; }
  .rangoo__title-row { gap: 10px; }
  .rangoo__meta-row { flex-direction: column; gap: 3px; }
  .rangoo__meta-value { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .glow { animation: none; }
  html { scroll-behavior: auto; }
}
