/* ============================================================
   fabiocabral.pro — Sistema de design "Black Neon"
   Conceito: triângulo ascendente · gradiente ciano → roxo → magenta
   Stack visual: Sora (display) · Hanken Grotesk (texto) · JetBrains Mono (técnico)
   ============================================================ */

:root {
  /* Fundos */
  --bg:          #07090F;
  --bg-2:        #0B0F19;
  --bg-3:        #0D0D0D;
  --surface:     #0E1320;
  --surface-2:   #131A2A;

  /* Linhas */
  --line:        rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);

  /* Neon */
  --cyan:    #46E6E0;
  --purple:  #8B5CF6;
  --magenta: #E25BD0;

  /* Texto */
  --text:       #EAEEF6;
  --text-dim:   #9BA6BC;
  --text-faint: #69748C;

  --grad: linear-gradient(118deg, var(--cyan) 0%, var(--purple) 56%, var(--magenta) 100%);

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --shell: 1200px;
  --radius: 18px;
  --header-h: 74px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
::selection { background: rgba(70, 230, 224, 0.25); color: #fff; }

/* ---------- Helpers ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.section {
  position: relative;
  padding-block: clamp(64px, 11vw, 132px);
}
.section--alt { background: var(--bg-2); }
.section--alt::before,
.section::after { content: none; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -0.022em;
}
.section__intro {
  margin-top: 1.1rem;
  color: var(--text-dim);
  font-size: 1.06rem;
  max-width: 60ch;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0.92em 1.6em;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
              border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.btn--primary {
  background: var(--grad);
  color: #06070C;
  box-shadow: 0 0 0 1px rgba(70, 230, 224, 0.25),
              0 14px 44px -14px rgba(139, 92, 246, 0.7);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(70, 230, 224, 0.5),
              0 20px 54px -12px rgba(139, 92, 246, 0.95);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 26px -8px rgba(70, 230, 224, 0.55);
}

/* ---------- Acessibilidade ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 300;
  background: var(--surface-2);
  border: 1px solid var(--cyan);
  color: var(--text);
  padding: 0.7em 1.1em;
  border-radius: 10px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 14px; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(7, 9, 15, 0.92);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
  color: var(--text);
}
.brand__mark { width: 30px; height: 30px; flex: none; object-fit: contain; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}
.brand__tld { color: var(--cyan); }

.site-nav { display: flex; gap: 2rem; }
.site-nav a {
  position: relative;
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.94rem;
  padding-block: 0.4em;
  transition: color 0.2s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 1.1rem; }
.social-rail { display: flex; gap: 0.5rem; }
.social-rail a {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-dim);
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.social-rail svg { width: 17px; height: 17px; }
.social-rail a:hover {
  color: var(--cyan);
  border-color: rgba(70, 230, 224, 0.45);
  box-shadow: 0 0 20px -8px rgba(70, 230, 224, 0.7);
}
.site-header__cta { padding: 0.7em 1.2em; font-size: 0.86rem; }

/* hambúrguer */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  cursor: pointer;
}
.nav-toggle span {
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(70px, 12vw, 70px);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
}
.hero__glow--cyan {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(70, 230, 224, 0.5), transparent 70%);
  top: -150px; left: -90px;
}
.hero__glow--purple {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5), transparent 70%);
  bottom: -240px; right: -140px;
}
.hero__glow--magenta {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(226, 91, 208, 0.45), transparent 70%);
  bottom: -240px; right: -140px;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 78%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.kicker--hero { animation: rise 0.7s ease both; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  /* Reduzido de 5.4rem p/ acomodar a linha "Uso Ético de IA." sem quebra. */
  font-size: clamp(2.5rem, 6.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.hero__title span { display: block; }
.hero__title span:nth-child(1) { animation: rise 0.7s ease 0.05s both; }
.hero__title span:nth-child(2) { animation: rise 0.7s ease 0.13s both; }
.hero__title span:nth-child(3) { animation: rise 0.7s ease 0.21s both; }

.hero__lead {
  margin-top: 1.6rem;
  max-width: 46ch;
  color: var(--text-dim);
  font-size: 1.12rem;
  animation: rise 0.7s ease 0.3s both;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.1rem;
  animation: rise 0.7s ease 0.38s both;
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  list-style: none;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--text-faint);
  animation: rise 0.7s ease 0.46s both;
}
.hero__proof li { position: relative; padding-left: 1.1rem; }
.hero__proof li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.hero__proof strong { color: var(--text); font-weight: 600; }

/* retrato / painel visual */
.hero__visual { animation: rise 0.8s ease 0.4s both; }
.portrait { position: relative; }
.portrait__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 90% at 30% 0%, rgba(70, 230, 224, 0.16), transparent 60%),
    radial-gradient(120% 90% at 90% 100%, rgba(139, 92, 246, 0.22), transparent 60%),
    var(--surface);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(139, 92, 246, 0.6);
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait__mark { width: 44%; opacity: 0.6; }
.portrait__tag {
  position: absolute;
  bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.portrait__chip {
  position: absolute;
  left: -18px; bottom: 38px;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.6em 1em;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.8);
}
.portrait__chip .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

