/* ── PAGINA DO SOCIO (21/10/2026) ──
   Segunda versao. A primeira, no desenho das paginas de autoridade, ficou
   "muito ruim" para ele: pediu algo mais caprichado, com moldura do
   Instagram e video. Tudo no azul, sem folha creme: nas pecas pessoais dele
   o fundo claro foi recusado (09/10/2026). As fotos do ensaio tem fundo
   preto, e o alto da pagina nasce desse preto.

   Partes: o alto com as fotos se alternando devagar, a faixa de
   credenciais, a apresentacao com a moldura do Instagram (o video de 09/10
   no Bueno), formacao e areas, os textos assinados e o fecho do site. */

.sp { --preto: #05080f; --cartao: #0c1528; background: var(--navy-dark); }
.sp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; position: relative; }

.sp-rotulo { display: flex; align-items: center; gap: 12px; margin: 0; font: 600 .66rem/1.4 var(--ff); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-muted); }
.sp-rotulo::before { content: ""; width: 36px; height: 1px; background: linear-gradient(90deg, var(--gold-start), var(--gold-end)); flex: none; }

/* ════ O ALTO ════ */
.sp-hero { position: relative; display: flex; align-items: center; min-height: min(94vh, 900px); overflow: hidden; background: var(--preto); isolation: isolate; }
.sp-fotos { position: absolute; top: 0; right: 0; bottom: 0; width: min(62%, 800px); z-index: 0; overflow: hidden; }
.sp-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; opacity: 0; }
/* Cinco fotos em 35 s: cada uma fica 7 s, com 1,4 s de passagem. A primeira
   ja nasce acesa (atraso negativo). */
.sp-fotos--varias .sp-foto { animation: sp-troca 35s linear infinite both; animation-delay: calc(var(--i) * 7s - 1.4s); }
@keyframes sp-troca {
  0%   { opacity: 0; transform: scale(1); }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  24%  { opacity: 0; transform: scale(1.07); }
  100% { opacity: 0; transform: scale(1.07); }
}
.sp-fotos--uma .sp-foto { opacity: 1; animation: sp-aproxima 24s ease-in-out infinite alternate; }
@keyframes sp-aproxima { from { transform: scale(1); } to { transform: scale(1.07); } }
.sp-fotos::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--preto) 0%, rgba(5,8,15,.82) 16%, rgba(5,8,15,.25) 42%, rgba(5,8,15,0) 60%),
  linear-gradient(0deg, var(--preto) 0%, rgba(5,8,15,0) 26%),
  linear-gradient(180deg, rgba(5,8,15,.55) 0%, rgba(5,8,15,0) 18%); }
.sp-hero::after { content: ""; position: absolute; left: -10%; top: 30%; width: 60%; height: 70%; background: radial-gradient(closest-side, rgba(235,158,110,.10), transparent); z-index: 0; pointer-events: none; }

.sp-hero > .sp-wrap { width: 100%; }
.sp-hero-texto { position: relative; z-index: 2; max-width: 560px; padding: 150px 0 110px; }
.sp-hero h1 { margin: 24px 0 18px; font-family: var(--ff-serif); font-weight: 500; font-size: clamp(3.4rem, 7.6vw, 6.6rem); line-height: .94; letter-spacing: -.01em; color: var(--white); }
.sp-oab { margin: 0; font: 500 .82rem/1.5 var(--ff); letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.sp-frase { margin: 28px 0 36px; max-width: 32ch; font-family: var(--ff-serif); font-size: clamp(1.3rem, 2.1vw, 1.6rem); line-height: 1.42; color: var(--white2); }
.sp-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.sp-redes { display: flex; gap: 10px; }
.sp-redes a { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,207,121,.3); color: var(--gold); transition: border-color .25s, background .25s; }
.sp-redes a:hover, .sp-redes a:focus-visible { border-color: var(--gold); background: rgba(255,207,121,.08); outline: none; }
.sp-redes svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ════ CREDENCIAIS ════ */
.sp-destaques { position: relative; z-index: 2; border-top: 1px solid rgba(255,207,121,.14); border-bottom: 1px solid rgba(255,207,121,.14); background: rgba(255,255,255,.02); }
.sp-destaques ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin: 0; padding: 24px 0; list-style: none; }
.sp-destaques li { display: flex; align-items: center; gap: 12px; font: 500 .78rem/1.4 var(--ff); letter-spacing: .05em; color: var(--white2); }
.sp-destaques li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-start), var(--gold-end)); flex: none; }

