/* ==========================================================
   Portfólio João Paulo Bezerra — visual alinhado à Eixos SaaS
   ========================================================== */

[hidden] { display: none !important; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 300;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--fg);
}
.skip-link:focus { left: 16px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--fg); }
strong { color: var(--fg); font-weight: 600; }

/* ---------- Tipografia de seção ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-label::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.section-title {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 760px;
}
.section-title em,
.gradient-text,
.contact-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--primary) 0%, var(--accent) 55%, #c4adff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
:root:not([data-theme="light"]) .section-title em,
:root:not([data-theme="light"]) .gradient-text,
:root:not([data-theme="light"]) .contact-title em {
  background-image: linear-gradient(100deg, #8f74ff 0%, #b79bff 50%, #e3d8ff 100%);
}

/* ---------- Botões ---------- */
.btn-primary,
.btn-ghost,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary,
.form-submit {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--glow);
}
.btn-primary:hover,
.form-submit:hover {
  background: var(--primary-hover);
  box-shadow: 0 16px 40px -10px var(--glow);
  transform: translateY(-1px);
}
.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--fg);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-primary svg, .btn-ghost svg { transition: transform 0.2s; }
.btn-primary:hover svg, .btn-ghost:hover svg { transform: translateX(3px); }
.btn-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.btn-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Logo Eixos (máscara SVG) ---------- */
.logo-icone {
  display: inline-block;
  flex-shrink: 0;
  width: var(--logo-tam, 28px);
  aspect-ratio: 1746 / 1794;
  background: var(--cor-logo, var(--logo-color));
  -webkit-mask: url('../assets/brands/eixos-icone.svg') center / contain no-repeat;
  mask: url('../assets/brands/eixos-icone.svg') center / contain no-repeat;
}

/* ==========================================================
   HEADER
   ========================================================== */
