
/* Pop-ups captation lead (maquette §16) */
.pr-lead-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.52);
  overflow-y: auto;
}

.pr-lead-popup {
  position: relative;
  width: 100%;
  max-width: 26rem;
  max-height: min(92vh, 52rem);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--pr-radius, 12px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
  padding: 1.35rem 1.35rem 1.5rem;
}

.pr-lead-popup-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  color: #5c5c5c;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pr-lead-popup-close:hover {
  color: var(--pr-terracotta);
}

.pr-lead-popup-head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-right: 1.5rem;
}

.pr-lead-popup-head-icon {
  flex-shrink: 0;
}

.pr-lead-popup-head-icon--green {
  filter: none;
}

.pr-lead-popup-title {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--pr-forest, #002e26);
  margin: 0 0 0.35rem;
}

.pr-lead-popup-title em {
  font-style: italic;
  color: var(--pr-terracotta);
}

.pr-lead-popup-sub {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #5c5c5c;
}

.pr-lead-popup-hero-img {
  width: 100%;
  height: auto;
  max-height: 9rem;
  object-fit: cover;
  border-radius: var(--pr-radius, 8px);
  margin-bottom: 1rem;
}

.pr-lead-popup-benefits {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pr-lead-popup-benefits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #3d3d3d;
}

.pr-lead-popup-benefits--green li {
  color: var(--pr-forest, #002e26);
}

.pr-lead-popup-benefit-icon {
  flex-shrink: 0;
}

.pr-lead-popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pr-lead-popup-form--green {
  background: var(--pr-forest, #002e26);
  margin: 0 -1.35rem -1.5rem;
  padding: 1.1rem 1.35rem 1.35rem;
  border-radius: 0 0 var(--pr-radius, 12px) var(--pr-radius, 12px);
}

.pr-lead-popup-form-title {
  margin: 0 0 0.25rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.pr-lead-popup-form--green .pr-input,
.pr-lead-popup-form--green .pr-textarea,
.pr-lead-popup-form--green select {
  background: #fff;
}

.pr-lead-popup-label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #3d3d3d;
}

.pr-lead-popup-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

@media (max-width: 400px) {
  .pr-lead-popup-grid-2 {
    grid-template-columns: 1fr;
  }
}

.pr-lead-popup-check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #5c5c5c;
}

.pr-lead-popup-form--green .pr-lead-popup-check {
  color: rgba(255, 255, 255, 0.9);
}

.pr-lead-popup-check input[type="checkbox"] {
  margin-top: 0.12rem;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  min-width: 1.05rem;
  accent-color: #2563eb;
  cursor: pointer;
}

.pr-lead-popup-consent-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pr-lead-popup-form--green .pr-lead-popup-consent-link {
  color: var(--pr-terracotta-light, #d4a574);
}

.pr-lead-popup--financement .pr-lead-popup-hero-img--financement {
  margin-top: 0;
  max-height: 7.5rem;
}

.pr-lead-popup-form--financement {
  margin-top: 0.15rem;
}

.pr-lead-popup-footnote {
  margin: 0.25rem 0 0;
  font-size: 0.68rem;
  color: #888;
  text-align: center;
}

.pr-lead-popup-footnote--light {
  color: rgba(255, 255, 255, 0.75);
}

.pr-lead-popup-success {
  margin: 0;
  font-size: 0.8rem;
  color: var(--pr-forest);
  font-weight: 600;
}

.pr-lead-popup-form--green .pr-lead-popup-success {
  color: #b8e6c8;
}

.pr-lead-popup-error {
  margin: 0;
  font-size: 0.8rem;
  color: #b91c1c;
}

.pr-lead-popup-alerte-intro {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.pr-lead-popup-alerte-badge {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--pr-forest, #002e26);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pr-lead-popup-alerte-badge img {
  filter: brightness(0) invert(1);
}

.pr-lead-popup-credoria {
  margin-bottom: 0.75rem;
}

.pr-lead-popup-credoria-logo {
  display: block;
  margin-bottom: 0.35rem;
}

.pr-lead-popup-credoria-label {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--pr-forest);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pr-btn-white {
  background: #fff;
  color: var(--pr-forest, #002e26);
  border: none;
}

.pr-btn-white:hover {
  background: #f5f5f5;
}
