/* Projetos realizados — pilhas por categoria (estética Akemi: cantos quase retos, filete claro, fundo preto) */
.akemi-projetos{width:100%;min-width:0;max-width:1140px;margin:2.5rem auto 0;padding:0 1.25rem 1rem;box-sizing:border-box}
.akemi-projetos .ap-grade{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3.4rem 3.4rem;justify-items:center}
.akemi-projetos .ap-bloco{width:100%;max-width:250px}
.akemi-projetos .ap-pilha{position:relative;aspect-ratio:4/5;width:100%;cursor:pointer;outline-offset:10px;-webkit-tap-highlight-color:transparent}
.akemi-projetos .ap-pilha:focus-visible{outline:1px solid #F1E9DF}
.akemi-projetos .ap-card{position:absolute;inset:0;margin:0;overflow:hidden;background:#161616;border:1px solid rgba(241,233,223,.28);border-radius:2px;box-shadow:0 14px 28px rgba(0,0,0,.6);transform-origin:50% 90%;transition:transform .6s cubic-bezier(.2,.7,.2,1),opacity .45s ease}
.akemi-projetos .ap-card img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none;-webkit-user-drag:none;user-select:none}
.akemi-projetos .ap-card[data-pos="0"]{transform:none;opacity:1}
.akemi-projetos .ap-card[data-pos="1"]{transform:translate(6px,-4px) rotate(2deg);opacity:1}
.akemi-projetos .ap-card[data-pos="2"]{transform:translate(-6px,-7px) rotate(-2deg);opacity:1}
.akemi-projetos .ap-card[data-pos="3"]{transform:translate(10px,-10px) rotate(3.6deg);opacity:1}
.akemi-projetos .ap-card[data-pos="fundo"]{transform:translate(10px,-10px) rotate(3.6deg);opacity:0}
.akemi-projetos .ap-card[data-pos="saiu"]{transform:translate(-112%,2%) rotate(-9deg);opacity:0}
.akemi-projetos .ap-pilha:hover .ap-card[data-pos="0"]{transform:translateY(-3px)}
.akemi-projetos .ap-rodape{display:flex;align-items:center;min-height:3.4rem;align-items:flex-start!important;justify-content:space-between;gap:.75rem;margin-top:1.6rem;color:#F1E9DF}
.akemi-projetos .ap-info{text-align:center;flex:1}
.akemi-projetos .ap-nome{margin:0;font-family:"Cormorant Garamond",serif;font-weight:400;font-size:1.25rem;letter-spacing:.09em;text-transform:uppercase;color:#F1E9DF;line-height:1.2}
.akemi-projetos .ap-cont{display:block;margin-top:.25rem;font-family:"Manrope",sans-serif;font-size:.78rem;letter-spacing:.12em;color:#A3B073}
.akemi-projetos .ap-ant,.akemi-projetos .ap-prox{flex:none;width:2.5rem;height:2.5rem;display:grid;place-items:center;padding:0;background:transparent;color:#F1E9DF;border:1px solid rgba(241,233,223,.38);border-radius:2px;font-size:1.5rem;line-height:1;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.akemi-projetos .ap-ant:hover,.akemi-projetos .ap-prox:hover{background:#F1E9DF;color:#000;border-color:#F1E9DF}
.akemi-projetos .ap-ant:focus-visible,.akemi-projetos .ap-prox:focus-visible{outline:1px solid #F1E9DF;outline-offset:3px}
@media (max-width:1024px){.akemi-projetos .ap-grade{gap:3rem 1.5rem}}
@media (max-width:767px){
.akemi-projetos{padding:0 1rem 1rem}
.akemi-projetos .ap-grade{grid-template-columns:repeat(2,minmax(0,1fr));gap:2.6rem 1.1rem}
.akemi-projetos .ap-nome{font-size:.98rem;letter-spacing:.06em}
.akemi-projetos .ap-ant,.akemi-projetos .ap-prox{width:2.1rem;height:2.1rem;font-size:1.25rem}
.akemi-projetos .ap-rodape{margin-top:1.2rem;gap:.4rem}
.akemi-projetos .ap-card[data-pos="1"]{transform:translate(4px,-3px) rotate(2deg)}
.akemi-projetos .ap-card[data-pos="2"]{transform:translate(-4px,-6px) rotate(-2deg)}
.akemi-projetos .ap-card[data-pos="3"],.akemi-projetos .ap-card[data-pos="fundo"]{transform:translate(7px,-8px) rotate(3.6deg)}
}
@media (prefers-reduced-motion:reduce){.akemi-projetos .ap-card{transition:none}}

.akemi-projetos .ap-ant,.akemi-projetos .ap-prox{margin-top:.55rem}
@media (max-width:767px){.akemi-projetos .ap-ant,.akemi-projetos .ap-prox{margin-top:.2rem}}
/* telas estreitas: nome em cima, setas lado a lado embaixo (não cabem as três coisas na mesma linha) */
@media (max-width:1024px){
.akemi-projetos .ap-rodape{display:grid;grid-template-columns:1fr 1fr;column-gap:.5rem;row-gap:.7rem;align-items:start!important;min-height:0;margin-top:1.4rem}
.akemi-projetos .ap-info{grid-column:1/-1;grid-row:1}
.akemi-projetos .ap-ant{grid-row:2;grid-column:1;justify-self:end;margin-top:0}
.akemi-projetos .ap-prox{grid-row:2;grid-column:2;justify-self:start;margin-top:0}
}
@media (max-width:767px){.akemi-projetos .ap-ant,.akemi-projetos .ap-prox{margin-top:0}}
@media (max-width:1024px){.akemi-projetos .ap-nome{min-height:2.4em;display:flex;align-items:center;justify-content:center}}

@media (min-width:768px) and (max-width:1024px){.akemi-projetos .ap-bloco{max-width:205px}}
@media (min-width:768px) and (max-width:1024px){.akemi-projetos .ap-grade{column-gap:2.4rem}.akemi-projetos .ap-bloco{max-width:195px}}
