/* ==========================================================================
   Componentes reutilizáveis
   (cada bloco = um template-part em /template-parts/components no tema WP)
   ========================================================================== */

/* ---- Botões ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
  white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--sky-300); color: var(--navy-900); }
.btn--primary:hover { background: #a3e2fa; }
.btn--outline { background: var(--white); border-color: var(--concrete-200); color: var(--navy-800); }
.btn--outline:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }

/* Link com seta ("Conheça o empreendimento  →") */
.link-arrow {
  display: inline-flex;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
  color: var(--blue-600);
}
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
a:hover .link-arrow::after,
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--sky { color: var(--sky-300); }
.link-arrow--plain::after { content: none; }

/* ---- Navegação de carrossel (← →) -------------------------------------- */
.rail-nav { display: flex; gap: 10px; flex-shrink: 0; }
.rail-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--concrete-200);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--navy-800);
  font-weight: 600;
  font-size: 17px;
  line-height: 20px;
  transition: border-color .2s, color .2s, opacity .2s;
}
.rail-btn:hover { border-color: var(--blue-600); color: var(--blue-600); }
.rail-btn:disabled { opacity: .4; cursor: default; }

/* ---- Badge ------------------------------------------------------------- */
.badge {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 11px;
  line-height: 15px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(255, 255, 255, .94);
  color: var(--navy-800);
}
.badge--sky { background: var(--sky-300); color: var(--navy-900); }
.badge--case { text-transform: none; }

/* ---- Cabeçalho de seção ------------------------------------------------ */
.sec-head {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 44px;
}
.sec-head__t { flex: 1; min-width: 0; max-width: var(--head-w, 660px); }
.sec-head > .rail-nav,
.sec-head > .btn { margin-left: auto; }
.sec-head__t > .t-h1,
.sec-head__t > .t-h2 { margin-top: 18px; }
.sec-head__t > .t-lead,
.sec-head__t > .t-body { margin-top: 16px; }
.sec-head__t > .btn { margin-top: 16px; }
.sec-head--center { justify-content: center; text-align: center; }
.sec-head--center .sec-head__t { margin-inline: auto; }
.sec-head--wide { --head-w: 905px; }
.sec-head--xl { --head-w: 871px; }
.sec-head--md { --head-w: 776px; }

@media (max-width: 767px) {
  .sec-head { flex-direction: column; align-items: flex-start; }
}

/* ---- Card de empreendimento ------------------------------------------- */
.card-emp {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--concrete-100);
  border-radius: var(--radius-card) var(--radius-arco) var(--radius-card) var(--radius-card);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card-emp:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.card-emp__media {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--grad-brand);
}
.card-emp__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-emp:hover .card-emp__media img { transform: scale(1.04); }
.card-emp__media::after { content: ""; position: absolute; inset: 0; background: var(--overlay-card); }
.card-emp__media .badge { position: absolute; top: 16px; left: 16px; z-index: 1; }
.card-emp__body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.card-emp__body .t-h2 { margin-top: 8px; }
.card-emp__body .t-body { flex: 1; margin-top: 10px; }
.card-emp__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
  padding: 14px 0 16px;
  border-block: 1px solid var(--concrete-100);
}
.card-emp__specs dt { font-weight: 600; font-size: 11px; line-height: 15px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gray-500); }
.card-emp__specs dd { margin: 4px 0 0; font-weight: 500; font-size: 16px; line-height: 27px; color: var(--navy-800); }
.card-emp__body .link-arrow { margin-top: 16px; }

/* Variante: artigo (Central de Conteúdos) */
.card-emp--post { border-top-right-radius: 90px; }
.card-emp--post .card-emp__media { height: 180px; }
.card-emp--post .t-h3 { margin-top: 8px; color: var(--graphite); }
.card-emp--post .link-arrow { margin-top: 34px; }

/* ---- Painel (ícone + título + texto) ----------------------------------- */
.panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 22px;
  background: var(--white);
  border: 1px solid var(--concrete-100);
  border-radius: var(--radius-panel-lg);
}
.panel__icon { width: 44px; height: 44px; display: grid; place-items: center; }
.panel__icon img { width: 44px; height: 44px; }
.panel__icon--inner img { width: auto; height: auto; max-width: 30px; max-height: 30px; }
.panel .t-h3 { margin-top: 18px; }
.panel .t-caption { margin-top: 8px; }
.panel__foot { margin-top: auto; padding-top: 16px; }
.panel__foot .link-arrow { padding-top: 16px; border-top: 1px solid var(--concrete-100); width: 100%; }

