/* =========================================================
   jeantmsantos.com.br
   Direção: revista. Serifa expressiva, cor por modalidade,
   claro e escuro automáticos.
   ========================================================= */

:root {
  color-scheme: light dark;

  --papel:      #F6F5FB;
  --branco:     #FFFFFF;
  --tinta:      #191528;
  --tinta-dim:  #635C7D;
  --linha:      rgba(25, 21, 40, .11);
  --linha-forte:rgba(25, 21, 40, .30);
  --sombra:     0 18px 40px -22px rgba(25, 21, 40, .40);

  --coral:      #E8452A;
  --azul:       #2B6CF6;
  --verde:      #00875F;
  --violeta:    #7A3FF2;
  --ouro:       #A87A00;
  
  --envio:        #0F7A4D;
  --envio-hover:  #0C6440;
  --envio-texto:  #FFFFFF;  

  --coral-suave:   rgba(255, 90, 60, .09);
  --azul-suave:    rgba(43, 108, 246, .09);
  --verde-suave:   rgba(0, 169, 127, .10);
  --violeta-suave: rgba(122, 63, 242, .09);
  --ouro-suave:    rgba(224, 162, 0, .12);

  --bloco-fundo: #191528;
  --bloco-texto: #F6F5FB;

  --fonte-d: 'Fraunces', Georgia, 'Times New Roman', serif;
  --fonte-t: 'Plus Jakarta Sans', system-ui, sans-serif;

  --raio: 16px;
  --largura: 1140px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* Escuro sem JS: segue o sistema */
@media (prefers-color-scheme: dark) {
  :root:not([data-tema]) {
    --papel:      #13101F;
    --branco:     #1C1830;
    --tinta:      #F2F0F8;
    --tinta-dim:  #A49DC0;
    --linha:      rgba(255, 255, 255, .10);
    --linha-forte:rgba(255, 255, 255, .28);
    --sombra:     0 18px 44px -20px rgba(0, 0, 0, .75);

    --coral:      #FF7A5E;
    --azul:       #6E9BFF;
    --verde:      #2FD6A3;
    --violeta:    #A57BFF;
    --ouro:       #F5C243;
    
    --envio:        #12855A;
    --envio-hover:  #0F7049;
    --envio-texto:  #FFFFFF;  

    --coral-suave:   rgba(255, 122, 94, .14);
    --azul-suave:    rgba(110, 155, 255, .14);
    --verde-suave:   rgba(47, 214, 163, .13);
    --violeta-suave: rgba(165, 123, 255, .14);
    --ouro-suave:    rgba(245, 194, 67, .14);

    --bloco-fundo: #251E45;
    --bloco-texto: #F2F0F8;
  }
}

/* Escuro resolvido pelo JS ou escolhido na mão */
:root[data-tema='escuro'] {
  --papel:      #13101F;
  --branco:     #1C1830;
  --tinta:      #F2F0F8;
  --tinta-dim:  #A49DC0;
  --linha:      rgba(255, 255, 255, .10);
  --linha-forte:rgba(255, 255, 255, .28);
  --sombra:     0 18px 44px -20px rgba(0, 0, 0, .75);

  --coral:      #FF7A5E;
  --azul:       #6E9BFF;
  --verde:      #2FD6A3;
  --violeta:    #A57BFF;
  --ouro:       #F5C243;
 
  --envio:        #12855A;
  --envio-hover:  #0F7049;
  --envio-texto:  #FFFFFF;

  --coral-suave:   rgba(255, 122, 94, .14);
  --azul-suave:    rgba(110, 155, 255, .14);
  --verde-suave:   rgba(47, 214, 163, .13);
  --violeta-suave: rgba(165, 123, 255, .14);
  --ouro-suave:    rgba(245, 194, 67, .14);

  --bloco-fundo: #251E45;
  --bloco-texto: #F2F0F8;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
}
:root[data-tema='escuro'] body::after { opacity: .07; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--fonte-t);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { flex: 1; }

h1, h2, h3 {
  font-family: var(--fonte-d);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.04;
  margin: 0;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

.envolucro {
  width: 100%;
  max-width: var(--largura);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.pular { position: absolute; left: -9999px; }
.pular:focus {
  left: var(--gutter); top: .5rem; z-index: 60;
  background: var(--coral); color: #fff;
  padding: .5rem .9rem; border-radius: 8px; font-weight: 700;
}

/* ---------- Topo ---------- */

.topo {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--papel) 85%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linha);
}
.topo__interno {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 70px;
}

.marca {
  font-family: var(--fonte-d); font-weight: 900; font-size: 1.25rem;
  letter-spacing: -.035em; text-decoration: none; white-space: nowrap;
}
.marca i { font-style: normal; color: var(--coral); }

.menu { display: flex; gap: 1.75rem; font-size: .93rem; font-weight: 600; }
.menu a {
  text-decoration: none; color: var(--tinta-dim);
  padding: .2rem 0; border-bottom: 2px solid transparent; transition: .2s;
}
.menu a:hover { color: var(--coral); }
.menu a[aria-current='page'] { color: var(--tinta); border-bottom-color: var(--coral); }

.topo__acoes { display: flex; align-items: center; gap: .75rem; }

.btn-tema {
  display: grid; place-items: center;
  width: 38px; height: 38px; padding: 0;
  background: var(--branco); border: 1px solid var(--linha);
  border-radius: 10px; color: var(--tinta); cursor: pointer; transition: .2s;
}
.btn-tema:hover { border-color: var(--linha-forte); }
.btn-tema svg { width: 17px; height: 17px; }
.btn-tema [data-icone] { display: none; }
.btn-tema [data-icone='auto'] { display: block; }

.btn-topo {
  padding: .6rem 1.2rem; border-radius: 10px;
  background: var(--tinta); color: var(--papel);
  text-decoration: none; font-weight: 700; font-size: .88rem; white-space: nowrap;
}

.btn-topo2 {
  padding: .6rem 1.2rem; border-radius: 10px;
  background: var(--envio); color: var(--envio-texto);
  text-decoration: none; font-weight: 700; font-size: .88rem; white-space: nowrap;
  transition: background .2s;
}
.btn-topo2:hover { background: var(--envio-hover); }

/* ---------- Botões ---------- */

.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.45rem; border-radius: 10px;
  font-family: var(--fonte-t); font-weight: 700; font-size: .94rem;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: .2s;
}
.botao--principal { background: var(--coral); color: #fff; }
.botao--principal:hover { transform: translateY(-2px); filter: brightness(1.06); }

.botao--contato { background: var(--green); color: #fff; }
.botao--contato:hover { transform: translateY(-2px); filter: brightness(1.06); }

.botao--vazado { border-color: var(--linha-forte); color: var(--tinta); background: transparent; }
.botao--vazado:hover { background: var(--tinta); color: var(--papel); border-color: var(--tinta); }
.botao--perigo { border-color: var(--coral); color: var(--coral); background: transparent; }
.botao--perigo:hover { background: var(--coral); color: #fff; }
.botao[disabled] { opacity: .55; cursor: progress; transform: none; }

.acoes-linha { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }

.botao--enviar {
  background: var(--envio);
  border-color: var(--envio);
  color: var(--envio-texto);
}

.botao--enviar:hover {
  background: var(--envio-hover);
  border-color: var(--envio-hover);
  transform: translateY(-2px);
  filter: none;
}

/* ---------- Herói ---------- */

.heroi { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(1.5rem, 4vw, 3rem); }

.olho {
  display: inline-block; font-weight: 700; font-size: .86rem;
  color: var(--coral); padding-bottom: .6rem; margin-bottom: 1.6rem;
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: 22px 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='6' viewBox='0 0 22 6'%3E%3Cpath d='M0 4 Q5.5 0.6 11 3.4 T22 2.6' fill='none' stroke='%23E8452A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
:root[data-tema='escuro'] .olho {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='6' viewBox='0 0 22 6'%3E%3Cpath d='M0 4 Q5.5 0.6 11 3.4 T22 2.6' fill='none' stroke='%23FF7A5E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.heroi h1 {
  position: relative;
  z-index: 0;
  font-size: clamp(2.6rem, 7.6vw, 5.2rem);
  margin-bottom: 1.4rem; max-width: 17ch; text-wrap: balance;
}
.heroi h1 em {
  position: relative;
  font-style: italic;
  font-weight: 500;
  color: inherit;
}
.heroi h1 em::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -.08em; right: -.08em;
  bottom: .06em; height: .36em;
  background: var(--coral);
  opacity: .3;
  border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%;
  transform: rotate(-.7deg);
}

.modal {
  padding: 0;
  border: 1px solid var(--linha);
  border-radius: 18px;
  background: var(--branco);
  color: var(--tinta);
  max-width: 440px;
  width: calc(100% - 2rem);
  box-shadow: var(--sombra);
}
.modal::backdrop {
  background: rgba(10, 8, 20, .55);
  backdrop-filter: blur(3px);
}
.modal__caixa { padding: 1.75rem; margin: 0; }
.modal__titulo { font-size: 1.4rem; margin-bottom: .6rem; }
.modal__texto { margin: 0 0 1.5rem; color: var(--tinta-dim); }
.modal__acoes { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }
.modal[open] { animation: modal-entra .18s ease-out; }
@keyframes modal-entra {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .modal[open] { animation: none; } }

.heroi__base {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start;
  padding-top: 1.5rem; border-top: 2px solid var(--tinta);
}
.heroi__base > div > p { margin: 0; font-size: 1.06rem; color: var(--tinta-dim); max-width: 46ch; }

.numeros { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 1rem; }
.numero b {
  display: block; font-family: var(--fonte-d);
  font-size: clamp(2.1rem, 5vw, 2.9rem); font-weight: 900;
  line-height: 1; letter-spacing: -.045em;
}
.numero small { display: block; font-size: .82rem; color: var(--tinta-dim); margin-top: .3rem; }
.numero:nth-child(1) b { color: var(--coral); }
.numero:nth-child(2) b { color: var(--azul); }
.numero:nth-child(3) b { color: var(--verde); }
.numero:nth-child(4) b { color: var(--violeta); }

.faixa {
  margin: clamp(2rem, 5vw, 3.5rem) 0;
  border-radius: 20px; overflow: hidden; position: relative;
  min-height: clamp(220px, 34vw, 380px);
  display: grid; place-items: center; text-align: center; color: #fff;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 90, 60, .55), transparent 52%),
    radial-gradient(circle at 78% 25%, rgba(43, 108, 246, .5), transparent 50%),
    radial-gradient(circle at 55% 85%, rgba(122, 63, 242, .45), transparent 55%),
    #2A2340;
}
.faixa img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.faixa__aviso { position: relative; padding: 1.5rem; }
.faixa__aviso strong { display: block; font-family: var(--fonte-d); font-size: 1.3rem; margin-bottom: .3rem; }
.faixa__aviso span { opacity: .78; font-size: .92rem; }

/* ---------- Seções ---------- */

.secao { padding: clamp(2.25rem, 6vw, 4.5rem) 0; }

.cabecalho {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: flex-end;
  margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--tinta);
}
.cabecalho h1, .cabecalho h2 { font-size: clamp(1.85rem, 4.6vw, 2.9rem); }
.cabecalho p { margin: .55rem 0 0; color: var(--tinta-dim); max-width: 46ch; }
.mais { font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--coral); white-space: nowrap; }

/* ---------- Chips de modalidade ---------- */

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .95rem; border-radius: 100px;
  font-size: .85rem; font-weight: 600; cursor: pointer;
  text-decoration: none;
  background: var(--branco); border: 1px solid var(--linha); color: var(--tinta-dim);
  transition: .18s;
}
.chip:hover { border-color: var(--linha-forte); color: var(--tinta); }
.chip b { font-weight: 800; }
.chip img { width: 16px; height: 16px; object-fit: contain; }
.chip[aria-pressed='true'], .chip[aria-current='true'] {
  background: var(--tinta); border-color: var(--tinta); color: var(--papel);
}
.chip--c1 { color: var(--coral);   border-color: var(--coral);   background: var(--coral-suave); }
.chip--c2 { color: var(--azul);    border-color: var(--azul);    background: var(--azul-suave); }
.chip--c3 { color: var(--verde);   border-color: var(--verde);   background: var(--verde-suave); }
.chip--c4 { color: var(--violeta); border-color: var(--violeta); background: var(--violeta-suave); }
.chip--c5 { color: var(--ouro);    border-color: var(--ouro);    background: var(--ouro-suave); }

