/* ==========================================================================
   TIAGO BASTOS — homepage
   Design system derivado da landing page "Máquina de Vendas com Avatares
   Inteligentes" (mesma paleta, tipografia, grid e componentes de chrome).
   ========================================================================== */

/* ==========================================================================
   MÁQUINA DE VENDAS COM AVATARES INTELIGENTES — landing page
   Design system derivado da coleção de ebooks (mesma paleta e tipografia)
   ========================================================================== */

:root {
  --bg: #05070e;
  --bg-2: #070c16;
  --panel: #080f1c;
  --panel-2: #0b1322;
  --line: #16233a;
  --cyan: #00e5ff;
  --violet: #8b5cf6;
  --magenta: #ff2e88;
  --green: #00d68f;
  --amber: #ffb020;
  --white: #f4f8ff;
  --soft: #c9d6e8;
  --grey: #8b99af;
  --dim: #5f6e86;

  --display: "Anton", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1180px;
  --read: 68ch;
  --r: 16px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--soft);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: rgba(0, 229, 255, .28); color: #fff; }

/* ---------- scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #04060c; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #12324a, #1b2a48);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: #1e4463; }

/* ==========================================================================
   fundo global: grid + halos
   ========================================================================== */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid {
  position: absolute;
  inset: -40%;
  background-image:
    linear-gradient(to right, rgba(0, 229, 255, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 229, 255, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 30%, #000 20%, transparent 78%);
  animation: gridDrift 34s linear infinite;
}

@keyframes gridDrift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, 56px, 0); }
}

.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
}
.halo.a { width: 620px; height: 620px; top: -220px; left: -180px;
  background: radial-gradient(circle, rgba(0, 190, 230, .32), transparent 68%); }
.halo.b { width: 560px; height: 560px; top: 12%; right: -200px;
  background: radial-gradient(circle, rgba(139, 92, 246, .26), transparent 68%); }
.halo.c { width: 700px; height: 500px; bottom: 4%; left: 22%;
  background: radial-gradient(circle, rgba(255, 46, 136, .14), transparent 70%); }

.spotlight {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%),
              rgba(0, 229, 255, .055), transparent 72%);
  transition: opacity .4s;
}

/* ==========================================================================
   chrome: barra de progresso + nav
   ========================================================================== */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  z-index: 90;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 55%, var(--magenta));
  box-shadow: 0 0 18px rgba(0, 229, 255, .55);
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 56px);
  transition: background .35s, backdrop-filter .35s, border-color .35s, padding .35s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(5, 7, 14, .82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(22, 35, 58, .9);
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.brand-tx {
  display: block;
  font-size: 9.5px;
  letter-spacing: .14em;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(38vw, 360px);
}
.brand .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.8); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
}
.nav-links a { transition: color .25s; }
.nav-links a:hover { color: var(--white); }

.nav-cta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #04070d;
  background: linear-gradient(100deg, var(--cyan), #37c9ff);
  padding: 11px 20px;
  border-radius: 100px;
  font-weight: 500;
  box-shadow: 0 0 0 rgba(0, 229, 255, 0);
  transition: transform .25s, box-shadow .25s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -8px rgba(0, 229, 255, .6);
}

@media (max-width: 900px) {
  /* nesta página os 3 links são a navegação principal: mantém visível */
  .nav-links { gap: 18px; font-size: 9px; letter-spacing: .12em; }
  .nav { gap: 14px; }
}
@media (max-width: 560px) {
  .nav-links { display: none; }
  .nav-mobile { display: flex; }
}

/* ==========================================================================
   layout helpers
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 44px);
  position: relative;
  z-index: 2;
}

section { position: relative; z-index: 2; }

.band {
  padding: clamp(80px, 11vw, 150px) 0;
}

.band.tight { padding: clamp(60px, 8vw, 96px) 0; }

.kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.kicker.violet { color: var(--violet); }
.kicker.magenta { color: var(--magenta); }
.kicker.amber { color: var(--amber); }

h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 74px);
  line-height: .96;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 24px;
}
h2 em {
  font-style: normal;
  color: var(--cyan);
}
h2 .grad {
  background: linear-gradient(96deg, var(--cyan), var(--violet) 50%, var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 25px);
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--white);
  margin: 0 0 14px;
}

.lead {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.62;
  color: var(--soft);
  font-weight: 300;
  max-width: 62ch;
  margin: 0 0 28px;
}
.lead strong { color: var(--white); font-weight: 500; }

.prose {
  max-width: var(--read);
  font-size: 17.5px;
  line-height: 1.8;
  color: var(--soft);
}
.prose p { margin: 0 0 22px; }
.prose strong { color: var(--white); font-weight: 500; }
.prose .hl { color: var(--cyan); }
.prose .hl-m { color: var(--magenta); }

.center { text-align: center; }
.center .lead, .center .prose { margin-left: auto; margin-right: auto; }
.center .kicker { justify-content: center; }
.center .kicker::before { display: none; }

/* ==========================================================================
   botões
   ========================================================================== */