/* ---------- Pilares ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pillar {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), rgba(14, 19, 32, 0.4));
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.pillar:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -34px rgba(139, 92, 246, 0.6);
}
.pillar:hover::before { transform: scaleX(1); }
.pillar__index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
}
.pillar__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin: 18px 0 20px;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: rgba(70, 230, 224, 0.05);
  color: var(--cyan);
}
.pillar__icon svg { width: 26px; height: 26px; }
.pillar__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}
.pillar__text {
  margin-top: 0.7rem;
  color: var(--text-dim);
  font-size: 0.97rem;
}
.pillar__tag {
  display: inline-block;
  margin-top: 1.3rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- Central de Inteligência ---------- */
.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 30px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.6em 1.15em;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.chip:hover { color: var(--text); border-color: var(--cyan); }
.chip.is-active {
  color: #06070C;
  background: var(--grad);
  border-color: transparent;
  font-weight: 500;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.insight-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.insight-card--featured {
  grid-column: span 2;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(139, 92, 246, 0.16), transparent 55%),
    var(--surface);
}
.insight-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 28px 56px -34px rgba(70, 230, 224, 0.45);
}
.insight-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.insight-card__cat {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(70, 230, 224, 0.3);
  border-radius: 999px;
  padding: 0.4em 0.85em;
}
.insight-card__date {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-faint);
}
.insight-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.32;
  letter-spacing: -0.012em;
}
.insight-card--featured .insight-card__title { font-size: 1.42rem; }
.insight-card__sub {
  margin-top: 0.6rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.insight-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
}
.insight-card__source {
  font-size: 0.82rem;
  color: var(--text-faint);
}
.insight-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--cyan);
  text-decoration: none;
  white-space: nowrap;
  transition: gap 0.2s ease;
}
.insight-card__link:hover { gap: 0.7em; }
.insight-card.is-hidden { display: none; }
.filter-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-faint);
  padding: 40px 0;
}

/* ---------- Hub de Mídia (bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 244px;
  gap: 18px;
}
.media-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
}
.media-card--wide { grid-column: span 2; }
.media-card--tall { grid-row: span 2; }
.media-card__visual {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(130% 120% at 0% 0%, rgba(70, 230, 224, 0.2), transparent 55%),
    radial-gradient(130% 120% at 100% 100%, rgba(139, 92, 246, 0.26), transparent 55%),
    var(--bg-3);
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: saturate(0.7) brightness(0.85);
}
.media-card:nth-child(even) .media-card__visual {
  background:
    radial-gradient(130% 120% at 100% 0%, rgba(226, 91, 208, 0.22), transparent 55%),
    radial-gradient(130% 120% at 0% 100%, rgba(70, 230, 224, 0.18), transparent 55%),
    var(--bg-3);
}
.media-card__visual img { width: 100%; height: 100%; object-fit: cover; }
.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(7, 9, 15, 0.92) 100%);
}
.media-card:hover .media-card__visual {
  transform: scale(1.06);
  filter: saturate(1.1) brightness(1);
}
.media-card:hover { border-color: rgba(70, 230, 224, 0.5); }
.media-card__action {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(7, 9, 15, 0.66);
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s ease;
}
.media-card__action svg { width: 20px; height: 20px; }
.media-card:hover .media-card__action,
.media-card:focus-visible .media-card__action {
  opacity: 1;
  transform: none;
}
.media-card:hover .media-card__action { border-color: rgba(70, 230, 224, 0.5); }
.media-card__count {
  position: absolute;
  top: 18px; left: 16px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text);
  background: rgba(7, 9, 15, 0.66);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.4em 0.75em;
}
.media-card__body {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  padding: 22px 24px;
}
.media-card__tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}
.media-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.3;
  margin-top: 0.45rem;
}
.media-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.55rem;
  margin-top: 0.45rem;
}
.media-card__event { font-size: 0.82rem; color: var(--text-dim); }
.media-card__date {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--cyan);
}
.media-card__date:not(:first-child)::before {
  content: "·";
  margin-right: 0.55rem;
  color: var(--text-faint);
}

/* lightbox / galeria */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(4, 5, 9, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lightbox__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 100%;
}
.lightbox__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  animation: rise 0.35s ease both;
}
.lightbox__frame img {
  max-width: min(1040px, 92vw);
  max-height: 74vh;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}
