/**
 * SW Médias — Immobilier Strasbourg — Styles spécifiques (fiches quartier/commune, page estimation, hero front).
 */

/* Front hero immo */
.sw-front__hero--immo { background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%); color: #fff; border-radius: .75rem; padding: 3rem 1.5rem; margin: 1rem 0 3rem; }
.sw-front__hero--immo .sw-front__title { color: #fff; margin-bottom: .75rem; }
.sw-front__hero--immo .sw-front__tagline { color: rgba(255,255,255,.92); font-size: 1.125rem; margin-bottom: 1.5rem; }
.sw-front__hero-inner { max-width: 720px; margin: 0 auto; text-align: center; }

/* Buttons */
.sw-button { display: inline-block; padding: .75rem 1.5rem; border-radius: .375rem; font-weight: 600; text-decoration: none; transition: all .15s ease; cursor: pointer; border: 0; line-height: 1.4; }
.sw-button:hover { text-decoration: none; transform: translateY(-1px); }
.sw-button--primary { background: #2563EB; color: #fff; }
.sw-button--primary:hover { background: #1D4ED8; color: #fff; }
.sw-front__hero--immo .sw-button--primary { background: #fff; color: #2563EB; }
.sw-front__hero--immo .sw-button--primary:hover { background: #F1F5F9; color: #1D4ED8; }
.sw-button--lg { padding: 1rem 2rem; font-size: 1.0625rem; }

/* Quartier page */
.sw-quartier { padding-top: 1.5rem; }
.sw-quartier__title { margin-bottom: .25rem; }
.sw-quartier__postal { color: #64748B; margin-bottom: 1.5rem; font-size: 1rem; }
.sw-quartier__hero { margin: 0 0 2rem; border-radius: .5rem; overflow: hidden; }
.sw-quartier__hero img { aspect-ratio: 16/9; object-fit: cover; }
.sw-quartier__grid { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.sw-quartier__data { position: sticky; top: 84px; }
.sw-quartier__content { min-width: 0; }

/* Stats */
.sw-stats { display: grid; gap: .75rem; margin: 0 0 1.5rem; padding: 1.25rem; background: #F8FAFC; border-radius: .5rem; border: 1px solid #E2E8F0; }
.sw-stat { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding-bottom: .75rem; border-bottom: 1px solid #E2E8F0; }
.sw-stat:last-child { padding-bottom: 0; border: 0; }
.sw-stat dt { color: #64748B; font-size: .875rem; margin: 0; }
.sw-stat dd { font-weight: 700; color: #0F172A; font-size: 1.0625rem; margin: 0; }
.sw-stat--meta dd { font-weight: 400; color: #64748B; font-size: .875rem; }

/* Map */
.sw-quartier__map { width: 100%; height: 280px; border-radius: .5rem; overflow: hidden; border: 1px solid #E2E8F0; background: #F1F5F9; }

/* Lists */
.sw-list-checks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.sw-list-checks li { position: relative; padding: .375rem 0 .375rem 1.75rem; }
.sw-list-checks li::before { content: "✓"; position: absolute; left: 0; top: .375rem; color: #16A34A; font-weight: 700; font-size: 1.125rem; }
.sw-list-warns { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.sw-list-warns li { position: relative; padding: .375rem 0 .375rem 1.75rem; }
.sw-list-warns li::before { content: "!"; position: absolute; left: 0; top: .375rem; color: #F59E0B; font-weight: 700; font-size: 1.125rem; }

/* Quartier CTA */
.sw-quartier__cta { margin-top: 2rem; padding: 1.5rem; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: .5rem; text-align: center; }
.sw-quartier__cta h2 { margin: 0 0 .5rem; font-size: 1.25rem; }
.sw-quartier__cta p { margin: 0 0 1rem; color: #475569; }

/* Card quartier */
.sw-card__price { color: #2563EB; font-weight: 700; margin: .25rem 0 .5rem; font-size: .9375rem; }

/* Guide FAQ */
.sw-guide__faq { margin-top: 2rem; }
.sw-faq-list dt { font-weight: 700; color: #0F172A; padding: 1rem 0 .375rem; border-top: 1px solid #E2E8F0; cursor: pointer; }
.sw-faq-list dt:first-child { border-top: 0; }
.sw-faq-list dd { margin: 0 0 1rem; color: #475569; font-size: .9375rem; line-height: 1.7; }
.sw-guide__cta { margin-top: 2rem; padding: 1.5rem; background: #F1F5F9; border-radius: .5rem; text-align: center; }
.sw-guide__cta h2 { margin: 0 0 .5rem; font-size: 1.25rem; }

/* Estimation page */
.sw-estimation { padding-top: 1.5rem; }
.sw-estimation__intro { color: #475569; font-size: 1.125rem; margin-bottom: 2rem; }
.sw-estimation__grid { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; align-items: start; }
.sw-estimation__form { background: #fff; padding: 1.5rem; border: 1px solid #E2E8F0; border-radius: .5rem; }
.sw-estimation__rgpd { font-size: .8125rem; color: #64748B; margin-top: .75rem; }
.sw-estimation__trust { background: #F8FAFC; padding: 1.5rem; border-radius: .5rem; border: 1px solid #E2E8F0; }
.sw-estimation__trust h2 { font-size: 1.125rem; margin: 0 0 1rem; padding: 0; border: 0; }

/* Responsive */
@media (max-width: 900px) {
	.sw-quartier__grid { grid-template-columns: 1fr; }
	.sw-quartier__data { position: static; }
	.sw-estimation__grid { grid-template-columns: 1fr; }
}
