/* Contato: layout fluido e leitura premium em telas pequenas */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
.contact-page { width: 100%; max-width: 100vw; overflow-x: hidden; }
.contact-wrap, .contact-hero, .contact-grid, .contact-lower,
.contact-copy, .contact-image, .contact-card, .form-card, .hours-card { min-width: 0; }
.contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-lower { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.contact-copy h1, .contact-card h2, .contact-card a, .map-copy strong, .map-copy a {
  max-width: 100%; overflow-wrap: anywhere;
}
.contact-copy h1 {
  white-space: normal !important;
  font-size: clamp(44px, 5.7vw, 78px) !important;
  line-height: 1.02 !important;
  letter-spacing: -3px !important;
}
.contact-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.contact-form label, .contact-form input, .contact-form select, .contact-form textarea { min-width: 0; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; }
.hours-row { gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .contact-hero, .contact-lower { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .contact-page { padding: 100px 15px 45px !important; }
  .contact-wrap { margin-top: 14px; }
  .contact-copy { padding: 24px 4px 30px !important; }
  .contact-copy h1 {
    font-size: clamp(40px, 11.5vw, 58px) !important;
    line-height: 1.04 !important;
    letter-spacing: -1.8px !important;
    margin: 14px 0 18px !important;
    white-space: normal !important;
  }
  .contact-copy > p { font-size: 15px !important; line-height: 1.6 !important; }
  .actions { gap: 12px; margin-top: 24px; }
  .primary { max-width: 100%; padding: 14px 17px; font-size: 14px; }
  .contact-image { min-height: 285px !important; border-radius: 24px !important; }
  .contact-image img { min-height: 285px !important; }
  .image-caption { left: 22px; right: 22px; bottom: 21px; }
  .image-caption strong { font-size: 21px; line-height: 1.2; }
  .contact-grid, .contact-lower { display: block !important; margin-top: 16px !important; }
  .contact-card, .form-card, .hours-card { margin-bottom: 16px !important; padding: 21px !important; border-radius: 21px !important; }
  .contact-card h2 { font-size: 20px; }
  .form-card h2, .hours-card h2 { font-size: 27px; line-height: 1.15; }
  .contact-form { grid-template-columns: minmax(0, 1fr) !important; gap: 12px; }
  .contact-form .full, .contact-form button { grid-column: 1 !important; width: 100%; }
  .hours-row { font-size: 13px; }
  .map { min-height: 225px !important; margin-top: 16px !important; border-radius: 22px !important; }
  .map img { min-height: 225px !important; }
  .map-copy { left: 22px; right: 22px; bottom: 21px; }
  .map-copy strong { font-size: 23px; }
  .contact-footer { display: block; line-height: 1.9; padding: 0 4px; }
}

/* Localização: imagem de convite que revela o mapa incorporado */
.contact-page .map { min-height: 320px; }
.map-reveal { position: relative; display: block; width: 100%; min-height: 320px; padding: 0; border: 0; overflow: hidden; background: #272421; color: #fff; text-align: left; cursor: pointer; }
.map-reveal img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 320px; object-fit: cover; opacity: .62; transition: transform .45s, opacity .3s; }
.map-reveal-shade { position: absolute; inset: 0; background: linear-gradient(0deg, #171412ef 0%, #17141235 65%, transparent 100%); }
.map-reveal-copy { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.map-reveal-copy strong { font-size: 28px; font-weight: 400; line-height: 1.2; }
.map-reveal-copy small { color: #e0d7cf; font-size: 13px; }
.map-reveal-copy b { margin-top: 10px; border-bottom: 1px solid #fff8; padding-bottom: 4px; font-size: 13px; font-weight: 500; }
.map-reveal:hover img { transform: scale(1.04); opacity: .76; }
.map-frame { min-height: 320px; background: #ddd; }
.map-frame iframe { display: block; width: 100%; height: 320px; border: 0; }
.map-error { min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: #252321; color: #fff; text-align: center; }
.map-error strong { font-size: 18px; font-weight: 400; }
.map-error a { color: #f3aaa1; text-decoration: underline; }
@media (max-width: 700px) {
  .contact-page .map, .map-reveal, .map-reveal img, .map-frame { min-height: 235px !important; }
  .map-frame iframe { height: 235px; }
  .map-error { min-height: 235px; font-size: 13px; }
  .map-reveal-copy { left: 22px; right: 22px; bottom: 20px; }
  .map-reveal-copy strong { font-size: 23px; }
  .map-reveal-copy small, .map-reveal-copy b { font-size: 12px; }
}
