/* ══ CONTACT FORM COMPONENT ════════════════════════════════
   cf- prefix — fonctionne sans Bootstrap, requiert base.css
   Utilisé sur pages/index.html, pages/en/index.html,
   et pages/chat/index.html (btn + bandeau seulement).     */

.cf-form { margin-top: 28px; text-align: left; }

/* Grille 2 colonnes desktop, 1 colonne mobile */
.cf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 600px) {
  .cf-grid { grid-template-columns: 1fr; }
}

.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field--full { margin-bottom: 16px; }

.cf-label {
  font-size: .85rem; font-weight: 600;
  color: var(--muted);
}

.cf-input,
.cf-select,
.cf-textarea {
  width: 100%;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: .92rem;
  font-family: inherit;
  padding: 10px 14px;
  transition: border-color .15s;
  -webkit-appearance: none;
  appearance: none;
}
.cf-input:focus,
.cf-select:focus,
.cf-textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.cf-textarea { resize: vertical; min-height: 100px; }

/* Flèche du select */
.cf-select {
  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 fill='%239CA3AF' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.cf-select option { background: #13131F; }

/* Bouton envoi */
.cf-btn-submit {
  display: block; width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  color: #fff; border: none; border-radius: 10px;
  font-size: 1rem; font-weight: 700; font-family: inherit;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  margin-top: 20px;
}
.cf-btn-submit:hover   { opacity: .9; transform: translateY(-1px); }
.cf-btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Message succès */
.cf-success {
  text-align: center; padding: 20px 24px;
  background: rgba(74,222,128,.08);
  border: 1px solid rgba(74,222,128,.2);
  border-radius: 10px;
  color: var(--success); font-weight: 600;
  margin-top: 20px;
}

/* Disclaimer */
.cf-disclaimer {
  text-align: center; font-size: .78rem;
  color: var(--muted); margin: 14px 0 0;
}

/* Bandeau offre sélectionnée */
.cf-bandeau {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #1E1035, #13131F);
  border: 1px solid #6B46C1; border-radius: 12px;
  padding: 16px 20px; margin-bottom: 20px;
}
.cf-bandeau__icon  { font-size: 22px; flex-shrink: 0; }
.cf-bandeau__nom   { color: var(--text); font-weight: 600; font-size: .95rem; }
.cf-bandeau__prix  { color: #A78BFA; font-size: .85rem; }
.cf-bandeau__close {
  margin-left: auto; background: none; border: none;
  color: var(--muted); cursor: pointer;
  font-size: 18px; line-height: 1; padding: 4px;
}