.mensagem-longa { margin: .6rem 0 .9rem; }
.mensagem-longa summary {
  cursor: pointer;
  color: var(--tinta-dim);
  list-style: none;
}
.mensagem-longa summary::-webkit-details-marker { display: none; }
.mensagem-longa summary::after {
  content: ' Ver mensagem completa';
  display: block;
  margin-top: .4rem;
  font-weight: 700;
  color: var(--coral);
  font-size: .88rem;
}
.mensagem-longa[open] summary { display: none; }

/* ---------- Mosaico de destaques ---------- */

.mosaico { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.25rem; }

.principal {
  border-radius: 22px 17px 24px 19px; overflow: hidden; background: var(--branco);
  border: 1px solid var(--linha); text-decoration: none;
  display: flex; flex-direction: column; transition: .22s;
}
.principal:hover { transform: translateY(-4px) rotate(.3deg); box-shadow: var(--sombra); }
  min-height: clamp(170px, 22vw, 240px);
  display: grid; place-items: center; padding: 1rem;
}
.principal__capa img { max-height: 96px; width: auto; object-fit: contain; }
.principal__capa span {
  font-family: var(--fonte-d); font-size: 3.4rem; font-weight: 900;
  color: rgba(255, 255, 255, .94); letter-spacing: -.04em;
}
.principal__corpo { padding: 1.5rem; }
.principal h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.principal p { margin: 0; color: var(--tinta-dim); }

