/* ==========================================================
   Flavio no Leilão · Link na Bio (bento)
   Preto + dourado chapado. Formas: blocos 24px, ícones 12px,
   botões em pílula. Um bloco dourado só: a ação principal.
   ========================================================== */

:root {
  --bg: #0B0B0B;
  --tile: #141414;
  --tile-hover: #181818;
  --line: #222222;
  --line-strong: #2E2E2E;
  --text: #EDEAE4;
  --muted: #8F8B85;
  --gold: #C8A35A;
  --gold-hover: #D5B26C;
  --on-gold: #14110B;

  --f-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --f-body: "Geist", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; overflow-x: hidden;
  background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 110; pointer-events: none; }

/* ==========================================================
   NOME (mesmo componente na intro e no perfil: o FLIP depende disso)
   ========================================================== */
.name {
  margin: 0; width: max-content;
  font-family: var(--f-display); font-weight: 400; line-height: .9; letter-spacing: .005em;
}
.name__row { display: block; overflow: hidden; padding-top: .2em; margin-top: -.2em; }
.name__row--light { color: var(--text); }
.name__row--gold { color: var(--gold); font-size: .76em; margin-top: -.04em; }
.name .ch { display: inline-block; }

/* ==========================================================
   INTRO
   ========================================================== */
.intro { position: fixed; inset: 0; z-index: 100; }
.intro__half {
  position: absolute; left: 0; right: 0; height: 50.5%; background: var(--bg);
  transition: transform .95s var(--ease-io); will-change: transform;
}
.intro__half--top { top: 0; }
.intro__half--bottom { bottom: 0; }
.intro__half--top::after, .intro__half--bottom::before {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--gold);
  opacity: 0; transition: opacity .3s;
}
.intro__half--top::after { bottom: 0; }
.intro__half--bottom::before { top: 0; }
.intro.is-open .intro__half--top::after, .intro.is-open .intro__half--bottom::before { opacity: .6; }
.intro.is-open .intro__half--top { transform: translateY(-101%); }
.intro.is-open .intro__half--bottom { transform: translateY(101%); }
.intro.is-done { display: none; }
.intro.is-fast { opacity: 0; transition: opacity .4s; }