/* ════ SECOES ════ */
.sp-sec { position: relative; padding: 110px 0; }
.sp-sec--faixa { background: linear-gradient(180deg, rgba(22,41,71,.35), rgba(22,41,71,0)); border-top: 1px solid rgba(255,255,255,.05); }
.sp-sec h2 { margin: 16px 0 24px; font-family: var(--ff-serif); font-weight: 500; font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.08; color: var(--white); }
.sp-sec h3 { margin: 48px 0 18px; font-family: var(--ff-serif); font-weight: 500; font-size: 1.6rem; color: var(--white); }
.sp-sec p { margin: 0 0 18px; font-size: .97rem; line-height: 1.9; color: var(--white2); }
.sp-sec p strong { color: var(--white); font-weight: 600; }
.sp-duas { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 80px; align-items: center; }
.sp-duas--topo { align-items: start; }

/* ════ A MOLDURA DO INSTAGRAM ════
   O perfil do socio como aparece no aplicativo: retrato com anel, usuario,
   botao para o perfil, a midia e a legenda. Sem curtida, sem numero: so a
   moldura. O anel e no dourado do site, e nao no degrade do Instagram. */
.sp-insta { justify-self: center; width: min(100%, 360px); margin: 0; overflow: hidden; border-radius: 24px; background: var(--cartao); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 0 0 1px rgba(255,207,121,.12), 0 60px 110px -50px rgba(0,0,0,.95); }
.sp-insta-topo { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.sp-insta-anel { flex: none; width: 44px; height: 44px; padding: 2px; border-radius: 50%; background: conic-gradient(from 210deg, var(--gold-start), var(--gold-end), #b8742f, var(--gold-start)); }
.sp-insta-anel img { display: block; width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--cartao); object-fit: cover; object-position: 50% 12%; }
.sp-insta-quem { min-width: 0; line-height: 1.3; }
.sp-insta-quem b { display: block; font: 600 .84rem var(--ff); color: var(--white); }
.sp-insta-quem span { font: .7rem var(--ff); color: var(--gray); }
.sp-insta-ver { margin-left: auto; flex: none; padding: 8px 14px; border-radius: 9px; background: linear-gradient(135deg, var(--gold-start), var(--gold-end)); font: 700 .68rem var(--ff); letter-spacing: .04em; color: #0b1324; text-decoration: none; }
.sp-insta-midia { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--preto); }
.sp-insta-midia video, .sp-insta-midia img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-insta-midia img { object-position: 50% 12%; animation: sp-aproxima 20s ease-in-out infinite alternate; }
.sp-insta-icones { display: flex; gap: 16px; padding: 14px 16px 6px; color: var(--white); }
.sp-insta-icones svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sp-insta-icones svg:last-child { margin-left: auto; }
.sp-insta-legenda { margin: 0; padding: 4px 16px 20px; font: .8rem/1.6 var(--ff); color: var(--white2); }
.sp-insta-legenda b { color: var(--white); font-weight: 600; margin-right: 4px; }
.sp-insta-legenda a { color: var(--gray); text-decoration: none; white-space: nowrap; }

/* ════ FORMACAO E AREAS ════ */
.sp-linha { position: relative; margin: 8px 0 0; padding: 0; list-style: none; }
.sp-linha li { position: relative; padding: 0 0 30px 34px; }
.sp-linha li::before { content: ""; position: absolute; left: 0; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-start), var(--gold-end)); box-shadow: 0 0 0 4px rgba(255,207,121,.12); }
.sp-linha li::after { content: ""; position: absolute; left: 5px; top: 26px; bottom: 4px; width: 1px; background: linear-gradient(180deg, rgba(255,207,121,.45), rgba(255,207,121,.08)); }
.sp-linha li:last-child { padding-bottom: 0; }
.sp-linha li:last-child::after { display: none; }
.sp-linha li.em-curso::before { background: var(--navy-dark); border: 1px solid var(--gold); box-shadow: none; }
.sp-linha b { display: block; font-family: var(--ff-serif); font-weight: 500; font-size: 1.32rem; line-height: 1.3; color: var(--white); }
.sp-linha span { display: block; margin-top: 4px; font: .8rem/1.5 var(--ff); color: var(--gray); }
.sp-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.sp-area { position: relative; display: block; padding: 24px 26px 26px; border-radius: 18px; background: var(--vidro-fundo); border: 1px solid var(--vidro-borda); box-shadow: var(--vidro-reflexo); text-decoration: none; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.sp-area:hover, .sp-area:focus-visible { transform: translateY(-3px); border-color: rgba(255,207,121,.45); outline: none; }
.sp-area b { display: block; padding-right: 22px; font-family: var(--ff-serif); font-weight: 500; font-size: 1.36rem; line-height: 1.2; color: var(--white); }
.sp-area span { display: block; margin-top: 8px; font: .8rem/1.55 var(--ff); color: var(--gray); }
.sp-area::after { content: "→"; position: absolute; top: 22px; right: 22px; color: var(--gold); font: 1rem var(--ff); }

/* ════ TEXTOS ════ */
.sp-numeros { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; margin: 8px 0 12px; overflow: hidden; border-radius: 20px; background: rgba(255,207,121,.16); }
.sp-numeros > div { padding: 34px 26px; background: var(--cartao); text-align: center; }
.sp-numeros b { display: block; font-family: var(--ff-serif); font-weight: 500; font-size: 3.4rem; line-height: 1; color: var(--gold); }
.sp-numeros span { display: block; margin-top: 10px; font: 600 .66rem/1.5 var(--ff); letter-spacing: .16em; text-transform: uppercase; color: var(--gray); }
.sp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sp-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--cartao); border: 1px solid rgba(255,255,255,.08); text-decoration: none; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.sp-card:hover, .sp-card:focus-visible { transform: translateY(-4px); border-color: rgba(255,207,121,.4); outline: none; }
.sp-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sp-card div { padding: 20px 22px 24px; }
.sp-card small { display: block; font: 600 .62rem/1.5 var(--ff); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-muted); }
.sp-card b { display: block; margin-top: 10px; font-family: var(--ff-serif); font-weight: 500; font-size: 1.2rem; line-height: 1.3; color: var(--white); }
.sp-lista { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.08); }
.sp-lista li { border-bottom: 1px solid rgba(255,255,255,.08); }
.sp-lista a { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 16px 4px; text-decoration: none; }
.sp-lista a span { font: 500 .92rem/1.5 var(--ff); color: var(--white2); transition: color .2s; }
.sp-lista a time { flex: none; font: .74rem var(--ff); color: var(--gray); }
.sp-lista a:hover span, .sp-lista a:focus-visible span { color: var(--gold); }
.sp-mais { margin-top: 48px; }
.sp-mais summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: 14px; background: var(--vidro-fundo); border: 1px solid var(--vidro-borda); cursor: pointer; list-style: none; font-family: var(--ff-serif); font-size: 1.4rem; color: var(--white); }
.sp-mais summary::-webkit-details-marker { display: none; }
.sp-mais summary::after { content: "+"; font: 400 1.4rem var(--ff); color: var(--gold); transition: transform .25s; }
.sp-mais[open] summary::after { transform: rotate(45deg); }
.sp-mais .sp-lista { margin-top: 14px; }
.sp-nota { margin-top: 40px; padding: 22px 26px; border-left: 2px solid var(--gold); background: rgba(255,207,121,.05); border-radius: 0 12px 12px 0; }
.sp-nota a { color: var(--gold); }

