/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: #1a1a2e; line-height: 1.6; background: #f8f9fa; }
a { color: #0d6efd; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.site-header { background: #fff; padding: 12px 0; border-bottom: 1px solid #e8e8e8; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-block; }
.logo img { height: 52px; width: auto; display: block; }
.logo:hover { opacity: 0.85; text-decoration: none; }
.site-header nav a { color: #1a1a2e; margin-left: 20px; font-weight: 500; }
.site-header nav a:hover { color: #e94560; text-decoration: none; }

/* ===== HERO (au-dessus de la ligne de flottaison) ===== */
.hero { background: linear-gradient(rgba(15,52,96,0.72), rgba(26,26,46,0.85)), url('/assets/estimation-immobilier-bas-rhin.jpg') center center / cover no-repeat; color: #fff; padding: 50px 0 60px; }
.hero .container { display: flex; gap: 50px; align-items: flex-start; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: 2.2rem; line-height: 1.2; margin-bottom: 15px; }
.hero-text .subtitle { font-size: 1.05rem; color: #a8b2d1; margin-bottom: 18px; line-height: 1.6; }
.hero-text .subtitle strong { color: #fff; }
.hero-points { list-style: none; margin-bottom: 18px; }
.hero-points li { padding: 4px 0; padding-left: 20px; position: relative; color: #a8b2d1; font-size: 0.95rem; }
.hero-points li::before { content: "\2713"; position: absolute; left: 0; color: #e94560; font-weight: 700; }
.hero-points li strong { color: #fff; }
.hero-villes { font-size: 0.92rem; color: #8892b0; margin-top: 5px; }
.hero-villes strong { color: #a8b2d1; }
.hero-text .prix-m2 { background: rgba(255,255,255,0.1); border-radius: 8px; padding: 15px 20px; display: inline-block; margin-bottom: 15px; }
.hero-text .prix-m2 span { font-size: 1.8rem; font-weight: 700; color: #e94560; }

/* ===== ACTUALITES HERO ===== */
.hero-actu { margin-top: 20px; background: rgba(255,255,255,0.06); border-radius: 8px; padding: 15px 18px; border-left: 3px solid #e94560; }
.hero-actu h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: #e94560; margin-bottom: 10px; }
.hero-actu ul { list-style: none; }
.hero-actu li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.hero-actu li:last-child { border-bottom: none; }
.hero-actu a { color: #a8b2d1; font-size: 0.88rem; line-height: 1.4; display: block; }
.hero-actu a:hover { color: #fff; text-decoration: none; }
.hero-actu .actu-meta { display: block; font-size: 0.75rem; color: #5a6a8a; margin-top: 2px; }

/* ===== FORMULAIRE CTA ===== */
.form-cta { background: #fff; border-radius: 12px; padding: 30px; width: 400px; min-width: 380px; box-shadow: 0 15px 40px rgba(0,0,0,0.3); }
.form-cta h2 { color: #1a1a2e; font-size: 1.3rem; text-align: center; margin-bottom: 5px; }
.form-cta .form-sub { text-align: center; color: #666; font-size: 0.9rem; margin-bottom: 20px; }
.form-cta label { display: block; font-size: 0.85rem; font-weight: 600; color: #333; margin-bottom: 4px; }
.form-cta select,
.form-cta input { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 0.95rem; margin-bottom: 12px; }
.form-cta select:focus,
.form-cta input:focus { border-color: #0d6efd; outline: none; box-shadow: 0 0 0 3px rgba(13,110,253,0.15); }
.btn-cta { width: 100%; padding: 14px; background: #e94560; color: #fff; border: none; border-radius: 8px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.btn-cta:hover { background: #c73650; }
.form-cta .form-trust { text-align: center; font-size: 0.8rem; color: #888; margin-top: 10px; }

/* ===== ARGUMENTS / AVIS ===== */
.arguments { padding: 50px 0; background: #fff; }
.arguments .container { display: flex; gap: 30px; }
.argument-card { flex: 1; text-align: center; padding: 25px; border-radius: 10px; background: #f8f9fa; }
.argument-card .icon { font-size: 2.5rem; margin-bottom: 10px; }
.argument-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.argument-card p { color: #555; font-size: 0.95rem; }

.avis { padding: 50px 0; background: #f0f4f8; }
.avis h2 { text-align: center; margin-bottom: 30px; }
.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.avis-card { background: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.avis-card .stars { color: #f5a623; margin-bottom: 8px; }
.avis-card p { font-size: 0.95rem; color: #444; font-style: italic; }
.avis-card .auteur { margin-top: 10px; font-weight: 600; font-style: normal; color: #1a1a2e; }

/* ===== ENTREPRISES ===== */
.entreprises { padding: 50px 0; background: #fff; }
.entreprises h2 { margin-bottom: 25px; }

/* SPOTLIGHT (3 premieres agences avec vignettes) */
.entreprises-spotlight { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.entreprise-spotlight { background: #f8f9fa; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: box-shadow 0.2s; }
.entreprise-spotlight:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.12); }
.spotlight-thumbnail { width: 100%; height: 150px; object-fit: cover; background: #e0e0e0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.spotlight-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-thumbnail.placeholder { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; font-weight: 700; text-align: center; font-size: 0.9rem; padding: 15px; }
.spotlight-info { padding: 15px; }
.spotlight-info h4 { font-size: 1rem; margin-bottom: 6px; color: #1a1a2e; }
.spotlight-desc { font-size: 0.85rem; color: #666; margin-bottom: 8px; line-height: 1.4; }
.spotlight-lieu { font-size: 0.8rem; color: #888; margin-bottom: 10px; }
.btn-spotlight { display: inline-block; padding: 8px 14px; background: #e94560; color: #fff; border-radius: 6px; font-size: 0.85rem; font-weight: 600; transition: background 0.2s; }
.btn-spotlight:hover { background: #c73650; text-decoration: none; }

/* GRILLE CLASSIQUE (autres agences) */
.entreprises-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.entreprise-card { padding: 18px; border: 1px solid #eee; border-radius: 8px; transition: box-shadow 0.2s; }
.entreprise-card:hover { box-shadow: 0 3px 12px rgba(0,0,0,0.08); }
.entreprise-card h4 { margin-bottom: 4px; font-size: 0.95rem; }
.entreprise-card p { font-size: 0.85rem; color: #555; margin-bottom: 3px; }
.entreprise-card .entreprise-lieu { font-size: 0.8rem; color: #888; }
.entreprise-card a { font-size: 0.82rem; }

/* ===== TEXTE SEO ===== */
.seo-text { padding: 40px 0; background: #f8f9fa; }
.seo-text h2 { margin-bottom: 15px; }
.seo-text p { color: #444; margin-bottom: 12px; }

/* ===== MAILLAGE INTERNE ===== */
.maillage { padding: 50px 0; background: #fff; }
.maillage h2 { margin-bottom: 25px; }
.maillage-bloc { margin-bottom: 25px; }
.maillage-bloc h3 { margin-bottom: 10px; color: #1a1a2e; font-size: 1.05rem; }
.maillage-liste { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.maillage-liste li a { display: inline-block; padding: 6px 14px; background: #e8f0fe; border-radius: 20px; font-size: 0.88rem; color: #0d6efd; transition: background 0.2s; }
.maillage-liste li a:hover { background: #0d6efd; color: #fff; text-decoration: none; }

/* ===== FOOTER ===== */
.site-footer { background: #1a1a2e; color: #aaa; text-align: center; padding: 25px 0; font-size: 0.9rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero .container { flex-direction: column; }
    .form-cta { width: 100%; min-width: auto; }
    .hero-text h1 { font-size: 1.6rem; }
    .arguments .container { flex-direction: column; }
    .avis-grid { grid-template-columns: 1fr; }
    .entreprises-spotlight { grid-template-columns: 1fr; }
    .entreprises-grid { grid-template-columns: 1fr; }
}
