/* hprworks.com: pagina inicial */
.hero { position: relative; padding-top: clamp(2.5rem, 6vw, 4.5rem); overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 0 clamp(2rem, 4.5vw, 4rem); align-items: stretch; }
.hero-copy { align-self: center; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.1rem); line-height: 1.1; letter-spacing: -0.015em; }
.h1-a, .h1-b { display: block; text-wrap: balance; }
.h1-b { margin-top: 0.2em; }
.hero-lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 36rem; margin: 1.5rem 0 0; }

/* Pilha de slides: o bloco esmeralda atras escorre para dentro da faixa do estudio */
.hero-art { position: relative; display: grid; align-content: center; padding: 5rem 0 3.6rem 1.4rem; margin-right: calc(-1 * clamp(0rem, 4.5vw, 4.5rem)); }
.hero-art::before { content: ""; position: absolute; z-index: 0; top: 0; bottom: 0; left: 0; right: -60vw; background: var(--emerald); border-radius: 18px 0 0 0; }
.deck { position: relative; grid-area: 1 / 1; width: calc(100% - 3.6rem); box-shadow: 0 24px 40px -22px rgba(3, 31, 25, 0.75); }
.deck-1 { z-index: 3; }
.deck-2 { z-index: 2; transform: translate(1.8rem, -1.8rem); }
.deck-3 { z-index: 1; transform: translate(3.6rem, -3.6rem); }
.deck .slide-frame { outline: 1px solid rgba(0, 0, 0, 0.1); }
.deck-2 .r, .deck-3 .r { visibility: hidden; }
.deck-1 .r-title::after { content: ""; flex: none; align-self: flex-start; width: 0.07em; height: 1.1em; margin-left: 0.14em; background: var(--title); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero-fmt { position: absolute; z-index: 4; left: 1.1rem; top: -1.4rem; display: flex; gap: 0.3rem; padding: 0.35rem; background: var(--white); border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.55); }
.fmt-pill { padding: 0.28rem 0.62rem; border: 1px solid var(--line-strong); border-radius: 6px; font: 600 0.82rem/1.2 var(--sans); color: var(--graphite); background: var(--white); }
.fmt-pill.is-on { background: var(--emerald); border-color: var(--emerald); color: var(--white); }
@media (max-width: 62rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: 2rem; }
  .hero-art { padding: 4.2rem 0 3rem 0.9rem; margin-right: 0; }
  .hero-art::before { left: -1.5rem; right: -1.5rem; }
  .deck { width: calc(100% - 2.6rem); }
  .deck-2 { transform: translate(1.3rem, -1.3rem); }
  .deck-3 { transform: translate(2.6rem, -2.6rem); }
}

