
/* Pop-ups captation lead CREDORIA — navy / or Groupe Optia */
.cr-lead-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(5, 11, 22, 0.68);
  overflow-y: auto;
}

.cr-lead-popup {
  position: relative;
  width: 100%;
  max-width: 26rem;
  max-height: min(92vh, 52rem);
  overflow-y: auto;
  background: #f6f3eb;
  border-radius: 4px;
  border: 1px solid rgba(197, 160, 89, 0.35);
  box-shadow: 0 24px 56px rgba(5, 11, 22, 0.45), 0 0 0 1px rgba(212, 168, 75, 0.08);
  padding: 1.35rem 1.35rem 1.5rem;
}

.cr-lead-popup-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(197, 160, 89, 0.35);
  background: rgba(246, 243, 235, 0.95);
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  color: #0d1e38;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(5, 11, 22, 0.12);
}

.cr-lead-popup-close:hover {
  color: #9a7434;
  border-color: rgba(197, 160, 89, 0.55);
}

.cr-lead-popup-head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-right: 1.5rem;
}

.cr-lead-popup-head-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.22), rgba(197, 160, 89, 0.12));
  border: 1px solid rgba(197, 160, 89, 0.35);
  color: #9a7434;
}

.cr-lead-popup-head-icon--navy {
  background: #0d1e38;
  border-color: rgba(212, 168, 75, 0.4);
  color: #d4a84b;
}

.cr-lead-popup-title {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.22;
  color: #0d1e38;
  margin: 0 0 0.35rem;
}

.cr-lead-popup-title em {
  font-style: italic;
  color: #9a7434;
}

.cr-lead-popup-sub {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #475569;
}

.cr-lead-popup-hero-img {
  width: 100%;
  height: auto;
  max-height: 9rem;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 1rem;
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.cr-lead-popup-benefits {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cr-lead-popup-benefits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #334155;
}

.cr-lead-popup-benefit-dot {
  flex-shrink: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4a84b, #c5a059);
}

.cr-lead-popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cr-lead-popup-form--navy {
  background: linear-gradient(165deg, #0d1e38 0%, #14243d 100%);
  margin: 0 -1.35rem -1.5rem;
  padding: 1.1rem 1.35rem 1.35rem;
  border-radius: 0 0 4px 4px;
  border-top: 1px solid rgba(212, 168, 75, 0.25);
}

.cr-lead-popup-form-title {
  margin: 0 0 0.25rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #f6f3eb;
}

.cr-lead-popup-form--navy .cr-input,
.cr-lead-popup-form--navy .cr-textarea,
.cr-lead-popup-form--navy select {
  background: #fff;
}

.cr-input,
.cr-textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 2px;
  padding: 0.55rem 0.65rem;
  font-size: 0.85rem;
  font-family: Geist, Montserrat, ui-sans-serif, sans-serif;
  color: #0f172a;
  background: #fff;
}

.cr-input:focus,
.cr-textarea:focus {
  outline: none;
  border-color: #c5a059;
  box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.25);
}

.cr-input--error {
  border-color: #dc2626;
}

.cr-field-error {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: #dc2626;
}

.cr-lead-popup-label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
}

.cr-lead-popup-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

@media (max-width: 400px) {
  .cr-lead-popup-grid-2 {
    grid-template-columns: 1fr;
  }
}

.cr-lead-popup-check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #64748b;
}

.cr-lead-popup-form--navy .cr-lead-popup-check {
  color: rgba(246, 243, 235, 0.88);
}

.cr-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: #c5a059;
  cursor: pointer;
}

.cr-lead-popup-consent-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cr-lead-popup-form--navy .cr-lead-popup-consent-link {
  color: #e8d5a8;
}

.cr-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: none;
  border-radius: 2px;
  padding: 0.7rem 1rem;
  font-family: Montserrat, Geist, ui-sans-serif, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #050b16;
  background: linear-gradient(135deg, #e8d5a8 0%, #c5a059 50%, #a88645 100%);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(197, 160, 89, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cr-btn-gold:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(197, 160, 89, 0.45);
}

.cr-btn-gold:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.cr-btn-cream {
  background: #f6f3eb;
  color: #0d1e38;
  box-shadow: none;
  border: 1px solid rgba(197, 160, 89, 0.35);
}

.cr-btn-cream:hover:not(:disabled) {
  background: #fff;
}

.cr-lead-popup-footnote {
  margin: 0.25rem 0 0;
  font-size: 0.68rem;
  color: #94a3b8;
  text-align: center;
}

.cr-lead-popup-footnote--light {
  color: rgba(246, 243, 235, 0.72);
}

.cr-lead-popup-success {
  margin: 0;
  font-size: 0.8rem;
  color: #0d1e38;
  font-weight: 600;
}

.cr-lead-popup-form--navy .cr-lead-popup-success {
  color: #e8d5a8;
}

.cr-lead-popup-error {
  margin: 0;
  font-size: 0.8rem;
  color: #dc2626;
}

.cr-lead-popup-intro-badge {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: #0d1e38;
  border: 1px solid rgba(212, 168, 75, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a84b;
}

.cr-lead-popup-intro {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.cr-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
