/* Portfolio-led layout. Shared 1500px container includes its gutters. */
.hero { min-height: auto; padding-block: 160px 104px; }
.hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 80px); }
.hero-title { max-width: 12ch; font-size: clamp(3rem, 5.2vw, 5.5rem); line-height: 1.02; }
.hero-sub { font-size: 1.08rem; max-width: 46ch; }
.hero-chips { gap: 8px 16px; }
.hero-chips li { padding: 0; border: 0; background: none; font-size: .75rem; }
.hero-showcase { position: relative; min-width: 0; padding: 12px 0 114px 20px; }
.hero-showcase::before { content: ''; position: absolute; inset: -10% -4% 5%; z-index: -1; background: radial-gradient(ellipse, #1a417760, transparent 70%); }
.showcase-main, .showcase-secondary { display: block; overflow: hidden; border: 1px solid #82baff40; border-radius: 12px; background: #102036; box-shadow: 0 30px 60px #0005; }
.showcase-main { transform: rotate(-3deg); transition: transform 250ms; }
.showcase-main:hover { transform: rotate(-1deg) translateY(-4px); }
.browser-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-size: .65rem; color: #afbdd0; letter-spacing: .04em; }
.browser-bar > :first-child { color: #6886a6; font-size: .5rem; letter-spacing: .2em; }
.showcase-main img, .showcase-secondary img { display: block; width: 100%; height: auto; }
.showcase-caption { display: flex; justify-content: space-between; gap: 14px; padding: 15px 18px; font-size: .72rem; }
.showcase-caption > span { color: var(--text-dim); }
.showcase-secondary { position: absolute; width: 54%; right: -8px; bottom: 8px; transform: rotate(5deg); transition: transform 250ms; }
.showcase-secondary:hover { transform: rotate(2deg) translateY(-4px); }
.showcase-secondary > span { display: flex; justify-content: space-between; padding: 12px 16px; font-size: .75rem; font-weight: 700; }
.showcase-note { position: absolute; bottom: 38px; left: 12px; max-width: 18ch; font-size: .72rem; line-height: 1.6; color: var(--text-dim); }
.scroll-hint { display: none; }
#particle-canvas, .grid-overlay, .radial-glow { display: none; }
#projetos { background: #0d1b2c; }
#projetos .section-head { max-width: 820px; }
.work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
.work-card { padding: 0 0 24px; background: transparent; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; gap: 12px; }
.work-card:hover { background: transparent; box-shadow: none; transform: none; }
.work-visual { width: 100%; height: auto; aspect-ratio: 900 / 563; flex: none; margin: 0 0 12px; border: 1px solid var(--border); border-radius: 10px; }
.work-card:hover .work-visual { transform: translateY(-4px); }
.work-card h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.work-card p { max-width: 60ch; }
.work-tag { width: fit-content; }
.work-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: clamp(28px, 4vw, 64px); padding-bottom: 48px; align-items: start; }
.work-card:first-child .work-visual { grid-column: 1; grid-row: 1 / 5; margin: 0; }
.work-card:first-child > :not(.work-visual) { grid-column: 2; }
.work-card:first-child .work-tag { margin-top: 24px; }
.work-card:first-child h3 { font-size: clamp(2rem, 3.5vw, 3.4rem); }
.work-card:first-child .work-link { margin-bottom: 24px; }
#servicos .bento { gap: 0 48px; }
#servicos .card { grid-column: span 6; padding: 32px 0; min-height: auto; border: 0; border-top: 1px solid var(--border-strong); border-radius: 0; background: none; }
#servicos .card:hover { transform: none; box-shadow: none; }
.contact-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.contact-next { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .9rem; line-height: 1.7; color: var(--text-dim); }
@media (max-width: 980px) {
 .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
 .hero-title { font-size: clamp(2.9rem, 6vw, 4rem); }
 .hero-showcase { padding-left: 0; padding-bottom: 84px; }
 .showcase-note { bottom: 8px; left: 0; }
 .showcase-caption > span { display: none; }
 .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
 .hero { padding-block: 124px 64px; }
 .hero-inner { grid-template-columns: 1fr; gap: 44px; }
 .hero-title { font-size: clamp(2.9rem, 10vw, 4.8rem); max-width: 14ch; }
 .hero-showcase { width: 100%; max-width: 580px; justify-self: center; padding: 12px 12px 100px; }
 .showcase-secondary { right: 4px; }
 .showcase-note { left: 12px; bottom: 26px; }
 .work-card:first-child { display: flex; gap: 12px; padding-bottom: 24px; }
 .work-card:first-child .work-tag { margin-top: 0; }
 .work-card:first-child .work-link { margin-bottom: 0; }
 .work-card:first-child .work-visual { margin-bottom: 12px; }
 .work-card:first-child h3 { font-size: 2rem; }
 .work-grid { gap: 32px 20px; }
 #servicos .bento { gap: 0 24px; }
}
@media (max-width: 560px) {
 .work-grid { grid-template-columns: 1fr; }
 #servicos .card { grid-column: 1 / -1; }
 .showcase-caption { padding: 12px; }
 .hero-kicker { line-height: 1.6; font-size: .65rem; }
}
