/* W3: regras da página de inscrição (o hero e a página 1 agora usam min.css; as versões anteriores estão em historico/). */

/* ===== Página 2: formulário ===== */
.w3-insc { position: relative; padding: 112px 0 72px; min-height: calc(100vh - 220px); background: radial-gradient(ellipse 60% 60% at 50% 20%, var(--trv-amarelo-claro) 0%, transparent 72%), var(--trv-papel); }
.w3-insc-miolo { display: grid; gap: 22px; max-width: 620px; justify-items: stretch; }
.w3-resumo { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid var(--trv-linha); border-radius: 22px; background: var(--trv-branco); }
.w3-mini-foto { flex: none; display: block; width: 68px; height: 68px; overflow: hidden; border-radius: 50%; border: 3px solid var(--trv-amarelo); background: var(--trv-amarelo-claro); }
.w3-mini-foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 16%; transform: scale(1.9); transform-origin: 55% 16%; }
.w3-resumo-texto { margin: 0; display: grid; gap: 3px; line-height: 1.3; }
.w3-resumo-texto b { font-size: 18px; letter-spacing: -0.015em; }
.w3-resumo-texto span { font-size: 14px; color: var(--trv-cinza-texto); }
.w3-cartao { position: static; width: 100%; max-width: none; margin: 0; }
.w3-rodape-simples { padding: 36px 0 30px; }

/* ===== W5 (01/12/2026): dois apresentadores lado a lado, no mesmo estilo da W3 ===== */
/* Título mais longo que o da W3: tamanho menor para caber em poucas linhas */
.w5 .m-sub { max-width: 540px; }
.w5 .m-hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }

