/* Marinho Tattoo — tokens medidos (branding/medir-tokens.mjs): preto e branco do logo, vermelho do brilho do logo,
   dourado da moldura barroca do post de referência. Bangers (títulos) + Archivo (texto). */
:root {
  --tinta: #0B0809; --carvao: #1A1214; --osso: #F3EEE8; --osso-2: #BDB3AE;
  --brilho: #95272F; --vermelho: #CD5B5C; --ouro: #A18B55; --ouro-moldura: #8F7944; --ouro-luz: #E2B04A;
  --titulo: 'Bangers', 'Impact', sans-serif; --texto: 'Archivo', system-ui, sans-serif;
  --carimbo-fundo: #F3EEE8; --carimbo-traco: rgba(11,8,9,.55); --carimbo-anel: rgba(149,39,47,.55); --carimbo-papel: #F3EEE8; --carimbo-tam: 112px; --il-tam: 80px;
  --raio: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--tinta); color: var(--osso); font: 400 1.04rem/1.6 var(--texto); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 400; letter-spacing: .02em; line-height: .98; margin: 0; }
h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
em { font-style: normal; color: var(--vermelho); }
.sobre { font: 600 .78rem/1.2 var(--texto); letter-spacing: .22em; text-transform: uppercase; color: var(--ouro); margin: 0 0 .8rem; }
.pular { position: absolute; left: -999px; } .pular:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--osso); color: var(--tinta); padding: .5rem 1rem; }

.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .95rem 1.5rem; border-radius: 999px; background: var(--brilho); color: var(--osso);
  font: 800 .98rem var(--texto); text-decoration: none; border: 2px solid var(--brilho); box-shadow: 0 0 0 0 rgba(149,39,47,.6); transition: transform .2s, box-shadow .3s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(205,91,92,.7); }
.btn-linha { background: transparent; border-color: rgba(243,238,232,.35); }
.btn-linha:hover { border-color: var(--osso); box-shadow: none; }
.btn-mini { padding: .55rem 1rem; font-size: .85rem; }
.acoes { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
:focus-visible { outline: 3px solid var(--ouro-luz); outline-offset: 3px; }

/* topo */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; gap: .6rem; padding: .7rem clamp(1rem, 4vw, 2.5rem);
  background: linear-gradient(rgba(11,8,9,.85), rgba(11,8,9,0)); }
.topo-logo img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(149,39,47,.9)); }
.atalho-secreto .flor { color: var(--ouro); font-size: 1.1rem; }
.topo-nav { margin-left: auto; display: flex; gap: 1.4rem; font-weight: 600; font-size: .9rem; }
.topo-nav a { text-decoration: none; opacity: .85; } .topo-nav a:hover { opacity: 1; color: var(--ouro-luz); }
@media (max-width: 860px) { .topo-nav { display: none; } .topo .btn-mini { margin-left: auto; } }

/* abertura comum */
.hero { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; }
.h-nome { display: block; font-size: clamp(3.2rem, 9vw, 7.4rem); color: var(--osso); text-shadow: 0 0 22px rgba(149,39,47,.85), 4px 4px 0 var(--brilho); }
.h-linha { display: block; font-size: clamp(1.5rem, 3.4vw, 2.6rem); margin-top: .35rem; color: var(--osso); }
.hero.fora *, .faixa-fora * { animation-play-state: paused !important; }
.a-lead { max-width: 34rem; color: var(--osso-2); margin: 1rem 0 0; }

