/* Etapa 3: escopo restrito à sequência e às seis frentes de projetos. */
#projetos .concept-sequence{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1040px;margin-inline:auto}
#projetos .concept-sequence figure{min-width:0;margin-top:0}
#projetos .concept-sequence .product-image{position:relative;aspect-ratio:4/5}
#projetos .concept-sequence img{width:100%;height:100%;object-fit:contain}
#projetos .concept-sequence .product-image:hover img{transform:none}
#projetos .concept-sequence figcaption{display:block;font-size:12px;line-height:1.5}
#projetos .concept-sequence figcaption span{display:block}
#projetos .concept-sequence figcaption span+span{margin-top:4px;color:#555550;font-size:11px}
#projetos .concept-sequence .image-enlarge{display:flex;position:absolute;inset:0;align-items:flex-end;justify-content:flex-end;padding:8px;min-height:44px}
#projetos .concept-sequence .image-enlarge>span{padding:9px;background:#f7f7f3eb;color:#171716;font:10px/1.4 ui-monospace,monospace}
#projetos .concept-sequence .image-enlarge:focus-visible{outline-offset:-4px}
#projetos .source-note{font-size:11px;line-height:1.65;max-width:850px}
#projetos .project-fronts article{min-width:0}
#projetos .project-fronts h3{line-height:1.25}
#projetos .front-title-button{display:block;width:100%;border:0;background:none;padding:0;color:inherit;font:inherit;letter-spacing:inherit;line-height:inherit;text-align:left;cursor:pointer;min-height:44px}
#projetos .front-details{margin-top:12px;font-size:14px;line-height:1.7;color:#555550}
#projetos .front-details summary{width:fit-content;min-height:44px;display:flex;align-items:center;gap:18px;cursor:pointer;list-style:none;color:#171716;font:12px/1.5 ui-monospace,monospace}
#projetos .front-details summary::-webkit-details-marker{display:none}
#projetos .front-details summary::after{content:'+';font-size:20px}
#projetos .front-details[open] summary::after{content:'−'}
#projetos .front-copy{padding:16px 0}
#projetos .front-copy h4{font-size:15px;font-weight:500;margin:0 0 8px;color:#171716}
#projetos .front-copy p+h4{margin-top:24px}
.front-dialog{color:#171716;background:#f3f2ec;border:0;padding:0;width:min(640px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain}
.front-dialog::backdrop{background:#171716b8}
.front-dialog-header{position:sticky;top:0;display:flex;justify-content:flex-end;background:#f3f2ec;padding:12px 24px;z-index:1;border-bottom:1px solid #bdbdb5}
.front-close{min-height:44px;min-width:88px;display:flex;align-items:center;justify-content:center;gap:18px;padding:8px 0;border:0;background:none;color:inherit;font:13px/1.4 Arial,sans-serif;cursor:pointer}
.front-dialog-content{padding:16px 36px 36px}
.front-dialog .eyebrow{font:11px/1.6 ui-monospace,monospace}
.front-dialog h2{font-size:clamp(28px,4vw,38px);letter-spacing:-.045em;line-height:1.12;font-weight:400;margin:20px 0 24px;overflow-wrap:break-word}
.front-dialog h3{font-size:16px;font-weight:500;margin:24px 0 8px}
.front-dialog p{font-size:16px;line-height:1.7;color:#555550;overflow-wrap:break-word}
body.front-dialog-open{overflow:hidden}
.front-close:focus-visible,#projetos .front-title-button:focus-visible,#projetos .front-details summary:focus-visible{outline:2px solid #171716;outline-offset:4px}
@media(max-width:1000px) and (min-width:761px){#projetos .concept-sequence{gap:14px}#projetos .concept-sequence figcaption{font-size:11px}}
@media(max-width:760px){
 #projetos .concept-sequence{grid-template-columns:1fr;gap:28px;max-width:280px}
 #projetos .concept-sequence .product-image{max-width:240px;margin-inline:auto}
 #projetos .concept-sequence figcaption{margin-top:12px;padding-top:12px;font-size:12px}
 #projetos .project-fronts{row-gap:20px}
 #projetos .project-fronts article>.eyebrow{font-size:10px}
 #projetos .project-fronts h3{font-size:22px;margin:4px 0 10px}
 #projetos .project-fronts p{padding-bottom:0}
 #projetos .front-details{margin-top:8px}
 #projetos .source-note{font-size:11px;margin-top:24px}
 .front-dialog-content{padding:12px 22px 28px}
 .front-dialog-header{padding-inline:22px}
}
@media(prefers-reduced-motion:reduce){#projetos .concept-sequence img{transition:none}}

/* R2: altura visual do molde alinhada ao sketch e ao produto; escala uniforme, sem deformação. */
#projetos .concept-sequence figure:nth-child(2) .product-image img,
#projetos .concept-sequence figure:nth-child(2) .product-image:hover img{transform:translateY(2%) scale(1.12);transform-origin:center}