/* ---------- Lista de eventos ---------- */

.lista { display: grid; gap: .7rem; align-content: start; margin: 0; padding: 0; list-style: none; }

.item {
  display: flex; gap: 1rem; align-items: center;
  padding: 1rem 1.15rem;
  border-radius: 15px 12px 16px 13px;
  background: var(--branco); border: 1px solid var(--linha);
  text-decoration: none; transition: .2s;
}
.item:nth-child(even) { border-radius: 12px 16px 13px 15px; }
.item:hover { transform: translateX(4px) rotate(-.25deg); border-color: var(--linha-forte); }
.item[hidden] { display: none; }

.selo {
  width: 50px; height: 50px; flex: none;
  border-radius: 16px 12px 15px 13px;
  display: grid; place-items: center; overflow: hidden;
  font-family: var(--fonte-d); font-weight: 900; font-size: .88rem; color: #fff;
  transition: transform .25s;
}
.item:hover .selo { transform: rotate(-3deg) scale(1.04); }
.selo img { width: 32px; height: 32px; object-fit: contain; }

.item__texto { min-width: 0; }
.item__texto h3 {
  font-family: var(--fonte-t); font-size: 1.02rem; font-weight: 700;
  letter-spacing: 0; line-height: 1.35; margin-bottom: .1rem;
}
.item__texto small { color: var(--tinta-dim); font-size: .86rem; }
.item__texto small a { color: inherit; text-decoration: none; }
.item__texto small a:hover { color: var(--coral); }