/* Painel compacto (atalhos na página Nossa Atuação) */
.panel--inline {
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 24px 16px 16px;
  min-height: 92px;
  transition: border-color .2s, box-shadow .2s;
}
.panel--inline .t-h3 { margin: 0; }
.panel--inline:hover { border-color: var(--blue-500); box-shadow: var(--shadow-card-hover); }

.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.grid-3--24 { gap: 24px; }
.grid-3--16 { gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }

@media (max-width: 1199px) {
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

/* ---- Post (Viver Sertenge) -------------------------------------------- */
.post { display: flex; flex-direction: column; min-width: 0; }
.post__media {
  height: 248px;
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) var(--radius-card) 90px;
  background: var(--grad-brand);
}
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post__media img { transform: scale(1.04); }
.post .t-micro { margin-top: 20px; color: var(--blue-500); }
.post .t-h2 { margin-top: 10px; }
.post:hover .t-h2 { color: var(--blue-600); }
.post time { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--gray-500); }

/* ---- Carrossel horizontal (rail) --------------------------------------- */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--rail-gap, 24px)) / 3);
  gap: var(--rail-gap, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail--26 { --rail-gap: 26px; }
@media (max-width: 991px) { .rail { grid-auto-columns: calc((100% - var(--rail-gap, 24px)) / 1.6); } }
@media (max-width: 575px) { .rail { grid-auto-columns: 86%; } }

/* ---- Filtros (chips) --------------------------------------------------- */
.filter-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 44px; }
.filter-bar__divider { align-self: stretch; width: 1px; background: var(--divider); flex-shrink: 0; }
.filter-bar__scroll { display: flex; gap: 10px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.filter-bar__scroll::-webkit-scrollbar { display: none; }
.filter-bar--center { justify-content: center; }
.filter-bar--center .filter-bar__scroll { flex: none; }
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--white);
  border: 1px solid var(--chip-border);
  border-radius: var(--radius-painel);
  font-size: 16px;
  line-height: 27px;
  color: var(--chip-text);
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--chip-active); }
.chip.is-active { background: var(--chip-active-bg); border-color: var(--chip-active); color: var(--chip-active); }
.chip--more { padding-right: 16px; }
.chip__count {
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  background: var(--chip-active-bg);
  color: var(--chip-active);
  font-weight: 700;
  font-size: 11px;
  line-height: normal;
}
.chip__caret { width: 16px; height: 16px; }

@media (max-width: 767px) {
  .filter-bar { flex-wrap: wrap; }
  .filter-bar__divider { display: none; }
  .filter-bar__scroll { order: 3; flex-basis: 100%; }
}

/* ---- Mídia em arco (foto 560×620 com canto superior direito em arco) -- */
.media-arc {
  position: relative;
  flex-shrink: 0;
  width: min(560px, 100%);
  aspect-ratio: 560 / 620;
  overflow: hidden;
  border-radius: var(--radius-media) var(--radius-arco-lg) var(--radius-media) var(--radius-media);
  background: var(--grad-brand);
}
.media-arc--square { aspect-ratio: 1; border-radius: var(--radius-card) var(--radius-arco-lg) var(--radius-card) var(--radius-card); }
.media-arc > img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.media-arc::after { content: ""; position: absolute; inset: 0; background: var(--overlay-media); pointer-events: none; }

.stamp {
  position: absolute;
  left: 32px;
  bottom: 32px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 30px 22px 26px;
  background: var(--concrete-50);
  border-radius: var(--radius-panel-lg);
  box-shadow: var(--shadow-stamp);
}
.stamp img { width: 69px; height: 48px; }

/* ---- Vídeo ------------------------------------------------------------ */
.video-frame {
  position: relative;
  display: block;
  width: min(1080px, 100%);
  aspect-ratio: 1080 / 608;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius-media) var(--radius-media) var(--radius-arco-lg) var(--radius-media);
  background: var(--grad-deep);
}
.video-frame > img { width: 100%; height: 100%; object-fit: cover; }
.video-frame__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 132px;
  height: 132px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}
.video-frame__play::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../icons/play-halo.svg") center / contain no-repeat;
  transition: transform .4s var(--ease);
}
.video-frame__play span {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: var(--radius-pill);
  background: var(--sky-300);
}
.video-frame__play span img { width: 24px; height: 28px; }
.video-frame:hover .video-frame__play::before { transform: scale(1.12); }
@media (max-width: 575px) {
  .video-frame { border-bottom-right-radius: 60px; }
  .video-frame__play { transform: translate(-50%, -50%) scale(.7); }
}

/* Modal de vídeo / lightbox */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(4, 18, 58, .88);
}
.modal.is-open { display: grid; }
.modal__inner { position: relative; width: min(1080px, 100%); }
.modal__inner iframe,
.modal__inner video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-card); background: #000; }
.modal__inner > img { max-height: 85vh; margin-inline: auto; width: auto; border-radius: var(--radius-card); }
.modal__close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--navy-900);
  font-size: 22px;
  line-height: 1;
}

