/* Manchester Awards 2027 — estilos
   Fonte: Satoshi. Enquanto os arquivos da Satoshi não estão na pasta fonts/,
   usa a Satoshi instalada no computador e, na falta dela, a Outfit. */

@font-face { font-family: "Satoshi"; src: url("fonts/Satoshi-Variable.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --preto: #050505;
  --preto-2: #0c0b0a;
  --linha: rgba(232, 214, 182, .14);
  --texto: #f2f2f2;
  --texto-2: rgba(242, 242, 242, .62);
  --champ-1: #f6ead2;
  --champ-2: #e4cca2;
  --champ-3: #c9a676;
  --champ-4: #9b774c;
  --metal: linear-gradient(100deg, #8d6c45 0%, #c9a676 14%, #f7ecd6 26%, #dcc296 36%, #9b774c 50%, #e9d6b0 64%, #fbf2df 72%, #c39f6e 84%, #8d6c45 100%);
  --fonte: "Satoshi", "Outfit", system-ui, sans-serif;
  --margem: clamp(20px, 5vw, 80px);
  --max: 1200px;
  --mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2036.0019%2031.8886%22%3E%3Cpath%20fill%3D%22%23fff%22%20fill-rule%3D%22evenodd%22%20d%3D%22M12.8549%2017.6114V31.8886H23.138V17.2236C21.1242%2017.647%2019.0078%2017.8699%2016.8378%2017.8699C15.4804%2017.8699%2014.1498%2017.7852%2012.8549%2017.6158V17.6114ZM25.7143%2016.555V31.8841H36.0019V10.6444C33.2782%2013.2654%2029.7463%2015.3202%2025.7143%2016.555ZM10.2831%2031.8886H0V12.6012C2.88444%2014.7274%206.39845%2016.3142%2010.2831%2017.1612V31.8886Z%22/%3E%3Cpath%20fill%3D%22%23fff%22%20fill-rule%3D%22evenodd%22%20d%3D%22M23.1425%2015.6679C20.9322%2016.1493%2018.597%2016.3767%2016.1769%2016.3187C15.0517%2016.292%2013.9399%2016.2028%2012.8594%2016.0557V11.8523C16.5342%2011.8523%2020.0169%2011.2773%2023.1425%2010.2298V15.6679ZM25.7143%209.22691V14.9815C29.8624%2013.6532%2033.4166%2011.4111%2036.0019%208.54938V0C34.0596%203.88689%2030.4071%207.123%2025.7143%209.22691ZM10.2831%2015.6011C6.40291%2014.7274%202.8889%2013.1138%200%2010.9653V9.3116C3.09876%2010.6221%206.58151%2011.4824%2010.2831%2011.7587V15.6011Z%22/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--preto); scroll-behavior: smooth; }
body { font-family: var(--fonte); color: var(--texto); background: var(--preto); font-weight: 300; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Areia flutuante, atrás de tudo */
#areia { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
main, footer, .menu { position: relative; z-index: 1; }

/* ---------- Texto metálico que reluz com a rolagem ---------- */
.metal {
  background: var(--metal);
  background-size: 260% 100%;
  background-position: calc(var(--brilho, .5) * 100%) 50%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.rotulo { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; font-weight: 400; color: var(--texto-2); }
.rotulo .metal, .rotulo.metal { font-weight: 500; }

/* ---------- Menu: só aparece depois do vídeo ---------- */
.menu {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--margem);
  background: linear-gradient(to bottom, rgba(5,5,5,.92), rgba(5,5,5,.6) 70%, rgba(5,5,5,0));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transform: translateY(-110%); opacity: 0; transition: transform .7s cubic-bezier(.2,.7,.1,1), opacity .7s;
}
.menu.visivel { transform: none; opacity: 1; }
.menu-marca { display: flex; align-items: center; gap: 12px; }
.menu-marca .simbolo-mini { width: 26px; height: 23px; background: var(--metal); background-size: 300% 100%; -webkit-mask: var(--mask) center/contain no-repeat; mask: var(--mask) center/contain no-repeat; }
.menu-marca span { font-size: 13px; letter-spacing: .28em; font-weight: 500; text-transform: uppercase; }
.menu nav { display: flex; gap: clamp(18px, 3vw, 40px); }
.menu nav a { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--texto-2); transition: color .3s; position: relative; padding: 6px 0; }
.menu nav a:hover, .menu nav a[aria-current="page"] { color: var(--champ-2); }
.menu nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--metal); }
.menu-botao { display: none; background: none; border: 0; width: 32px; height: 32px; cursor: pointer; position: relative; }
.menu-botao span { position: absolute; left: 4px; right: 4px; height: 1px; background: var(--champ-2); transition: transform .4s, top .4s; }
.menu-botao span:nth-child(1) { top: 12px; } .menu-botao span:nth-child(2) { top: 19px; }
.menu.aberto .menu-botao span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.menu.aberto .menu-botao span:nth-child(2) { top: 16px; transform: rotate(-45deg); }

