/* Hub: as seis áreas ligadas ao centro */
.hub { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hub-points { margin-top: 30px; border-top: 1px solid var(--line); }
.hub-points li { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hub-points b { font: 600 17px/1.35 var(--font-d); letter-spacing: -.01em; }
.hub-points span { color: var(--muted); font-size: 16px; }
.hub-map { --n: 88px; position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-inline: auto; }
.hub-line { position: absolute; left: 50%; top: 50%; width: 37%; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--line); transform-origin: 0 50%; transform: rotate(var(--a)); overflow: hidden; }
.hub-line::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 34%; border-radius: 2px; background: var(--c); transform: translateX(-110%); animation: signal 3.6s var(--ease) infinite; animation-delay: calc(var(--k) * .6s); }
.hub-line:nth-of-type(even)::after { animation-direction: reverse; }
@keyframes signal { 50%, 100% { transform: translateX(310%); } }
.hub-node { position: absolute; z-index: 1; display: grid; justify-items: center; gap: 8px; padding: 0; border: 0; background: none; transform: translate(-50%, -50%); }
.hub-node .tile { width: var(--n); height: var(--n); border-radius: 26%; outline: 5px solid var(--bg); transition: transform .35s var(--ease); }
.hub-node:hover .tile { transform: translateY(-5px); }
.hub-cap { padding: 6px 11px; border-radius: 999px; background: var(--wash); font: 500 14px/1 var(--font-d); transition: background .2s, color .2s; }
.hub-node:hover .hub-cap { background: var(--ink); color: #fff; }
.hub-core { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 10px; width: 30%; aspect-ratio: 1; border-radius: 28%; background: var(--ink); color: #fff; outline: 10px solid var(--bg); transform: translate(-50%, -50%); }
.hub-core svg { width: clamp(34px, 4vw, 48px); }
.hub-core b { font: 600 clamp(15px, 1.6vw, 20px)/1 var(--font-d); letter-spacing: -.02em; }

/* Vitrine do time */
.team { margin-top: 44px; }
.team-tabs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: -4px; }
.team-tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: 1 0 auto; display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 8px 16px 8px 8px; border: 1px solid transparent; border-radius: 18px; background: var(--wash); text-align: left; overflow: hidden; transition: border-color .25s, background .25s, transform .25s var(--ease); }
.tab:hover { transform: translateY(-2px); }
.tab .tile { width: 44px; height: 44px; border-radius: 13px; flex: none; }
.tab b { display: block; font: 600 15px/1.2 var(--font-d); }
.tab small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.2; color: var(--muted); white-space: nowrap; }
.tab[aria-selected="true"] { background: #fff; border-color: var(--ink); }
.tab::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--t2); transform: scaleX(0); transform-origin: left; }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab.run::after { animation: tabfill var(--dur, 7s) linear both; }
@keyframes tabfill { from { transform: scaleX(0); } }