.btn {
  --h: 62px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--h);
  padding: 0 40px;
  border-radius: 100px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .01em;
  color: #03060c;
  background: linear-gradient(100deg, #00e5ff 0%, #23d7ff 45%, #8b5cf6 130%);
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
  box-shadow: 0 14px 44px -16px rgba(0, 229, 255, .75),
              inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .55) 45%, transparent 62%);
  transform: translateX(-130%);
  transition: transform .85s cubic-bezier(.2, .8, .2, 1);
  z-index: 1;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 56px -16px rgba(0, 229, 255, .9); }
.btn:hover::after { transform: translateX(130%); }
.btn > span { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; }

.btn.sm { --h: 52px; padding: 0 30px; font-size: 15px; }

/* --- variante laranja: "comprar agora" --- */
.btn.buy {
  color: #240a00;
  background: linear-gradient(100deg, #ffb020 0%, #ff8a1f 42%, #ff5d1f 118%);
  box-shadow: 0 14px 44px -14px rgba(255, 130, 25, .85),
              0 0 0 1px rgba(255, 196, 120, .35) inset,
              inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn.buy:hover {
  box-shadow: 0 22px 60px -14px rgba(255, 130, 25, 1),
              0 0 0 1px rgba(255, 210, 150, .5) inset,
              inset 0 1px 0 rgba(255, 255, 255, .5);
}

/* --- variante verde: "quero meu acesso" --- */
.btn.access {
  color: #012015;
  background: linear-gradient(100deg, #00e8a0 0%, #00d68f 45%, #28c48a 118%);
  box-shadow: 0 14px 44px -14px rgba(0, 214, 143, .8),
              0 0 0 1px rgba(120, 255, 210, .3) inset,
              inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn.access:hover {
  box-shadow: 0 22px 60px -14px rgba(0, 214, 143, .95),
              0 0 0 1px rgba(150, 255, 220, .45) inset,
              inset 0 1px 0 rgba(255, 255, 255, .5);
}

/* nav com a mesma linguagem do CTA laranja */
.nav-cta.buy {
  flex: none;
  background: linear-gradient(100deg, #ffb020, #ff7a1f 90%);
  color: #240a00;
  border-color: transparent;
  box-shadow: 0 10px 30px -12px rgba(255, 130, 25, .8);
  /* compacto: garante "COMPRE AGORA!" em uma única linha */
  font-size: 9px;
  letter-spacing: .1em;
  padding: 9px 14px;
  white-space: nowrap;
}

.btn.ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(0, 229, 255, .35);
  box-shadow: none;
  font-weight: 500;
}
.btn.ghost:hover {
  border-color: rgba(0, 229, 255, .8);
  background: rgba(0, 229, 255, .06);
  box-shadow: 0 0 40px -10px rgba(0, 229, 255, .5);
}

.btn-note {
  display: block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--dim);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   marquee de logos/claims
   ========================================================================== */
.marquee {
  border-top: 1px solid rgba(22, 35, 58, .8);
  border-bottom: 1px solid rgba(22, 35, 58, .8);
  padding: 18px 0;
  overflow: hidden;
  background: rgba(7, 12, 22, .6);
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}
.marquee-item::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: .8;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   CTA final
   ========================================================================== */
.final {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 112px) 0 clamp(50px, 6vw, 72px);
  text-align: center;
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0, 229, 255, .16), transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 20%, rgba(139, 92, 246, .12), transparent 70%);
  pointer-events: none;
}
.final h2 { font-size: clamp(40px, 7vw, 88px); margin-bottom: 22px; }
.final .prose { margin: 0 auto 36px; }

.signature {
  margin-top: 40px;
  font-size: 15px;
  color: var(--dim);
  line-height: 1.8;
}
.signature .name {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  display: block;
  margin-top: 6px;
}

/* ==========================================================================
   footer
   ========================================================================== */
footer {
  border-top: 1px solid rgba(22, 35, 58, .9);
  padding: 46px 0 40px;
  background: rgba(4, 6, 12, .8);
  position: relative;
  z-index: 2;
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}
.foot-brand {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
  max-width: 340px;
  line-height: 1.9;
}
.foot-brand .sm {
  display: block;
  margin-top: 12px;
  color: var(--dim);
  letter-spacing: .1em;
  text-transform: none;
  font-size: 10.5px;
  line-height: 1.9;
}
.disclaimer {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(22, 35, 58, .7);
  font-size: 12.5px;
  line-height: 1.8;
  color: #4a5870;
  max-width: 1000px;
}
.disclaimer b { color: #6b7b95; font-weight: 500; }

/* ==========================================================================
   reveal on scroll
   ========================================================================== */
.rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.2, .8, .2, 1),
              transform .9s cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--dl, 0s);
}
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
}
/* ==========================================================================
   HERO — título centralizado + bio (foto à esquerda no desktop)
   ========================================================================== */