.cliente-final {
  display: inline-block;
  margin-left: .3rem;
  padding: .05rem .45rem;
  border-radius: 5px;
  font-size: .92em;
  background: var(--violeta-suave);
  color: var(--violeta);
  white-space: nowrap;
}
.item__ano {
  margin-left: auto; font-family: var(--fonte-d); font-weight: 700;
  color: var(--tinta-dim); font-size: .9rem; white-space: nowrap; padding-left: .5rem;
}

/* ---------- Citação ---------- */

.citacao {
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: 20px;
  background: var(--bloco-fundo); color: var(--bloco-texto);
  margin: clamp(2rem, 5vw, 3rem) 0;
}
.citacao p {
  font-family: var(--fonte-d); font-size: clamp(1.3rem, 3.4vw, 2rem);
  font-weight: 500; font-style: italic; line-height: 1.28;
  margin: 0 0 1rem; max-width: 25ch;
}
.citacao small { opacity: .7; font-size: .9rem; }

/* ---------- Carreira ---------- */

.carreira { display: grid; }
.linha-carreira {
  display: grid; grid-template-columns: 110px 1fr auto;
  gap: 1.5rem; align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--linha);
  transition: background .2s, padding .2s, border-color .2s;
}
.linha-carreira:last-child { border-bottom: 0; }
.linha-carreira:hover {
  padding-left: .8rem;
  padding-right: .8rem;
  border-color: var(--linha-forte);
  background: color-mix(in srgb, var(--azul) 5%, transparent);
}
.linha-carreira__ano {
  font-family: var(--fonte-d); font-weight: 700; font-size: 1.15rem;
  color: var(--azul);
  white-space: nowrap;
}
.linha-carreira p { margin: 0; color: var(--tinta-dim); font-size: .92rem; }
.linha-carreira p a { text-decoration: none; }
.linha-carreira p a:hover { color: var(--coral); }
.linha-carreira__tag { font-size: .8rem; color: var(--tinta-dim); white-space: nowrap; }

/* ---------- Formulários ---------- */

.formulario { display: grid; gap: 1rem; max-width: 620px; }
.campo { display: grid; gap: .4rem; }
.campo label { font-size: .88rem; font-weight: 700; }
.campo input, .campo textarea, .campo select {
  width: 100%; padding: .78rem .9rem;
  background: var(--branco); border: 1px solid var(--linha);
  border-radius: 10px; color: var(--tinta);
  font-family: var(--fonte-t); font-size: 1rem; transition: border-color .2s;
}
.campo textarea { resize: vertical; min-height: 140px; }
.campo input:focus, .campo textarea:focus, .campo select:focus {
  border-color: var(--coral); outline: none;
}
.campo__ajuda { font-size: .82rem; color: var(--tinta-dim); }
.mel { position: absolute; left: -9999px; }