/* ---------- Abertura: só o símbolo com a areia dentro ---------- */
.abertura { --s: min(52vw, 56vh, 520px); position: relative; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; background: var(--preto); }
.simbolo-video {
  position: relative; width: var(--s); aspect-ratio: 36 / 31.89;
  -webkit-mask: var(--mask) center/contain no-repeat; mask: var(--mask) center/contain no-repeat;
  transition: transform 1.6s cubic-bezier(.6,0,.2,1);
}
.simbolo-video .enche { position: absolute; left: 0; right: 0; bottom: 0; height: 0; overflow: hidden; }
.simbolo-video .camadas { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--s) * 31.89 / 36); }
.abertura.fase-simbolo .simbolo-video .enche { animation: encher 3.6s cubic-bezier(.55,.05,.25,1) .3s forwards; }
.abertura.fase-nome .simbolo-video { transform: translateY(-30%) scale(.72); }
/* Quando o vídeo final existir: <video class="camada" src="assets/video/abertura.mp4" autoplay muted loop playsinline> */
.simbolo-video .camada { position: absolute; left: -40%; top: -40%; width: 180%; height: 180%; max-width: none; object-fit: cover; }
.simbolo-video .t1 { animation: deriva1 26s ease-in-out infinite alternate; }
.simbolo-video .t2 { mix-blend-mode: screen; opacity: .55; animation: deriva2 32s ease-in-out infinite alternate, respira 9s ease-in-out infinite; }
.simbolo-video .varredura { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,246,228,.55) 46%, transparent 60%); background-size: 300% 100%; mix-blend-mode: soft-light; animation: varrer 7s ease-in-out infinite; }
.simbolo-video .profundidade { position: absolute; inset: 0; background: linear-gradient(170deg, rgba(255,250,240,.08) 0%, rgba(120,84,48,.35) 55%, rgba(70,46,24,.75) 100%); mix-blend-mode: multiply; }
.simbolo-video canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.brilho-fundo { position: absolute; width: min(70vw, 900px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(201,166,118,.16), transparent 70%); opacity: 0; transition: opacity 4s ease 2s; pointer-events: none; }
.abertura.fase-simbolo .brilho-fundo { opacity: 1; }
.nome-evento { --m: min(calc(var(--s) * .218), 13vw); position: absolute; left: 0; right: 0; top: 50%; margin-top: calc(var(--s) * .16); text-align: center; opacity: 0; transform: translateY(18px); transition: opacity 1.4s ease .5s, transform 1.4s cubic-bezier(.2,.7,.1,1) .5s; pointer-events: none; }
.nome-evento b { display: block; font-size: var(--m); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.nome-evento span { display: block; margin-top: calc(var(--m) * .16); font-size: calc(var(--m) * .48); line-height: 1; font-weight: 300; letter-spacing: .3em; padding-left: .3em; color: rgba(242,242,242,.82); }
.abertura.fase-nome .nome-evento { opacity: 1; transform: none; }
.rolar { position: absolute; bottom: clamp(48px, 7vh, 72px); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .32em; white-space: nowrap; text-transform: uppercase; color: var(--texto-2); opacity: 0; transition: opacity 1.2s ease 1.6s; }
.rolar i { width: 18px; height: 18px; border-right: 1px solid var(--champ-2); border-bottom: 1px solid var(--champ-2); transform: rotate(45deg); animation: seta 2.2s ease-in-out infinite; }
.abertura.fase-nome .rolar { opacity: 1; }
@keyframes seta { 0%,100% { transform: translateY(-4px) rotate(45deg); opacity: .4; } 50% { transform: translateY(4px) rotate(45deg); opacity: 1; } }
/* Vídeo de abertura (30 s com trilha) */
.video-abertura { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; z-index: 3; opacity: 1; transition: opacity 1.2s ease; }
.abertura:not(.fase-video) .video-abertura { opacity: 0; pointer-events: none; }
.controles-video { position: absolute; z-index: 4; right: var(--margem); bottom: 28px; display: flex; gap: 10px; transition: opacity .6s; }
.abertura:not(.fase-video) .controles-video { opacity: 0; pointer-events: none; }
.controles-video button { background: rgba(5,5,5,.5); border: 1px solid var(--linha); color: var(--texto); font: 400 11px var(--fonte); letter-spacing: .24em; text-transform: uppercase; padding: 10px 16px; border-radius: 8px; cursor: pointer; }
.controles-video button:hover { border-color: var(--champ-3); color: var(--champ-1); }

@keyframes encher { to { height: 100%; } }
@keyframes deriva1 { from { transform: translate(-6%, 4%) scale(1.05) rotate(-2deg); } to { transform: translate(6%, -5%) scale(1.18) rotate(3deg); } }
@keyframes deriva2 { from { transform: translate(5%, -3%) scale(1.15) rotate(4deg); } to { transform: translate(-7%, 6%) scale(1.02) rotate(-3deg); } }
@keyframes respira { 0%,100% { opacity: .35; } 50% { opacity: .75; } }
@keyframes varrer { 0% { background-position: 120% 0; } 60%,100% { background-position: -40% 0; } }
@keyframes surgir { to { opacity: 1; } }

/* ---------- Seções ---------- */
.secao { position: relative; padding: clamp(96px, 14vw, 180px) var(--margem); }
.conteudo { max-width: var(--max); margin: 0 auto; }
.centro { text-align: center; }

.titulo-tempo { position: relative; overflow: hidden; }
.titulo-tempo .raios { position: absolute; inset: -10% 0 0; background: url("img/textura-5.jpg") center top/cover; opacity: .16; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 20%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 20%, #000, transparent 75%); transform: translateY(calc(var(--par, 0) * 1px)); pointer-events: none; }
.titulo-tempo .rotulo { margin-bottom: 32px; display: block; letter-spacing: .5em; }
/* Selo dos 60 anos com o dourado do site */
.selo-60 { position: relative; width: clamp(120px, 13vw, 176px); aspect-ratio: 1121 / 856; margin: 0 auto 40px; overflow: hidden;
  -webkit-mask: url("img/60-anos-mascara.png") center/contain no-repeat; mask: url("img/60-anos-mascara.png") center/contain no-repeat; }
.selo-60 .ouro { position: absolute; inset: 0; background: var(--metal); background-size: 260% 100%; background-position: calc(var(--brilho, .5) * 100%) 50%; }
.selo-60 img { position: absolute; left: -30%; top: -30%; width: 160%; height: 160%; max-width: none; object-fit: cover; mix-blend-mode: soft-light; opacity: .9; animation: deriva2 24s ease-in-out infinite alternate; }
.selo-60 canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.titulo { font-size: clamp(34px, 5vw, 72px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 500; }
.titulo .linha { display: block; }
.subtitulo { max-width: 640px; margin: 44px auto 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: var(--texto-2); }
.data-local { margin-top: 52px; display: flex; flex-direction: column; gap: 10px; align-items: center; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; }

/* ---------- Cards Kickoff | Awards ---------- */
.eventos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3.4vw, 48px); max-width: 1000px; margin: 0 auto; }
.card { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(28px, 3.4vw, 48px); min-height: 560px; display: flex; flex-direction: column; isolation: isolate; }
.card .fx { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.card .fx img { position: absolute; left: -25%; top: -25%; width: 150%; height: 150%; max-width: none; object-fit: cover; animation: deriva1 30s ease-in-out infinite alternate; }
.card .fx .vela { position: absolute; inset: 0; }
.card .fx canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.card .parte { display: flex; align-items: center; justify-content: center; gap: 14px; }
.card .parte::before, .card .parte::after { content: ""; flex: 0 0 28px; height: 1px; background: currentColor; opacity: .5; }
.card .logo-evento { width: min(240px, 66%); margin: 40px auto 32px; }
.card .chamada { text-align: center; font-size: 17px; line-height: 1.6; max-width: 360px; margin: 0 auto 40px; }
.agenda { margin-top: auto; border-top: 1px solid; }
.agenda li { list-style: none; display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid; font-size: 16px; }
.agenda .hora { font-weight: 500; letter-spacing: .04em; }
.traje { margin-top: 28px; display: grid; grid-template-columns: 88px 1fr; gap: 16px; font-size: 16px; }
.traje b { font-weight: 500; }

.card-dia { background: #f4f1ec; color: #222; }
.card-dia .fx img { opacity: .5; }
.card-dia .fx .vela { background: linear-gradient(180deg, rgba(246,243,238,.72), rgba(246,243,238,.95) 62%); }
.card-dia .parte { color: #8a6a43; }
.card-dia .chamada, .card-dia .traje span { color: #555; }
.card-dia .agenda, .card-dia .agenda li { border-color: rgba(138,106,67,.25); }
.card-dia .agenda .hora, .card-dia .traje b { color: #7e5f3e; }

.card-noite { background: #0a0a0a; color: var(--texto); border: 1px solid var(--linha); }
.card-noite .fx img { filter: grayscale(1) contrast(1.05); }
.card-noite .fx .vela { background: linear-gradient(180deg, rgba(8,8,8,.6), rgba(8,8,8,.94) 62%); }
.card-noite .parte { color: var(--champ-2); }
.card-noite .chamada, .card-noite .traje span { color: var(--texto-2); }
.card-noite .agenda, .card-noite .agenda li { border-color: var(--linha); }
.card-noite .agenda .hora, .card-noite .traje b { color: var(--champ-2); }

/* ---------- Programas de reconhecimento ---------- */
.premios { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(28px, 5vw, 72px); margin-top: 48px; }
.premios img { height: 56px; width: auto; opacity: .9; }
.premios .falta { height: 56px; padding: 0 18px; display: grid; place-items: center; border: 1px dashed var(--linha); border-radius: 4px; font-size: 11px; letter-spacing: .2em; color: var(--texto-2); }

/* ---------- Informações em sanfona ---------- */
.faq { max-width: 760px; margin: 48px auto 0; border-top: 1px solid var(--linha); text-align: left; }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 4px; font-size: 14px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 9px; height: 9px; border-right: 1px solid var(--champ-2); border-bottom: 1px solid var(--champ-2); transform: rotate(45deg) translateY(-3px); transition: transform .4s; }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq summary:hover { color: var(--champ-1); }
.faq .resposta { padding: 0 4px 28px; color: var(--texto-2); font-size: 16px; animation: abrir .5s ease; }
.faq .resposta p + p { margin-top: 8px; }
@keyframes abrir { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.secao-titulo { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 400; }

/* ---------- Rodapé ---------- */
footer { border-top: 1px solid var(--linha); padding: 72px var(--margem) 40px; }
.escritorios { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(24px, 3.4vw, 52px); max-width: var(--max); margin: 0 auto; }
.escritorios img { height: 26px; width: auto; opacity: .62; transition: opacity .3s; }
.escritorios img:hover { opacity: 1; }
.escritorios img.alto { height: 32px; }
.escritorios .falta { height: 34px; padding: 0 16px; display: grid; place-items: center; border: 1px dashed var(--linha); border-radius: 4px; font-size: 11px; letter-spacing: .2em; color: var(--texto-2); }
.rodape-base { max-width: var(--max); margin: 64px auto 0; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--texto-2); }
.rodape-base a { color: var(--champ-2); }

/* ---------- Páginas internas ---------- */
.topo-pagina { padding: clamp(160px, 20vw, 240px) var(--margem) clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.topo-pagina .raios { position: absolute; inset: 0; background: url("img/textura-3.jpg") center/cover; opacity: .14; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 75%); pointer-events: none; }
.em-breve { border: 1px dashed var(--linha); border-radius: 12px; padding: 64px 32px; text-align: center; color: var(--texto-2); }
.grade-fotos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.grade-fotos div { aspect-ratio: 4/5; border-radius: 8px; border: 1px dashed var(--linha); display: grid; place-items: center; font-size: 11px; letter-spacing: .2em; color: var(--texto-2); }
.linha-tempo { position: relative; margin-top: 40px; padding: 40px 0; }
.linha-tempo::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--champ-3), var(--linha) 30%, var(--linha) 70%, var(--champ-3)); }
.marco { position: relative; width: 50%; padding: 32px 56px; }
.marco:nth-child(odd) { text-align: right; }
.marco:nth-child(even) { margin-left: 50%; }
.marco::after { content: ""; position: absolute; top: 46px; width: 9px; height: 9px; border-radius: 50%; background: var(--champ-2); box-shadow: 0 0 18px rgba(228,204,162,.7); }
.marco:nth-child(odd)::after { right: -4px; } .marco:nth-child(even)::after { left: -5px; }
.marco .ano { font-size: clamp(40px, 5vw, 72px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.marco p { margin-top: 12px; color: var(--texto-2); }
.programacao { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin-top: 48px; }
.programacao .card { min-height: 0; }

/* ---------- Revelação na rolagem ---------- */
.revela { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1.2s cubic-bezier(.2,.7,.1,1), transform 1.2s cubic-bezier(.2,.7,.1,1), filter 1.2s; transition-delay: var(--atraso, 0s); }
.revela.visto { opacity: 1; transform: none; filter: none; }

/* ---------- Celular ---------- */
@media (max-width: 860px) {
  .menu nav { position: fixed; inset: 0; background: rgba(5,5,5,.97); flex-direction: column; justify-content: center; align-items: center; gap: 32px; opacity: 0; pointer-events: none; transition: opacity .4s; }
  .menu nav a { font-size: 15px; }
  .menu.aberto nav { opacity: 1; pointer-events: auto; }
  .menu-botao { display: block; z-index: 2; }
  .menu-marca { z-index: 2; }
  .eventos, .programacao { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .abertura { --s: min(72vw, 48vh); }
  .nome-evento { margin-top: min(30vw, 22vh); }
  .controles-video { left: 50%; right: auto; transform: translateX(-50%); bottom: 90px; }
  .card .parte { justify-content: center; font-size: 11px; letter-spacing: .22em; }
  .card .parte::before, .card .parte::after { flex-basis: 16px; }
  .menu-marca span { font-size: 11px; letter-spacing: .22em; }
  .escritorios img { height: 22px; } .escritorios img.alto { height: 28px; }
  .grade-fotos { grid-template-columns: repeat(2, 1fr); }
  .linha-tempo::before { left: 8px; }
  .marco, .marco:nth-child(even) { width: auto; margin-left: 0; padding: 24px 0 24px 40px; text-align: left !important; }
  .marco::after, .marco:nth-child(odd)::after, .marco:nth-child(even)::after { left: 4px; right: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .revela { opacity: 1; transform: none; filter: none; }
}