/* ---- Formulário -------------------------------------------------------- */
.form-card {
  padding: 32px;
  background: var(--concrete-50);
  border: 1px solid var(--concrete-200);
  border-radius: var(--radius-card);
}
.form-card > .t-h2 { margin: 18px 0 16px; }
.form { display: flex; flex-direction: column; gap: 8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row--8 { gap: 8px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__label { font-weight: 600; font-size: 15px; line-height: 20px; color: var(--gray-600); }
.field__control { position: relative; }
.field__input {
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--gray-500);
  border-radius: var(--radius-painel);
  font-size: 16px;
  line-height: 27px;
  color: var(--graphite);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.field__input::placeholder { color: var(--gray-500); }
.field__input:focus { border-color: var(--graphite); box-shadow: 0 0 0 3px rgba(30, 127, 224, .15); }
textarea.field__input { height: 128px; resize: vertical; }
select.field__input { padding-right: 48px; color: var(--gray-500); cursor: pointer; }
select.field__input.has-value { color: var(--graphite); }
.field__icon { position: absolute; right: 16px; top: 12px; width: 24px; height: 24px; pointer-events: none; }
.field__icon--state { display: none; }
.field.is-valid .field__input { background: var(--field-filled-bg); border-color: var(--field-filled-border); color: var(--gray-600); padding-right: 48px; }
.field.is-valid .field__icon--valid { display: block; }
.field.is-invalid .field__input { background: var(--field-filled-bg); border-color: var(--danger); color: var(--danger); padding-right: 48px; }
.field.is-invalid .field__icon--invalid { display: block; }
.field__error { display: none; font-size: 13px; line-height: 20px; color: var(--danger); }
.field.is-invalid .field__error { display: block; }

.check { display: flex; align-items: center; gap: 8px; margin-top: 0; cursor: pointer; font-size: 16px; line-height: 27px; color: var(--graphite); }
.check input {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1px solid var(--gray-500);
  border-radius: var(--radius-card);
  appearance: none;
  background: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.check input:checked { border-color: var(--blue-600); background: var(--blue-600); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--white); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.check.is-invalid input { border-color: var(--danger); }
.check a { color: var(--link-legal); }
.check a:hover { text-decoration: underline; }
.form__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.form__feedback { font-size: 15px; line-height: 20px; color: var(--success); }

@media (max-width: 575px) {
  .form-card { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .check { align-items: flex-start; font-size: 15px; line-height: 24px; }
}

/* ---- Cartão de informação (localização, contato, stands) -------------- */
.info-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 22px;
  background: var(--white);
  border: 1px solid var(--concrete-200);
  border-radius: var(--radius-painel);
  color: var(--graphite);
}
.info-card__head { display: flex; align-items: center; gap: 10px; }
.info-card__head img { width: 44px; height: 44px; padding: 9px; }
.info-card .t-h3 { color: var(--graphite); }
.info-card address { font-style: normal; }

/* ---- Formas decorativas ------------------------------------------------ */
.deco { position: absolute; z-index: 0; pointer-events: none; user-select: none; max-width: none; }
.deco--flip { transform: rotate(180deg); }
.deco--flip-y { transform: scaleY(-1); }
.deco--mid { top: 50%; transform: translateY(-50%); }
.deco--mid.deco--flip { transform: translateY(-50%) rotate(180deg); }
@media (max-width: 991px) { .deco--hide-md { display: none; } }

/* ---- Ajustes de variação ---------------------------------------------- */
.grid-cards { gap: 44px 24px; }
.media-arc--soft { border-radius: var(--radius-media) var(--radius-arco-lg) var(--radius-media) var(--radius-media); }
.sec-head__t--full { max-width: none; }

/* ---- Tema WP: chips como link, "Mais filtros", paginação, feedback ---- */
a.chip { text-decoration: none; }
.filter-more { position: relative; flex-shrink: 0; }
.filter-more summary { list-style: none; cursor: pointer; }
.filter-more summary::-webkit-details-marker { display: none; }
.filter-more[open] .chip__caret { transform: rotate(180deg); }
.filter-more__list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  min-width: 220px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--chip-border);
  border-radius: var(--radius-painel);
  box-shadow: var(--shadow-card-hover);
}
.filter-more__list a { display: block; padding: 10px 14px; border-radius: var(--radius-campo); font-size: 15px; color: var(--chip-text); }
.filter-more__list a:hover,
.filter-more__list a[aria-current] { background: var(--chip-active-bg); color: var(--chip-active); }

.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  padding: 0 12px;
  border: 1.5px solid var(--concrete-200);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy-800);
}
.pagination .page-numbers:hover { border-color: var(--blue-600); color: var(--blue-600); }
.pagination .page-numbers.current { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.pagination .page-numbers.dots { border: 0; background: none; }

.form__feedback.is-error { color: var(--danger); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ---- Vídeo inline ------------------------------------------------------ */
.video-frame > video,
.video-frame > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: var(--navy-950);
}
.video-frame > iframe { z-index: 2; }
.video-frame__play { z-index: 1; cursor: pointer; transition: opacity .3s var(--ease); }
.video-frame.is-playing .video-frame__play { opacity: 0; pointer-events: none; }
.video-frame.is-playing > video { object-fit: contain; background: #000; }
.video-frame.is-playing > img { visibility: hidden; }

/* ---- Lightbox (galeria / plantas) ------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  background: rgba(4, 18, 58, .96);
  color: var(--white);
  -webkit-user-select: none;
  user-select: none;
}
.lightbox.is-open { display: block; animation: lightbox-in .25s var(--ease); }
html.lightbox-open,
html.lightbox-open body { overflow: hidden; }
.lightbox__stage {
  position: absolute;
  inset: 72px 88px 96px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.lightbox__img {
  max-width: calc(100vw - 176px);
  max-height: calc(100vh - 168px);
  max-height: calc(100dvh - 168px);
  width: auto;
  height: auto;
  border-radius: var(--radius-painel);
  background: var(--white);
  cursor: zoom-in;
  opacity: 0;
  transform: scale(.98);
  transition: opacity .25s, transform .35s var(--ease);
  touch-action: pan-y;
}
.lightbox.is-loaded .lightbox__img { opacity: 1; transform: none; }
.lightbox.is-zoomed .lightbox__img { transform: scale(2.5); cursor: zoom-out; border-radius: 0; touch-action: none; transition: opacity .25s, transform .35s var(--ease), transform-origin .08s linear; }
.lightbox__btn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius-pill);
  background: rgba(4, 18, 58, .6);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  transition: background-color .2s, border-color .2s;
}
.lightbox__btn:hover { background: var(--blue-600); border-color: var(--blue-600); }
.lightbox__btn[hidden] { display: none; }
.lightbox__close { top: 16px; right: 16px; font-size: 28px; }
.lightbox__prev,
.lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__bar {
  position: absolute;
  left: 88px;
  right: 88px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
}
.lightbox__caption { flex: 1; font-size: 15px; line-height: 22px; }
.lightbox__counter { font-weight: 600; font-size: 13px; letter-spacing: 1.6px; color: var(--sky-300); }
.lightbox__hint { font-size: 13px; color: rgba(255, 255, 255, .55); }
.lightbox.is-zoomed .lightbox__hint { visibility: hidden; }
/* Aviso das perspectivas: fica visível também com a imagem ampliada. */
.lightbox__disclaimer {
  position: relative;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .55);
  font-size: 12px;
  line-height: 18px;
  font-style: italic;
  color: rgba(255, 255, 255, .85);
  white-space: nowrap;
}
.lightbox__disclaimer[hidden] { display: none; }
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 767px) {
  .lightbox__stage { inset: 72px 12px 120px; }
  .lightbox__img { max-width: calc(100vw - 24px); max-height: calc(100dvh - 192px); }
  .lightbox__prev,
  .lightbox__next { top: auto; bottom: 24px; transform: none; }
  .lightbox__prev { left: 16px; }
  .lightbox__next { right: 16px; }
  .lightbox__bar { left: 84px; right: 84px; bottom: 20px; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
  .lightbox__hint { display: none; }
}

/* Lightbox: vídeo */
.lightbox__media {
  width: min(100%, calc((100dvh - 168px) * 16 / 9));
  aspect-ratio: 16 / 9;
  max-height: 100%;
}
.lightbox__media video,
.lightbox__media iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius-painel); background: #000; }
.lightbox.is-video .lightbox__img { display: none; }
.lightbox.is-video .lightbox__hint { visibility: hidden; }
.card-emp__specs--single { grid-template-columns: 1fr; }

/* Contato: box que escolhe o assunto do formulário */
.panel--assunto { cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.panel--assunto:hover,
.panel--assunto.is-active { border-color: var(--blue-500); box-shadow: var(--shadow-card-hover); }

/* Campo de anexo */
.field__hint { font-weight: 400; color: var(--gray-500); }
.field__input--file { height: auto; padding: 10px 12px; cursor: pointer; }
.field__input--file::file-selector-button {
  margin-right: 12px;
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--concrete-100);
  color: var(--graphite);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