.aviso {
  padding: .85rem 1.1rem; border-radius: 12px;
  background: var(--branco); border: 1px solid var(--linha);
  border-left: 4px solid var(--tinta-dim); font-size: .94rem;
}
.aviso--ok { border-left-color: var(--verde); }
.aviso--erro { border-left-color: var(--coral); }

.vazio {
  padding: 3rem 1.25rem; border: 2px dashed var(--linha);
  border-radius: var(--raio); text-align: center; color: var(--tinta-dim);
}

/* ---------- Convite e rodapé ---------- */

.convite {
  border-radius: 20px; background: var(--branco); border: 1px solid var(--linha);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center;
}
.convite h2 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); margin-bottom: .6rem; }
.convite p { margin: 0; color: var(--tinta-dim); }

.rodape { border-top: 1px solid var(--linha); margin-top: 2rem; }
.rodape__interno {
  padding: 2.25rem 0; color: var(--tinta-dim); font-size: .88rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
}
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--coral); }

/* ---------- Painel ---------- */

.painel-topo {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: flex-end; justify-content: space-between;
  padding: clamp(1.75rem, 5vw, 3rem) 0 1.25rem;
}
.painel-topo h1 { font-size: clamp(1.7rem, 5vw, 2.5rem); }

.caixa {
  background: var(--branco); border: 1px solid var(--linha);
  border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.25rem);
}
.login-caixa { max-width: 400px; margin: clamp(3rem, 12vh, 7rem) auto; }

.tabela-envolucro {
  border: 1px solid var(--linha); border-radius: var(--raio);
  overflow-x: auto; background: var(--branco);
}
.tabela { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 760px; }
.tabela th {
  text-align: left; padding: .8rem .95rem; font-size: .8rem; font-weight: 700;
  color: var(--tinta-dim); border-bottom: 2px solid var(--linha); white-space: nowrap;
}
.tabela td { padding: .8rem .95rem; border-bottom: 1px solid var(--linha); vertical-align: top; }
.tabela tr:last-child td { border-bottom: 0; }
.tabela tbody tr:hover { background: color-mix(in srgb, var(--coral) 5%, transparent); }
.tabela__acoes { display: flex; gap: .4rem; }

.acao-icone {
  display: grid; place-items: center; width: 32px; height: 32px;
  border: 1px solid var(--linha); border-radius: 8px;
  background: transparent; color: var(--tinta-dim); cursor: pointer; text-decoration: none;
}
.acao-icone:hover { color: var(--tinta); border-color: var(--linha-forte); }
.acao-icone--perigo:hover { color: var(--coral); border-color: var(--coral); }
.acao-icone svg { width: 15px; height: 15px; }

.linha-dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.previa-icone {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; overflow: hidden;
  font-family: var(--fonte-d); font-weight: 900; color: #fff; font-size: .9rem;
}
.previa-icone img { width: 36px; height: 36px; object-fit: contain; }

/* ---------- Movimento ---------- */

.entra {
  opacity: 0; transform: translateY(12px);
  animation: entra .6s cubic-bezier(.2, .7, .3, 1) forwards;
  animation-delay: var(--atraso, 0ms);
}
@keyframes entra { to { opacity: 1; transform: none; } }

.barra-carga {
  position: fixed; inset: 0 auto auto 0; height: 3px; width: 100%; z-index: 70;
  background: linear-gradient(90deg, var(--coral), var(--violeta), var(--azul));
  transform-origin: 0 50%; transform: scaleX(0);
  animation: carga 1s ease-out forwards;
}
@keyframes carga {
  0% { transform: scaleX(0); opacity: 1; }
  70% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .entra { opacity: 1; transform: none; animation: none; }
  .barra-carga { display: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Telas estreitas ---------- */

@media (max-width: 880px) {
  .heroi__base, .mosaico, .convite { grid-template-columns: 1fr; }
  .menu { display: none; }
  .linha-carreira { grid-template-columns: 64px 1fr; gap: 1rem; }
  .linha-carreira__tag { display: none; }
  .btn-topo, .btn-topo2 { padding: .55rem .95rem; font-size: .84rem; }
}

@media (max-width: 520px) {
  .numeros { grid-template-columns: 1fr 1fr; gap: 1rem .75rem; }
  .item { padding: .85rem .95rem; gap: .8rem; }
  .selo { width: 44px; height: 44px; border-radius: 11px; }
  .item__ano { font-size: .82rem; }
}
