/* Pop-up de conversão da Consultoria de Obra.
   Especificação visual do briefing de 23/10/2026: sobreposição a 45% sem
   desfoque, card #FAFAFA com borda fina verde, raio de 4px e sem sombra. */

html.popup-aberto { overflow: hidden; }

.popup {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  margin: auto;
  border: 0;
  background: transparent;
  overflow: visible;
}
.popup::backdrop { background: rgba(0, 0, 0, .45); }

.popup-card {
  position: relative;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 36px 40px 30px;
  background: #FAFAFA;
  border: 1px solid #053D24;
  border-radius: 4px;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #1A1A1A;
}
.popup-card:focus { outline: none; }

.popup-fechar {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1A1A1A;
  cursor: pointer;
}
.popup-fechar svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.popup-fechar:hover { color: #053D24; }

.popup-logo {
  width: 140px;
  height: auto;
  margin-bottom: 26px;
}

.popup-titulo {
  margin: 0 0 14px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.018em;
  color: #1A1A1A;
}

.popup-apoio {
  margin: 0 0 26px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #4C554F;
}

.popup-btn {
  text-transform: uppercase;
  font-weight: 700;
}

.popup-micro {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 400;
  color: #4C554F;
}

@media (max-width: 560px) {
  .popup-card { padding: 30px 22px 24px; }
  .popup-logo { width: 124px; margin-bottom: 22px; }
  .popup-titulo { font-size: 25px; }
  .popup-btn { display: flex; width: 100%; justify-content: center; text-align: center; }
}
