/* ── NOOKI Contact — Frontend ── */

.nct-wrap {
  max-width: 640px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
}

/* ── Card Glass ── */
.nct-glass {
  position: relative;
  background: rgba(245, 240, 232, 0.03);
  border: 1px solid rgba(184, 151, 58, 0.18);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 48px;
}

/* Coins Art Déco */
.nct-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: #B8973A;
  border-style: solid;
  opacity: 0.5;
  z-index: 2;
}
.nct-corner--tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.nct-corner--tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.nct-corner--bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.nct-corner--br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

/* ── Champs ── */
.nct-form-inner {
  position: relative;
  z-index: 1;
}

.nct-field-row {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.nct-field {
  flex: 1;
  margin-bottom: 24px;
}

.nct-field-row .nct-field {
  margin-bottom: 0;
}

.nct-label {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #B8973A;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}

.nct-input {
  width: 100%;
  background: rgba(245, 240, 232, 0.04) !important;
  border: 1px solid rgba(184, 151, 58, 0.12) !important;
  border-bottom: 1px solid rgba(184, 151, 58, 0.35) !important;
  color: #F5F0E8 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  padding: 14px 16px !important;
  border-radius: 0 !important;
  outline: none !important;
  box-sizing: border-box;
  transition: border-color 0.25s ease, background 0.25s ease;
  -webkit-appearance: none;
}

.nct-input:focus {
  border-color: rgba(184, 151, 58, 0.3) !important;
  border-bottom-color: #B8973A !important;
  background: rgba(245, 240, 232, 0.07) !important;
}

.nct-input::placeholder {
  color: rgba(245, 240, 232, 0.18) !important;
}

.nct-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7 !important;
}

/* ── Erreur ── */
.nct-error {
  font-size: 13px;
  color: #e05555;
  margin-bottom: 0;
  min-height: 0;
  max-height: 0;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  transition: max-height 0.3s ease, margin-bottom 0.3s ease;
}

.nct-error--visible {
  max-height: 60px;
  margin-bottom: 16px;
}

/* ── Bouton ── */
.nct-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: transparent !important;
  color: #F5F0E8 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  padding: 18px 40px !important;
  border: 1px solid rgba(184, 151, 58, 0.4) !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease !important;
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}

.nct-btn:hover {
  background: #C8102E !important;
  border-color: #C8102E !important;
}

.nct-btn:hover .nct-btn-arrow {
  transform: translateX(4px);
}

.nct-btn:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

.nct-btn-arrow {
  font-size: 16px;
  transition: transform 0.2s ease;
  display: inline-block;
}

/* ── Spinner ── */
.nct-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(245, 240, 232, 0.2);
  border-top-color: #F5F0E8;
  border-radius: 50%;
  animation: nct-spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes nct-spin {
  to { transform: rotate(360deg); }
}

/* ── Succès ── */
.nct-success-card {
  text-align: center;
  padding: 60px 48px;
}

.nct-success-icon {
  font-size: 40px;
  color: #B8973A;
  display: block;
  margin-bottom: 20px;
}

.nct-success-titre {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: #F5F0E8;
  margin-bottom: 4px;
}

.nct-success-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 24px;
}

.nct-sep-line {
  width: 40px;
  height: 1px;
  background: rgba(184, 151, 58, 0.4);
}

.nct-sep-losange {
  width: 4px;
  height: 4px;
  background: #B8973A;
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.7;
}

.nct-success-msg {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(245, 240, 232, 0.5);
  line-height: 1.8;
  max-width: 400px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .nct-glass { padding: 32px 24px; }
  .nct-field-row { flex-direction: column; gap: 0; margin-bottom: 0; }
  .nct-field { margin-bottom: 20px; }
}