header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
header.scrolled {
  background: var(--header-bg);
  border-bottom-color: var(--border);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  backdrop-filter: blur(10px);
}
.nav-links a {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--fg); background: var(--accent-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px -10px var(--glow);
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--primary-hover); transform: translateY(-1px); }

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--fg);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.theme-toggle-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  box-shadow: inset -5px -5px 0 0 currentColor;
  transition: box-shadow 0.25s, transform 0.25s;
}
:root[data-theme="light"] .theme-toggle-icon {
  box-shadow: inset 0 0 0 0 currentColor;
  transform: rotate(90deg);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 11px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
}
.mobile-toggle span {
  display: block;
  height: 1.5px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px;
  background: var(--bg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--fg);
}
.mobile-theme-toggle {
  align-self: flex-start;
  margin-top: 18px;
  padding: 12px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--accent);
  font-weight: 600;
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -10% -10% 0;
  background:
    radial-gradient(ellipse 50% 45% at 72% 30%, rgba(var(--rgb), 0.28) 0%, transparent 65%),
    radial-gradient(ellipse 45% 50% at 12% 85%, rgba(var(--rgb), 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 90% 90%, rgba(196, 173, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--rgb), 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--rgb), 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s infinite;
}
.hero-title {
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.hero-desc {
  max-width: 560px;
  margin-bottom: 36px;
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--fg-muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-products {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.hero-products-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.hero-products ul { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-products li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fg);
}
.hero-products li img { width: 22px; height: 22px; border-radius: 6px; object-fit: contain; }
.hero-products li .hero-products-stoq { object-fit: cover; object-position: left center; }

/* Cartão no hero */
.hero-visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.hero-orbit {
  position: absolute;
  width: min(460px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(var(--rgb), 0.35);
  animation: spin 60s linear infinite;
}
.hero-orbit::before {
  content: '';
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--rgb), 0.3), transparent 70%);
  filter: blur(20px);
}
.hero-card {
  position: relative;
  width: min(400px, 100%);
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(155deg, #241b5c 0%, #140f36 60%, #0e0a26 100%);
  box-shadow: var(--shadow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #f2efff;
  animation: float 7s ease-in-out infinite;
}
.hero-card-top { display: flex; align-items: center; gap: 14px; }
.hero-card-photo { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.2); }
.hero-card-top strong { display: block; color: #fff; font-family: var(--font-display); font-size: 17px; }
.hero-card-top span { font-size: 13px; color: #b0a9d0; }
.hero-card-logo { --cor-logo: #c9b8ff; --logo-tam: 30px; margin-left: auto; }
.hero-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0;
}
.hero-card-metrics div {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-card-metrics b { display: block; font-family: var(--font-display); font-size: 24px; color: #fff; }
.hero-card-metrics small { font-size: 11.5px; color: #b0a9d0; line-height: 1.3; display: block; }
.hero-card-flow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #e3d8ff;
}
.hero-card-flow span { padding: 6px 10px; border-radius: 999px; background: rgba(164, 139, 255, 0.16); }
.hero-card-flow i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(164,139,255,.2), rgba(164,139,255,.8)); }
.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  animation: float 6s ease-in-out infinite;
}
.hero-chip img { width: 24px; height: 24px; border-radius: 7px; }
.hero-chip--a { top: 8%; left: 0; animation-delay: -2s; }
.hero-chip--b { bottom: 10%; right: 0; animation-delay: -4s; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  animation: fadeInUp 1s var(--ease) 1s both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  transform-origin: top;
  animation: scrollLine 2s ease-in-out infinite;
}

/* ==========================================================
   STATS
   ========================================================== */
.stats-bar { position: relative; z-index: 1; margin-top: -40px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat-item { padding: 30px 28px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 10px;
}
.stat-number sup { font-size: 0.5em; color: var(--accent); vertical-align: top; margin-left: 2px; }
.stat-number.stat-word {
  background: linear-gradient(100deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { font-size: 14px; color: var(--fg-muted); line-height: 1.4; }

/* ==========================================================
   WORK / PORTFÓLIO
   ========================================================== */
.work { padding: 130px 0 120px; }
.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 36px;
}
.work-intro { max-width: 400px; color: var(--fg-muted); font-size: 16px; }

.work-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.work-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-muted);
  transition: all 0.2s;
}
.work-filter span {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
}
.work-filter:hover { color: var(--fg); border-color: var(--accent); }
.work-filter.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 10px 26px -12px var(--glow);
}
.work-filter.active span { background: rgba(255, 255, 255, 0.18); color: #fff; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.portfolio-error { grid-column: 1 / -1; color: var(--fg-muted); }
.portfolio-item {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.portfolio-item.skeleton { min-height: 520px; border: none; }
.portfolio-item:not(.skeleton):hover {
  transform: translateY(-4px);
  border-color: rgba(var(--rgb), 0.45);
  box-shadow: var(--shadow-strong);
}
.portfolio-item--wide { grid-column: 1 / -1; flex-direction: row; }
.portfolio-item--wide .portfolio-media { flex: 1.15; aspect-ratio: auto; min-height: 340px; }
.portfolio-item--wide .portfolio-meta { flex: 1; justify-content: center; }

.portfolio-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 75% 20%, rgba(164, 139, 255, 0.35), transparent 70%),
    linear-gradient(150deg, #22195a 0%, #120e33 55%, #0b0820 100%);
  isolation: isolate;
}
.portfolio-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.portfolio-logo {
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 2;
  height: 34px;
  width: auto;
}
.portfolio-wordmark {
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.portfolio-wordmark img { width: 34px; height: 34px; }
.portfolio-wordmark b { color: #a78bfa; font-weight: 800; }
.portfolio-wordmark--chip {
  padding: 7px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  font-weight: 700;
}

.portfolio-phone {
  position: absolute;
  right: 9%;
  top: 14%;
  width: 34%;
  aspect-ratio: 600 / 1298;
  border-radius: 22px;
  padding: 6px;
  background: #0b0820;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transform: rotate(4deg);
  transition: transform 0.6s var(--ease);
}
.portfolio-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 17px; }
.portfolio-item:hover .portfolio-phone { transform: rotate(0deg) translateY(-8px); }
.portfolio-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  filter: grayscale(1) contrast(1.15);
  mix-blend-mode: luminosity;
  transition: transform 0.8s var(--ease);
}
.portfolio-item:hover .portfolio-cover { transform: scale(1.04); }

/* Visuais desenhados */
.vis { position: absolute; color: #f2efff; font-size: 12.5px; }
.vis-corex {
  left: 24px; right: 24px; bottom: 22px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(11, 8, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}
.vis-corex-head { display: flex; justify-content: space-between; margin-bottom: 10px; color: #b0a9d0; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.vis-corex-row { display: grid; grid-template-columns: 74px 1fr 40px; align-items: center; gap: 12px; padding: 4px 0; }
.vis-corex-row span { font-weight: 600; font-variant-numeric: tabular-nums; }
.vis-corex-row b { text-align: right; font-variant-numeric: tabular-nums; }
.vis-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.vis-bar i { display: block; height: 100%; border-radius: 99px; }
.vis-bar .c-r { background: #f0546d; } .vis-bar .c-y { background: #f5c451; } .vis-bar .c-g { background: #3ecf8e; }
b.c-r { color: #ff8d9c; } b.c-y { color: #ffd76e; } b.c-g { color: #6fe3a9; }

.vis-fretx { inset: 72px 24px 22px; }
.vis-fretx svg { width: 100%; height: 100%; }
.vis-fretx-tag {
  position: absolute;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(11, 8, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
  white-space: nowrap;
}
.vis-fretx-tag.t1 { left: 28%; top: 6%; }
.vis-fretx-tag.t2 { right: 4%; bottom: 14%; color: #c9b8ff; }

.vis-goway {
  inset: 80px 24px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  place-items: center;
}
.vis-goway::before {
  content: '';
  position: absolute;
  inset: 16% 16%;
  border: 1.5px dashed rgba(164, 139, 255, 0.45);
  border-radius: 18px;
}
.vis-node {
  position: relative;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(11, 8, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 700;
}
.vis-node:nth-child(1) { grid-area: 1 / 1; }
.vis-node:nth-child(2) { grid-area: 2 / 2; }
.vis-node:nth-child(3) { grid-area: 1 / 3; }
.vis-node:nth-child(4) { grid-area: 3 / 1; }
.vis-node:nth-child(5) { grid-area: 3 / 3; }
.vis-node--core {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  font-size: 15px;
  background: linear-gradient(135deg, #7c5cff, #4f2fd0);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 40px rgba(124, 92, 255, 0.6);
}
.vis-node--core img { width: 22px; height: 22px; }

.vis-api {
  left: 24px; right: 24px; bottom: 22px;
  display: grid;
  gap: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.vis-api div {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(11, 8, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.vis-api b { font-size: 11px; padding: 2px 0; border-radius: 6px; text-align: center; }
.vis-api .m-get { background: rgba(62, 207, 142, 0.18); color: #6fe3a9; }
.vis-api .m-post { background: rgba(164, 139, 255, 0.22); color: #c9b8ff; }
.vis-api .m-put { background: rgba(245, 196, 81, 0.18); color: #ffd76e; }
.vis-api em { font-style: normal; color: #6fe3a9; }

.portfolio-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 26px 28px 28px;
}
.portfolio-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.portfolio-meta h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.portfolio-meta .tag { font-size: 14px; font-weight: 500; color: var(--fg); opacity: 0.85; }
.portfolio-meta p { font-size: 15px; color: var(--fg-muted); line-height: 1.65; }
.portfolio-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.portfolio-tech span {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
}
.portfolio-link { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--accent); align-self: flex-start; }
.portfolio-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================
   ABOUT
   ========================================================== */
.about { padding: 120px 0; background: var(--bg-2); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
}
.about-image-wrap { position: sticky; top: calc(var(--header-h) + 24px); }
.about-portrait {
  position: relative;
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(160deg, rgba(var(--rgb), 0.5), rgba(var(--rgb), 0.05) 60%);
}
.about-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
}
.about-portrait-badge {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  border-radius: 16px;
  background: rgba(11, 8, 32, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  --cor-logo: #c9b8ff;
}
.about-portrait-badge strong { display: block; color: #fff; font-family: var(--font-display); font-size: 15px; }
.about-portrait-badge small { color: #b0a9d0; font-size: 12.5px; }

.about-content .section-title { margin-bottom: 28px; }
.about-content > p { margin-bottom: 16px; font-size: 16.5px; color: var(--fg-muted); line-height: 1.75; }

.about-timeline {
  list-style: none;
  margin: 36px 0;
  padding-left: 22px;
  border-left: 2px solid var(--border);
  display: grid;
  gap: 22px;
}
.about-timeline li { position: relative; }
.about-timeline li::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--border-strong);
}
.about-timeline li.is-current::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}
.about-timeline-when {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.about-timeline strong { display: block; font-family: var(--font-display); font-size: 17px; margin-bottom: 2px; }
.about-timeline small { font-size: 14.5px; color: var(--fg-muted); }

.about-next {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(var(--rgb), 0.35);
  background: linear-gradient(120deg, var(--accent-soft), transparent 70%);
  margin-bottom: 28px;
}
.about-next-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.about-next-text strong { display: block; font-family: var(--font-display); margin-bottom: 4px; }
.about-next-text span { font-size: 14.5px; color: var(--fg-muted); }
.about-next-badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.skills-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.skill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--fg);
}
.skill-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); flex-shrink: 0; }

/* ==========================================================
   ROI
   ========================================================== */
.roi-section { padding: 120px 0; }
.roi-subtitle { max-width: 720px; margin-bottom: 48px; font-size: 17px; color: var(--fg-muted); line-height: 1.75; }
.roi-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.roi-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.roi-card--mid { border-color: rgba(var(--rgb), 0.3); }
.roi-card--highlight {
  border-color: transparent;
  background: linear-gradient(155deg, #2a1d6e 0%, #160f3d 70%);
  color: #f2efff;
}
.roi-card--highlight .roi-card-eyebrow { color: #c9b8ff; }
.roi-card--highlight .roi-card-note { color: #c8c1e6; }
.roi-card-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-subtle); margin-bottom: 14px; }
.roi-card-value { font-family: var(--font-display); font-size: 48px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 20px; color: var(--fg); }
.roi-card-value--accent { color: #fff; }
.roi-card-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--fg-muted);
}
.roi-card-list li span:last-child { color: var(--accent); font-weight: 600; text-align: right; }
.roi-card-note { font-size: 14.5px; line-height: 1.6; margin-bottom: 10px; }

.roi-valuation {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  margin-bottom: 40px;
}
.roi-valuation-header { display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; margin-bottom: 20px; }
.roi-valuation-label { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--fg); margin-bottom: 6px; }
.roi-valuation-desc { font-size: 15px; color: var(--fg-muted); max-width: 640px; }
.roi-valuation-total {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(100deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.roi-systems-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.roi-system-item { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--border); }
.roi-system-name { font-size: 14.5px; color: var(--fg-muted); }
.roi-system-value { font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; }

.roi-quote {
  position: relative;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
}
.roi-quote p { font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 25px); font-weight: 500; line-height: 1.45; color: var(--fg); margin-bottom: 14px; }
.roi-quote cite { font-style: normal; font-size: 13px; font-weight: 600; color: var(--accent); }

/* ==========================================================
   IMPACT
   ========================================================== */
.impact { padding: 120px 0; background: var(--bg-2); }
.impact-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; }
.impact-header-stat { text-align: right; }
.impact-header-value {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  background: linear-gradient(100deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.impact-header-label { font-size: 13px; color: var(--fg-subtle); text-transform: uppercase; letter-spacing: 0.12em; }
.impact-context { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.impact-context p { font-size: 16px; color: var(--fg-muted); line-height: 1.75; }
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.impact-col {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.impact-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.impact-col-header--tangible { color: var(--accent); background: var(--accent-soft); }
.impact-col-header--intangible { color: #5fb3ff; background: rgba(95, 179, 255, 0.08); }
:root[data-theme="light"] .impact-col-header--intangible { color: #2563eb; background: rgba(37, 99, 235, 0.06); }
.impact-item { padding: 20px 24px; border-bottom: 1px solid var(--border); }
.impact-item-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.impact-item-title { font-family: var(--font-display); font-weight: 600; color: var(--fg); }
.impact-item-range { font-size: 12px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.impact-item-badge {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(95, 179, 255, 0.35);
  color: #5fb3ff;
  font-size: 11.5px;
  font-weight: 600;
}
:root[data-theme="light"] .impact-item-badge { color: #2563eb; border-color: rgba(37, 99, 235, 0.3); }
.impact-item-desc { font-size: 14.5px; color: var(--fg-muted); line-height: 1.65; }
.impact-total,
.impact-lesson-box { margin-top: auto; padding: 18px 24px; font-size: 14px; }
.impact-total { display: flex; justify-content: space-between; gap: 12px; background: var(--accent-soft); color: var(--fg-muted); }
.impact-total span:last-child { color: var(--accent); font-weight: 700; }
.impact-lesson-box { display: flex; gap: 12px; background: rgba(95, 179, 255, 0.06); color: var(--fg-muted); font-style: italic; line-height: 1.6; }
.impact-lesson-box svg { flex-shrink: 0; margin-top: 2px; color: #5fb3ff; }

/* ==========================================================
   WRITING
   ========================================================== */
.writing { padding: 120px 0; }
.writing-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; }
.writing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--fg);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.article-card:hover { transform: translateY(-4px); border-color: rgba(var(--rgb), 0.45); }
.article-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.article-title { font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
.article-excerpt { font-size: 15px; color: var(--fg-muted); line-height: 1.65; }
.article-meta { display: flex; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--fg-subtle); }
.article-read { color: var(--accent); font-weight: 600; }

.article-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.article-modal.open { display: flex; }
.article-modal-backdrop { position: absolute; inset: 0; background: rgba(5, 3, 18, 0.7); backdrop-filter: blur(14px); }
:root[data-theme="light"] .article-modal-backdrop { background: rgba(27, 19, 64, 0.35); }
.article-reader {
  position: relative;
  width: min(760px, 100%);
  max-height: min(800px, calc(100vh - 48px));
  overflow-y: auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-strong);
}
.article-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--fg-muted);
  font-size: 22px;
  line-height: 1;
}
.article-close:hover { color: var(--accent); border-color: var(--accent); }
.article-reader-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.article-reader-title { font-size: clamp(30px, 5vw, 48px); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 14px; max-width: 620px; }
.article-reader-meta { font-size: 13px; color: var(--fg-subtle); padding-bottom: 26px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.article-reader-content { display: flex; flex-direction: column; gap: 18px; }
.article-reader-content p { font-size: clamp(16px, 2vw, 18px); line-height: 1.85; color: var(--fg-muted); }

/* ==========================================================
   EVENTOS
   ========================================================== */
.speaking { padding: 120px 0; background: var(--bg-2); }
.events-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; margin-top: 52px; }
.events-col { display: flex; flex-direction: column; gap: 16px; }
.events-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.events-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--fg-subtle); }
.events-dot--next { background: var(--accent); animation: pulse 1.8s infinite; }
.event-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.event-card--upcoming { border-color: rgba(var(--rgb), 0.35); background: linear-gradient(135deg, var(--accent-soft), var(--surface) 55%); }
.event-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 12px 8px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.event-card--upcoming .event-date { background: var(--primary); border-color: transparent; color: #fff; }
.event-date b { font-family: var(--font-display); font-size: 22px; line-height: 1.1; color: inherit; }
.event-date span { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.8; margin-top: 4px; }
.event-name { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--fg); margin-bottom: 6px; }
.event-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(var(--rgb), 0.4);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.event-desc { font-size: 14.5px; color: var(--fg-muted); line-height: 1.6; margin-bottom: 10px; }
.event-location { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--fg); }
.event-location svg { color: var(--accent); }
.event-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.event-countdown {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
}
.event-countdown:empty { display: none; }
.event-ics {
  padding: 5px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fg);
  transition: border-color 0.2s, color 0.2s;
}
.event-ics:hover { border-color: var(--accent); color: var(--accent); }
.events-invite {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-strong);
}
.events-invite strong { font-family: var(--font-display); }
.events-invite span { font-size: 14.5px; color: var(--fg-muted); }
.events-invite a { margin-top: 6px; font-weight: 600; color: var(--accent); }

/* ==========================================================
   CARTÃO DE APRESENTAÇÃO
   ========================================================== */
.card-section { padding: 120px 0; position: relative; overflow: hidden; }
.card-section::before {
  content: '';
  position: absolute;
  right: -10%;
  top: 10%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(var(--rgb), 0.18), transparent 65%);
  pointer-events: none;
}
.card-layout { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.card-copy > p { font-size: 17px; color: var(--fg-muted); margin: 18px 0 30px; max-width: 460px; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.card-feedback { min-height: 22px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ok); }

.bizcard {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%;
  position: relative;
  width: min(480px, 100%);
  justify-self: center;
  padding: 32px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(150deg, #2a1d6e 0%, #150f3b 55%, #0b0820 100%);
  color: #f2efff;
  box-shadow: var(--shadow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.25s ease-out;
}
.bizcard-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(196, 173, 255, 0.28), transparent 45%);
  pointer-events: none;
}
.bizcard-head { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; --cor-logo: #c9b8ff; --logo-tam: 30px; }
.bizcard-brand { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em; font-size: 15px; color: #fff; display: inline-grid; line-height: 1; }
.bizcard-brand small { font-size: 0.66em; font-weight: 500; color: #c9b8ff; margin-top: 3px; letter-spacing: 0.04em; }
.bizcard-id { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.bizcard-photo { width: 76px; height: 76px; border-radius: 20px; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.22); }
.bizcard-id h3 { color: #fff; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.bizcard-id p { color: #c9b8ff; font-size: 14.5px; font-weight: 600; }
.bizcard-pitch { font-size: 15px; color: #c8c1e6; line-height: 1.6; margin-bottom: 18px; }
.bizcard-products { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.bizcard-products li {
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(164, 139, 255, 0.16);
  border: 1px solid rgba(164, 139, 255, 0.25);
  font-size: 12.5px;
  font-weight: 700;
  color: #e3d8ff;
}
.bizcard-contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13.5px; }
.bizcard-contacts a, .bizcard-contacts span { color: #f2efff; overflow-wrap: anywhere; }
.bizcard-contacts a:hover { color: #c9b8ff; }

/* ==========================================================
   CONTATO
   ========================================================== */
.contact { padding: 120px 0 100px; }
.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(var(--rgb), 0.16), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow);
}
.contact-title { font-size: clamp(40px, 5.5vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 18px; }
.contact-subtitle { font-size: 17px; color: var(--fg-muted); margin-bottom: 30px; max-width: 420px; }
.contact-links { display: flex; flex-direction: column; gap: 10px; }
.contact-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  font-weight: 600;
  color: var(--fg);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.contact-email:hover { border-color: var(--accent); color: var(--accent); transform: translateX(3px); }

.contact-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--fg); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--fg-subtle); }
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form-submit { width: 100%; cursor: pointer; }
.form-submit:disabled { opacity: 0.6; cursor: progress; transform: none; }
.form-message { min-height: 20px; font-size: 14px; text-align: center; }
.form-message.success { color: var(--ok); }
.form-message.error { color: var(--error); }
.form-message a { color: var(--accent); border-bottom: 1px solid currentColor; }

.social-links { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.social-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--fg-muted);
}
.social-link:hover { color: var(--accent); border-color: var(--accent); }

/* ==========================================================
   FOOTER
   ========================================================== */
footer { padding: 32px 0 40px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-copy { font-size: 14px; color: var(--fg-subtle); }
.footer-copy a { color: var(--fg-muted); font-weight: 600; }
.footer-copy a:hover { color: var(--accent); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { font-size: 14px; color: var(--fg-muted); }
.footer-links a:hover { color: var(--accent); }

/* ==========================================================
   RESPONSIVO
   ========================================================== */
@media (max-width: 1080px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-visual { min-height: 400px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .about-image-wrap { position: static; max-width: 420px; }
  .writing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .roi-cards { grid-template-columns: minmax(0, 1fr); }
  .events-grid, .card-layout, .contact-panel { grid-template-columns: minmax(0, 1fr); }
  .card-layout { gap: 48px; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta, .theme-toggle { display: none; }
  .mobile-toggle { display: flex; }
  .portfolio-grid { grid-template-columns: minmax(0, 1fr); }
  .portfolio-item--wide { flex-direction: column; }
  .portfolio-item--wide .portfolio-media { aspect-ratio: 16 / 10; min-height: 0; }
  .work-header, .impact-header { flex-direction: column; align-items: flex-start; }
  .impact-header-stat { text-align: left; }
  .impact-context, .impact-grid, .roi-systems-grid { grid-template-columns: minmax(0, 1fr); }
  .roi-valuation-header { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .container { width: min(1200px, 100% - 32px); }
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-chip { display: none; }
  .hero-visual { min-height: 0; }
  .hero-orbit { display: none; }
  .hero-card-flow span { padding: 5px 7px; font-size: 11px; }
  .hero-scroll-indicator { display: none; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-item { padding: 22px 18px; }
  .writing-grid { grid-template-columns: minmax(0, 1fr); }
  .skills-list, .form-row, .bizcard-contacts { grid-template-columns: minmax(0, 1fr); }
  .event-card { grid-template-columns: minmax(0, 1fr); }
  .event-date { flex-direction: row; gap: 8px; justify-content: flex-start; padding: 8px 12px; }
  .event-date span { margin-top: 0; }
  .about-next { grid-template-columns: minmax(0, 1fr); }
  .about-next-label { writing-mode: horizontal-tb; transform: none; }
  .about-next-badge { justify-self: start; }
  .portfolio-meta { padding: 22px; }
  .portfolio-phone { width: 40%; right: 6%; }
  .vis-corex { left: 14px; right: 14px; padding: 12px 14px; }
  .vis-corex-row { grid-template-columns: 70px minmax(0, 1fr) 34px; gap: 8px; font-size: 11.5px; }
  .vis-corex-row span { white-space: nowrap; }
  .portfolio-media { aspect-ratio: 4 / 3; }
  .bizcard { padding: 24px; }
}
