/* Topo novo da home (04/12/2026): "Conheça o [HAB] have a band" na fonte da marca, frase de SEO no selo
   dentro do h1, as três partes em frases curtas com ícone e a foto da aula como palco embaixo.
   Desenho pensado em conjunto por design, UX e texto. */
@font-face{font-family:Chakra;src:url("/assets/fonts/chakra-latin.woff2") format("woff2");font-weight:300 700;font-display:swap}
@font-face{font-family:Outfit;src:url("/assets/fonts/outfit-latin.woff2") format("woff2");font-weight:100 900;font-display:swap}

 .hb{
  --hb-fundo:#1F2029;
  --hb-grafite:#242631;
  --hb-tx:#F4F3F8;
  --hb-tx2:#B9BBC9;
  --hb-tx3:#8E91A3;
  --hb-ouro:#E8B352;
  --hb-ouro-forte:#F2C46B;
  --hb-vermelho:#F25C4C;
  --hb-linha:rgba(244,243,248,.12);
  --hb-gutter:clamp(16px,4vw,48px);
}
.hb,.hb *{box-sizing:border-box}

/* ---------- palco ---------- */
.hb{position:relative;isolation:isolate;overflow:hidden;background:var(--hb-fundo);color:var(--hb-tx);font-family:Outfit,system-ui,sans-serif;font-size:16px;line-height:1.4;letter-spacing:0;padding:clamp(40px,5vw,120px) var(--hb-gutter) 0;text-align:center}

