/* Página de links · SG Treinamentos (substitui o Linktree). Celular primeiro. Sem JS. */

@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('assets/fonts/schibstedgrotesk-normal-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Gilda Display'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('assets/fonts/gildadisplay-normal-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 100%; font-display: swap; src: url('assets/fonts/archivo-normal-400_900-latin.woff2') format('woff2'); }
@font-face { font-family: 'Mona Sans'; font-style: normal; font-weight: 300 600; font-stretch: 100% 125%; font-display: swap; src: url('assets/fonts/monasans-normal-300_600-latin.woff2') format('woff2'); }

:root {
  --fundo: #0F0E0D;
  --fundo-2: #181614;
  --linha: rgba(255, 244, 228, .14);
  --texto: #F4EEE4;
  --texto-2: #B9B0A3;
  --acento: #F0471D;
  --f: 'Schibsted Grotesk', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100svh; font-family: var(--f); color: var(--texto); line-height: 1.4;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(240, 71, 29, .22), transparent 60%),
    radial-gradient(90% 50% at 100% 100%, rgba(123, 59, 255, .16), transparent 60%),
    var(--fundo);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg .cheio { fill: currentColor; stroke: none; }

.pagina { width: min(100% - 32px, 560px); margin-inline: auto; padding: 36px 0 28px; display: grid; gap: 30px; }

/* topo */
.topo { display: grid; justify-items: center; text-align: center; gap: 6px; }
.avatar { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 3px solid var(--texto); box-shadow: 0 0 0 6px rgba(240, 71, 29, .28), 0 18px 40px -12px rgba(240, 71, 29, .55); margin-bottom: 12px; }
.marca { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.lema { font-size: 16px; color: var(--texto-2); max-width: 26ch; }

/* rótulos de seção */
.rotulo { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-2); margin-bottom: 14px; }
.rotulo-fio { flex: 1; height: 1px; background: var(--linha); }

/* trilha: 3 cartões, cada um com a cara da sua página; foto do Samuel em todos, lado alternado */
.degraus { display: grid; gap: 30px; padding-top: 14px; }
.degrau { position: relative; }
.degrau + .degrau::before { content: ""; position: absolute; left: 50%; top: -30px; height: 30px; border-left: 2px dashed var(--linha); }
.cartao { --foto: 46%; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--foto); min-height: 196px; border-radius: 26px; isolation: isolate; transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.cartao--foto-esq { grid-template-columns: var(--foto) minmax(0, 1fr); }
.cartao:hover, .cartao:focus-visible { transform: translateY(-4px); }
.cartao:focus-visible, .linha:focus-visible, .social:focus-visible { outline: 3px solid var(--texto); outline-offset: 4px; }
/* fundo recortado no raio do cartão (a foto pode passar do topo; o fundo não) */
.cartao-fundo { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; box-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 26px 44px -22px rgba(0, 0, 0, .95); }
.cartao-num { position: absolute; bottom: -.2em; line-height: .8; font-size: 190px; font-weight: 800; letter-spacing: -.04em; pointer-events: none; user-select: none; }
.cartao:not(.cartao--foto-esq) .cartao-num { left: -6px; }
.cartao--foto-esq .cartao-num { right: -6px; }
/* foto: encosta na base do cartão (o corte coincide com a borda) e passa um pouco do topo */
.cartao-foto { grid-row: 1; grid-column: 2; position: relative; align-self: stretch; }
.cartao--foto-esq .cartao-foto { grid-column: 1; }
.cartao-foto img { position: absolute; bottom: 0; right: 0; height: calc(100% + 26px); width: auto; max-width: none; object-fit: contain; object-position: bottom; border-bottom-right-radius: 26px; }
.cartao--foto-esq .cartao-foto img { right: auto; left: 0; border-bottom-right-radius: 0; border-bottom-left-radius: 26px; }
/* texto */
.cartao-txt { grid-row: 1; grid-column: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 18px 4px 18px 18px; min-width: 0; z-index: 1; }
.cartao--foto-esq .cartao-txt { grid-column: 2; padding: 18px 18px 18px 4px; }
.cartao-etq { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.cartao-passo { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; }
.cartao-sis { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cartao-tit { font-size: 26px; line-height: 1.04; text-wrap: balance; }
.cartao-tit b { font-weight: inherit; white-space: nowrap; }
.nq { white-space: nowrap; }
.cartao-ir { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 9px 10px 9px 14px; border-radius: 999px; }
.cartao-seta { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; transition: transform .25s; }
.cartao-seta svg { width: 14px; height: 14px; stroke-width: 2.6; }
.cartao:hover .cartao-seta { transform: translateX(3px); }

/* 1 · CPA: papel creme, serif, laranja */
.cartao--cpa { color: #231815; }
.cartao--cpa .cartao-fundo { background: radial-gradient(90% 120% at 100% 100%, #9FB6CC 0 38%, transparent 38.5%), #F2EBDC; }
.cartao--cpa .cartao-num { color: rgba(240, 71, 29, .13); font-family: 'Gilda Display', Georgia, serif; font-weight: 400; }
.cartao--cpa .cartao-passo { background: #231815; color: #F2EBDC; }
.cartao--cpa .cartao-sis { color: #B92F0C; }
.cartao--cpa .cartao-tit { font-family: 'Gilda Display', Georgia, serif; font-size: 31px; }
.cartao--cpa .cartao-tit b { color: #F0471D; }
.cartao--cpa .cartao-ir { background: #F0471D; color: #231815; box-shadow: 0 3px 0 #A4300F; }
.cartao--cpa .cartao-seta { background: #231815; color: #F2EBDC; }
.cartao--cpa .cartao-foto img { filter: drop-shadow(-6px 6px 10px rgba(35, 24, 21, .22)); }

/* 2 · C-Pro R: preto, grotesca pesada em caixa-alta, vermelho, foto P&B à esquerda */
.cartao--cpror { color: #F3F0EA; }
.cartao--cpror .cartao-fundo { background: radial-gradient(70% 90% at 0% 60%, rgba(255, 49, 32, .26), transparent 70%), #060606; box-shadow: 0 0 0 1px rgba(243, 240, 234, .16) inset, 0 26px 44px -22px rgba(0, 0, 0, .95); }
.cartao--cpror .cartao-num { color: transparent; -webkit-text-stroke: 2px rgba(255, 49, 32, .5); font-family: 'Archivo', Arial, sans-serif; font-stretch: 70%; }
.cartao--cpror .cartao-passo { background: #FF3120; color: #060606; }
.cartao--cpror .cartao-sis { color: #A9A49C; }
.cartao--cpror .cartao-tit { font-family: 'Archivo', Arial, sans-serif; font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: -.01em; font-size: 27px; line-height: .98; }
.cartao--cpror .cartao-tit b { color: #FF3120; }
.cartao--cpror .cartao-ir { background: #F3F0EA; color: #060606; }
.cartao--cpror .cartao-seta { background: #FF3120; color: #060606; }
.cartao--cpror .cartao-foto img { height: 100%; -webkit-mask-image: linear-gradient(270deg, transparent, #000 30%); mask-image: linear-gradient(270deg, transparent, #000 30%); }

/* 3 · C-Pro I: azul-noite, luz espectral, sans larga */
.cartao--cproi { color: #EEF1FF; }
.cartao--cproi .cartao-fundo { background: linear-gradient(90deg, rgba(6, 6, 26, .94) 0%, rgba(6, 6, 26, .72) 52%, rgba(6, 6, 26, .12) 100%), #06061A url('assets/images/cproi-aurora.webp') center bottom / cover no-repeat; box-shadow: 0 0 0 1px rgba(123, 59, 255, .5) inset, 0 26px 44px -22px rgba(47, 107, 255, .5); }
.cartao--cproi .cartao-num { font-family: 'Mona Sans', Arial, sans-serif; font-weight: 600; font-stretch: 110%; background: linear-gradient(180deg, rgba(201, 168, 255, .3), rgba(143, 233, 255, .06)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cartao--cproi .cartao-passo { background: #EEF1FF; color: #06061A; }
.cartao--cproi .cartao-sis { color: #B8BEE0; }
.cartao--cproi .cartao-tit { font-family: 'Mona Sans', Arial, sans-serif; font-weight: 520; font-stretch: 112%; font-size: 24px; line-height: 1.08; letter-spacing: -.01em; }
.cartao--cproi .cartao-tit b { background: linear-gradient(90deg, #C9A8FF, #FF8FE0 55%, #8FE9FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cartao--cproi .cartao-ir { background: #EEF1FF; color: #06061A; }
.cartao--cproi .cartao-seta { background: #06061A; color: #EEF1FF; }
.cartao--cproi .cartao-foto img { height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%); mask-image: linear-gradient(90deg, transparent, #000 20%); }

/* outros links */
.linhas { display: grid; gap: 10px; }
.linha { display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; align-items: center; gap: 14px; min-height: 68px; padding: 12px 16px 12px 12px; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 244, 228, .09), rgba(255, 244, 228, .04)); border: 1px solid var(--linha); transition: transform .2s, background-color .2s, border-color .2s; }
.linha:hover { transform: translateY(-2px); border-color: rgba(255, 244, 228, .32); }
.linha-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 244, 228, .1); color: var(--texto); }
.linha-ic svg { width: 22px; height: 22px; }
.linha-ic--yt { color: #FF5A47; }
.linha-txt { display: grid; gap: 1px; min-width: 0; }
.linha-tit { font-size: 17px; font-weight: 700; }
.linha-sub { font-size: 14px; color: var(--texto-2); }
.linha-seta { color: var(--texto-2); }
.linha-seta svg { width: 20px; height: 20px; display: block; }

/* rodapé */
.rodape { display: grid; justify-items: center; gap: 14px; padding-top: 6px; color: var(--texto-2); font-size: 13px; letter-spacing: .04em; }
.social { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--texto); border: 1px solid var(--linha); transition: transform .2s, border-color .2s; }
.social:hover { transform: translateY(-2px); border-color: rgba(255, 244, 228, .4); }
.social svg { width: 22px; height: 22px; }

/* entrada suave */
@media (prefers-reduced-motion: no-preference) {
  .topo, .trilha .rotulo, .degrau, .mais, .rodape { animation: sobe .6s cubic-bezier(.2, .8, .2, 1) both; }
  .trilha .rotulo { animation-delay: .08s; }
  .degrau:nth-child(1) { animation-delay: .14s; }
  .degrau:nth-child(2) { animation-delay: .22s; }
  .degrau:nth-child(3) { animation-delay: .30s; }
  .mais { animation-delay: .38s; }
  .rodape { animation-delay: .46s; }
  @keyframes sobe { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* telas largas: mesma coluna, um pouco mais de ar */
@media (min-width: 720px) {
  .pagina { padding-top: 56px; gap: 34px; }
  .avatar { width: 120px; height: 120px; }
  .marca { font-size: 30px; }
  .degraus { gap: 34px; }
  .degrau + .degrau::before { top: -34px; height: 34px; }
  .cartao { min-height: 232px; --foto: 44%; }
  .cartao-txt { padding: 24px 8px 24px 26px; }
  .cartao--foto-esq .cartao-txt { padding: 24px 26px 24px 8px; }
  .cartao-num { font-size: 240px; }
  .cartao--cpa .cartao-tit { font-size: 42px; }
  .cartao--cpror .cartao-tit { font-size: 36px; }
  .cartao--cproi .cartao-tit { font-size: 32px; }
}
