/* Site de passo a passo de skills — visual e animações (curvas e tempos da referência Human Academy). */
@font-face { font-family: "Halenoir"; src: url("../fontes/Halenoir-Bold.otf") format("opentype"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Halenoir"; src: url("../fontes/Halenoir-Black.otf") format("opentype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Halenoir Black"; src: url("../fontes/Halenoir-Black.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "Halenoir Text"; src: url("../fontes/HalenoirText-Regular.otf") format("opentype"); font-weight: 300 450; font-display: swap; }
@font-face { font-family: "Halenoir Text"; src: url("../fontes/HalenoirText-Medium.otf") format("opentype"); font-weight: 451 599; font-display: swap; }
@font-face { font-family: "Halenoir Text"; src: url("../fontes/HalenoirText-Bold.otf") format("opentype"); font-weight: 600 900; font-display: swap; }
@font-face { font-family: "Halenoir Expanded"; src: url("../fontes/HalenoirExpanded-Bold.otf") format("opentype"); font-display: swap; }

:root {
  --fundo: #07090C; --fundoHero: #0A1220; --painel: #131518; --codigo: #0C0E11; --borda: #262A30;
  --texto: #F2F4F5; --suave: #9AA3AB; --principal: #00C3D0; --textoPrincipal: #041416;
  --azul: #3F77EE; --lavanda: #B9B2F0; --agua: #8FD6E0; --botaoClaro: #F2F4F1; --aviso: #00C3D0;
  --principal-12: rgba(0,195,208,.12); --principal-25: rgba(0,195,208,.28); --aviso-10: rgba(0,195,208,.08); --aviso-30: rgba(0,195,208,.3);
  --f-titulo: "Halenoir", "Helvetica Neue", Arial, sans-serif;
  --f-texto: "Halenoir Text", "Helvetica Neue", Arial, sans-serif;
  --f-rotulo: "Halenoir Expanded", "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 3.2vw, 62px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fundo); color: var(--texto); font-family: var(--f-texto); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.hl { color: var(--principal); }
::selection { background: var(--principal); color: var(--textoPrincipal); }

/* ---------- animações (keyframes copiadas da referência) ---------- */
@keyframes mdb-sobe { 0% { opacity: 0; transform: translateY(14px); } }
@keyframes mdm-palavra-entra { 0% { opacity: 0; letter-spacing: .04em; } }
@keyframes mdm-trio-entra { 0% { opacity: 0; transform: translateY(2.2rem) scale(.96); } }
@keyframes black-deriva-a { 0% { transform: translate(-6%, 4%) scale(.96); } to { transform: translate(8%, -6%) scale(1.1); } }
@keyframes black-deriva-b { 0% { transform: translate(5%, -8%) scale(1.08); } to { transform: translate(-7%, 9%) scale(.95); } }
@keyframes black-reflexo { 0%, 55% { background-position: 140% 0; } to { background-position: -60% 0; } }
@keyframes black-pulso { 0% { box-shadow: 0 0 0 0 var(--principal-25); } to { box-shadow: 0 0 0 11px rgba(0,0,0,0); } }
@keyframes mdb-pulso { 0% { box-shadow: inset 0 1px rgba(255,255,255,.45), 0 .9rem 2.6rem -.6rem var(--principal-25), 0 0 0 0 var(--principal-25); } to { box-shadow: inset 0 1px rgba(255,255,255,.45), 0 .9rem 2.6rem -.6rem var(--principal-25), 0 0 0 16px rgba(0,0,0,0); } }
@keyframes black-feed-pulso { 0% { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(1.08, 1.2); } }
@keyframes mdb-aurora-respira { 0% { transform: translate(-50%, -50%) scale(1) rotate(-4deg); } to { transform: translate(-50%, -50%) scale(1.12) rotate(5deg); } }
@keyframes seta-flutua { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* ---------- topo ---------- */
.topo { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(22px, 3.4vw, 45px) var(--gutter) 0; animation: mdb-sobe .6s var(--ease) both; }
.topo-perfil { font-family: var(--f-rotulo); font-size: clamp(11px, 1vw, 15px); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.topo-btn { display: inline-flex; align-items: center; min-height: clamp(42px, 3.4vw, 64px); padding: 0 clamp(18px, 1.4vw, 26px); border: 1.5px solid rgba(255,255,255,.28); border-radius: 999px; font-family: var(--f-rotulo); font-size: clamp(11px, .95vw, 15px); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.topo-btn:hover { background: var(--botaoClaro); color: #0A0B0C; border-color: var(--botaoClaro); }

/* ---------- dobra 1 ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(96px, 10vw, 150px) var(--gutter) clamp(96px, 8vw, 130px); background: radial-gradient(120% 90% at 10% 0%, var(--fundoHero) 0%, transparent 60%), linear-gradient(180deg, color-mix(in srgb, var(--fundoHero) 60%, var(--fundo)) 0%, var(--fundo) 100%); }
.luzes { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.luzes span { position: absolute; border-radius: 50%; will-change: transform; }
.luzes span:nth-child(1) { background: radial-gradient(closest-side, color-mix(in srgb, var(--azul) 34%, transparent), transparent); width: 62%; height: 100%; top: -18%; left: 30%; animation: black-deriva-a 9s ease-in-out infinite alternate; }
.luzes span:nth-child(2) { background: radial-gradient(closest-side, color-mix(in srgb, var(--lavanda) 16%, transparent), transparent); width: 54%; height: 88%; bottom: -40%; left: -14%; animation: black-deriva-b 11s ease-in-out infinite alternate; }
.luzes span:nth-child(3) { background: radial-gradient(closest-side, color-mix(in srgb, var(--agua) 14%, transparent), transparent); width: 44%; height: 76%; top: -30%; right: -6%; animation: black-deriva-a 14s ease-in-out infinite alternate-reverse; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, transparent 70%, var(--fundo)); }

.hero-grade { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(32px, 6vw, 120px); width: 100%; max-width: 1900px; margin: 0 auto; }
.lado-direita .hero-post { order: 2; justify-self: end; }
.hero-post { justify-self: start; width: 100%; max-width: clamp(240px, 24.5vw, 490px); animation: mdm-trio-entra 1s var(--ease) .12s both; }
.post { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: clamp(8px, .6vw, 12px); overflow: hidden; background: #11161E; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -30px rgba(0,0,0,.8); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 50px 90px -30px rgba(0,0,0,.85); }
.post > img, .post > video { width: 100%; height: 100%; object-fit: cover; }
.post-vazio { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; color: rgba(255,255,255,.55); font-size: 14px; background: radial-gradient(80% 60% at 50% 30%, color-mix(in srgb, var(--azul) 30%, transparent), transparent), linear-gradient(160deg, #1A2230, #0B0F15); }
.post-vazio svg { width: 44px; height: 44px; }
.post-selo { position: absolute; left: clamp(12px, 4.5%, 24px); bottom: clamp(12px, 2.6%, 22px); display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 14px; border-radius: 999px; background: rgba(28,28,30,.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.post-selo i { display: grid; width: 26px; height: 26px; }
.post-selo i svg { width: 26px; height: 26px; }
.post-selo > span { display: grid; line-height: 1.15; }
.post-selo b { font-family: var(--f-rotulo); font-size: clamp(11px, .85vw, 16px); letter-spacing: .1em; font-weight: 700; }
.post-selo small { font-size: clamp(11px, .75vw, 14px); color: rgba(255,255,255,.75); }

.hero-texto { min-width: 0; }
.selo { margin: 0 0 clamp(14px, 1.4vw, 26px); font-family: var(--f-rotulo); font-size: clamp(11px, .95vw, 18px); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--principal); }
.titulo { margin: 0; font-family: var(--f-titulo); font-weight: 700; font-size: clamp(44px, 6.4vw, 132px); line-height: .94; letter-spacing: -.045em; text-wrap: balance; }
.titulo .pw { display: inline-block; animation: mdm-palavra-entra 1.3s var(--ease) both; animation-delay: calc(.18s + var(--i) * .06s); }
.hero-p { margin: clamp(18px, 2vw, 36px) 0 0; max-width: 46ch; font-size: clamp(16px, 1.55vw, 31px); line-height: 1.45; color: color-mix(in srgb, var(--texto) 82%, transparent); }
.hero-btns { display: flex; flex-wrap: wrap; gap: clamp(10px, 1.1vw, 20px); margin-top: clamp(24px, 2.8vw, 52px); }
.hero-btn-wrap { display: contents; }
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: clamp(50px, 4vw, 80px); padding: 0 clamp(22px, 1.7vw, 34px); border-radius: 999px; font-family: var(--f-titulo); font-weight: 700; font-size: clamp(15px, 1.4vw, 28px); letter-spacing: -.01em; transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn-claro { background: var(--botaoClaro); color: #0A0B0C; box-shadow: inset 0 1px rgba(255,255,255,.45), 0 12px 32px -12px rgba(0,0,0,.6); }
.btn-claro::before, .btn-principal::before, .cta-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 28%, color-mix(in srgb, var(--lavanda) 70%, transparent) 44%, rgba(255,255,255,.8) 52%, color-mix(in srgb, var(--agua) 55%, transparent) 60%, transparent 74%) 140% 0 / 260% 100%; animation: black-reflexo 3.6s ease-in-out .9s infinite; }
.btn-claro::before { mix-blend-mode: multiply; opacity: .55; }
.btn-principal { background: var(--principal); color: var(--textoPrincipal); }
.btn-contorno { border: 1.5px solid rgba(255,255,255,.3); color: var(--texto); }
.btn-contorno:hover { border-color: var(--texto); background: rgba(255,255,255,.06); }
.fluxo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px clamp(12px, 1.1vw, 22px); margin-top: clamp(22px, 2.6vw, 50px); font-family: var(--f-rotulo); font-size: clamp(11px, .95vw, 18px); font-weight: 700; letter-spacing: .1em; color: color-mix(in srgb, var(--texto) 62%, transparent); }
.fluxo-seta { font-style: normal; color: var(--principal); font-size: 1.2em; letter-spacing: 0; }
.a1, .a2, .a3, .a4 { animation: mdb-sobe .6s var(--ease) both; }
.a1 { animation-delay: .1s; } .a2 { animation-delay: .5s; } .a3 { animation-delay: .62s; } .a4 { animation-delay: .74s; }
.hero-seta { position: absolute; left: 50%; bottom: clamp(16px, 2vw, 28px); display: grid; place-items: center; width: clamp(54px, 3.8vw, 76px); height: clamp(54px, 3.8vw, 76px); border-radius: 50%; border: 1.5px solid rgba(255,255,255,.28); color: var(--texto); transform: translateX(-50%); animation: seta-flutua 2.6s ease-in-out 1.4s infinite; transition: background .25s, border-color .25s; }
.hero-seta:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }
.hero-seta svg { width: 40%; height: 40%; }

/* ---------- seções ---------- */
.caixa { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }
.skills { padding: clamp(56px, 7vw, 110px) 0 clamp(40px, 5vw, 70px); scroll-margin-top: 10px; }
.sec-titulo { margin: 0; font-family: var(--f-titulo); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; }
.sk-conta { color: var(--principal); }
.sec-sub { margin: 8px 0 0; color: var(--suave); font-size: clamp(14px, 1.1vw, 16px); }
.sk-lista { display: grid; gap: 14px; margin-top: clamp(20px, 2.4vw, 30px); }

.rev { opacity: 0; transform: translateY(14px); }
.rev.vis { opacity: 1; transform: none; animation: mdb-sobe .6s var(--ease) both; }
.sk-lista .rev.vis { animation-duration: .7s; }

.sk-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 14px; padding: clamp(16px, 2vw, 22px) clamp(16px, 2.2vw, 24px) clamp(18px, 2.2vw, 24px); background: var(--painel); border: 1px solid var(--borda); border-radius: 14px; transition: border-color .35s var(--ease), transform .35s var(--ease); }
.sk-card:hover { border-color: color-mix(in srgb, var(--principal) 35%, var(--borda)); }
.sk-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--principal); color: var(--textoPrincipal); font-family: var(--f-titulo); font-weight: 700; font-size: 14px; margin-top: 1px; }
.sk-corpo { min-width: 0; }
.sk-cab { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-height: 30px; }
.sk-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: #fff; color: #0B0C0E; }
.sk-ico:empty { display: none; }
.sk-ico svg { width: 17px; height: 17px; }
.sk-nome { margin: 0; font-family: var(--f-titulo); font-weight: 700; font-size: clamp(16px, 1.3vw, 18px); letter-spacing: -.01em; }
.sk-tag { display: inline-block; padding: 4px 9px; border-radius: 6px; background: var(--principal-12); color: var(--principal); font-family: var(--f-rotulo); font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; line-height: 1.3; }
.sk-desc { margin: 8px 0 0; color: var(--suave); font-size: 14.5px; line-height: 1.6; }
.sk-img { margin: 16px 0 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--borda); background: var(--codigo); }
.sk-img img, .sk-img video { width: 100%; height: auto; }
.sk-precisa { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 16px; font-size: 13px; color: var(--suave); }
.sk-precisa b { color: var(--texto); font-weight: 600; }
.sk-rot { margin: 18px 0 8px; font-family: var(--f-rotulo); font-size: 11px; font-weight: 700; letter-spacing: .09em; color: var(--principal); text-transform: uppercase; }
.sk-cod { position: relative; padding: 46px 18px 20px; background: var(--codigo); border: 1px solid var(--borda); border-radius: 10px; }
.sk-cod pre { margin: 0; font-family: var(--f-mono); font-size: 13.5px; line-height: 1.75; color: var(--texto); white-space: pre-wrap; word-break: break-word; }
.sk-copiar { position: absolute; top: 10px; right: 10px; padding: 5px 11px; border: 0; border-radius: 6px; background: #2A2D33; color: #E6E8EA; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.sk-copiar:hover { background: #363A41; }
.sk-copiar.ok { background: var(--principal); color: var(--textoPrincipal); }
.sk-depois { display: flex; gap: 14px; margin-top: 12px; padding: 12px 16px; border: 1px solid var(--borda); border-radius: 8px; background: var(--codigo); font-size: 12.5px; }
.sk-depois b { flex: none; font-weight: 600; color: var(--texto); font-family: var(--f-texto); }
.sk-depois span { font-family: var(--f-mono); color: var(--suave); line-height: 1.6; }
.sk-atencao { margin-top: 12px; padding: 12px 16px; border: 1px solid var(--aviso-30); border-radius: 8px; background: var(--aviso-10); font-size: 12.5px; line-height: 1.6; color: color-mix(in srgb, var(--texto) 78%, transparent); }
.sk-atencao b { color: var(--aviso); font-weight: 600; margin-right: 4px; }
.sk-btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; min-height: 44px; padding: 0 18px 0 14px; border-radius: 8px; background: var(--principal); color: var(--textoPrincipal); font-weight: 600; font-size: 14px; transition: transform .25s var(--ease), filter .25s; }
.sk-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.sk-btn i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: #fff; color: #0B0C0E; }
.sk-btn i svg { width: 14px; height: 14px; }
.sk-btn i.sk-seta { background: none; color: inherit; width: 16px; transition: transform .25s var(--ease); }
.sk-btn i.sk-seta svg { width: 16px; height: 16px; }
.sk-btn:hover i.sk-seta { transform: translateX(3px); }

/* ---------- dica + CTA final ---------- */
.final { padding: clamp(30px, 4vw, 60px) 0 clamp(50px, 6vw, 90px); }
.final .caixa { max-width: 1240px; }
.dica-t { margin: 0; font-family: var(--f-titulo); font-weight: 700; font-size: clamp(24px, 2.3vw, 34px); letter-spacing: -.02em; color: var(--principal); }
.dica-p { margin: 14px 0 0; font-size: clamp(16px, 1.6vw, 21px); line-height: 1.7; color: var(--suave); }
.cta { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: clamp(30px, 3.6vw, 50px); padding: clamp(40px, 5.5vw, 80px) clamp(20px, 5vw, 80px); border: 1px solid var(--borda); border-radius: 22px; background: var(--painel); }
.cta-luz { position: absolute; z-index: -1; left: 50%; top: 0; width: 80%; height: 120%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--principal) 10%, transparent), transparent); animation: mdb-aurora-respira 9s ease-in-out infinite alternate; pointer-events: none; }
.cta-foto { position: relative; display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 20px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--fundo), 0 0 0 4px var(--principal); }
.cta-foto img, .cta-foto video { width: 100%; height: 100%; object-fit: cover; }
.cta-foto.vazio { background: var(--codigo); color: var(--suave); gap: 0; }
.cta-foto.vazio svg { width: 24px; height: 24px; }
.cta-foto.vazio small { font-size: 10px; }
.cta-selo { display: inline-block; padding: 10px 24px; border-radius: 999px; background: var(--principal-12); color: var(--principal); font-size: clamp(14px, 1.4vw, 19px); font-weight: 500; }
.cta-t { margin: clamp(22px, 3vw, 40px) 0 0; max-width: 21ch; font-family: var(--f-titulo); font-weight: 700; font-size: clamp(28px, 4vw, 52px); line-height: 1.18; letter-spacing: -.025em; text-wrap: balance; }
.cta-p { margin: clamp(16px, 2.2vw, 28px) 0 0; max-width: 46ch; font-size: clamp(16px, 1.7vw, 22px); line-height: 1.65; color: var(--suave); }
.cta-btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; margin-top: clamp(26px, 3.4vw, 44px); min-height: clamp(56px, 5.6vw, 76px); padding: 0 clamp(28px, 3.2vw, 48px); border-radius: 16px; background: var(--principal); color: var(--textoPrincipal); font-family: var(--f-titulo); font-weight: 700; font-size: clamp(16px, 1.75vw, 24px); animation: mdb-pulso 2.8s ease-out 1.5s infinite; transition: transform .3s var(--ease), filter .3s; }
.cta-btn::before { opacity: .65; }
.cta-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.cta-btn i { display: grid; width: 1.15em; height: 1.15em; }
.cta-btn i svg { width: 100%; height: 100%; }
.rodape { padding: 26px var(--gutter) 36px; text-align: center; font-size: 13px; color: color-mix(in srgb, var(--suave) 75%, transparent); border-top: 1px solid var(--borda); }
.rodape p { margin: 0; }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .hero { justify-content: flex-start; padding-top: 96px; padding-bottom: 104px; }
  .hero-grade { grid-template-columns: 1fr; gap: 34px; }
  .hero-texto { order: 1; }
  .hero-post, .lado-direita .hero-post { order: 2; justify-self: center; max-width: min(340px, 78vw); }
  .titulo { font-size: clamp(42px, 11.5vw, 84px); }
  .hero-p { font-size: clamp(16px, 4.2vw, 21px); }
}
@media (max-width: 560px) {
  .topo-btn { min-height: 38px; padding: 0 16px; }
  .hero-btns .btn { flex: 1 1 auto; min-height: 52px; }
  .fluxo { gap: 8px 10px; font-size: 11px; letter-spacing: .08em; }
  .sk-card { grid-template-columns: 1fr; gap: 12px; }
  .sk-num { width: 26px; height: 26px; font-size: 13px; }
  .sk-depois { flex-direction: column; gap: 4px; }
  .sk-cod { padding: 44px 14px 16px; }
  .sk-cod pre { font-size: 12.5px; }
  .cta { border-radius: 18px; }
  .cta-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rev { opacity: 1; transform: none; }
}