/* Estudio (o elemento de destaque da pagina) */
.studio-band { background: var(--emerald); color: var(--ivory); padding-block: clamp(2rem, 4vw, 3.25rem); }
.studio-heading { color: var(--ivory); margin-bottom: 1.5rem; }
.studio { background: var(--emerald-ink); border-radius: 10px; overflow: hidden; box-shadow: 0 28px 50px -28px rgba(0, 0, 0, 0.65); }
.studio-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.65rem 1rem; background: #031F19; font-size: 0.9rem; color: #D5E6DF; }
.studio-doc { font-weight: 600; }
.studio-present { background: var(--coral); color: var(--graphite); font-weight: 700; padding: 0.3rem 0.9rem; border-radius: 4px; }
.studio-body { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr) 14.5rem; min-height: 24rem; }
.studio-strip { display: flex; flex-direction: column; gap: 0.9rem; padding: 1rem 0.9rem; background: #07372D; overflow-y: auto; }
.strip-thumb { display: block; width: 100%; padding: 0.3rem; background: transparent; border: 0; border-radius: 6px; color: #D5E6DF; font: 500 0.85rem var(--sans); text-align: left; cursor: pointer; }
.strip-thumb .slide-frame { border-radius: 2px; outline: 1px solid rgba(255, 255, 255, 0.25); }
.strip-thumb[aria-selected="true"] { background: rgba(255, 122, 102, 0.18); box-shadow: inset 0 0 0 3px var(--coral); }
.strip-thumb:hover { background: rgba(255, 255, 255, 0.08); }
.strip-label { display: block; margin-top: 0.35rem; }
.studio-stage { display: grid; align-content: center; padding: clamp(1rem, 3vw, 2rem); background: #0A4B3D; }
.stage-panel .slide-frame { box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.7); }
.stage-notes { margin: 0.9rem 0 0; font-size: 0.92rem; color: #D5E6DF; max-width: 60ch; }
.stage-notes span { font-weight: 700; color: var(--ivory); margin-right: 0.35rem; }
.js .stage-panel[data-inactive="true"] { display: none; }
.stage-panel:not([data-inactive]) + .stage-panel, .stage-panel { margin: 0; }
html:not(.js) .stage-panel + .stage-panel { margin-top: 2rem; }
.studio-panel { margin: 0; padding: 1.1rem 1.1rem; background: #07372D; display: grid; align-content: start; gap: 1rem; }
.studio-panel dt { font-size: 0.82rem; color: #B7D2C8; margin-bottom: 0.15rem; }
.studio-panel dd { margin: 0; font-weight: 600; color: var(--ivory); font-size: 0.97rem; }
.studio-caption { margin: 1rem 0 0; color: #D5E6DF; font-size: 0.95rem; max-width: 60ch; }
.studio-caption a { color: var(--ivory); }
.studio-fmt { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.9rem; }
.studio-fmt .fmt-pill { background: rgba(255, 255, 255, 0.08); border-color: #4E7C6E; color: #E8F1ED; }
.studio-fmt .fmt-pill.is-on { background: var(--coral); border-color: var(--coral); color: var(--graphite); }

/* Os quatro passos de quem edita */
.steps { list-style: none; margin: 2.75rem 0 0; padding: 2rem 0 0; border-top: 1px solid rgba(255, 255, 255, 0.22); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem 2rem; }
.steps li { display: grid; gap: 0.3rem; align-content: start; }
.step-n { position: relative; display: block; margin-bottom: 0.5rem; padding-bottom: 0.7rem; font: 400 3rem/1 var(--serif); color: var(--ivory); }
.step-n::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2.4rem; height: 3px; background: var(--coral); }
.steps h3 { font: 600 1.15rem/1.3 var(--sans); color: var(--ivory); }
.steps p { margin: 0; color: #D5E6DF; font-size: 0.97rem; max-width: 30ch; }
@media (max-width: 62rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .steps { grid-template-columns: minmax(0, 1fr); } .step-n { font-size: 2.4rem; } }

/* Convite final */
.closing { background: var(--emerald); color: var(--ivory); padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.closing-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; }
.closing h2 { color: var(--ivory); font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.closing .hero-actions { margin: 0; }
.closing-link { color: var(--ivory); font-weight: 600; }
.closing-link:hover { color: var(--white); }
.is-home .site-footer { margin-top: 0; }
@media (max-width: 58rem) {
  .studio-body { grid-template-columns: minmax(0, 1fr); }
  .studio-strip { flex-direction: row; overflow-x: auto; overflow-y: hidden; padding: 0.75rem; }
  .strip-thumb { flex: 0 0 9rem; }
  .studio-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Secoes */
.section { padding-top: clamp(3rem, 6vw, 4.75rem); }
.section h2 { max-width: 24ch; }
.section-lead { color: var(--ink-2); max-width: 44rem; margin: 0.75rem 0 2rem; }

/* Cinco "slides" de categoria */
.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2.5rem 1.75rem; }
.cat-tile { grid-column: span 2; display: block; color: inherit; text-decoration: none; }
.cat-tile:nth-child(n+4) { grid-column: span 3; }
.cat-tile .slide-frame { outline: 1px solid var(--line-strong); }
.cat-tile:hover .slide-frame { outline: 3px solid var(--emerald); }
.cat-text { display: grid; gap: 0.2rem; margin-top: 0.85rem; }
.cat-name { font: 400 1.55rem/1.2 var(--serif); color: var(--emerald); }
.cat-tile:hover .cat-name { text-decoration: underline; text-decoration-thickness: 0.07em; }
.cat-tag { color: var(--ink-2); max-width: 36rem; }
.cat-count { color: var(--ink-3); font-size: 0.9rem; font-weight: 600; }
@media (max-width: 62rem) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cat-tile, .cat-tile:nth-child(n+4) { grid-column: auto; } }
@media (max-width: 38rem) { .cat-grid { grid-template-columns: 1fr; } }

.more { margin-top: 1.5rem; }

/* Transparencia editorial */
.transparency { background: var(--emerald-tint); margin-top: clamp(3.5rem, 7vw, 5.5rem); padding-block: clamp(2.5rem, 5vw, 4rem); }
.transparency + .closing { margin-top: 0; }
.transp-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: start; }
.transparency h2 { margin-bottom: 1rem; }
.transparency p { max-width: 58ch; }
.transp-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--emerald-line, #B9D3C9); }
.transp-links li { padding: 1rem 0; border-bottom: 1px solid #B9D3C9; }
.transp-links a { font: 400 1.3rem/1.25 var(--serif); }
.transp-links span { display: block; color: var(--ink-2); font-size: 0.95rem; margin-top: 0.2rem; }
@media (max-width: 52rem) { .transp-grid { grid-template-columns: 1fr; } }