/* foto dupla: largura do palco, encostada embaixo (a imagem é mais larga que alta) */
.w5 .m-fig, .w5 .m-fig-luz { top: auto; bottom: 9%; left: 38%; height: auto; width: 66%; aspect-ratio: 1299 / 1016; transform: translateX(-50%); }
.w5 .m-fig-luz img { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 52%, transparent 88%); mask-image: linear-gradient(to bottom, #000 0, #000 52%, transparent 88%); }
.w5 .m-brilho { top: 56%; left: 38%; width: 76%; }
.w5 .m-aneis { top: 56%; left: 38%; width: 98%; }

/* tese */
.w5 .m-tese { border-top: 1px solid rgba(255, 255, 255, .06); }
.w5 .m-tese .m-sec-sub { max-width: 640px; margin-bottom: 0; }

/* página 2: dois rostos em círculo */
.w3-pag2 .w5-minis { flex: none; display: inline-flex; }
.w3-pag2 .w5-minis .w3-mini-foto { width: 56px; height: 56px; }
.w3-pag2 .w5-minis .w3-mini-foto + .w3-mini-foto { margin-left: -14px; }
.w3-pag2 .w5-minis .w3-mini-foto img { object-fit: cover; object-position: 50% 50%; transform: none; }

@media (max-width: 920px) {
  .w5 .m-hero { grid-template-columns: minmax(0, 1fr); }
  .w5 .m-palco { height: min(84vw, 540px); }
  .w5 .m-fig, .w5 .m-fig-luz { top: auto; bottom: 2%; left: 50%; width: min(106%, 680px); height: auto; }
  .w5 .m-brilho { top: 46%; left: 50%; }
  .w5 .m-aneis { top: 46%; left: 50%; }
}
@media (max-width: 480px) {
  .w5 .m-h1 { font-size: clamp(28px, 8.2vw, 38px); }
}

/* ===== Ajustes herdados da W4 (23/11/2026) ===== */
/* cores com destaque: o cinza some no preto, então a parte cinza dos títulos vira âmbar e os textos ficam mais claros */
.w5 { --m-texto: #d8d8d8; --m-cinza: #bdbdbd; }
/* o cinza dos títulos de seção segue em âmbar */
.w5 .m-h2 .m-cinza { color: var(--m-ambar); }
.w5 .m-sub { padding: 18px 22px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 20px; background: rgba(255, 255, 255, .06); color: #f0f0f0; max-width: 560px; }
.w5 .m-sub strong { color: var(--m-ambar); font-weight: 600; }

/* quem conduz: dois cartões arredondados com rosto, no mesmo tamanho */
.w5-conduz { margin: 0 0 20px; }
.w5-conduz-rotulo { margin: 0 0 10px; font: 500 11px/1 var(--m-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--m-cinza); }
.w5-conduz-lista { display: flex; flex-wrap: wrap; gap: 10px; }
.w5-pessoa { display: inline-flex; align-items: center; gap: 12px; padding: 8px 22px 8px 8px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .06); }
.w5-pessoa img { flex: none; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--m-ambar); background: #111; }
.w5-pessoa span { display: grid; gap: 4px; }
.w5-pessoa b { font-weight: 500; font-size: 16px; line-height: 1; letter-spacing: -0.005em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.w5-pessoa small { font: 500 10.5px/1 var(--m-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--m-ambar); }

/* (passos: ver bloco do modelo, mais abaixo) */

@media (max-width: 920px) {
  .w5-passos { position: static; transform: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 6px 16px 34px; }
  .w5-passos li { padding: 10px 14px 10px 12px; }
  .w5-pessoa { padding-right: 18px; }
}

/* ===== Hero no modelo do Nelly (01/12/2026): título em dois tamanhos, destaque em âmbar, passos em linha do tempo ===== */
.w5 .m-label { font-weight: 600; font-size: 14px; letter-spacing: .1em; }
.w5 .m-label i { color: #fff; opacity: .9; }
.w5 .w5-h1 { margin: 0 0 26px; text-transform: uppercase; letter-spacing: -0.02em; color: #fff; }
.w5 .w5-h1a { display: block; font-weight: 800; font-size: clamp(30px, 2.8vw, 54px); line-height: 1.04; white-space: nowrap; }
.w5 .w5-h1b { display: block; margin-top: .45em; font-weight: 600; font-size: clamp(24px, 2.25vw, 42px); line-height: 1.16; }
.w5 .w5-b24 { position: relative; display: inline-block; font-style: normal; color: var(--m-ambar); }
.w5 .w5-b24::after { content: ""; position: absolute; left: 2%; right: 0; bottom: -.13em; height: .16em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1 6.5 Q 45 1 99 3.5' fill='none' stroke='%23E8B84B' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.w5 .w5-marca { display: inline-block; margin: .06em .04em; padding: .03em .3em .06em; border-radius: .34em; background: var(--m-ambar); color: #0a0a0a; font-weight: 800; line-height: 1.1; }
.w5 .m-meta { gap: 6px 0; font-weight: 500; font-size: 12.5px; color: #cfcfcf; }
.w5 .m-meta li + li::before { content: "|"; margin: 0 16px; color: #fff; }

/* passos: linha vertical com pontos e cartões em pílula, o do meio (atendimento com a EVA) preenchido */
.w5-passos { position: absolute; z-index: 4; right: clamp(16px, 2.6vw, 56px); top: 54%; transform: translateY(-50%); margin: 0; padding: 0 0 0 28px; list-style: none; display: grid; gap: 16px; }
.w5-passos::before { content: ""; position: absolute; left: 7px; top: 24px; bottom: 24px; width: 2px; background: var(--m-ambar); border-radius: 2px; }
.w5-passos li { position: relative; display: flex; align-items: center; gap: 16px; padding: 13px 30px 13px 20px; border: 1px solid rgba(255, 255, 255, .38); border-radius: 999px; background: rgba(6, 6, 6, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); white-space: nowrap; opacity: 0; animation: m-surge .9s ease forwards; }
.w5-passos li::before { content: ""; position: absolute; left: -28px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--m-ambar); box-shadow: 0 0 0 3px rgba(232, 184, 75, .18); }
.w5-passos li:nth-child(1) { animation-delay: 1s; }
.w5-passos li:nth-child(2) { animation-delay: 1.3s; }
.w5-passos li:nth-child(3) { animation-delay: 1.6s; }
.w5-passos li:nth-child(2) { background: var(--m-ambar); border-color: var(--m-ambar); }
.w5-passos b { font: 700 18px/1 var(--trv-fonte); color: var(--m-ambar); letter-spacing: 0; }
.w5-passos span { font: 600 18px/1 var(--trv-fonte); letter-spacing: 0; text-transform: none; color: #fff; }
.w5-passos li:nth-child(2) b, .w5-passos li:nth-child(2) span { color: #0a0a0a; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .w5-passos li { animation: none !important; opacity: 1; } }
@media (max-width: 920px) {
  .w5-passos { position: static; transform: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 6px 16px 34px; }
  .w5-passos::before, .w5-passos li::before { display: none; }
  .w5-passos li { padding: 10px 18px 10px 14px; }
  .w5-passos b, .w5-passos span { font-size: 15px; }
}
@media (max-width: 480px) {
  .w5 .w5-h1a { font-size: clamp(26px, 7.4vw, 34px); white-space: normal; }
  .w5 .w5-h1b { font-size: clamp(22px, 6.4vw, 28px); }
}

/* Para quem é: dois cartões */
.w5 .w5-dois { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 940px; }
.w5 .w5-dois .m-cartao { min-height: 240px; }
@media (max-width: 920px) { .w5 .w5-dois { grid-template-columns: minmax(0, 1fr); } .w5 .w5-dois .m-cartao { min-height: 0; } }

/* ===== Botão único do hero (01/12/2026): grande, centralizado e pulsando ===== */
.w5 .m-acoes { display: flex; justify-content: center; margin: 6px 0 0; }
.w5 .w5-cta { width: min(100%, 440px); padding: 26px 40px; font-size: 20px; font-weight: 700; letter-spacing: .08em; box-shadow: 0 0 0 0 rgba(232, 184, 75, .55); animation: w5-pulsa 1.8s ease-in-out infinite; }
.w5 .w5-cta:hover { animation-play-state: paused; transform: scale(1.03); }
@keyframes w5-pulsa {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(232, 184, 75, .55); }
  50%  { transform: scale(1.045); box-shadow: 0 0 0 18px rgba(232, 184, 75, 0); }
  100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(232, 184, 75, 0); }
}
@media (prefers-reduced-motion: reduce) { .w5 .w5-cta { animation: none; } }
@media (max-width: 480px) { .w5 .w5-cta { padding: 22px 24px; font-size: 18px; } }

@media (max-width: 920px) { .w5 .m-texto { padding-bottom: 28px; } }

/* ===== Hero centralizado (01/12/2026): rótulo, título, texto e botão no centro da coluna ===== */
.w5 .m-texto { text-align: center; padding-right: clamp(20px, 3vw, 56px); }
.w5 .m-texto .m-label { text-align: center; }
.w5 .m-sub { margin-left: auto; margin-right: auto; text-align: center; }
.w5 .w5-h1a, .w5 .w5-h1b { text-align: center; }

/* ===== Margens do hero (01/12/2026): tudo dentro da largura do botão, centralizado na coluna ===== */
.w5 .m-texto { max-width: none; padding-left: clamp(24px, 4vw, 72px); padding-right: clamp(24px, 4vw, 72px); }
.w5 .m-texto > * { width: 100%; max-width: 560px; margin-left: auto; margin-right: auto; }
.w5 .m-sub { max-width: 560px; }
.w5 .w5-h1a { white-space: normal; font-size: clamp(28px, 2.6vw, 46px); }
.w5 .w5-h1b { font-size: clamp(22px, 2vw, 36px); }
.w5 .m-acoes { max-width: 560px; }
.w5 .w5-cta { width: 100%; }
@keyframes w5-pulsa {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(232, 184, 75, .55); }
  50%  { transform: scale(1.025); box-shadow: 0 0 0 14px rgba(232, 184, 75, 0); }
  100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(232, 184, 75, 0); }
}