.hero {
  padding: clamp(104px, 13vh, 150px) 0 clamp(60px, 8vw, 90px);
  position: relative;
  overflow: hidden;
}
.hero-head {
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
}
.hero-head .kicker { justify-content: center; margin-bottom: clamp(18px, 2.4vw, 28px); }

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(46px, 8.4vw, 132px);
  line-height: .92;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 clamp(18px, 2.4vw, 26px);
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span {
  display: block;
  animation: riseIn 1.15s cubic-bezier(.16, 1, .3, 1) both;
}
.hero h1 .line.sm { font-size: .52em; line-height: 1.1; }
/* a primeira linha usa o mesmo gradiente, um pouco mais contida */
.hero h1 .line.sm .accent { filter: drop-shadow(0 0 22px rgba(0, 229, 255, .18)); opacity: .92; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line.big { font-size: 1.5em; }
.hero h1 .accent {
  font-style: normal;
  background: linear-gradient(96deg, #00e5ff 0%, #33b6ff 30%, var(--violet) 66%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 34px rgba(0, 229, 255, .26));
}
@keyframes riseIn {
  from { transform: translateY(105%) rotate(2deg); opacity: 0; }
  to   { transform: translateY(0) rotate(0); opacity: 1; }
}

.hero-sub {
  margin: 0 auto;
  max-width: 62ch;
  font-size: clamp(16.5px, 1.85vw, 21px);
  line-height: 1.66;
  color: var(--white);
  font-weight: 300;
  animation: fadeUp .9s .45s cubic-bezier(.2, .8, .2, 1) both;
}
.hero-sub b { color: #fff; font-weight: 500; box-shadow: inset 0 -.5em 0 rgba(0, 229, 255, .13); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- bio ---------- */
.bio {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(26px, 4.5vw, 64px);
  align-items: center;
  margin-top: clamp(46px, 6vw, 78px);
  text-align: left;
}
.bio-fig {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, .2);
  box-shadow: 0 50px 120px -60px rgba(0, 229, 255, .5);
}
.bio-fig img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%;
}
.bio-fig::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 7, 14, 0) 46%, rgba(5, 7, 14, .72) 100%);
}
.bio-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 100px;
  background: rgba(6, 10, 18, .82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 255, .32);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9fe9ff;
}
.bio-badge i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2.2s infinite;
}