.lightbox__frame iframe {
  width: min(1040px, 92vw);
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
}
.lightbox__caption {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.lightbox__counter {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-faint);
}
.lightbox__counter[hidden] { display: none; }
.lightbox__close {
  position: absolute;
  top: 22px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.lightbox__close:hover { border-color: var(--cyan); color: var(--cyan); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.lightbox__nav:hover { border-color: var(--cyan); color: var(--cyan); }
.lightbox__nav[hidden] { display: none; }
.lightbox__nav--prev { left: max(20px, 3vw); }
.lightbox__nav--next { right: max(20px, 3vw); }
@media (max-width: 600px) {
  .lightbox__nav {
    width: 44px; height: 44px;
    top: auto; bottom: 22px;
    transform: none;
  }
  .lightbox__nav--prev { left: 24px; }
  .lightbox__nav--next { right: 24px; }
}

/* ---------- Sobre ---------- */
.about {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.about__lead {
  font-size: 1.16rem;
  color: var(--text);
  max-width: 54ch;
}
.about__blocks {
  display: grid;
  gap: 22px;
  margin: 34px 0;
}
.about-block {
  padding-left: 20px;
  border-left: 2px solid;
  border-image: var(--grad) 1;
}
.about-block h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  margin-bottom: 0.35rem;
}
.about-block p { color: var(--text-dim); font-size: 0.96rem; }

.about__formacao-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.9rem;
}
.about__formacao ul { list-style: none; display: grid; gap: 0.55rem; }
.about__formacao li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-dim);
  font-size: 0.97rem;
}
.about__formacao li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 8px; height: 8px;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}
.about__formacao strong { color: var(--text); font-weight: 600; }

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 30px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.84rem;
  color: var(--text);
  text-decoration: none;
  padding: 0.62em 1.1em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.badge:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 22px -9px rgba(70, 230, 224, 0.6);
}

.profile-card {
  position: sticky;
  top: 100px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(139, 92, 246, 0.16), transparent 60%),
    var(--surface);
}
.profile-card__photo {
  aspect-ratio: 4 / 5;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(70, 230, 224, 0.1), rgba(139, 92, 246, 0.16));
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  overflow: hidden;
}
.profile-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-card__role {
  margin: 18px 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
.profile-card__facts { list-style: none; display: grid; gap: 0.7rem; }
.profile-card__facts li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--text);
}
.profile-card__facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.profile-card__facts span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- Contato ---------- */
.section--contact { position: relative; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; pointer-events: none; opacity: 0.6; }
.contact {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.contact__channels {
  list-style: none;
  margin-top: 30px;
  display: grid;
  gap: 0.2rem;
}
.contact__channels li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.contact__channel-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  width: 84px;
  flex: none;
}
.contact__channels a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact__channels a:hover { color: var(--cyan); }

