/* Página de links do Empresa Inquebrável: mesmo layout do fernandojr.net/links.
   Cabeçalho em ilha de palco com foto e assinatura, destaque único em palco
   elevado com anel azul, grupos de linhas em cards. */

.lk { width: 100%; max-width: 560px; margin: 0 auto; padding: 16px 16px 56px; display: grid; gap: 20px; }

/* fundo: foto fixa desfocada atrás de um degradê verde da marca */
body { background: var(--ground); }
.lk-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.lk-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: blur(28px) saturate(1.1); transform: scale(1.15); opacity: .55; }
.lk-bg::after { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 45% at 50% -5%, rgb(47 208 138 / .45), transparent 70%),
    radial-gradient(55% 40% at 100% 55%, rgb(11 92 59 / .3), transparent 70%),
    radial-gradient(55% 40% at 0% 90%, rgb(47 208 138 / .22), transparent 70%),
    linear-gradient(180deg, rgb(3 20 12 / .35), rgb(3 20 12 / .82) 60%, rgb(3 20 12 / .95)); }
.row { -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
.lk .row { background: rgb(10 38 25 / .62); }
.lk .row:hover { background: rgb(14 48 33 / .85); }

/* cabeçalho */
.lk-head { position: relative; isolation: isolate; overflow: hidden; min-height: 400px; display: flex; align-items: flex-end; padding: 28px; border-radius: var(--radius-xl); background: var(--stage); }
.lk-head::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(70% 50% at 0% 0%, var(--brand-glow), transparent 70%); }
.lk-photo { position: absolute; inset: 0 0 0 30%; z-index: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%), linear-gradient(0deg, transparent 8%, #000 55%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 40%), linear-gradient(0deg, transparent 8%, #000 55%); mask-composite: intersect; }
.lk-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.lk-head-in { position: relative; z-index: 2; display: grid; gap: 6px; }
.lk-logo { width: 190px; margin-bottom: 10px; }
.lk-bio { font: 600 22px/1.25 var(--font-display); letter-spacing: -.02em; color: var(--stage-fg) !important; max-width: 18ch; }
.lk-role { font-size: 13px; line-height: 1.5; }
.lk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lk-actions .btn { min-height: 40px; padding: 0 14px; }
.lk-btn-solid { background: #fff; color: var(--ground); }
.lk-btn-solid:hover { background: #d9efe3; }

/* destaque */
.lk-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 6px; justify-items: start; min-height: 0; padding: 18px 42% 18px 22px; border-radius: var(--radius-lg); background: radial-gradient(70% 90% at 0% 0%, var(--brand-glow), transparent 70%), var(--stage-raised); box-shadow: inset 0 0 0 1px var(--brand), var(--lift); transition: translate .2s ease-out; }
.lk-hero:hover { translate: 0 -2px; }
.lk-hero:active { scale: .99; }
.lk-hero-img { position: absolute; z-index: -1; right: 0; top: 0; width: 50%; height: 100%; object-fit: cover; object-position: 45% 20%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.lk-flag { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--stage-accent); }
.lk-flag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.lk-hero strong { font: 600 clamp(21px, 5.6vw, 24px)/1.12 var(--font-display); letter-spacing: -.02em; color: var(--stage-fg); }
.lk-hero-d { font-size: 13.5px; line-height: 1.5; color: var(--stage-muted); }
.lk-hero-cta { margin-top: 4px; }
.lk-hero:hover .lk-hero-cta { background: var(--brand-hover); }
.lk-dm { background: radial-gradient(70% 90% at 0% 0%, rgb(255 255 255 / .08), transparent 70%), var(--stage-raised); box-shadow: inset 0 0 0 1px var(--line-strong), var(--lift); }
.lk-dm:hover .lk-hero-cta { background: #d9efe3; }
.lk-hero:hover .lk-hero-cta .ico { translate: 2px 0; }

/* workshop: card principal, foto cheia em cima e contagem que pulsa */
.lk-com { background: radial-gradient(80% 100% at 0% 0%, rgb(74 222 128 / .16), transparent 65%), radial-gradient(70% 90% at 100% 100%, var(--brand-glow), transparent 70%), var(--stage-raised); box-shadow: inset 0 0 0 1px rgb(74 222 128 / .55), 0 20px 50px -24px rgb(74 222 128 / .45); }
.lk-flag-live { color: #4ade80; }
.lk-flag-live::before { background: #4ade80; box-shadow: 0 0 0 0 rgb(74 222 128 / .7); animation: aovivo 1.8s ease-out infinite; }
@keyframes aovivo { 70% { box-shadow: 0 0 0 8px rgb(74 222 128 / 0); } 100% { box-shadow: 0 0 0 0 rgb(74 222 128 / 0); } }
.lk-com-cta { margin-top: 4px; background: #22c55e; color: #04130a; box-shadow: inset 0 1px 0 #ffffff59, 0 10px 28px -12px #22c55e; }
.lk-com:hover .lk-com-cta { background: #4ade80; }
.lk-com .lk-hero-img { object-position: 50% 15%; }
@media (prefers-reduced-motion: reduce) { .lk-flag-live::before { animation: none; } }

/* grupos */
.grp { display: grid; gap: 8px; }
.grp > .eyebrow { margin: 8px 4px 4px; }
.row, .row-yt > summary { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px 12px 12px; cursor: pointer; }
.row { border-radius: 18px; background: var(--surface); box-shadow: var(--ring); transition: box-shadow .15s ease-out, background-color .15s ease-out; }
.row:hover { background: var(--stage-raised); box-shadow: inset 0 0 0 1px var(--line-strong); }
.row-yt { display: block; padding: 0; }
.row-yt > summary { list-style: none; }
.row-yt > summary::-webkit-details-marker { display: none; }
.tx { display: grid; gap: 2px; min-width: 0; }
.tx b { font-size: 15px; line-height: 1.35; }
.tx > span { display: flex; align-items: center; gap: 7px; font-size: 13px; line-height: 1.45; color: var(--ink-dim); }
.go { width: 18px; height: 18px; flex: none; color: var(--ink-dim); transition: translate .2s ease-out, color .15s; }
.row:hover .go { color: var(--brand-text); translate: 2px 0; }
.row-yt:hover .go.chev { translate: none; }
.chev { transition: rotate .2s ease-out; }
.row-yt[open] .chev { rotate: 180deg; }
.live { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; flex: none; }

.th { position: relative; width: 56px; height: 56px; flex: none; }
.th-ico { display: grid; place-items: center; border-radius: 12px; background: radial-gradient(80% 80% at 30% 20%, var(--brand-glow), transparent 70%), var(--stage-raised); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--brand-text); }
.th-ico > svg { width: 24px; height: 24px; }
.th img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; box-shadow: 0 0 0 1px #ffffff1f; }
.badge { position: absolute; right: -6px; bottom: -6px; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: var(--radius-pill); background: var(--brand); color: var(--on-brand); font-style: normal; box-shadow: 0 0 0 2px var(--surface); }
.badge svg { width: 13px; height: 13px; }
.badge-date { font-size: 9.5px; letter-spacing: .04em; }
.price { padding: 6px 10px; border-radius: var(--radius-pill); font-size: 12px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color .15s, color .15s; }
.row-prod:hover .price { background: #fff; color: var(--ground); }

.yt { margin: 0 12px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.yt iframe { display: block; width: 100%; height: 100%; border: 0; }
.yt-sub { display: inline-flex; align-items: center; gap: 6px; margin: 12px 16px 16px; font-size: 13px; color: var(--ink-muted); }
.yt-sub svg { width: 14px; height: 14px; }

/* pasta da Biblioteca da CF */
.fd { display: grid; gap: 4px; padding: 0 8px 8px; }
.fd-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px 8px 8px; border-radius: 14px; transition: background-color .15s; }
.fd-item:hover { background: #ffffff0d; }
.fd-item:hover .go { color: var(--brand-text); translate: 2px 0; }
.fd-th { width: 40px; height: 52px; flex: none; }
.fd-th img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; border-radius: 6px; box-shadow: 0 0 0 1px #ffffff1f; }
.fd-item .tx b { font-size: 14px; }
.fd-all { display: inline-flex; align-items: center; gap: 6px; margin: 6px 10px 4px; font-size: 13px; font-weight: 600; color: var(--brand-text); }
.fd-all svg { width: 14px; height: 14px; }


.site { justify-self: center; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--ink-dim); transition: color .15s; }
.site:hover { color: var(--ink); }
.site svg { width: 16px; height: 16px; }

@media (max-width: 480px) {
  .lk { padding: 8px 8px 48px; }
  .lk-head { min-height: 380px; padding: 22px; border-radius: var(--radius-lg); }
  .lk-head { min-height: 520px; }
  .lk-photo { inset: 0 0 34% 0; -webkit-mask-image: linear-gradient(0deg, transparent, #000 45%); mask-image: linear-gradient(0deg, transparent, #000 45%); }
  .lk-photo img { object-position: 50% 12%; }
  .lk-hero { padding-right: 34%; }
  .lk-flag { font-size: 11px; letter-spacing: .1em; gap: 6px; }
  .lk-hero-img { width: 44%; }
}

/* card principal do workshop: foto inteira no topo, texto embaixo */
.lk-main { padding: 0 0 22px; gap: 8px; }
.lk-main .lk-hero-img { position: relative; z-index: 0; width: 100%; height: auto; aspect-ratio: 16 / 9; object-position: 50% 35%; margin-bottom: 6px; -webkit-mask-image: linear-gradient(0deg, transparent, #000 40%); mask-image: linear-gradient(0deg, transparent, #000 40%); }
.lk-main > :not(img) { margin-inline: 22px; }
.lk-main strong { font-size: clamp(24px, 6.4vw, 30px); }
.lk-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--stage-fg); }
.lk-meta span { display: inline-flex; align-items: center; gap: 6px; }
.lk-meta svg { width: 15px; height: 15px; color: var(--brand-text); }
.lk-main .lk-com-cta { margin-top: 8px; }
.lk-price { font-size: 12.5px; color: var(--stage-muted); }
@media (max-width: 480px) { .lk-main { padding-right: 0; } .lk-main .lk-hero-img { width: 100%; } }
/* no cabeçalho a foto mostra o Edilson, não o logo do telão (o logo já está no texto) */
.lk-photo img { object-position: 64% 22%; }
@media (max-width: 480px) { .lk-photo img { object-position: 62% 18%; } }

/* evento com identidade própria (Escola de Palestrantes): anel magenta */
.lk-evt { background: radial-gradient(80% 100% at 0% 0%, rgb(226 40 160 / .18), transparent 65%), var(--stage-raised); box-shadow: inset 0 0 0 1px rgb(226 40 160 / .6), 0 20px 50px -24px rgb(226 40 160 / .45); }
.lk-evt .lk-hero-img { object-position: 82% 25%; }
.lk-evt .lk-flag-live { color: #ff6fcf; }
.lk-evt .lk-flag-live::before { background: #ff6fcf; box-shadow: 0 0 0 0 rgb(255 111 207 / .7); animation-name: aovivo-mg; }
@keyframes aovivo-mg { 70% { box-shadow: 0 0 0 8px rgb(255 111 207 / 0); } 100% { box-shadow: 0 0 0 0 rgb(255 111 207 / 0); } }
.lk-evt-cta { margin-top: 4px; background: #e228a0; color: #fff; box-shadow: inset 0 1px 0 #ffffff59, 0 10px 28px -12px #e228a0; }
.lk-evt:hover .lk-evt-cta { background: #f04ab4; }
.lk-evt:hover .lk-evt-cta .ico { translate: 2px 0; }

/* cabeçalho compacto: Wellington recortado à direita, ações embaixo */
.lk-head-sm { display: grid; gap: 16px; min-height: 0; padding: 24px; align-items: start; }
.lk-head-sm .lk-photo { inset: 0 0 0 auto; width: 44%; -webkit-mask-image: linear-gradient(0deg, transparent 2%, #000 38%); mask-image: linear-gradient(0deg, transparent 2%, #000 38%); }
.lk-head-sm .lk-photo img { object-fit: cover; object-position: 50% 0; }
.lk-head-sm .lk-head-in { max-width: 60%; gap: 4px; }
.lk-head-sm .lk-logo { width: 160px; margin-bottom: 8px; }
.lk-head-sm .lk-bio { font-size: 20px; }
.lk-head-sm .lk-actions { position: relative; z-index: 2; margin-top: 0; }
.lk-btn-ico { width: 40px; padding: 0 !important; }
@media (max-width: 480px) {
  .lk-head-sm { min-height: 0; padding: 18px; gap: 14px; }
  .lk-head-sm .lk-photo { inset: 0 0 0 auto; width: 42%; }
  .lk-head-sm .lk-photo img { object-position: 50% 0; }
  .lk-head-sm .lk-head-in { max-width: 62%; }
  .lk-head-sm .lk-logo { width: 132px; }
  .lk-head-sm .lk-bio { font-size: 18px; }
  .lk-head-sm .lk-role { font-size: 12px; }
}

/* Quinta do Conhecimento: azul da arte do evento */
.lk-qdc { background: radial-gradient(80% 100% at 0% 0%, rgb(56 140 255 / .2), transparent 65%), var(--stage-raised); box-shadow: inset 0 0 0 1px rgb(56 140 255 / .6), 0 20px 50px -24px rgb(56 140 255 / .45); }
.lk-qdc .lk-hero-img { object-position: 100% 20%; }
.lk-qdc strong { font-size: clamp(18px, 5vw, 21px); }
.lk-qdc .lk-flag-live { color: #7cb8ff; }
.lk-qdc .lk-flag-live::before { background: #7cb8ff; animation-name: aovivo-az; }
@keyframes aovivo-az { 70% { box-shadow: 0 0 0 8px rgb(124 184 255 / 0); } 100% { box-shadow: 0 0 0 0 rgb(124 184 255 / 0); } }
.lk-qdc-cta { margin-top: 4px; background: #2f7fff; color: #fff; box-shadow: inset 0 1px 0 #ffffff59, 0 10px 28px -12px #2f7fff; }
.lk-qdc:hover .lk-qdc-cta { background: #5297ff; }
.lk-qdc:hover .lk-qdc-cta .ico { translate: 2px 0; }