.bio-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.bio-t {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 74px);
  line-height: .94;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 20px;
}
.bio-t .grad {
  background: linear-gradient(96deg, var(--cyan), var(--violet) 52%, var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bio-p {
  margin: 0;
  max-width: 54ch;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.8;
  color: var(--soft);
}
.bio-p b { color: var(--white); font-weight: 500; }

.bio-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3.4vw, 44px);
  list-style: none;
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(22, 35, 58, .95);
}
.bio-stats li { display: flex; flex-direction: column; gap: 5px; }
.bio-stats b {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1;
  color: var(--white);
  letter-spacing: .01em;
}
.bio-stats b small { font-size: .44em; color: var(--cyan); margin-left: 2px; letter-spacing: .04em; }
.bio-stats span {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
}
.bio-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* ---------- CURSOS ---------- */
.curso {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(26px, 4.4vw, 58px);
  align-items: center;
  margin-top: clamp(40px, 5vw, 62px);
  padding: clamp(20px, 3vw, 38px);
  border-radius: 22px;
  border: 1px solid rgba(22, 35, 58, .95);
  background:
    radial-gradient(circle at 8% 0%, rgba(139, 92, 246, .13), transparent 56%),
    radial-gradient(circle at 100% 100%, rgba(0, 229, 255, .07), transparent 58%),
    rgba(7, 12, 22, .72);
}
.curso-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, .26);
  box-shadow: 0 40px 90px -50px rgba(0, 229, 255, .6);
  transform: perspective(1100px) rotateY(4deg) rotateX(1.5deg);
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.curso:hover .curso-media { transform: perspective(1100px) rotateY(0) rotateX(0); }
.curso-media img {
  width: 100%;
  aspect-ratio: 900 / 1273;
  object-fit: cover;
}
.curso-tag {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 6px 10px;
  border-radius: 100px;
  background: rgba(6, 10, 18, .85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 176, 32, .45);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
}
.curso-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.curso-t {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 3.5vw, 46px);
  line-height: .98;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 18px;
}
.curso-t .grad {
  background: linear-gradient(96deg, var(--cyan), var(--violet) 54%, var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.curso-p {
  margin: 0;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--soft);
}
.curso-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.curso-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--grey);
}
.curso-list b { color: var(--white); font-weight: 500; }
.curso-list .ok {
  flex: none;
  width: 19px; height: 19px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #4ce3ae;
  background: rgba(0, 214, 143, .13);
  border: 1px solid rgba(0, 214, 143, .42);
}
.curso-cta { margin-top: 28px; }
.curso-cta .btn-note { margin-top: 14px; }

/* ---------- BLOG ---------- */
.blog-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(30px, 4vw, 48px);
}
.blog-head h2 { margin-bottom: 0; }
.blog-head-p {
  margin: 0 0 6px;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--grey);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.post {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(22, 35, 58, .95);
  background: var(--panel);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1),
              border-color .5s, box-shadow .5s;
}
.post:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, .36);
  box-shadow: 0 34px 80px -44px rgba(0, 229, 255, .55);
}
.post-media { display: block; overflow: hidden; }
.post-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid rgba(22, 35, 58, .9);
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.post:hover .post-media img { transform: scale(1.045); }
.post-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 22px;
}
.post-meta {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}
.post h3 {
  margin: 0 0 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.34;
  letter-spacing: -.01em;
  color: var(--white);
}
.post h3 a { transition: color .3s; }
.post:hover h3 a { color: #8ff6ff; }
.post p {
  margin: 0 0 20px;
  font-size: 13.8px;
  line-height: 1.68;
  color: var(--grey);
}
.post-btn {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid rgba(0, 229, 255, .3);
  background: rgba(0, 229, 255, .05);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9fe9ff;
  transition: background .3s, border-color .3s, transform .3s;
}
.post-btn svg { transition: transform .3s; }
.post:hover .post-btn {
  background: rgba(0, 229, 255, .11);
  border-color: rgba(0, 229, 255, .6);
}
.post:hover .post-btn svg { transform: translateX(3px); }

.blog-all { margin-top: clamp(34px, 4vw, 52px); text-align: center; }
.btn.big { --h: 68px; padding: 0 52px; font-size: 17px; letter-spacing: .04em; }

/* ---------- REDES ---------- */
.socials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 980px;
  margin: clamp(34px, 4vw, 52px) auto 0;
}
.social {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: clamp(24px, 3vw, 34px) clamp(22px, 3vw, 32px);
  border-radius: 18px;
  border: 1px solid rgba(22, 35, 58, .95);
  background: var(--panel);
  overflow: hidden;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1),
              border-color .45s, box-shadow .45s;
}
.social::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s;
  pointer-events: none;
}
.social.ig::before { background: radial-gradient(circle at 0% 100%, rgba(255, 46, 136, .16), transparent 62%); }
.social.yt::before { background: radial-gradient(circle at 0% 100%, rgba(255, 46, 70, .14), transparent 62%); }
.social:hover { transform: translateY(-4px); border-color: rgba(0, 229, 255, .38); }
.social:hover::before { opacity: 1; }
.social:hover { box-shadow: 0 32px 76px -46px rgba(0, 229, 255, .6); }

