/* AMF v16.8.3 — ajustes finais de prova social e curadoria editorial */
.v168-social-proof .testimonials-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;overflow:visible!important;padding-right:0!important;scroll-snap-type:none!important}
.v168-social-proof .testimonial-card{min-height:320px;padding:30px;display:flex;flex-direction:column}
.v168-social-proof .testimonial-context{margin:0 0 24px;color:#5b5b60;font-size:14px;line-height:1.6}
.v168-social-proof .testimonial-meta{margin-top:auto;display:flex;flex-direction:column;gap:5px}
.v168-social-proof .testimonial-meta strong{font-size:12px;line-height:1.5;color:#202024;text-transform:none;letter-spacing:0}
.v168-social-proof .testimonial-meta span{font-size:11px;line-height:1.5;color:#74747a}
.v168-social-proof .testimonial-project-link{margin-top:10px;width:max-content;min-height:44px;display:inline-flex;align-items:center;font-size:13px;font-weight:750;text-decoration:underline;text-underline-offset:5px}

.v168-client-proof{padding:76px 0;background:#111;color:#fff}
.v168-client-proof .shell{display:grid;grid-template-columns:.45fr 1.55fr;gap:52px;align-items:start}
.v168-client-proof .eyebrow{color:rgba(255,255,255,.5)}
.v168-client-proof blockquote{margin:0;font-size:clamp(30px,4.3vw,62px);line-height:1.02;letter-spacing:-.045em;max-width:980px}
.v168-client-proof .v168-proof-credit{margin-top:28px;display:flex;flex-direction:column;gap:4px;color:rgba(255,255,255,.72);font-size:14px;line-height:1.5}
.v168-client-proof .v168-proof-credit strong{color:#fff;font-size:15px;line-height:1.5}
.v168-client-proof .v168-proof-credit span{font-size:13px;line-height:1.5}

/* Regra editorial: fotografia de case = evidência da execução, sem crops destrutivos. */
.v16-photo-gallery figure img,
.v165-curated-gallery figure img,
.v166-rio-gallery figure img{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important;display:block}

/* Bohemia: galeria padronizada em cartões consistentes. */
.v168-bohemia-hero .v16-inner-cover{background:#ecece8;padding:0;overflow:hidden}
.v168-bohemia-hero .v16-inner-cover img{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;background:#ecece8!important}
.v168-bohemia-gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;columns:auto!important;align-items:stretch}
.v168-bohemia-gallery figure{margin:0!important;background:#fff;border:1px solid rgba(0,0,0,.07);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-start}
.v168-bohemia-gallery figure img{width:100%!important;display:block;background:#ecece8;object-fit:contain!important;object-position:center center!important}
.v168-bohemia-gallery .v168-gallery-feature{grid-column:1/-1}
.v168-bohemia-gallery .v168-gallery-feature img{height:520px!important}
.v168-bohemia-gallery figure:not(.v168-gallery-feature) img{height:360px!important}
.v168-bohemia-gallery figcaption{padding:14px 16px 16px!important;font-size:12px;line-height:1.5;color:#5e5e63;margin-top:auto}
.v168-bohemia-gallery .v168-gallery-pair,
.v168-bohemia-gallery .v168-gallery-secondary{min-width:0}

.v168-related-projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:32px}
.v168-related-projects figure,.v168-related-case{margin:0;background:#fff;border:1px solid rgba(0,0,0,.07);border-radius:20px;overflow:hidden}
.v168-related-projects figure img,.v168-related-case img{width:100%;height:auto;object-fit:contain!important;display:block;background:#ecece8}
.v168-related-projects figcaption,.v168-related-case-copy{padding:16px 18px}
.v168-related-case-copy .eyebrow{font-size:10px}
.v168-related-case-copy h3{margin:8px 0 12px;font-size:28px;letter-spacing:-.035em}
.v168-related-case-copy p{margin:0 0 14px;color:#55555a;font-size:14px;line-height:1.6}
.v168-related-case-copy .v16-text-link{font-size:14px}

@media(max-width:900px){
  .v168-social-proof .testimonials-grid{grid-template-columns:1fr 1fr!important}
  .v168-client-proof .shell{grid-template-columns:1fr;gap:24px}
  .v168-bohemia-gallery{grid-template-columns:1fr 1fr!important}
  .v168-bohemia-gallery .v168-gallery-feature img{height:420px!important}
  .v168-bohemia-gallery figure:not(.v168-gallery-feature) img{height:300px!important}
  .v168-related-projects{grid-template-columns:1fr}
}
@media(max-width:700px){
  .v168-social-proof .testimonials-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;overflow:visible!important;padding-right:0!important}
  .v168-social-proof .testimonial-card{min-height:0!important;padding:22px!important;flex:initial!important;width:100%!important}
  .v168-social-proof .testimonial-card blockquote{font-size:23px!important;line-height:1.2!important}
  .v168-social-proof .testimonial-project-link{min-height:44px}
  .v168-client-proof{padding:54px 0}
  .v168-client-proof blockquote{font-size:34px}
  .v168-bohemia-gallery{grid-template-columns:1fr!important;gap:20px!important}
  .v168-bohemia-gallery .v168-gallery-feature{grid-column:auto!important}
  .v168-bohemia-gallery .v168-gallery-feature img,
  .v168-bohemia-gallery figure:not(.v168-gallery-feature) img{height:auto!important}
  .v168-bohemia-gallery figcaption{padding:12px 14px 16px!important}
}