.contact__form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
/* honeypot anti-spam — invisível para humanos, preenchido por bots */
.contact__hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.field { display: grid; gap: 0.5rem; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field__opt { color: var(--text-faint); }
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0.85em 1em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(70, 230, 224, 0.12);
}
.contact__form .btn { justify-content: center; margin-top: 4px; }

/* ---------- Artigo ---------- */
.article { overflow: hidden; }
.article__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.article__glow { position: absolute; border-radius: 50%; filter: blur(150px); }
.article__glow--top {
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.30), transparent 70%);
  top: -340px; left: 50%; transform: translateX(-58%);
}
.article__glow--mid {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(70, 230, 224, 0.16), transparent 70%);
  top: 40%; right: -230px;
}
.article__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 78% 52% at 50% 0%, #000 6%, transparent 72%);
  mask-image: radial-gradient(ellipse 78% 52% at 50% 0%, #000 6%, transparent 72%);
}
.article__shell { position: relative; max-width: 760px; }
.article__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.article__back:hover { color: var(--cyan); }
.article__head { margin: 28px 0 36px; }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-bottom: 1.4rem;
}
.article__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.4vw, 2.7rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
}
.article__sub {
  margin-top: 1rem;
  font-size: 1.16rem;
  color: var(--text-dim);
}
.article__body {
  color: #C5CDDD;
  font-size: 1.07rem;
  line-height: 1.82;
}
.article__body > * + * { margin-top: 1.25rem; }
.article__body > :first-child { margin-top: 0; }
.article__body p { color: #C5CDDD; }
.article__body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 1.6rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-top: 2.4rem;
}
.article__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--text);
  margin-top: 1.9rem;
}
.article__body ul,
.article__body ol { padding-left: 1.4rem; }
.article__body li { margin-top: 0.5rem; }
.article__body li::marker { color: var(--cyan); }
.article__body blockquote {
  border-left: 2px solid var(--cyan);
  padding: 0.3rem 0 0.3rem 1.4rem;
  color: var(--text);
  font-style: italic;
}
.article__body a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article__body strong,
.article__body b { color: var(--text); font-weight: 600; }
.article__body em,
.article__body i { font-style: italic; }
.article__body code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.12em 0.4em;
  border-radius: 5px;
  color: var(--cyan);
}

/* ---------- Outras publicações (fim do artigo) ---------- */
.article-more {
  position: relative;
  margin-top: clamp(56px, 8vw, 88px);
  padding-top: clamp(36px, 5vw, 54px);
  border-top: 1px solid var(--line);
}
.article-more__head { margin-bottom: 30px; }
.article-more__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.2vw, 1.95rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.article-more__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.article-more__all {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cyan);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.article-more__all:hover { gap: 0.85em; }

/* ---------- Erro 404 ---------- */
.error-page { overflow: hidden; text-align: center; }
.error-page__bg { position: absolute; inset: 0; pointer-events: none; }
.error-page__inner {
  position: relative;
  display: grid;
  justify-items: center;
  padding-block: clamp(40px, 9vw, 90px);
}
.error-page__code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 18vw, 11rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.error-page__text { color: var(--text-dim); margin: 0.6rem 0 2rem; }

/* ---------- Rodapé ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-3);
  padding-block: 56px 32px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 36px;
}
.site-footer__note {
  margin-top: 1rem;
  max-width: 34ch;
  color: var(--text-faint);
  font-size: 0.92rem;
}
.site-footer__col { display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer__col h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.4rem;
}
.site-footer__col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.site-footer__col a:hover { color: var(--cyan); }
.site-footer__base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ---------- Flutuantes ---------- */
.floating-cta {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 140;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.3em;
  border-radius: 999px;
  background: var(--grad);
  color: #06070C;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 14px 42px -12px rgba(139, 92, 246, 0.8);
  transition: transform 0.25s ease;
}
.floating-cta:hover { transform: translateY(-3px); }
.floating-cta svg { width: 19px; height: 19px; }