.social-ic {
  position: relative;
  z-index: 2;
  flex: none;
  width: clamp(58px, 5vw, 68px); height: clamp(58px, 5vw, 68px);
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .035);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s, border-color .45s;
}
.social-ic svg { width: 34px; height: 34px; }
.social.ig .social-ic { color: #ff5a9c; }
.social.yt .social-ic { color: #ff5a6e; }
.social:hover .social-ic { transform: scale(1.06) rotate(-3deg); }
.social.ig:hover .social-ic { border-color: rgba(255, 90, 156, .5); box-shadow: 0 0 34px -6px rgba(255, 46, 136, .55); }
.social.yt:hover .social-ic { border-color: rgba(255, 90, 110, .5); box-shadow: 0 0 34px -6px rgba(255, 46, 70, .5); }

.social-tx { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.social-tx b {
  font-family: var(--body);
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -.01em;
}
.social-n {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--cyan);
}
.social-h {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--dim);
  overflow: hidden;
  text-overflow: ellipsis;
}
.social-go {
  position: relative;
  z-index: 2;
  margin-left: auto;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(22, 35, 58, 1);
  color: var(--dim);
  transition: color .35s, border-color .35s, transform .35s;
}
.social-go svg { width: 16px; height: 16px; }
.social:hover .social-go { color: var(--white); border-color: rgba(0, 229, 255, .5); transform: translate(2px, -2px); }

/* ---------- footer específico ---------- */
/* 3 blocos não devem se espalhar até as pontas: alinha com folga controlada */
.foot-grid { gap: clamp(28px, 5vw, 68px); justify-content: flex-start; }
.foot-brand { margin-right: auto; }
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.foot-col a { transition: color .25s; }
.foot-col a:hover { color: var(--white); }
.foot-h {
  display: block;
  margin-bottom: 3px;
  font-size: 9px;
  letter-spacing: .22em;
  color: #47566f;
}
.foot-social {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-left: auto;
}
.foot-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(22, 35, 58, .95);
  background: rgba(255, 255, 255, .015);
  color: #7d8ca6;
  transition: color .3s, border-color .3s, transform .3s, box-shadow .3s;
}
.foot-social svg { width: 17px; height: 17px; }
.foot-social a:hover {
  color: var(--cyan);
  border-color: rgba(0, 229, 255, .45);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -16px rgba(0, 229, 255, .7);
}