/* A · Moldura */
.hero-a { display: grid; grid-template-rows: 1fr auto; padding: 5.5rem clamp(1rem, 5vw, 3rem) 3rem; text-align: center; justify-items: center;
  background: radial-gradient(60% 50% at 50% 35%, #2a1215 0%, var(--tinta) 70%); }
.a-brilho { position: absolute; inset: -20%; z-index: -1; background: radial-gradient(35% 30% at 50% 38%, rgba(149,39,47,.55), transparent 70%); animation: pulsa 5s ease-in-out infinite; }
@keyframes pulsa { 50% { opacity: .55; transform: scale(1.06); } }
.a-fundo { position: absolute; top: 9%; left: 50%; translate: -50% 0; margin: 0; z-index: -1; font: 400 clamp(6rem, 24vw, 21rem)/1 var(--titulo);
  color: transparent; -webkit-text-stroke: 2px rgba(161,139,85,.28); white-space: nowrap; letter-spacing: .04em; }
.a-palco { position: relative; width: min(400px, 74vw, 34svh); align-self: center; margin: 1.2rem 0 1.6rem; }
.hero-a .h-nome { font-size: clamp(3rem, min(8vw, 9svh), 6.6rem); }
.hero-a .a-lead { margin-top: .6rem; } .hero-a .acoes { margin-top: 1.1rem; }
.a-moldura { position: relative; margin: 0; aspect-ratio: 4 / 5; padding: 18px; border-radius: 48% 48% 10px 10px / 30% 30% 10px 10px;
  background: conic-gradient(from 200deg, #6b5527, #E2B04A, #8F7944, #f2d48a, #6b5527, #c69a45, #6b5527);
  box-shadow: 0 0 0 3px #3b2d12, 0 0 0 9px #8F7944, 0 0 0 11px #2b210d, 0 30px 80px -10px rgba(149,39,47,.7); }
.a-quadro { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; background: #120c0d; box-shadow: inset 0 0 0 4px #3b2d12; }
.a-quadro img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; opacity: 0; transition: opacity 1.1s ease; }
.a-quadro img.ativo { opacity: 1; animation: aproxima 6s ease-out both; }
@keyframes aproxima { from { transform: scale(1.06); } to { transform: scale(1); } }
.a-flor { position: absolute; top: -34px; left: 50%; translate: -50% 0; font-size: 46px; color: var(--ouro-luz); text-shadow: 0 2px 0 #3b2d12, 0 0 18px rgba(226,176,74,.6); z-index: 2; }
.a-canto { position: absolute; width: 34px; height: 34px; border: 4px solid var(--ouro-luz); border-radius: 50%; background: #6b5527; z-index: 2; }
.c1 { left: -12px; top: 38%; } .c2 { right: -12px; top: 38%; } .c3 { left: -10px; bottom: -10px; } .c4 { right: -10px; bottom: -10px; }
.a-fig { position: absolute; width: 34%; border-radius: 12px; border: 4px solid var(--osso); box-shadow: 0 16px 40px -10px #000; z-index: 3; animation: flutua 6s ease-in-out infinite; }
.f1 { left: -32%; top: 12%; rotate: -10deg; }
.f2 { right: -30%; top: 4%; rotate: 9deg; animation-delay: -2s; }
.f3 { right: -26%; bottom: 2%; rotate: -6deg; animation-delay: -4s; }
@keyframes flutua { 50% { translate: 0 -12px; } }
.a-selo { position: absolute; left: -22%; bottom: 6%; z-index: 4; display: grid; place-items: center; width: 118px; height: 118px; border-radius: 50%; text-align: center;
  background: var(--brilho); color: var(--osso); font: 400 1.05rem/1 var(--titulo); border: 3px dashed var(--osso); rotate: -12deg; box-shadow: 0 0 0 5px var(--brilho); animation: gira-selo 14s linear infinite; }
.a-selo b { font-weight: 400; font-size: 1.35rem; color: var(--ouro-luz); }
.a-selo small { font: 700 .58rem var(--texto); letter-spacing: .06em; }
@keyframes gira-selo { to { rotate: 348deg; } }
.a-texto { max-width: 46rem; display: grid; justify-items: center; }
.a-texto .a-lead { margin-inline: auto; }
.a-texto .acoes { justify-content: center; }
@media (max-width: 700px) {
  .a-palco { width: min(58vw, 36svh); margin-top: 2.2rem; }
  .a-fig { width: 38%; } .f1 { left: -22%; } .f2 { right: -22%; } .f3 { display: none; }
  .a-selo { width: 84px; height: 84px; left: -20%; font-size: .8rem; } .a-selo b { font-size: 1rem; }
}

/* B · Vitrine */
.hero-b { display: grid; place-items: center; padding: 6rem 1rem 3rem; }
.b-trilhos { position: absolute; inset: -10% -20%; z-index: -2; display: grid; gap: 18px; align-content: center; transform: perspective(1100px) rotateX(18deg) rotateZ(-8deg); }
.b-trilho { display: flex; gap: 18px; width: max-content; animation: corre 60s linear infinite; }
.b-trilho.rev { animation-direction: reverse; animation-duration: 70s; }
.b-trilho img { width: 230px; height: 290px; object-fit: cover; border-radius: 16px; border: 3px solid rgba(243,238,232,.18); }
@keyframes corre { to { transform: translateX(-50%); } }
.hero-b::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 55% at 50% 50%, rgba(11,8,9,.94) 30%, rgba(11,8,9,.55) 100%); }
.b-centro { display: grid; justify-items: center; text-align: center; max-width: 44rem; position: relative; }
.b-logo { width: 170px; filter: drop-shadow(0 0 14px rgba(149,39,47,1)); }
.b-foto { position: absolute; top: 0; right: -2rem; width: 104px; height: 104px; object-fit: cover; object-position: 50% 15%; border-radius: 50%; border: 4px solid var(--ouro-luz); rotate: 8deg; }
.hero-b .a-lead { margin-inline: auto; }
.hero-b .acoes { justify-content: center; }

/* C · Neon */
.hero-c { display: grid; grid-template-columns: 1fr; place-items: center; padding: 6rem 1rem 3rem; text-align: center;
  background: repeating-linear-gradient(0deg, #120d0e 0 38px, #0d0a0b 38px 40px), #0d0a0b; }
.c-parede { position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 40% at 50% 34%, rgba(149,39,47,.45), transparent 70%); animation: neon-luz 7s infinite; }
.c-neon img { width: min(360px, 66vw); filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 8px #ff6b6b) drop-shadow(0 0 22px #95272F) drop-shadow(0 0 48px #95272F); animation: neon 7s infinite; }
@keyframes neon { 0%, 18%, 22%, 64%, 66%, 100% { opacity: 1; } 20%, 65% { opacity: .35; } }
@keyframes neon-luz { 0%, 18%, 22%, 64%, 66%, 100% { opacity: 1; } 20%, 65% { opacity: .4; } }
.c-polaroid { position: absolute; left: 6%; top: 22%; width: 180px; margin: 0; padding: 10px 10px 34px; background: var(--osso); color: var(--tinta); rotate: -8deg;
  box-shadow: 0 20px 40px -10px #000; animation: balanca 7s ease-in-out infinite; transform-origin: 50% 0; }
.c-polaroid img { aspect-ratio: 1; object-fit: cover; }
.c-polaroid figcaption { position: absolute; bottom: 8px; left: 0; right: 0; font: 400 1.1rem var(--titulo); }
@keyframes balanca { 50% { rotate: -4deg; } }
.c-adesivo { position: absolute; right: 7%; top: 30%; padding: .8rem 1rem; background: var(--ouro-luz); color: var(--tinta); font: 400 1.4rem/1 var(--titulo); rotate: 10deg; border: 3px solid var(--tinta); box-shadow: 5px 5px 0 var(--brilho); }
.c-texto { max-width: 44rem; }
.hero-c .a-lead { margin-inline: auto; } .hero-c .acoes { justify-content: center; }
@media (max-width: 860px) {
  .hero-c { padding-top: 10.5rem; }
  .c-neon img { width: min(250px, 58vw); }
  .c-polaroid { width: 92px; left: 4%; top: 76px; padding: 6px 6px 22px; } .c-polaroid figcaption { font-size: .7rem; bottom: 4px; }
  .c-adesivo { right: 4%; top: 92px; font-size: .9rem; padding: .5rem .7rem; }
}

/* números */
.numeros { padding: 4rem clamp(1rem, 5vw, 3rem); background: linear-gradient(var(--tinta), var(--carvao)); }
.num-lista { list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.num-lista li { display: flex; align-items: center; gap: 1.2rem; }
.num-n { font: 400 clamp(3rem, 6vw, 4.4rem)/1 var(--titulo); color: var(--osso); text-shadow: 3px 3px 0 var(--brilho); }
.num-n small { font-size: .45em; color: var(--ouro); text-shadow: none; }
.num-r { display: block; font-weight: 600; color: var(--osso-2); }
.num-f { display: block; font-size: .72rem; color: var(--ouro); letter-spacing: .05em; }
@media (max-width: 760px) { .num-lista { grid-template-columns: 1fr; } }

/* faixa */
.faixa { overflow: hidden; background: var(--brilho); border-block: 3px solid var(--tinta); rotate: -1.5deg; margin: 1.5rem -2rem; }
.faixa-trilho { white-space: nowrap; font: 400 clamp(1.4rem, 3vw, 2.2rem)/1 var(--titulo); padding: .7rem 0; letter-spacing: .05em; will-change: transform; }

/* seções */
.secao { padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 5vw, 3rem); max-width: 1240px; margin: 0 auto; }
.secao-topo { margin-bottom: 2.4rem; }

/* quem */
.quem { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.video-moldura { position: relative; border-radius: 26px; overflow: hidden; border: 5px solid var(--osso); box-shadow: 10px 10px 0 var(--brilho), 0 30px 60px -20px #000; rotate: -2deg; background: #000; }
.video-moldura video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.video-som { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; border: 0; border-radius: 999px; padding: .7rem 1.1rem; background: var(--brilho); color: var(--osso); font: 800 .9rem var(--texto); cursor: pointer; box-shadow: 0 0 0 0 rgba(205,91,92,.7); animation: chama 2.4s ease-out infinite; white-space: nowrap; }
.video-som[aria-pressed="true"] { animation: none; background: var(--tinta); }
@keyframes chama { 0% { box-shadow: 0 0 0 0 rgba(205,91,92,.7); } 80%, 100% { box-shadow: 0 0 0 16px rgba(205,91,92,0); } }
.video-cred { font-size: .78rem; color: var(--osso-2); text-align: center; margin-top: 1.2rem; }
.quem-texto h2 { margin-bottom: 1.2rem; }
.frase, .curadoria { margin: 1.6rem 0 0; padding: 1.2rem 1.4rem; border-left: 4px solid var(--ouro); background: var(--carvao); border-radius: 0 var(--raio) var(--raio) 0; }
.frase p { font: 400 1.7rem/1.15 var(--titulo); margin: 0 0 .6rem; letter-spacing: .02em; }
.curadoria { border-color: var(--brilho); } .curadoria p { margin: 0 0 .6rem; color: var(--osso-2); }
cite { font-style: normal; font-size: .82rem; color: var(--ouro); }
@media (max-width: 760px) { .quem { grid-template-columns: 1fr; } .quem-video { max-width: 300px; margin: 0 auto; } }

/* obras */
.filtros { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.filtro { border: 2px solid rgba(243,238,232,.3); background: transparent; color: var(--osso); border-radius: 999px; padding: .5rem 1.1rem; font: 700 .9rem var(--texto); cursor: pointer; }
.filtro[aria-selected="true"] { background: var(--osso); color: var(--tinta); border-color: var(--osso); }
.grade { list-style: none; margin: 0; padding: 0; columns: 4 220px; column-gap: 14px; }
.grade li { break-inside: avoid; margin-bottom: 14px; }
.grade li[hidden] { display: none; }
@media (max-width: 600px) { .grade { columns: 2; column-gap: 10px; } .grade li { margin-bottom: 10px; } .obra-t { font-size: .72rem; padding: 1.4rem .5rem .5rem; } .obra-premio { font-size: .58rem; top: 6px; left: 6px; } }
.obra { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--raio); overflow: hidden; cursor: zoom-in; background: var(--carvao); }
.obra img { width: 100%; transition: transform .5s ease; }
.obra:hover img { transform: scale(1.05); }
.obra-t { position: absolute; inset: auto 0 0 0; padding: 2rem .8rem .7rem; text-align: left; font: 600 .82rem var(--texto); color: var(--osso); background: linear-gradient(transparent, rgba(11,8,9,.9)); }
.obra-premio { position: absolute; top: 10px; left: 10px; padding: .3rem .6rem; border-radius: 999px; background: var(--ouro-luz); color: var(--tinta); font: 800 .68rem var(--texto); letter-spacing: .02em; box-shadow: 0 4px 12px -4px #000; }
.revela { opacity: 0; translate: 0 26px; transition: opacity .6s ease, translate .6s ease; }
.revela.dentro { opacity: 1; translate: 0 0; }
.mais { text-align: center; margin-top: 2rem; }

/* visor */
.visor { position: fixed; inset: 0; z-index: 70; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem; padding: 1rem; background: rgba(11,8,9,.95); }
.visor[hidden] { display: none; }
.visor figure { margin: 0; display: grid; justify-items: center; gap: .8rem; }
.visor img { max-height: 80svh; width: auto; border-radius: var(--raio); }
.visor figcaption { text-align: center; font-size: .9rem; } .visor figcaption a { color: var(--ouro-luz); margin-left: .5rem; }
#visor-premio { color: var(--ouro-luz); }
.visor-seta, .visor-fechar { width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: rgba(243,238,232,.12); color: var(--osso); font-size: 1.8rem; cursor: pointer; }
.visor-fechar { position: absolute; top: 1rem; right: 1rem; }

/* prêmios */
.linha { list-style: none; margin: 0; padding: 0 0 0 2rem; position: relative; display: grid; gap: 1.1rem; max-width: 760px; }
.linha::before { content: ''; position: absolute; left: .55rem; top: .4rem; bottom: .4rem; width: 3px; background: linear-gradient(var(--ouro), var(--brilho)); transform-origin: top; transform: scaleY(var(--prog, 0)); }
.linha li { position: relative; padding: 1rem 1.2rem; background: var(--carvao); border-radius: var(--raio); }
.linha li::before { content: '⚜'; position: absolute; left: -2.15rem; top: .8rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--tinta); color: var(--ouro-luz); border: 2px solid var(--ouro); font-size: .85rem; }
.linha .ano { font: 400 1.5rem/1 var(--titulo); color: var(--vermelho); margin-right: .6rem; }
.linha b { font-weight: 800; } .linha .ev { display: block; color: var(--osso-2); font-size: .92rem; }
.linha a { font-size: .78rem; color: var(--ouro); }

/* como funciona */
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; counter-reset: p; }
.passos li { display: grid; justify-items: center; text-align: center; gap: .9rem; counter-increment: p; }
.passos h3 { font-size: 1.7rem; } .passos h3::before { content: counter(p) '. '; color: var(--vermelho); }
.passos p { margin: 0; color: var(--osso-2); font-size: .95rem; }
@media (max-width: 900px) { .passos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .passos { grid-template-columns: 1fr; } }
.orcamento { margin-top: 3rem; padding: clamp(1.4rem, 4vw, 2.4rem); background: var(--carvao); border-radius: 22px; border: 2px solid rgba(161,139,85,.35);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: end; }
.orcamento h3 { grid-column: 1 / -1; font-size: 2rem; }
.orcamento label { display: grid; gap: .35rem; font-weight: 700; font-size: .85rem; color: var(--osso-2); }
.orcamento .larga { grid-column: 1 / -1; }
.orcamento input, .orcamento select, .orcamento textarea { width: 100%; padding: .75rem .9rem; border-radius: 10px; border: 2px solid rgba(243,238,232,.18); background: var(--tinta); color: var(--osso); font: 500 1rem var(--texto); }
.orcamento .btn { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 700px) { .orcamento { grid-template-columns: 1fr; } }

/* estúdio */
.estudio-cartao { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: 26px; background: radial-gradient(80% 120% at 0% 50%, rgba(149,39,47,.35), transparent 60%), var(--carvao); }
.estudio-logo { width: 170px; filter: drop-shadow(0 0 12px rgba(149,39,47,.9)); }
.end { color: var(--osso-2); max-width: 34rem; }
.patro { font-size: .82rem; color: var(--ouro); margin-top: 1.4rem; }
@media (max-width: 700px) { .estudio-cartao { grid-template-columns: 1fr; } .estudio-logo { width: 120px; } }

/* rodapé + assinatura (regra 0 do Studio) */
.rodape { padding: 2.5rem 1rem 6rem; text-align: center; color: var(--osso-2); font-size: .85rem; }
.assinatura-studio { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid rgba(243,238,232,.12); font: 400 .72rem ui-monospace, 'IBM Plex Mono', monospace; letter-spacing: .04em; }
.assinatura-studio a { color: var(--osso-2); text-decoration: none; } .assinatura-studio a:hover { color: var(--ouro-luz); }

/* WhatsApp fixo */
.whats-fixo { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem; border-radius: 999px;
  background: #146C3A; color: #fff; font: 800 .9rem var(--texto); text-decoration: none; box-shadow: 0 12px 30px -8px rgba(0,0,0,.8); }
.whats-fixo svg { width: 22px; height: 22px; }
@media (min-width: 861px) { .whats-fixo span { display: none; } .whats-fixo { padding: .9rem; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revela { opacity: 1; translate: 0 0; }
  .linha::before { transform: none; }
}
