/* ==============================================
   Encre Noire Studio — Rendez-vous Page
   Site de démonstration — Gradly-Concept
   ============================================== */

.en-rdv-section {
  background: var(--black-soft);
  padding-top: 0;
  margin-top: -40px;
}

.en-rdv-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: start;
}

/* Form Wrapper */
.en-rdv-form-wrapper {
  background: var(--gradient-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.en-rdv-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.en-form-section {
  margin-bottom: 36px;
}

.en-form-section h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.en-form-row {
  margin-bottom: 20px;
}

.en-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.en-form-group {
  margin-bottom: 20px;
}

.en-form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.en-form-group input,
.en-form-group select,
.en-form-group textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--white);
  font-family: inherit;
  transition: var(--transition);
}

.en-form-group input::placeholder,
.en-form-group textarea::placeholder {
  color: var(--text-muted);
}

.en-form-group input:focus,
.en-form-group select:focus,
.en-form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.1);
}

.en-form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236A6A6A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
}

.en-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.en-form-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.en-btn-submit {
  width: 100%;
  margin-top: 12px;
  padding: 18px;
}

.en-form-privacy {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 20px;
}

.en-form-privacy a {
  color: var(--gold);
}

/* Form Errors */
.en-form-errors {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 30px;
}

.en-form-errors p {
  color: #F87171;
  font-size: 0.9375rem;
  margin-bottom: 8px;
}

.en-form-errors p:last-child {
  margin-bottom: 0;
}

/* Form Success */
.en-form-success {
  text-align: center;
  padding: 40px 20px;
}

.en-form-success-icon {
  width: 80px;
  height: 80px;
  background: rgba(201, 169, 98, 0.1);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.en-form-success-icon svg {
  width: 40px;
  height: 40px;
  color: var(--gold);
}

.en-form-success h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 16px;
}

.en-form-success p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Sidebar */
.en-rdv-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 140px;
}

.en-rdv-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.en-rdv-card h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 20px;
}

.en-rdv-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.en-rdv-step {
  display: flex;
  gap: 16px;
}

.en-rdv-step-num {
  width: 32px;
  height: 32px;
  background: rgba(201, 169, 98, 0.1);
  border: 1px solid rgba(201, 169, 98, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.en-rdv-step strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--white);
  margin-bottom: 4px;
}

.en-rdv-step p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.en-rdv-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.en-rdv-contact-item:last-child {
  margin-bottom: 0;
}

.en-rdv-contact-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.en-rdv-contact-item a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  transition: var(--transition);
}

.en-rdv-contact-item a:hover {
  color: var(--gold);
}

.en-rdv-tips {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.en-rdv-tips li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
}

.en-rdv-tips li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.en-rdv-hours .en-hour-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.en-rdv-hours .en-hour-row:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.en-rdv-hours .en-hour-row span:last-child {
  color: var(--text-secondary);
  font-weight: 500;
}

.en-rdv-hours .en-hour-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.03);
}

@media (max-width: 900px) {
  .en-rdv-grid {
    grid-template-columns: 1fr;
  }
  
  .en-rdv-sidebar {
    position: static;
  }
  
  .en-rdv-form-wrapper {
    padding: 32px 24px;
  }
  
  .en-form-row-2 {
    grid-template-columns: 1fr;
  }
}
