/* Página do Tostão (/documents/tostao). Papel #F4EEE1, tinta #2F2BB0, ação #5753E2. */
.tp { --tp-papel: #F4EEE1; --tp-tinta: #2F2BB0; --tp-acao: #5753E2; --tp-texto: #1d1d1f; --tp-sec: #5E646E; color: var(--tp-texto); overflow-x: clip; }
.tp *, .tp *::before, .tp *::after { box-sizing: border-box; }
.tp img { display: block; max-width: 100%; height: auto; }
.tp-in { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.tp-sobre { display: block; margin: 0; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.01em; color: var(--tp-acao); }
.tp h2 { margin: 0.5rem 0 0; font-size: clamp(1.875rem, 1.2rem + 3vw, 3rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; color: var(--tp-tinta); text-wrap: balance; }
.tp-lead { margin: 1rem 0 0; max-width: 36rem; font-size: 1.0625rem; line-height: 1.6; color: #3a3a40; text-wrap: pretty; }
.tp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0.75rem 1.5rem; border: 0; border-radius: 999px; background: var(--tp-tinta); color: #fff; font: inherit; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: background-color 0.2s ease, transform 0.2s ease; }
.tp-btn:hover { background: var(--tp-acao); color: #fff; transform: translateY(-1px); }
.tp-btn:active { transform: translateY(0); }
.tp-btn-2 { background: transparent; color: var(--tp-tinta); box-shadow: inset 0 0 0 1.5px rgba(47, 43, 176, 0.35); }
.tp-btn-2:hover { background: rgba(47, 43, 176, 0.08); color: var(--tp-tinta); }
.tp-btn-claro { background: #fff; color: var(--tp-tinta); }
.tp-btn-claro:hover { background: var(--tp-papel); color: var(--tp-tinta); }
.tp a:focus-visible, .tp button:focus-visible, .tp input:focus-visible { outline: 3px solid var(--tp-acao); outline-offset: 3px; }
.tp-volta a:focus-visible, .tp-volta button:focus-visible, .tp-volta input:focus-visible, .tp-fim a:focus-visible { outline-color: #fff; }

/* ---------- 1. Cartaz ---------- */
.tp-hero { background: var(--tp-papel); padding: 2.5rem 0 3rem; text-align: center; }
.tp-hero .tp-in { --tp-fs: clamp(4.5rem, 27vw, 20rem); display: flex; flex-direction: column; align-items: center; }
.tp-nome { margin: 0.25rem 0 0; font-size: var(--tp-fs); font-weight: 650; letter-spacing: -0.055em; line-height: 0.86; color: var(--tp-tinta); white-space: nowrap; user-select: none; }
.tp-cao { position: relative; z-index: 1; display: block; width: max(9rem, min(46vw, 21rem, 38vh)); margin: calc(var(--tp-fs) * -0.36) 0 0; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; line-height: 0; border-radius: 1.5rem; }
.tp-cao-caixa { position: relative; display: block; aspect-ratio: 640 / 1111; }
.tp-cao-caixa picture { display: contents; }
.tp-cao img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 18px 18px rgba(29, 27, 110, 0.2)); transition: opacity 0.18s ease, transform 0.45s cubic-bezier(0.3, 1.5, 0.5, 1); transform-origin: 50% 100%; }
.tp-cao .tp-cao-festa { opacity: 0; }
.tp-cao:hover .tp-cao-ola { transform: rotate(-2deg) scale(1.02); }
.tp-cao.tp-festa .tp-cao-ola { opacity: 0; }
.tp-cao.tp-festa .tp-cao-festa { opacity: 1; transform: scale(1.04); }
.tp-balao { position: absolute; left: 78%; top: 6%; z-index: 2; padding: 0.5rem 0.875rem; border-radius: 1rem 1rem 1rem 0.25rem; background: #fff; color: var(--tp-texto); font-size: 0.9375rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; white-space: nowrap; box-shadow: 0 10px 26px rgba(29, 27, 110, 0.2); opacity: 0; transform: translateY(8px) scale(0.92); transform-origin: 0 100%; transition: opacity 0.18s ease, transform 0.35s cubic-bezier(0.3, 1.5, 0.5, 1); pointer-events: none; }
.tp-cao.tp-festa .tp-balao { opacity: 1; transform: none; }
.tp-dica { margin: 0.75rem 0 0; font-size: 0.8125rem; color: rgba(47, 43, 176, 0.7); }
.tp-lema { margin: 1.25rem 0 0; max-width: 30rem; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; color: var(--tp-texto); text-wrap: balance; }
.tp-acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.5rem; }
@media (max-width: 479px) { .tp-balao { left: auto; right: -14%; top: -2%; } .tp-acoes { width: 100%; } .tp-acoes .tp-btn { flex: 1 1 100%; } }
@media (min-width: 768px) { .tp-hero { padding: 3.5rem 0 4.5rem; } }

/* ---------- 2. Ficha ---------- */
.tp-ficha { background: #fff; padding: 4rem 0; }
.tp-ficha .tp-in { display: grid; gap: 2.5rem; align-items: center; }
.tp-cartao-palco { perspective: 1200px; }
.tp-cartao { position: relative; margin: 0 auto; max-width: 34rem; border-radius: 1.5rem; background: linear-gradient(135deg, #FBF7EE 0%, var(--tp-papel) 55%, #EBE3D2 100%); box-shadow: inset 0 0 0 1.5px rgba(47, 43, 176, 0.2), 0 24px 48px -18px rgba(29, 27, 110, 0.35); overflow: hidden; transform: rotateX(var(--tp-rx, 0deg)) rotateY(var(--tp-ry, 0deg)); transition: transform 0.25s ease-out; will-change: transform; }
.tp-cartao-topo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.875rem 1.25rem; background: var(--tp-tinta); color: #fff; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.tp-cartao-topo span:last-child { opacity: 0.75; letter-spacing: 0.02em; text-transform: none; font-weight: 500; }
.tp-cartao-corpo { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: 1.25rem; }
.tp-cartao-foto { align-self: start; border-radius: 0.875rem; background: rgba(47, 43, 176, 0.1); box-shadow: inset 0 0 0 1.5px rgba(47, 43, 176, 0.16); overflow: hidden; line-height: 0; }
.tp-cartao-foto img { width: 100%; aspect-ratio: 480 / 515; object-fit: cover; }
.tp-cartao dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.625rem; }
.tp-cartao dt { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(47, 43, 176, 0.72); }
.tp-cartao dd { margin: 0.0625rem 0 0; font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; color: var(--tp-texto); overflow-wrap: anywhere; }
.tp-cartao dd.tp-grande { font-size: 1.5rem; letter-spacing: -0.03em; color: var(--tp-tinta); }
.tp-cartao-mrz { margin: 0; padding: 0.75rem 1.25rem 1rem; border-top: 1.5px dashed rgba(47, 43, 176, 0.2); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(0.5625rem, 2.4vw, 0.75rem); letter-spacing: 0.08em; line-height: 1.5; color: rgba(47, 43, 176, 0.6); white-space: nowrap; overflow: hidden; user-select: none; }
@media (min-width: 480px) { .tp-cartao-corpo { grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem; } .tp-cartao dl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; } .tp-cartao .tp-larga { grid-column: 1 / -1; } }
@media (min-width: 900px) { .tp-ficha { padding: 6rem 0; } .tp-ficha .tp-in { grid-template-columns: minmax(0, 1fr) minmax(0, 34rem); gap: 4rem; } .tp-cartao { margin: 0; } }

/* ---------- 3. O nome ---------- */
.tp-porque { background: var(--tp-papel); padding: 4rem 0 0; }
.tp-porque .tp-in { display: grid; gap: 2rem; align-items: end; }
.tp-porque-texto { padding-bottom: 0.5rem; }
.tp-porque-img { display: flex; justify-content: center; line-height: 0; }
.tp-porque-img img { width: min(13rem, 56vw); filter: drop-shadow(0 14px 16px rgba(29, 27, 110, 0.18)); }
.tp-ditos { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 0; padding: 0; }
.tp-ditos li { padding: 0.5rem 0.875rem; border-radius: 999px; background: rgba(47, 43, 176, 0.08); font-size: 0.9375rem; font-weight: 500; color: var(--tp-tinta); }
@media (min-width: 900px) { .tp-porque { padding-top: 6rem; } .tp-porque .tp-in { grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: 4rem; } .tp-porque-texto { padding-bottom: 6rem; } .tp-porque-img img { width: 17rem; } }

/* ---------- 4. Volta de 360 graus ---------- */
.tp-volta { position: relative; background: var(--tp-tinta); color: #fff; padding: 4rem 0; scroll-margin-top: 4.5rem; text-align: center; }
.tp-volta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 58%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.tp-volta .tp-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.tp-volta .tp-sobre { color: rgba(255, 255, 255, 0.8); }
.tp-volta h2 { color: #fff; }
.tp-palco { position: relative; width: min(64vw, 18rem, 34vh + 2rem); min-width: 9rem; margin-top: 2rem; aspect-ratio: 379 / 760; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.tp-palco.tp-arrasta { cursor: grabbing; }
.tp-palco::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -2.5%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(12, 10, 70, 0.55), rgba(12, 10, 70, 0)); z-index: 0; }
.tp-palco img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; opacity: 0; pointer-events: none; -webkit-user-drag: none; }
.tp-palco img.tp-on { opacity: 1; }
.tp-legenda { min-height: 3em; margin: 1.5rem 0 0; max-width: 24rem; font-size: 1.0625rem; font-weight: 500; line-height: 1.5; color: rgba(255, 255, 255, 0.92); text-wrap: balance; }
.tp-comando { display: flex; align-items: center; gap: 0.75rem; width: min(100%, 26rem); margin-top: 1rem; }
.tp-seta { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer; transition: background-color 0.2s ease; }
.tp-seta:hover { background: rgba(255, 255, 255, 0.26); }
.tp-seta svg { width: 1.125rem; height: 1.125rem; }
.tp-range { flex: 1 1 auto; min-width: 0; height: 2.75rem; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.tp-range::-webkit-slider-runnable-track { height: 0.375rem; border-radius: 999px; background: rgba(255, 255, 255, 0.28); }
.tp-range::-moz-range-track { height: 0.375rem; border-radius: 999px; background: rgba(255, 255, 255, 0.28); }
.tp-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 1.5rem; height: 1.5rem; margin-top: -0.5625rem; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(12, 10, 70, 0.4); }
.tp-range::-moz-range-thumb { width: 1.5rem; height: 1.5rem; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(12, 10, 70, 0.4); }
.tp-grau { flex: none; min-width: 3.25rem; font-size: 0.9375rem; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; color: rgba(255, 255, 255, 0.9); }
.tp-volta-dica { margin: 0.5rem 0 0; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.7); }
@media (min-width: 900px) { .tp-volta { padding: 6rem 0; } }

/* ---------- 5. Um dia de trabalho ---------- */
.tp-dia { background: #fff; padding: 4rem 0; }
.tp-dia-grelha { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 2rem 0 0; padding: 0; }
.tp-dia-grelha li { display: flex; flex-direction: column; min-width: 0; padding: 1rem 0.875rem 1.125rem; border-radius: 1.25rem; background: var(--tp-papel); }
.tp-hora { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; color: var(--tp-acao); }
.tp-dia-grelha img { align-self: center; width: 100%; height: 8.5rem; margin: 0.5rem 0 0.75rem; object-fit: contain; object-position: 50% 100%; transition: transform 0.5s cubic-bezier(0.3, 1.5, 0.5, 1); transform-origin: 50% 100%; }
.tp-dia-grelha li:hover img { transform: scale(1.07) rotate(-2deg); }
.tp-dia-grelha strong { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; color: var(--tp-texto); }
.tp-dia-grelha p { margin: 0.25rem 0 0; font-size: 0.875rem; line-height: 1.45; color: var(--tp-sec); text-wrap: pretty; }
@media (min-width: 600px) { .tp-dia-grelha { gap: 1rem; } .tp-dia-grelha li { padding: 1.25rem 1.25rem 1.5rem; } .tp-dia-grelha img { height: 10.5rem; } }
@media (min-width: 900px) { .tp-dia { padding: 6rem 0; } .tp-dia-grelha { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-top: 3rem; } .tp-dia-grelha img { height: 12rem; } }

/* ---------- 6. Onde aparece ---------- */
.tp-onde { background: var(--tp-papel); padding: 4rem 0; }
.tp-onde-grelha { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; margin: 2rem 0 0; padding: 0; }
.tp-onde-grelha li { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
.tp-onde-grelha img { width: auto; max-width: 100%; height: 7rem; object-fit: contain; object-position: 50% 100%; margin-bottom: 0.75rem; filter: drop-shadow(0 8px 8px rgba(29, 27, 110, 0.14)); }
.tp-onde-grelha strong { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; color: var(--tp-tinta); }
.tp-onde-grelha span { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.45; color: #4a4a52; text-wrap: balance; }
@media (min-width: 600px) { .tp-onde-grelha { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.5rem; } .tp-onde-grelha img { height: 8.5rem; } }
@media (min-width: 1000px) { .tp-onde { padding: 6rem 0; } .tp-onde-grelha { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 3rem; } }

/* ---------- 7. Fecho ---------- */
.tp-fim { --tp-esp: clamp(11rem, 7rem + 22vw, 17.5rem); background: #fff; padding: calc(var(--tp-esp) * 1.072 + 0.5rem) 0 4rem; }
.tp-fim-caixa { position: relative; border-radius: 1.75rem; background: var(--tp-tinta); color: #fff; padding: 3.5rem 1.5rem 2.5rem; text-align: center; }
.tp-fim-caixa > img { position: absolute; left: 50%; bottom: calc(100% - clamp(1.1rem, 0.6rem + 2vw, 1.75rem)); width: var(--tp-esp); transform: translateX(-50%); pointer-events: none; filter: drop-shadow(0 10px 12px rgba(12, 10, 70, 0.3)); }
.tp-fim h2 { margin: 0; color: #fff; font-size: clamp(2rem, 1.2rem + 4.4vw, 4rem); letter-spacing: -0.035em; }
.tp-fim p { margin: 0.875rem auto 0; max-width: 30rem; font-size: 1.0625rem; line-height: 1.55; color: rgba(255, 255, 255, 0.88); text-wrap: balance; }
.tp-fim .tp-btn { margin-top: 1.75rem; }
@media (min-width: 900px) { .tp-fim { padding-bottom: 6rem; } .tp-fim-caixa { padding: 5rem 3rem 4rem; border-radius: 2.25rem; } }

@media (prefers-reduced-motion: reduce) {
    .tp-btn, .tp-cao img, .tp-balao, .tp-cartao, .tp-dia-grelha img { transition: none; }
    .tp-cao:hover .tp-cao-ola, .tp-dia-grelha li:hover img, .tp-btn:hover { transform: none; }
    .tp-cartao { transform: none; }
}
@media print { .tp-cao, .tp-palco, .tp-comando, .tp-volta-dica, .tp-dica { display: none; } }
.tp .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