/* ---------- blog dinâmico ---------- */
.blog-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 34px 20px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  border: 1px dashed rgba(22, 35, 58, .95);
  border-radius: 16px;
}
.post-media.ph {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid rgba(22, 35, 58, .9);
  background:
    radial-gradient(circle at 28% 18%, rgba(0, 229, 255, .22), transparent 58%),
    radial-gradient(circle at 78% 82%, rgba(140, 80, 255, .2), transparent 60%),
    linear-gradient(150deg, #0a1120, #060a12);
}
.post-media.ph span {
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: linear-gradient(100deg, var(--cyan), var(--violet) 62%, var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.post-meta .lock { color: #ffbe3d; }

/* ==========================================================================
   responsivo
   ========================================================================== */
@media (max-width: 1000px) {
  .bio { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .bio-fig { max-width: 340px; margin: 0 auto; }
  .bio { text-align: center; }
  .bio-p { margin-left: auto; margin-right: auto; }
  .bio-stats { justify-content: center; }
  .bio-cta { justify-content: center; }
  .bio-kicker { text-align: center; }
  .curso { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .curso-media { max-width: 300px; margin: 0 auto; transform: none; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post:last-child { grid-column: 1 / -1; }
  .post:last-child .post-media img { aspect-ratio: 21 / 9; }
}

@media (max-width: 760px) {
  .hero h1 { font-size: clamp(38px, 12vw, 74px); }
  .blog-head { align-items: flex-start; }
  .blog-head-p { font-size: 14.5px; }
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .post:last-child .post-media img { aspect-ratio: 16 / 9; }
  .socials { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { flex-direction: column; gap: 26px; }
  .foot-brand { margin-right: 0; }
  .foot-social { order: 3; margin-left: 0; }
  .foot-col { order: 2; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(34px, 13vw, 56px); }
  .hero h1 .line.big { font-size: 1.32em; }
  .hero-sub { font-size: 15.5px; }
  .bio-cta .btn { width: 100%; }
  .btn.big { --h: 60px; padding: 0 32px; font-size: 15px; width: 100%; max-width: 340px; }
  .curso { padding: 18px 16px 22px; }
  .post-body { padding: 17px 16px 19px; }
  .social { padding: 18px 16px; gap: 14px; }
  .social-ic { width: 46px; height: 46px; border-radius: 13px; }
  .social-ic svg { width: 22px; height: 22px; }
  .social-tx b { font-size: 15.5px; }
  .social-h { font-size: 9px; }
  .brand-tx { font-size: 9.5px; letter-spacing: .16em; }
}


/* ==========================================================================
   ajustes finais de mobile
   ========================================================================== */
.nav-mobile { display: none; }

@media (max-width: 560px) {
  /* menu compacto em linha, abaixo da marca */
  .nav-mobile {
    /* rola junto com a página em vez de ficar fixo cobrindo o conteúdo */
    position: absolute;
    top: 58px; left: 0; right: 0;
    z-index: 79;
    display: flex;
    justify-content: center;
    gap: 22px;
    padding: 9px 14px;
    background: rgba(5, 7, 14, .86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(22, 35, 58, .8);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--dim);
  }
  .nav-mobile a { transition: color .25s; }
  .nav-mobile a:hover { color: var(--white); }

  /* espaço do menu extra no topo */
  .hero { padding-top: 128px; }

  /* a foto em 4:5 ocupava quase a tela inteira */
  .bio-fig { max-width: 100%; }
  .bio-fig img { aspect-ratio: 1 / 1; object-position: 50% 18%; }

  /* kicker mais curto, sem quebrar em 2 linhas */
  .hero-head .kicker { font-size: 9px; letter-spacing: .16em; }
}

/* ==========================================================================
   FOOTER PADRÃO — Tiago Bastos
   Usado em tiagobastos.site, blog., maquina., formula. e login.
   Não altere aqui sem replicar nos outros projetos.
   ========================================================================== */
.tb-footer {
  border-top: 1px solid rgba(22, 35, 58, .9);
  padding: 46px 0 40px;
  background: rgba(4, 6, 12, .8);
  position: relative;
  z-index: 2;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.tb-footer .wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}
.tb-footer .foot-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
}
.tb-footer .foot-brand {
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #00e5ff;
  max-width: 340px;
  line-height: 1.9;
  margin-right: auto;
}
.tb-footer .foot-brand .sm {
  display: block;
  margin-top: 12px;
  color: #5f6e86;
  letter-spacing: .1em;
  text-transform: none;
  font-size: 10.5px;
  line-height: 1.9;
}
.tb-footer .foot-right {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 1.8vw, 22px);
  margin-left: auto;
}
.tb-footer .foot-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #5f6e86;
}
.tb-footer .foot-col a {
  color: #5f6e86;
  transition: color .25s;
}
.tb-footer .foot-col a:hover { color: #f4f8ff; }
.tb-footer .foot-h {
  display: block;
  margin-bottom: 3px;
  font-size: 9px;
  letter-spacing: .22em;
  color: #47566f;
}
.tb-footer .foot-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 0;
  align-self: flex-start;
}
.tb-footer .foot-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(22, 35, 58, .95);
  background: rgba(255, 255, 255, .015);
  color: #7d8ca6;
  transition: color .3s, border-color .3s, transform .3s, box-shadow .3s;
}
.tb-footer .foot-social svg { width: 17px; height: 17px; }
.tb-footer .foot-social a:hover {
  color: #00e5ff;
  border-color: rgba(0, 229, 255, .45);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -16px rgba(0, 229, 255, .7);
}
.tb-footer .disclaimer {
  margin: 34px 0 0;
  padding-top: 26px;
  border-top: 1px solid rgba(22, 35, 58, .7);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.8;
  color: #4a5870;
  max-width: 1000px;
}
.tb-footer .disclaimer b { color: #6b7b95; font-weight: 500; }

@media (max-width: 760px) {
  .tb-footer { padding: 38px 0 34px; }
  .tb-footer .wrap { padding: 0 16px; }
  .tb-footer .foot-grid { flex-direction: column; gap: 26px; }
  .tb-footer .foot-brand { margin-right: 0; max-width: none; }
  .tb-footer .foot-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-left: 0;
    width: 100%;
  }
}