.team-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 16px; padding: clamp(14px, 2vw, 24px); padding-right: clamp(14px, 3.4vw, 44px); border: 1px solid var(--line); border-radius: 36px; }
.team-panel:focus-visible { outline-offset: 0; border-radius: 36px; }
.team-art { position: relative; align-self: stretch; min-height: 420px; border-radius: 26px; background: var(--t1); overflow: hidden; transition: background .5s; }
.team-art .ch { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.team-art .ch.in { animation: artIn .8s var(--ease); }
@keyframes artIn { from { opacity: 0; transform: scale(1.08) translateY(14px); } }
.team-art .chip { left: 14px; bottom: 14px; font-size: 14px; padding: 9px 14px; }
.team-body { padding-block: 10px; }
.team-body.in > * { animation: bodyIn .55s var(--ease) both; }
.team-body.in > :nth-child(2) { animation-delay: 50ms; }
.team-body.in > :nth-child(3) { animation-delay: 100ms; }
.team-body.in > :nth-child(4) { animation-delay: 150ms; }
.team-body.in > :nth-child(5) { animation-delay: 200ms; }
@keyframes bodyIn { from { opacity: 0; transform: translateY(16px); } }
.team-kicker { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.team-kicker i { width: 10px; height: 10px; border-radius: 50%; background: var(--t2); }
.team-body h3 { margin-top: 8px; font: 600 clamp(30px, 3.6vw, 46px)/1.05 var(--font-d); letter-spacing: -.035em; }
.team-desc { margin-top: 14px; max-width: 32em; color: var(--muted); font-size: 18px; }
.team-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 26px; }
.does li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 6px 0; font-size: 15.5px; line-height: 1.4; }
.does svg { width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--t2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.does li.later { color: var(--muted); }
.does li.later svg { stroke: #c3c5ce; }
.sample { padding: 16px; border-radius: 20px; background: var(--wash); }
.sample-top { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sample-top .tile { width: 28px; height: 28px; border-radius: 9px; flex: none; }
.sample-top b { color: var(--ink); }
.sample-top em { margin-left: auto; font-style: normal; padding: 3px 8px; border-radius: 999px; background: #fff; }
.sample h4 { margin-top: 12px; font: 600 17px/1.25 var(--font-d); letter-spacing: -.01em; }
.sample p { margin-top: 6px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.sample-btns { display: flex; gap: 8px; margin-top: 14px; }
.sample-btns span { flex: 1; display: grid; place-items: center; min-height: 38px; border-radius: 11px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; }
.sample-btns .ok { background: var(--ink); border-color: var(--ink); color: #fff; }
.team-tools { margin-top: 26px; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tool { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--wash); font-size: 15px; transition: background .2s, color .2s, transform .2s var(--ease); }
.tool .ic { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.tool-soon { background: transparent; border: 1px dashed #d5d6de; color: var(--muted); }
a.tool:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
a.tool:hover .ic { transform: translate(2px, -2px); }

/* Diferenciais */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.b { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: var(--wash); }
.js .b.reveal.in { transition: opacity .8s var(--ease), transform .4s var(--ease); }
.b:hover, .js .b.reveal.in:hover { transform: translateY(-4px); }
.b h3 { font: 600 24px/1.15 var(--font-d); letter-spacing: -.03em; }
.b p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.b-2 { grid-column: span 2; } .b-3 { grid-column: span 3; } .b-4 { grid-column: span 4; }
.b-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 26px; border-radius: 14px; background: #fff; }
.b-ic .ic { width: 22px; height: 22px; }
.b-dark { background: var(--ink); color: #fff; }
.b-dark h3 { font-size: clamp(28px, 3.2vw, 40px); }
.b-dark p { max-width: 30em; color: #b9bcc8; font-size: 17px; }
.flow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 40px; }
.flow span { padding: 11px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); font: 500 15px/1 var(--font-d); animation: stage 6s infinite; }
.flow span:nth-of-type(2) { animation-delay: 1.5s; }
.flow span:nth-of-type(3) { animation-delay: 3s; }
.flow span:nth-of-type(4) { animation-delay: 4.5s; }
.flow i { width: 18px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .25); }
@keyframes stage { 0%, 24% { background: #fff; color: #0b0b0f; } 26%, 100% { background: rgba(255, 255, 255, .1); color: #fff; } }
.b-faces { display: flex; margin-bottom: 26px; padding-left: 6px; }
.b-faces .tile { width: 46px; height: 46px; border-radius: 14px; margin-left: -6px; outline: 3px solid var(--wash); }

.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.vs-col { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.vs-col h3 { font: 600 22px/1.2 var(--font-d); letter-spacing: -.02em; color: var(--muted); }
.vs-col ul { margin-top: 16px; }
.vs-col li { position: relative; padding: 13px 0 13px 34px; border-top: 1px solid var(--line); color: var(--muted); }
.vs-col li::before { content: ''; position: absolute; left: 0; top: 15px; width: 22px; height: 22px; border-radius: 50%; background: var(--wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='m8 8 6 6m0-6-6 6' stroke='%238a8d98' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain; }
.vs-new { border-color: var(--ink); }
.vs-new h3, .vs-new li { color: var(--ink); }
.vs-new li::before { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='m7 11.500 3 3 5-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain; }

/* Um dia com o time */
.day-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; margin-top: 96px; }
.day-head { position: sticky; top: 108px; }
.day-head .h3 { margin-top: 18px; }
.day { position: relative; display: grid; gap: 6px; }
.day::before, .day::after { content: ''; position: absolute; left: 97px; top: 26px; bottom: 26px; width: 2px; border-radius: 2px; background: var(--line); }
.day::after { background: var(--ink); transform: scaleY(var(--p, 0)); transform-origin: top; }
.day-item { position: relative; z-index: 1; display: grid; grid-template-columns: 56px 52px minmax(0, 1fr); gap: 16px; align-items: start; padding: 12px 0; }
.day-item time { padding-top: 15px; font: 500 15px/1 var(--font-d); color: var(--muted); font-variant-numeric: tabular-nums; }
.day-item .tile { width: 52px; height: 52px; border-radius: 16px; outline: 4px solid var(--bg); }
.day-item .you { display: grid; place-items: center; background: var(--ink); color: #fff; }
.day-item .you .ic { width: 22px; height: 22px; }
.day-item b { display: flex; align-items: center; gap: 8px; padding-top: 4px; font: 600 17px/1.2 var(--font-d); }
.day-item p { margin-top: 4px; color: var(--muted); font-size: 16px; }

/* Lista de espera */
.wl { width: min(700px, 100%); margin-top: 30px; text-align: left; }
.wl[hidden], .wl-done[hidden] { display: none; }
.wl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.wl-f { display: grid; grid-template-rows: auto auto 20px; align-content: start; gap: 6px; font-size: 14px; font-weight: 500; }
.wl-f small { font-size: inherit; font-weight: 400; color: var(--muted); }
.wl-f input { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--soft); border-radius: 14px; background: #fff; font: 400 16px/1 var(--font-b); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.wl-f input::placeholder { color: var(--soft); }
.wl-f input:focus-visible { outline: 0; border-color: var(--brand); border-radius: 14px; box-shadow: 0 0 0 3px rgba(105, 84, 229, .28); }
.wl-f input[aria-invalid="true"] { border-color: #dc2626; }
.wl-err { font-style: normal; line-height: 1.3; font-size: 13px; font-weight: 400; color: #b91c1c; }
.wl-hp { position: absolute; left: -9999px; }
.wl-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 8px; }
.cta .wl-foot .btn { margin-top: 0; }
.wl-foot .btn[disabled] { opacity: .6; cursor: progress; }
.wl-note { flex: 1 1 220px; font-size: 14px; color: var(--muted); }
.wl-msg { margin-top: 12px; font-size: 15px; color: #b91c1c; }
.wl-msg:empty { display: none; }
.wl-done { display: grid; justify-items: center; gap: 8px; margin-top: 30px; text-align: center; }
.wl-done:focus { outline: 0; }
.wl-done svg { width: 48px; height: 48px; margin-bottom: 6px; }
.wl-done b { font: 600 24px/1.2 var(--font-d); letter-spacing: -.02em; }
.wl-done p { color: var(--muted); }

@media (max-width: 1000px) {
  .hub { grid-template-columns: 1fr; gap: 48px; }
  .team-panel { grid-template-columns: 1fr; padding: 14px; }
  .team-art { min-height: 0; aspect-ratio: 1 / .78; }
  .team-body { padding: 4px 8px 12px; }
  .b-4 { grid-column: span 6; }
  .b-2, .b-3 { grid-column: span 3; }
  .day-wrap { grid-template-columns: 1fr; margin-top: 72px; }
  .day-head { position: static; }
}
@media (max-width: 700px) {
  .wl-grid { grid-template-columns: 1fr; }
  .wl-foot .btn { flex: 1 1 100%; }
  .hub-map { --n: 60px; }
  .hub-cap { font-size: 13px; padding: 5px 9px; }
  .hub-points li { grid-template-columns: 1fr; gap: 2px; }
  .tab { flex: 0 0 auto; }
  .team-panel { border-radius: 28px; }
  .team-art { border-radius: 20px; aspect-ratio: 1 / .92; }
  .team-cols { grid-template-columns: 1fr; }
  .b-2, .b-3 { grid-column: span 6; }
  .b { padding: 24px; }
  .vs { grid-template-columns: 1fr; }
  .flow i { display: none; }
  .day::before, .day::after { left: 83px; }
  .day-item { grid-template-columns: 48px 48px minmax(0, 1fr); gap: 12px; }
  .day-item .tile { width: 48px; height: 48px; }
}