/* luz de palco: refletor quente vindo de cima, sem roxo */
.hb-luz{position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(60% 46% at 50% -6%,rgba(232,179,82,.20),rgba(232,179,82,.06) 45%,transparent 70%),
    radial-gradient(40% 30% at 50% 78%,rgba(232,179,82,.10),transparent 70%),
    linear-gradient(180deg,#22232D 0%,var(--hb-fundo) 40%,var(--hb-fundo) 100%)}
.hb-luz::after{content:"";position:absolute;left:50%;top:-10%;width:min(1100px,120vw);height:80%;transform:translateX(-50%);
  background:conic-gradient(from 180deg at 50% 0%,transparent 160deg,rgba(244,229,196,.07) 172deg,rgba(244,229,196,.11) 180deg,rgba(244,229,196,.07) 188deg,transparent 200deg);
  -webkit-mask:linear-gradient(180deg,#000 10%,transparent 85%);mask:linear-gradient(180deg,#000 10%,transparent 85%)}

.hb-copy{position:relative;max-width:1180px;margin:0 auto}

/* ---------- h1: selo + título ---------- */
.hb-h1{margin:0;line-height:1;letter-spacing:0;display:flex;flex-direction:column;align-items:center;gap:clamp(20px,2.4vw,34px);font-weight:inherit}

.hb-selo{display:inline-flex;align-items:center;gap:10px;padding:8px 16px 8px 10px;border-radius:999px;
  border:1px solid rgba(232,179,82,.28);background:rgba(36,38,49,.72);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 8px 28px rgba(0,0,0,.25);
  font:500 clamp(.9rem,.85rem + .2vw,1.02rem)/1.3 Outfit,sans-serif;letter-spacing:.005em;color:var(--hb-tx)}
.hb-selo-nota{flex:none;width:22px;height:22px;border-radius:50%;border:2px solid var(--hb-ouro);display:grid;place-items:center}
.hb-selo-nota::after{content:"";width:6px;height:6px;border-radius:1px;background:var(--hb-vermelho)}

.hb-titulo{position:relative;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;column-gap:.26em;row-gap:.02em;
  font-size:clamp(2.35rem,6.9vw,9.4rem);line-height:1;padding:.12em 0}
/* pentagrama atrás do título: cinco linhas que somem nas bordas */
.hb-titulo::before{content:"";position:absolute;z-index:-1;left:50%;top:50%;width:100vw;height:.92em;transform:translate(-50%,-50%);
  background:repeating-linear-gradient(180deg,rgba(244,243,248,.075) 0 1px,transparent 1px 25%);background-size:100% 100%;
  -webkit-mask:linear-gradient(90deg,transparent 4%,#000 30%,#000 70%,transparent 96%);mask:linear-gradient(90deg,transparent 4%,#000 30%,#000 70%,transparent 96%)}
.hb-conheca{font-family:Chakra,Outfit,sans-serif;font-weight:500;letter-spacing:-.05em;color:var(--hb-tx2)}
.hb-marca{display:inline-flex;align-items:center;gap:.14em;white-space:nowrap}
.hb-mark{width:.92em;height:.92em;display:block;flex:none;filter:drop-shadow(0 .06em .18em rgba(232,179,82,.28));animation:hb-gira 1.4s cubic-bezier(.2,.8,.2,1) both}
.hb-wordmark{font-family:Chakra,Outfit,sans-serif;font-weight:700;letter-spacing:-.05em;color:var(--hb-tx);padding-right:.04em}
@keyframes hb-gira{from{transform:rotate(-120deg) scale(.7);opacity:0}to{transform:none;opacity:1}}

/* ---------- frase e texto ---------- */
.hb-lead{margin:clamp(18px,2vw,30px) auto 0;max-width:30ch;font-size:clamp(1.35rem,1rem + 1.5vw,2.35rem);line-height:1.18;font-weight:600;letter-spacing:-.02em;color:var(--hb-tx);text-wrap:balance}
.hb-lead-2{color:var(--hb-tx2);font-weight:400}

.hb-texto{margin:clamp(28px,2.8vw,44px) auto 0;max-width:52rem;font-size:clamp(1rem,.94rem + .3vw,1.2rem);line-height:1.75;color:var(--hb-tx3);text-wrap:pretty}
.hb-frase{display:block}
.hb-frase+.hb-frase{margin-top:.15em}
.hb-texto b{font-weight:600;color:var(--hb-tx)}
.hb-item{white-space:nowrap}
.hb-ic{width:1.2em;height:1.2em;vertical-align:-.24em;margin-right:.3em;overflow:visible}
.hb-ic .ic-base{fill:rgba(244,243,248,.08);stroke:var(--hb-tx2);stroke-width:1.5;stroke-linejoin:round}
.hb-ic .ic-traco{fill:none;stroke:var(--hb-tx2);stroke-width:1.5;stroke-linecap:round}
.hb-ic .ic-ouro{fill:var(--hb-ouro)}
.hb-ic .ic-ouro-traco{fill:none;stroke:var(--hb-ouro);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* ---------- botões ---------- */
.hb-ctas{margin-top:clamp(22px,2.2vw,32px);display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.hb-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 28px;border-radius:999px;font:600 1.02rem/1 Outfit,sans-serif;text-decoration:none;transition:transform .15s ease,background-color .15s ease,border-color .15s ease}
.hb-btn:focus-visible{outline:2px solid var(--hb-ouro);outline-offset:3px}
.hb-btn-ouro{background:linear-gradient(180deg,var(--hb-ouro-forte),var(--hb-ouro));color:#241A08;box-shadow:0 10px 30px rgba(232,179,82,.25),inset 0 1px 0 rgba(255,255,255,.35)}
.hb-btn-ouro:hover{transform:translateY(-1px)}
.hb-btn-linha{color:var(--hb-tx);border:1px solid rgba(244,243,248,.22);background:rgba(36,38,49,.6)}
.hb-btn-linha:hover{border-color:rgba(232,179,82,.6)}
.hb-btn-linha svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ---------- a foto da aula é o fundo do topo (Fabio, 04/12: "a foto abaixo ser o bg dela, sem prejudicar a leitura") ----------
   Película grafite mais densa no centro, onde fica o texto, e mais leve nas bordas, onde aparecem os músicos. */
.hb{padding-bottom:clamp(72px,7vw,140px)}
.hb-palco{position:absolute;inset:0;z-index:-2;margin:0;overflow:hidden}
.hb-palco picture,.hb-palco img{display:block;width:100%;height:100%}
.hb-palco img{object-fit:cover;object-position:50% 30%;filter:saturate(.9)}
/* o terço esquerdo da foto é parede escura (feita para o topo antigo, com texto à esquerda): a foto cresce
   para a direita e a parede sai do quadro, então a banda ocupa a largura toda (Fabio: "parece q ta pela metade") */
/* a caixa da foto tem 145% da largura e começa 45% para fora: some exatamente o terço escuro (31% da foto) em
   qualquer tela larga; em tela mais estreita a foto ancora na direita, e o corte cai na parede (Fabio, 06/12/2026) */
@media (min-width:701px){.hb-palco img{width:145%;max-width:none;margin-left:-45%;object-position:100% 8%}}
.hb-palco::after{content:"";position:absolute;inset:0;pointer-events:none;background:
  radial-gradient(ellipse 58% 62% at 50% 46%,rgba(31,32,41,.9) 0%,rgba(31,32,41,.78) 48%,rgba(31,32,41,.5) 100%),
  linear-gradient(180deg,rgba(31,32,41,.55) 0%,rgba(31,32,41,0) 22%,rgba(31,32,41,0) 72%,var(--hb-fundo) 100%)}
.hb-luz{z-index:-1;opacity:.8;background:radial-gradient(60% 46% at 50% -6%,rgba(232,179,82,.22),rgba(232,179,82,.06) 45%,transparent 70%)}
.hb-texto{color:#C3C5D2}
.hb-lead-2{color:#CDCFDB}
.hb-titulo::before{opacity:.6}

/* telas grandes: o título respira, a foto acompanha */
@media (min-width:1920px){
  .hb-copy{max-width:1880px}
  .hb-titulo{font-size:clamp(8rem,6.4vw,10.5rem)}
  .hb-lead{font-size:2.7rem}
  .hb-texto{font-size:1.36rem;max-width:64rem}
  .hb-selo{font-size:1.15rem;padding:10px 20px 10px 12px}
  .hb-btn{min-height:62px;padding:0 36px;font-size:1.2rem}
}

/* celular */
@media (max-width:700px){
  .hb{padding-top:40px}
  .hb-titulo{flex-direction:column;row-gap:.06em;font-size:clamp(2.3rem,12.4vw,3.6rem)}
  .hb-titulo::before{display:none}
  .hb-selo{font-size:.88rem;padding:7px 14px 7px 8px;gap:8px}
  .hb-frase+.hb-frase{margin-top:.6em}
  .hb-frase{text-wrap:balance}
  .hb-texto{font-size:1rem;line-height:1.7}
  .hb-item{white-space:normal}
  .hb-ctas{flex-direction:column;align-items:stretch;gap:10px}
  .hb-btn{width:100%}
  .hb-palco img{object-position:58% 50%;transform:none}
  .hb-palco::after{background:linear-gradient(180deg,rgba(31,32,41,.82) 0%,rgba(31,32,41,.86) 60%,var(--hb-fundo) 100%)}
}
@media (prefers-reduced-motion:reduce){.hb-mark{animation:none}}
@media (max-width:360px){.hb-selo{font-size:.76rem;gap:6px;padding:6px 12px 6px 6px}.hb-selo-nota{width:18px;height:18px}}

/* Título vazado sobre a foto (Fabio, 04/12: "mais transparente e com contornos, pq ele ta cortando bem a face
   dos musicos"): contorno nítido e preenchimento leve, os rostos aparecem através das letras. */
/* Letra vazada (Fabio: "deixar elas mais transparentes e contornar as letras"). O contorno comum
   (-webkit-text-stroke) mostra as emendas internas da fonte da marca; o filtro #hb-contorno, no index.html,
   contorna só a silhueta de cada letra e deixa o miolo quase transparente. */
.hb-filtros{position:absolute;width:0;height:0;overflow:hidden}
.hb-conheca,.hb-wordmark{color:#fff;filter:url(#hb-contorno)}
.hb-conheca{opacity:.82}

/* Mensagem abre com a frase de posicionamento e fecha com "E muito mais." (Fabio, 04/12); o selo acima do
   título saiu e o título subiu. */
.hb{padding-top:clamp(28px,3.6vw,88px)}
.hb-somos{color:var(--hb-tx);font-weight:600;font-size:1.08em;margin-bottom:.35em}
.hb-mais{margin-top:.35em;color:var(--hb-ouro);font-weight:700;letter-spacing:.01em}
@media (max-width:700px){.hb{padding-top:28px}}

/* Celular, revisão de 05/12/2026 (Fabio: "ficou estranho", fonte pequena, frases cortando). O desktop não muda.
   Título, frase e botões formam a primeira dobra; o texto das três frentes vira um cartão de leitura alinhado à
   esquerda, uma frente por linha, com o ícone num quadradinho à esquerda e letra de 17 px. */
@media (max-width:700px){
  .hb-titulo{font-size:clamp(2.2rem,11.6vw,3.4rem)}
  .hb-lead{margin-top:16px;font-size:1.32rem;line-height:1.25}
  .hb-ctas{margin-top:20px;gap:10px}
  .hb-btn{min-height:50px}
  .hb-texto{margin:28px auto 0;max-width:30rem;text-align:left;font-size:1.06rem;line-height:1.5;color:var(--hb-tx2);
    padding:20px 18px 18px;border-radius:20px;background:rgba(20,21,27,.62);border:1px solid var(--hb-linha);
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
  .hb-frase{text-wrap:pretty}
  .hb-frase+.hb-frase{margin-top:0}
  .hb-somos{font-size:1.14rem;line-height:1.35;margin:0 0 6px;padding-bottom:14px;border-bottom:1px solid var(--hb-linha)}
  .hb-frase:not(.hb-somos):not(.hb-mais){position:relative;padding:14px 0 14px 54px;border-bottom:1px solid var(--hb-linha)}
  .hb-frase .hb-ic{position:absolute;left:0;top:14px;width:40px;height:40px;margin:0;padding:9px;border-radius:12px;
    background:rgba(232,179,82,.10);box-shadow:inset 0 0 0 1px rgba(232,179,82,.28)}
  .hb-mais{margin:14px 0 0;font-size:1.06rem}
}
@media (max-width:360px){
  .hb-texto{padding:16px 14px 14px;font-size:1rem}
  .hb-frase:not(.hb-somos):not(.hb-mais){padding-left:48px}
  .hb-frase .hb-ic{width:36px;height:36px;padding:8px}
}

/* A foto vira fundo do topo e da faixa "Músico é quem sabe musicar" (Fabio, 06/12/2026: "pode esticar sem ter
   cortado, pra ficar ela também de fundo na frase do musicar"). O palco sai de dentro do .hb e cobre o invólucro
   .hb-fundo; com a área mais alta, a foto mostra a parte de baixo (mãos, guitarra, pernas) atrás da frase. */
.hb-fundo{--hb-fundo:#1F2029;position:relative;isolation:isolate;background:var(--hb-fundo)}
.hb-fundo .hb{background:transparent}
.hb-fundo .hb-palco{z-index:-1}
.hb-fundo .hm-lema{background:transparent}
@media (min-width:701px){.hb-fundo .hb-palco img{object-position:100% 30%}}
.hb-fundo .hb-palco::after{background:
  radial-gradient(ellipse 58% 46% at 50% 36%,rgba(31,32,41,.9) 0%,rgba(31,32,41,.78) 48%,rgba(31,32,41,.5) 100%),
  linear-gradient(180deg,rgba(31,32,41,.55) 0%,rgba(31,32,41,0) 16%,rgba(31,32,41,.1) 62%,rgba(31,32,41,.62) 80%,rgba(31,32,41,.8) 92%,var(--hb-fundo) 100%)}
@media (max-width:700px){.hb-fundo .hb-palco::after{background:linear-gradient(180deg,rgba(31,32,41,.82) 0%,rgba(31,32,41,.86) 60%,rgba(31,32,41,.8) 88%,var(--hb-fundo) 100%)}}

/* Bloco de apresentação em trilha: escritório, sala e casa ligados por uma linha (Fabio, 06/12/2026, opção 2 do
   especialista de design; troca o texto corrido centralizado) */
/* Opção 2: trilha escritório, sala, casa; uma linha só costura as três frentes */
.op2{margin:clamp(30px,3vw,48px) auto 0;max-width:1080px}
.op2-somos{display:inline-block;margin:0 0 26px;padding:9px 20px;border-radius:999px;background:rgba(20,21,27,.55);border:1px solid rgba(244,243,248,.12);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:clamp(1rem,.95rem + .3vw,1.18rem);line-height:1.3;font-weight:600;color:var(--hb-tx)}
.op2-trilha{position:relative;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 128px;gap:0 28px}
/* a linha passa pelo centro dos nós, do primeiro ao último */
.op2-trilha::before{content:"";position:absolute;z-index:-1;top:27px;left:calc((100% - 128px - 84px) / 6);right:64px;height:2px;
  background:linear-gradient(90deg,rgba(244,243,248,.28),rgba(244,243,248,.28) 82%,rgba(232,179,82,.7))}
.op2-pt{display:flex;flex-direction:column;align-items:center;text-align:center}
.op2-no{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#1B1C24;
  box-shadow:inset 0 0 0 1px rgba(232,179,82,.38),0 0 0 6px rgba(27,28,36,.55),0 10px 26px rgba(0,0,0,.35)}
.op2-no .hb-ic{width:26px;height:26px;margin:0;vertical-align:0}
.op2-k{margin-top:14px;font-size:.8rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--hb-tx3)}
.op2-tx{margin-top:6px;max-width:19rem;font-size:clamp(1rem,.96rem + .2vw,1.1rem);line-height:1.45;color:#C3C5D2;text-wrap:balance}
.op2-tx b{font-weight:600;color:var(--hb-tx)}
.op2-no-mais{background:var(--hb-ouro);box-shadow:0 0 0 6px rgba(27,28,36,.55),0 10px 26px rgba(232,179,82,.25);position:relative}
.op2-no-mais::before,.op2-no-mais::after{content:"";position:absolute;left:50%;top:50%;width:20px;height:2.5px;border-radius:2px;background:#241A08;transform:translate(-50%,-50%)}
.op2-no-mais::after{transform:translate(-50%,-50%) rotate(90deg)}
.op2-fim .op2-k{color:var(--hb-ouro);font-size:.95rem;letter-spacing:.02em;text-transform:none;font-weight:700}
@media (max-width:980px) and (min-width:701px){.op2-trilha{gap:0 18px;grid-template-columns:repeat(3,minmax(0,1fr)) 104px}.op2-trilha::before{left:calc((100% - 104px - 54px) / 6);right:52px}}
@media (max-width:700px){
  .op2{margin-top:28px;max-width:30rem;text-align:left}
  .op2-somos{display:block;margin:0 0 20px;padding:0;background:none;border:0;-webkit-backdrop-filter:none;backdrop-filter:none;font-size:1.14rem;text-align:center;text-wrap:balance}
  .op2-trilha{grid-template-columns:1fr;gap:18px}
  .op2-trilha::before{top:24px;bottom:22px;left:23px;right:auto;width:2px;height:auto;background:linear-gradient(180deg,rgba(244,243,248,.28),rgba(244,243,248,.28) 82%,rgba(232,179,82,.7))}
  .op2-pt{display:grid;grid-template-columns:48px 1fr;column-gap:16px;align-items:start;text-align:left}
  .op2-no{grid-row:1 / span 2;width:48px;height:48px}
  .op2-no .hb-ic{width:23px;height:23px}
  .op2-k{margin-top:2px;font-size:.74rem}
  .op2-tx{margin-top:3px;max-width:none;font-size:1.02rem;text-wrap:pretty}
  .op2-fim{align-items:center}
  .op2-fim .op2-k{grid-row:1 / span 2;align-self:center;margin:0;font-size:1.04rem}
}
@media (max-width:360px){.op2-pt{grid-template-columns:42px 1fr;column-gap:13px}.op2-no{width:42px;height:42px}.op2-no .hb-ic{width:20px;height:20px}.op2-trilha::before{left:20px}.op2-tx{font-size:.98rem}}
/* ajuste após a primeira foto: quatro colunas iguais (a trilha fica simétrica sob a frase) e leitura reforçada sobre a foto */
@media (min-width:701px){
  .op2-trilha{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 24px}
  .op2-trilha::before{left:12.5%;right:12.5%}
}
.op2-k{color:var(--hb-tx2)}
.op2-tx,.op2-k{text-shadow:0 1px 2px rgba(0,0,0,.6),0 0 18px rgba(20,21,27,.9)}
/* o nó final não é botão: anel ouro com o sinal de mais, sem preenchimento chapado */
.op2-no-mais{background:#1B1C24;box-shadow:inset 0 0 0 2px var(--hb-ouro),0 0 0 6px rgba(27,28,36,.55),0 10px 26px rgba(0,0,0,.35)}
.op2-no-mais::before,.op2-no-mais::after{background:var(--hb-ouro);width:18px;height:2px}
/* Notebook (06/12/2026, Fabio): em tela baixa a trilha do hero passava da primeira dobra. Até 860 px de altura o
   hero encolhe pela altura da tela; os espaços crescem com ela (apertados a 620, quase o original a 860), para não
   ficar tudo colado quando sobra altura. Telas altas e celular ficam como estão. */
@media (min-width:701px) and (max-height:860px){
  .hb{padding-top:clamp(18px,16.7vh - 84px,72px)}
  .hb-titulo{font-size:clamp(2.35rem,min(6.9vw,13.2vh),9.4rem)}
  .hb-h1{gap:clamp(12px,7.5vh - 34px,34px)}
  .hb-lead{margin-top:clamp(10px,6.7vh - 31px,30px);font-size:clamp(1.25rem,min(1rem + 1.5vw,4.6vh),2.35rem)}
  .hb-ctas{margin-top:clamp(14px,5.8vh - 20px,32px)}
  .op2{margin-top:clamp(16px,10.8vh - 49px,48px)}
  .op2-somos{margin-bottom:clamp(12px,4.6vh - 15px,26px);padding:7px 18px}
  .op2-no{width:48px;height:48px}
  .op2-no .hb-ic{width:22px;height:22px}
  .op2-trilha::before{top:23px}
  .op2-k{margin-top:9px}
  .op2-tx{margin-top:4px;max-width:21rem;line-height:1.38}
}
/* Mais ar entre "Somos o melhor sistema..." e a trilha dos 4 pontos, em qualquer tela (Fabio, 06/12/2026). */
.op2-somos{margin-bottom:44px}
@media (min-width:701px) and (max-height:860px){.op2-somos{margin-bottom:clamp(28px,5vh,44px)}}
@media (max-width:700px){.op2-somos{margin-bottom:32px}}
