/* VoltHabitat — Page Devis */

.vh-hero-page { min-height: 50vh; padding: 140px 0 80px; background: linear-gradient(135deg, #1a365d 0%, #1e4976 100%); }
.vh-hero-page .vh-hero-content { text-align: center; margin: 0 auto; }
.vh-hero-page .vh-section-tag { background: rgba(255,255,255,0.15); color: var(--yellow); }

.vh-devis-section { padding: 80px 0 100px; background: var(--bg-secondary); }
.vh-devis-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }

.vh-devis-form-wrapper { background: var(--white); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-lg); }

.vh-form-success { text-align: center; padding: 40px 20px; }
.vh-form-success-icon { width: 80px; height: 80px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.vh-form-success-icon svg { width: 40px; height: 40px; color: var(--white); }
.vh-form-success h2 { color: var(--text-primary); margin-bottom: 16px; }
.vh-form-success p { color: var(--text-secondary); margin-bottom: 32px; font-size: 1.0625rem; }

.vh-form-errors { background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius-md); padding: 16px 20px; margin-bottom: 24px; }
.vh-form-errors p { color: #dc2626; font-size: 0.9375rem; margin-bottom: 4px; }
.vh-form-errors p:last-child { margin-bottom: 0; }

.vh-form-section { margin-bottom: 32px; }
.vh-form-section h3 { color: var(--text-primary); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--gray-100); }
.vh-form-group { margin-bottom: 20px; }
.vh-form-group label { display: block; font-size: 0.9375rem; font-weight: 500; color: var(--text-primary); margin-bottom: 8px; }
.vh-form-group input, .vh-form-group select, .vh-form-group textarea { width: 100%; padding: 14px 16px; font-size: 1rem; font-family: inherit; color: var(--text-primary); background: var(--gray-50); border: 2px solid var(--gray-200); border-radius: var(--radius-md); transition: var(--transition); }
.vh-form-group input:focus, .vh-form-group select:focus, .vh-form-group textarea:focus { outline: none; border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
.vh-form-group input::placeholder, .vh-form-group textarea::placeholder { color: var(--gray-400); }
.vh-form-group textarea { resize: vertical; min-height: 120px; }
.vh-form-hint { font-size: 0.8125rem; color: var(--text-muted); margin-top: 8px; }
.vh-form-row { display: grid; gap: 20px; }
.vh-form-row-2 { grid-template-columns: 1fr 1fr; }
.vh-btn-submit { width: 100%; padding: 16px 32px; font-size: 1.0625rem; margin-top: 8px; }
.vh-form-privacy { font-size: 0.8125rem; color: var(--text-muted); text-align: center; margin-top: 16px; }

.vh-devis-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 130px; }
.vh-devis-card { background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-md); }
.vh-devis-card h4 { color: var(--text-primary); margin-bottom: 16px; font-size: 1rem; }
.vh-devis-steps { display: flex; flex-direction: column; gap: 16px; }
.vh-devis-step { display: flex; gap: 14px; }
.vh-devis-step-num { width: 32px; height: 32px; background: var(--primary); color: var(--white); font-weight: 700; font-size: 0.875rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vh-devis-step strong { display: block; color: var(--text-primary); font-size: 0.9375rem; margin-bottom: 4px; }
.vh-devis-step p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.4; }
.vh-devis-contact-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
.vh-devis-contact-item:last-child { border-bottom: none; }
.vh-devis-contact-item svg { color: var(--primary); flex-shrink: 0; }
.vh-devis-contact-item a { color: var(--text-primary); font-weight: 500; transition: var(--transition); }
.vh-devis-contact-item a:hover { color: var(--primary); }
.vh-devis-tips { display: flex; flex-direction: column; gap: 10px; }
.vh-devis-tips li { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; color: var(--text-secondary); }
.vh-devis-tips li::before { content: '✓'; color: var(--green); font-weight: 700; }
.vh-devis-zone p { color: var(--text-primary); font-weight: 500; margin-bottom: 12px; }
.vh-devis-zone ul { display: flex; flex-direction: column; gap: 6px; }
.vh-devis-zone li { font-size: 0.875rem; color: var(--text-muted); }

@media (max-width: 1024px) {
  .vh-devis-grid { grid-template-columns: 1fr; }
  .vh-devis-sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .vh-hero-page { min-height: auto; padding: 110px 0 48px; }
  .vh-devis-section { padding: 32px 0 48px; }
  .vh-devis-form-wrapper { padding: 24px; }
  .vh-form-row-2 { grid-template-columns: 1fr; }
  .vh-devis-sidebar { grid-template-columns: 1fr; }
}