.intro__stage {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center;
  transition: opacity .35s, transform .5s var(--ease-out);
}
.intro.is-name .intro__stage { opacity: 0; transform: scale(.94); pointer-events: none; }
.intro__words { position: relative; height: 84px; width: min(92vw, 560px); }
.intro__word {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-display); font-size: clamp(44px, 12vw, 76px); line-height: 1; color: var(--text);
  opacity: 0; transform: translateY(40%) scale(.9);
  transition: opacity .2s, transform .3s var(--ease-spring);
}
.intro__word.is-on { opacity: 1; transform: none; }
.intro__word.is-off { opacity: 0; transform: translateY(-40%) scale(1.05); }
.intro__word--sold { color: var(--gold); font-size: clamp(58px, 17vw, 110px); }
.intro__word--sold.is-on { animation: soldPunch .45s var(--ease-spring); }
@keyframes soldPunch { from { transform: scale(1.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.intro__gavel-wrap { position: relative; width: 170px; height: 90px; margin-top: 44px; }
.intro__gavel { position: absolute; width: 130px; height: 65px; left: 8px; top: 2px; transform-origin: 100% 50%; transform: rotate(34deg); }
.intro__gavel.is-strike { animation: strike .36s var(--ease-out); }
.intro__gavel.is-slam { animation: slam .5s var(--ease-io) forwards; }
@keyframes strike { 0% { transform: rotate(34deg); } 35% { transform: rotate(-2deg); } 50% { transform: rotate(3deg); } 100% { transform: rotate(34deg); } }
@keyframes slam { 0% { transform: rotate(34deg); } 30% { transform: rotate(48deg); } 62% { transform: rotate(-3deg); } 75% { transform: rotate(2deg); } 100% { transform: rotate(0); } }
.intro__block { position: absolute; left: -2px; top: 64px; width: 66px; height: 16px; border-radius: 5px; background: #232323; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.intro__block.is-hit { animation: blockHit .3s ease-out; }
@keyframes blockHit { 30% { transform: translateY(3px) scaleY(.9); } }
.intro__shock {
  position: absolute; left: 31px; top: 64px; width: 900px; height: 900px; margin: -450px 0 0 -450px;
  border-radius: 50%; border: 1px solid var(--gold); opacity: 0; transform: scale(.01); pointer-events: none;
}
.intro__shock.is-go { animation: shock .9s var(--ease-out) forwards; }
.intro__shock--2.is-go { animation-delay: .12s; }
@keyframes shock { from { opacity: 1; transform: scale(.01); } to { opacity: 0; transform: scale(1); } }
.intro.is-shake .intro__stage { animation: shake .3s; }
@keyframes shake { 20% { transform: translate(-6px, 3px); } 40% { transform: translate(5px, -3px); } 60% { transform: translate(-3px, 2px); } 80% { transform: translate(2px, -1px); } }

.intro__name-wrap { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; }
.intro__name { font-size: clamp(76px, 22vw, 124px); transform-origin: 0 0; }
.intro__name.is-flying { transition: transform .95s var(--ease-io); }
.intro__name .ch { transform: translateY(150%); transition: transform .8s var(--ease-out); transition-delay: calc(var(--i) * 40ms); }
.intro.is-name .intro__name .ch { transform: none; }

.intro__skip {
  position: absolute; z-index: 4; right: 20px; bottom: calc(22px + env(safe-area-inset-bottom));
  height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 13px; font-weight: 500; color: var(--muted);
}
.intro.is-open .intro__skip { opacity: 0; }

/* ==========================================================
   PÁGINA
   ========================================================== */
.page {
  position: relative; z-index: 2; width: 100%; max-width: 560px; margin: 0 auto;
  padding: calc(24px + env(safe-area-inset-top)) 16px calc(32px + env(safe-area-inset-bottom));
}

[data-enter] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); }
body.is-ready [data-enter] { opacity: 1; transform: none; }
body.is-ready [data-enter="1"] { transition-delay: .15s; }
body.is-ready [data-enter="2"] { transition-delay: .25s; }

body:not(.no-intro):not(.name-landed) #pageName { visibility: hidden; }
body.no-intro #pageName { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); }
body.no-intro.is-ready #pageName { opacity: 1; transform: none; }

/* ---------- perfil ----------
   Celular: centralizado (foto em destaque, nome embaixo).
   Desktop: alinhado à esquerda na coluna fixa. */
.profile { position: relative; text-align: center; padding-top: 8px; }
.profile__top { display: flex; justify-content: center; }
.avatar {
  width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: 52% 22%;
  box-shadow: 0 0 0 1px var(--line-strong), 0 0 0 5px var(--bg), 0 0 0 6px rgba(200, 163, 90, .45);
}
.share {
  position: absolute; top: 0; right: 0;
  width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--muted); font-size: 18px;
  transition: color .25s, border-color .25s, transform .25s var(--ease-out);
}
.share:hover { color: var(--text); border-color: #444; }
.share:active { transform: scale(.94); }
.profile .name { margin: 22px auto 0; font-size: 54px; }
.handle { margin: 10px 0 0; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 14px; color: var(--muted); }
.handle i { font-size: 15px; color: var(--gold); }
.bio { margin: 12px auto 0; max-width: 34ch; font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: balance; }

/* o nome da intro tem o mesmo alinhamento do nome da página (o FLIP depende disso) */
.name { text-align: center; }

/* ==========================================================
   BENTO
   ========================================================== */
.bento {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 84px; gap: 12px;
  grid-auto-flow: dense; margin-top: 28px;
}
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  grid-column: span var(--c); grid-row: span var(--r);
  display: flex; flex-direction: column; justify-content: space-between; padding: 16px;
  border-radius: 24px; background: var(--tile); border: 1px solid var(--line);
  transition: transform .4s var(--ease-out), border-color .25s, background .25s;
}
@media (hover: hover) {
  .tile:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--tile-hover); }
}
.tile:active { transform: scale(.98); }

/* entrada: cada bloco "encaixa" em sequência */
.tile:not(.is-in) { opacity: 0; }
.tile.is-in { animation: tileIn .7s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes tileIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }

.tile__head { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; }
.tile__foot { position: relative; z-index: 1; display: grid; gap: 2px; }
.tile__title { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.tile__sub { font-size: 13px; color: var(--muted); line-height: 1.35; }

.badge {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: #1F1F1F; color: var(--text); font-size: 21px; transition: background .3s, color .3s;
}
@media (hover: hover) {
  .tile--wa:hover .badge { background: #25D366; color: #fff; }
  .tile--ig:hover .badge { background: linear-gradient(45deg, #F9C846, #E1306C 50%, #833AB4); color: #fff; }
  .tile--yt:hover .badge { background: #FF0033; color: #fff; }
}

/* blocos com imagem de fundo */
.tile__cover { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.tile__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 11, 11, .1) 30%, rgba(11, 11, 11, .88) 100%); }
@media (hover: hover) { .tile:hover .tile__cover { transform: scale(1.04); } }

/* episódio mais recente */
.tile--episode { padding: 0; justify-content: flex-end; }
.tile--episode .tile__shade { background: linear-gradient(180deg, transparent 32%, rgba(11, 11, 11, .78) 62%, rgba(11, 11, 11, .97) 100%); }
.play {
  position: absolute; left: 50%; top: 38%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 999px;
  display: grid; place-items: center; font-size: 23px; color: var(--on-gold); background: var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5); transition: transform .4s var(--ease-spring), background .25s;
}
.play i { margin-left: 3px; }
@media (hover: hover) { .tile--episode:hover .play { transform: scale(1.08); background: var(--gold-hover); } }
.tile__caption { position: relative; z-index: 1; display: grid; gap: 4px; padding: 16px 18px 18px; }
.tile__kicker { font-size: 12.5px; font-weight: 500; color: var(--gold); }
.tile__headline { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; text-wrap: balance; }

/* assessoria: o único bloco dourado */
.tile--gold { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.tile--gold .tile__title { font-size: 18px; font-weight: 700; }
.tile--gold .tile__sub { color: rgba(20, 17, 11, .72); max-width: 30ch; }
.badge--dark { background: var(--on-gold); color: var(--gold); }
@media (hover: hover) {
  .tile--gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
}

/* instagram com a foto dele */
.tile--ig .tile__cover { object-position: 52% 20%; }
.tile--ig .badge { background: rgba(11, 11, 11, .6); }
.tile--ig .tile__sub { color: #C9C5BE; }

/* ==========================================================
   PILHAS EM LEQUE (linguagem visual dos blocos)
   Cada objeto tem 3 estados: --from (fechado, antes de entrar),
   --rest (leque em repouso) e --hover (leque aberto).
   No celular o leque abre sozinho quando o bloco entra na tela.
   ========================================================== */
.stack > * {
  transform: var(--from); opacity: var(--o0, 1);
  transition: transform .7s var(--ease-spring), opacity .35s var(--ease-out);
}
.tile.is-in .stack > * { transform: var(--rest); opacity: 1; }
.tile.is-in:not(.is-settled) .stack > * { transition-delay: calc(var(--i, 0) * 60ms + 250ms + var(--k, 0) * 110ms); }
@media (hover: hover) { .tile.is-in:hover .stack > * { transform: var(--hover, var(--rest)); } }

/* youtube: thumbnails */
.tile--yt .tile__foot { max-width: 45%; }
.stack--fan { position: absolute; right: 18px; top: 50%; width: 46%; max-width: 190px; aspect-ratio: 16 / 9; transform: translateY(-50%); }
.stack--fan img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 10px;
  border: 1px solid #2A2A2A; box-shadow: 0 10px 24px rgba(0, 0, 0, .5);
}
.stack--fan img:nth-child(1) { --k: 0; --from: translate(0, 18%) scale(.85); --rest: translate(-14%, -8%) rotate(-9deg) scale(.9); --hover: translate(-30%, -14%) rotate(-14deg) scale(.9); }
.stack--fan img:nth-child(2) { --k: 1; --from: translate(0, 18%) scale(.85); --rest: translate(-6%, -2%) rotate(-3deg) scale(.95); --hover: translate(-12%, -4%) rotate(-5deg) scale(.95); }
.stack--fan img:nth-child(3) { --k: 2; --from: translate(0, 18%) scale(.85); --rest: translate(4%, 6%) rotate(4deg); --hover: translate(8%, 10%) rotate(7deg); }

/* assessoria: edital → lance → arremate */
.tile--gold { justify-content: flex-end; }
.tile--gold .tile__foot { max-width: 47%; z-index: 2; }
.stack--steps { position: absolute; right: 18px; top: 50%; width: 38%; max-width: 150px; height: 124px; transform: translateY(-50%); }
.step {
  position: absolute; left: 0; right: 0; top: 0; height: 60px; display: flex; align-items: flex-start; gap: 8px; padding: 8px 12px;
  border-radius: 12px; background: var(--on-gold); color: var(--text); border: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px; font-weight: 600; line-height: 20px; box-shadow: 0 10px 22px rgba(60, 42, 8, .3);
}
.step i { font-size: 19px; color: var(--gold); }
.step:nth-child(1) { --k: 0; --o0: 0; --from: translate(0, 60px) scale(.9); --rest: translate(-10px, 0) rotate(-4deg); --hover: translate(-18px, -8px) rotate(-8deg); }
.step:nth-child(2) { --k: 1; --o0: 0; --from: translate(0, 60px) scale(.9); --rest: translate(-3px, 32px) rotate(-1deg); --hover: translate(-6px, 34px) rotate(-2deg); }
.step:nth-child(3) { --k: 2; --o0: 0; --from: translate(0, 60px) scale(.9); --rest: translate(5px, 64px) rotate(3deg); --hover: translate(10px, 72px) rotate(5deg); }

/* whatsapp: balões chegando */
.stack--chat { display: grid; gap: 6px; }
.bubble {
  justify-self: start; max-width: 100%; padding: 7px 11px; border-radius: 14px 14px 14px 4px;
  background: #242424; font-size: 12.5px; font-weight: 500; line-height: 1.3; white-space: nowrap;
}
.bubble--me { justify-self: end; border-radius: 14px 14px 4px 14px; background: var(--gold); color: var(--on-gold); }
.bubble:nth-child(1) { --k: 0; --o0: 0; --from: translateY(10px) scale(.8); --rest: rotate(2deg); --hover: translate(3px, -3px) rotate(4deg); transform-origin: right bottom; }
.bubble:nth-child(2) { --k: 3; --o0: 0; --from: translateY(10px) scale(.8); --rest: rotate(-2deg); --hover: translate(-3px, 3px) rotate(-4deg); transform-origin: left bottom; }
.tile__sub--icon { display: inline-flex; align-items: center; gap: 5px; }

/* crédito: etiquetas empilhadas */
.stack--chips { position: relative; height: 78px; }
.chip {
  position: absolute; left: 0; top: 0; padding: 5px 10px; border-radius: 999px; white-space: nowrap;
  background: #1F1F1F; border: 1px solid var(--line-strong); font-size: 12px; font-weight: 500;
}
.chip--gold { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.chip:nth-child(1) { --k: 0; --o0: 0; --from: translate(6px, 40px) scale(.8); --rest: translate(0, 2px) rotate(-6deg); --hover: translate(-2px, -2px) rotate(-10deg); }
.chip:nth-child(2) { --k: 1; --o0: 0; --from: translate(6px, 40px) scale(.8); --rest: translate(8px, 26px) rotate(4deg); --hover: translate(14px, 26px) rotate(7deg); }
.chip:nth-child(3) { --k: 2; --o0: 0; --from: translate(6px, 40px) scale(.8); --rest: translate(2px, 51px) rotate(-3deg); --hover: translate(-2px, 54px) rotate(-6deg); }

/* mentoria: ícones em leque */
.stack--apps { position: relative; height: 64px; }
.app {
  position: absolute; left: 0; top: 6px; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: #1F1F1F; border: 1px solid var(--line-strong); font-size: 23px; color: var(--text);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .45);
}
.app--gold { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.app:nth-child(1) { --k: 0; --o0: 0; --from: translate(30px, 18px) scale(.6); --rest: translate(0, 2px) rotate(-10deg); --hover: translate(-4px, -2px) rotate(-16deg); }
.app:nth-child(2) { --k: 1; --o0: 0; --from: translate(30px, 18px) scale(.6); --rest: translate(30px, -2px) rotate(1deg); --hover: translate(33px, -8px) rotate(0); }
.app:nth-child(3) { --k: 2; --o0: 0; --from: translate(30px, 18px) scale(.6); --rest: translate(60px, 3px) rotate(10deg); --hover: translate(68px, 0) rotate(16deg); }

/* habitale */
.tile--brand { flex-direction: row; align-items: center; }
.wordmark { font-family: var(--f-display); font-size: 24px; letter-spacing: .06em; line-height: 1; }
.wordmark span { color: var(--gold); }
.tile__url { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); transition: color .25s; }
@media (hover: hover) { .tile--brand:hover .tile__url { color: var(--gold); } }

/* episódios anteriores: carrossel dentro do bloco */
.tile--more { padding: 16px 0; gap: 12px; }
.tile--more:active { transform: none; }
.more__head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 16px; }
.more__all { font-size: 13px; color: var(--muted); transition: color .25s; }
.more__all:hover { color: var(--gold); }
.more__rail {
  flex: 1; min-height: 0; display: flex; gap: 10px; padding: 0 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16px; scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.more__rail::-webkit-scrollbar { display: none; }
@media (pointer: fine) { .more__rail { cursor: grab; } }
.more__rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.more__rail.is-drag * { pointer-events: none; }
.ep { flex: 0 0 auto; height: 100%; aspect-ratio: 16 / 9; scroll-snap-align: start; border-radius: 12px; overflow: hidden; border: 1px solid #262626; }
.ep img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
@media (hover: hover) { .ep:hover img { transform: scale(1.06); } }

/* ==========================================================
   DADOS DA EMPRESA (confiança: conferir antes de fechar negócio)
   ========================================================== */
.tile--company {
  display: grid; grid-template-areas: "head" "stack" "actions" "rows"; gap: 18px;
  margin-top: 12px; padding: 20px;
}
@media (hover: hover) { .tile--company:hover { transform: none; } }
.tile--company:active { transform: none; }
.company__head { grid-area: head; display: grid; gap: 4px; justify-items: start; }
.company__head .badge { margin-bottom: 8px; }
.badge--gold { color: var(--gold); }
.company__title { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }

.stack--docs { grid-area: stack; position: relative; height: 210px; }
.doc {
  position: absolute; left: 50%; top: 50%; width: 260px; height: 150px; margin: -75px 0 0 -130px;
  border-radius: 16px; box-shadow: 0 14px 30px rgba(0, 0, 0, .5);
}
.doc--back {
  display: flex; align-items: flex-start; gap: 7px; padding: 11px 14px;
  background: #1C1C1C; border: 1px solid var(--line-strong); color: var(--muted); font-size: 12.5px; font-weight: 500;
}
.doc--back i { font-size: 16px; color: var(--gold); }
.doc--right { justify-content: flex-end; }
.doc--front {
  display: flex; flex-direction: column; justify-content: space-between; padding: 16px 18px;
  background: var(--gold); color: var(--on-gold);
}
.doc__top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.doc__top i { font-size: 20px; }
.doc__num { font-size: 22px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.doc__name { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; opacity: .72; }
.doc:nth-child(1) { --k: 0; --o0: 0; --from: translate(0, 30px) scale(.9); --rest: translate(-46px, -22px) rotate(-8deg); --hover: translate(-60px, -30px) rotate(-11deg); }
.doc:nth-child(2) { --k: 1; --o0: 0; --from: translate(0, 30px) scale(.9); --rest: translate(46px, -26px) rotate(6deg); --hover: translate(60px, -34px) rotate(9deg); }
.doc:nth-child(3) { --k: 2; --o0: 0; --from: translate(0, 30px) scale(.9); --rest: translate(0, 12px) rotate(-2deg); --hover: translate(0, 16px) rotate(-1deg); }
/* este bloco não é um link: o leque abre ao passar o mouse sobre os cartões */
@media (hover: hover) {
  .tile--company.is-in:hover .stack > * { transform: var(--rest); }
  .tile--company.is-in .stack--docs:hover > * { transform: var(--hover); }
}

.company__actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 13.5px; font-weight: 500; white-space: nowrap;
  transition: border-color .25s, background .25s, transform .25s var(--ease-out);
}
.pill i { font-size: 17px; color: var(--gold); }
.pill:hover { border-color: #4A4A4A; background: var(--tile-hover); }
.pill:active { transform: scale(.97); }

.company__rows { grid-area: rows; margin: 0; padding: 0; list-style: none; }
.crow { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.crow > i:first-child { margin-top: 2px; font-size: 18px; color: var(--gold); }
.crow__text { flex: 1; min-width: 0; display: grid; gap: 1px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; transition: color .25s; }
.crow__label { font-size: 12px; color: var(--muted); }
.crow__go { margin-top: 2px; font-size: 16px; color: #5C5954; transition: color .25s, transform .3s var(--ease-out); }
@media (hover: hover) {
  .crow:hover .crow__text { color: var(--gold); }
  .crow:hover .crow__go { color: var(--gold); transform: translate(2px, -2px); }
}

.footer { margin-top: 32px; text-align: center; font-size: 12.5px; color: #5C5954; }

/* ==========================================================
   DESKTOP: perfil fixo à esquerda, bento em 4 colunas
   ========================================================== */
@media (min-width: 960px) {
  .page {
    max-width: 1160px; display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: 72px;
    padding: 72px 40px 48px;
  }
  .profile { position: sticky; top: 72px; align-self: start; text-align: left; padding-top: 0; }
  .profile__top { justify-content: space-between; align-items: flex-start; }
  .share { position: static; }
  .avatar { width: 128px; height: 128px; }
  .profile .name { margin: 28px 0 0; font-size: 64px; }
  .name { text-align: left; }
  .handle { justify-content: flex-start; }
  .bio { margin-left: 0; text-wrap: pretty; }
  .handle { font-size: 15px; }
  .bio { font-size: 16px; }
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 80px; gap: 16px; margin-top: 0; }
  .tile { grid-column: span var(--dc); grid-row: span var(--dr); padding: 18px; }
  .tile--episode { padding: 0; }
  .tile__caption { padding: 22px 24px 24px; }
  .tile__headline { font-size: 24px; }
  .play { width: 72px; height: 72px; margin: -36px 0 0 -36px; font-size: 27px; }
  .tile--brand { flex-direction: column; align-items: flex-start; }
  .wordmark { font-size: 36px; }
  .wordmark span { display: block; }
  .tile--more { padding: 20px 0; }
  .more__head, .more__rail { padding-left: 20px; padding-right: 20px; }
  .footer { grid-column: 2; text-align: left; }
  .profile { grid-row: 1 / span 3; }
  .tile--company {
    grid-column: 2; margin-top: 16px; padding: 24px; column-gap: 32px; row-gap: 18px;
    grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "head stack" "actions stack" "rows stack";
    align-items: start;
  }
  .stack--docs { height: 100%; min-height: 240px; }
}

/* ---------- player ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 8, 8, .9); opacity: 0; transition: opacity .3s; }
.modal__box {
  position: relative; width: min(100%, 880px); overflow: hidden; border-radius: 24px;
  background: var(--tile); border: 1px solid var(--line-strong);
  transform: translateY(24px) scale(.97); opacity: 0; transition: transform .45s var(--ease-out), opacity .3s;
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__box { transform: none; opacity: 1; }
.modal__close { position: absolute; z-index: 2; top: 10px; right: 10px; background: rgba(11, 11, 11, .8); color: var(--text); }
.modal__frame { aspect-ratio: 16 / 9; background: #080808; }
.modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal__meta { display: grid; gap: 4px; padding: 16px 20px 20px; }
.modal__num { margin: 0; font-size: 13px; color: var(--gold); font-weight: 500; }
.modal__title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.35; }
.modal__yt { display: inline-flex; align-items: center; gap: 6px; width: max-content; margin-top: 8px; font-size: 14px; color: var(--muted); }
.modal__yt:hover { color: var(--text); }

/* ---------- toast ---------- */
.toast {
  position: fixed; z-index: 95; left: 50%; top: calc(16px + env(safe-area-inset-top));
  padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
  color: var(--on-gold); background: var(--gold);
  transform: translate(-50%, -200%); visibility: hidden; transition: transform .45s var(--ease-out), visibility 0s .45s;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .intro { display: none; }
  .tile:not(.is-in) { opacity: 1; }
  .stack > * { transform: var(--rest) !important; opacity: 1 !important; }
}