.to-top {
  position: fixed;
  left: 22px; bottom: 22px;
  z-index: 140;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.2s ease;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- Toasts ---------- */
.toast-stack {
  position: fixed;
  top: calc(var(--header-h) + 14px);
  right: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(360px, calc(100vw - 40px));
}
.toast {
  padding: 0.9em 1.2em;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 0.9rem;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9);
  animation: rise 0.4s ease both;
}
.toast--success { border-color: rgba(70, 230, 224, 0.55); }
.toast--error { border-color: rgba(226, 91, 208, 0.6); }
.toast--warning { border-color: rgba(231, 184, 92, 0.65); }

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
.pillars [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.pillars [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.insights-grid [data-reveal]:nth-child(3n+2) { transition-delay: 0.07s; }
.insights-grid [data-reveal]:nth-child(3n+3) { transition-delay: 0.14s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 380px; }
  .about { grid-template-columns: 1fr; }
  .profile-card { position: static; }
  .insight-card--featured { grid-column: span 1; }
  .insight-card--featured .insight-card__title { font-size: 1.12rem; }
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.3s ease;
  }
  .site-nav.is-open { clip-path: inset(0 0 0 0); }
  .site-nav a {
    padding: 0.9em clamp(20px, 5vw, 48px);
    font-size: 1rem;
  }
  .site-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .social-rail, .site-header__cta { display: none; }
  .pillars,
  .insights-grid,
  .article-more__grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .media-card--tall { grid-row: span 1; }
  .contact { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .bento { grid-template-columns: 1fr; }
  .media-card--wide { grid-column: auto; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .floating-cta span { display: none; }
  .floating-cta { padding: 0.9em; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Rodapé: divisor estilizado e área legal ---------- */
.footer-divider {
  position: relative;
  height: 1px;
  margin: 30px 0;
  background: linear-gradient(90deg, transparent, var(--line-strong) 18%,
              var(--line-strong) 82%, transparent);
}
.footer-divider::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 7px; height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--grad);
  box-shadow: 0 0 14px -1px rgba(70, 230, 224, 0.65);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem 1.6rem;
}
.footer-legal a {
  position: relative;
  font-size: 0.86rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-legal a:hover { color: var(--cyan); }
.footer-legal a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.85rem; top: 50%;
  width: 1px; height: 12px;
  transform: translateY(-50%);
  background: var(--line-strong);
}
.site-footer__legal { text-align: center; }
.site-footer__rights {
  max-width: 64ch;
  margin-inline: auto;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--text-faint);
}
.site-footer__copy {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ---------- Banner de cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 190;
  background: rgba(13, 17, 28, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line-strong);
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto 0;
  height: 1px;
  background: var(--grad);
  opacity: 0.65;
}
.cookie-banner__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 20px clamp(20px, 5vw, 48px);
  display: flex;
  align-items: center;
  gap: 30px;
}
.cookie-banner__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 72ch;
}
.cookie-banner__text strong { color: var(--text); font-weight: 600; }
.cookie-banner__actions {
  display: flex;
  gap: 0.7rem;
  flex: none;
}
.cookie-banner__actions .btn { padding: 0.72em 1.3em; font-size: 0.86rem; }
@media (max-width: 760px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .cookie-banner__actions .btn { flex: 1; justify-content: center; }
}

/* ---------- Páginas legais ---------- */
.legal { position: relative; overflow: hidden; }
.legal__bg { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }
/* Glow sempre ancorado no topo-esquerdo — visivel ao abrir a pagina,
   independentemente da cor escolhida em cada documento. */
.legal__bg .hero__glow {
  top: -170px;
  left: -120px;
  right: auto;
  bottom: auto;
}
.legal__shell { position: relative; max-width: 820px; }
.legal__head {
  margin: 26px 0 38px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.legal__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-top: 0.6rem;
}
.legal__updated {
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
}
.legal__content { display: grid; gap: 28px; }
.legal__intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
}
.legal__content section { scroll-margin-top: 100px; }
.legal__content h2 {
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.7rem;
}
.legal__content h2 .num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--cyan);
}
.legal__content p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.78;
}
.legal__content p + p { margin-top: 0.75rem; }
.legal__content a { color: var(--cyan); text-decoration: none; }
.legal__content a:hover { text-decoration: underline; }
.legal__fields {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-top: 0.7rem;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.legal__fields li { color: var(--text-dim); font-size: 0.96rem; }
.legal__fields strong { color: var(--text); font-weight: 600; }
.legal__foot {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
