.coffee-space{padding:80px 7% 110px;background:var(--paper);color:var(--ink)}
.coffee-space h2{font-size:clamp(34px,4vw,58px);line-height:1.08;letter-spacing:-.04em;margin:0 0 76px;text-align:center;font-weight:400}
.coffee-space-gallery{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:start;max-width:1180px;margin:0 auto;padding:12px 0 30px}
.coffee-space-gallery img{display:block;width:100%;height:auto;box-sizing:border-box;border:9px solid #fffdf7;box-shadow:0 18px 40px #08212a18;grid-row:1}
.coffee-space-gallery img:first-child{grid-column:5/-1;transform:rotate(1deg)}
.coffee-space-gallery img:last-child{grid-column:1/7;margin-top:12%;transform:rotate(-4deg);z-index:1}

/* Os mesmos movimentos e tempos das fotografias do Cantinho dos Avós. */
.coffee-space-gallery img{transition:transform .6s cubic-bezier(.2,.7,.3,1),box-shadow .6s}
@media(hover:hover){.coffee-space-gallery img:hover{transform:rotate(0deg) translateY(-5px);box-shadow:0 5px 8px #403d2510,0 25px 55px #403d2522}}
@media(prefers-reduced-motion:reduce){.coffee-space-gallery img{transition:none}}

/* A página Coffee Spot mantém a composição, com fotografias legíveis em mobile. */
@media(max-width:800px){
 .coffee-page .case-hero{padding-bottom:20px}
 .coffee-page .case-hero>.eyebrow{margin-top:28px!important;line-height:1.6}
 .coffee-page .case-hero h1{font-size:clamp(36px,9vw,60px);line-height:1.07;margin:24px 0;overflow-wrap:break-word}
 .coffee-page .case-intro{gap:18px;padding-bottom:32px}
 .coffee-page .restaurant-showcase{padding:72px 5% 28px;gap:24px}
 .coffee-page .restaurant-showcase .menu-display{box-sizing:border-box}
 .coffee-page .menu-book-section{padding:34px 7%}
 .coffee-page .menu-book{max-width:330px}
 .coffee-page .menu-book-controls{gap:16px;margin-top:28px}
 .coffee-page .menu-book-hint{max-width:32ch;margin:16px auto 0}
 .coffee-space{padding:42px 7% 52px}
 .coffee-space h2{font-size:clamp(29px,7.8vw,42px);line-height:1.12;margin-bottom:30px}
 .coffee-space-gallery{padding:8px 0 14px}
 .coffee-space-gallery img{border-width:6px}
 .coffee-space-gallery img:first-child{grid-column:1/12;grid-row:1;transform:rotate(1deg)}
 .coffee-space-gallery img:last-child{grid-column:2/-1;grid-row:2;margin-top:-12px;transform:rotate(-2deg)}
}
@media(max-width:600px){
 .coffee-page .case-hero h1{font-size:clamp(32px,9.6vw,48px)}
 .coffee-page .case-close{padding:44px 5%}
 .coffee-page .case-close h2{font-size:clamp(30px,8.8vw,40px)}
 .coffee-page .case-close .primary-cta{max-width:100%;box-sizing:border-box;padding-inline:20px}
 .coffee-space-gallery img{border-width:5px}
}