/* ════ CELULAR ════ */
@media (max-width: 900px) {
  .sp-wrap { padding: 0 20px; }
  .sp-hero { display: block; min-height: 0; }
  .sp-fotos { position: relative; width: 100%; height: 72vh; max-height: 600px; min-height: 420px; }
  .sp-fotos::after { background:
    linear-gradient(0deg, var(--preto) 3%, rgba(5,8,15,.55) 32%, rgba(5,8,15,0) 62%),
    linear-gradient(180deg, rgba(5,8,15,.6) 0%, rgba(5,8,15,0) 20%); }
  .sp-hero-texto { margin-top: -150px; padding: 0 0 64px; }
  .sp-hero .sp-rotulo { letter-spacing: .16em; }
  .sp-hero .sp-rotulo::before { display: none; }
  .sp-hero h1 { margin-top: 18px; }
  .sp-frase { margin: 22px 0 30px; }
  .sp-destaques ul { flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 0; }
  .sp-sec { padding: 76px 0; }
  .sp-duas { grid-template-columns: 1fr; gap: 52px; }
  .sp-areas { grid-template-columns: 1fr; }
  .sp-cards { grid-template-columns: 1fr; }
  .sp-lista a { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .sp-fotos--varias .sp-foto { animation: none; }
  .sp-fotos--varias .sp-foto:first-child { opacity: 1; }
  .sp-fotos--uma .sp-foto, .sp-insta-midia img { animation: none; }
  .sp-area, .sp-card { transition: none; }
}
