/* ── Page Contact ────────────────────────────────────────────── */

/* Hero */
.contact-hero {
  min-height: 30vh;
  display: flex;
  align-items: flex-end;
  padding: 6rem 2rem 3rem;
  background: linear-gradient(180deg, #1a0a35 0%, #2d1b4e 100%);
  text-align: center;
}

.contact-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

.contact-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.contact-title em {
  font-style: italic;
  color: #c9a96e;
}

.contact-subtitle {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto;
}

/* Section formulaire */
.contact-section {
  padding: 4rem 2rem 5rem;
  background: #1e0f37;
}

.contact-inner {
  max-width: 680px;
  margin: 0 auto;
}

/* Succès */
.form-success {
  text-align: center;
  padding: 4rem 2rem;
}

.success-icon {
  font-size: 2.5rem;
  color: #c9a96e;
  margin-bottom: 1.5rem;
}

.success-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 1rem;
}

.success-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.btn-back {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9a96e;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,169,110,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.btn-back:hover {
  border-color: #c9a96e;
}

/* Erreur */
.form-error-banner {
  background: rgba(220, 50, 70, 0.1);
  border: 1px solid rgba(220, 50, 70, 0.3);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: rgba(255,150,150,0.9);
  line-height: 1.6;
}

.form-error-banner a {
  color: #ff9090;
}

/* Groupes de champs */
.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}

.required {
  color: #c9a96e;
}

.form-hint {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  margin-top: 0.4rem;
  font-style: italic;
}

/* Inputs */
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: rgba(201,169,110,0.5);
  background: rgba(255,255,255,0.06);
}

.form-input.input-error,
.form-textarea.input-error {
  border-color: rgba(220, 50, 70, 0.5);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.3)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  background: #2d1b4e;
  color: #fff;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

/* Radio */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.radio-group.group-error .radio-custom {
  border-color: rgba(220, 50, 70, 0.5);
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  transition: background 0.2s, border-color 0.2s;
}

.radio-option:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s;
}

.radio-option input[type="radio"]:checked + .radio-custom {
  border-color: #c9a96e;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9a96e;
}

.radio-option input[type="radio"]:checked ~ .radio-text {
  color: #fff;
}

.radio-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

/* Checkbox */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  transition: background 0.2s, border-color 0.2s;
}

.checkbox-option:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}

.checkbox-option.option-error {
  border-color: rgba(220, 50, 70, 0.5);
}

.checkbox-option input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
  border-color: #c9a96e;
  background: rgba(201,169,110,0.15);
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: 1.5px solid #c9a96e;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.checkbox-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  transition: color 0.2s;
}

.checkbox-option input[type="checkbox"]:checked ~ .checkbox-text {
  color: rgba(255,255,255,0.8);
}

.checkbox-text a {
  color: #c9a96e;
  text-decoration: none;
}

.checkbox-text a:hover {
  text-decoration: underline;
}

.checkbox-option--accord {
  border-color: rgba(201,169,110,0.15);
  background: rgba(201,169,110,0.04);
}

/* Bouton submit */
.form-submit {
  margin-top: 2.5rem;
  text-align: center;
}

.btn-submit {
  display: inline-block;
  background: transparent;
  border: 1px solid #c9a96e;
  color: #c9a96e;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  min-width: 220px;
}

.btn-submit:hover:not(:disabled) {
  background: #c9a96e;
  color: #1e0f37;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-confidential {
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.2);
}

/* Nav CTA actif */
.nav-cta--active {
  background: rgba(201,169,110,0.12) !important;
}

/* Responsive */
@media (max-width: 600px) {
  .contact-hero {
    padding: 5rem 1.5rem 2.5rem;
  }

  .contact-section {
    padding: 3rem 1.5rem 4rem;
  }

  .radio-option,
  .checkbox-option {
    padding: 0.65rem 0.85rem;
  }
}
