/* MC Diagnostics Immobiliers - /css/style.css?v=1 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0c1829;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #3b82f6;
  --light: #f1f5f9;
  --mid: #64748b;
  --white: #fff;
  --text: #1e293b;
  --border: #e2e8f0;
}

html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }

/* NAV */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(12,24,41,0.97); backdrop-filter: blur(8px);
  padding: 0 40px; display: flex; align-items: center; justify-content: space-between;
  height: 68px; border-bottom: 1px solid rgba(37,99,235,0.3);
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand img { height: 40px; width: auto; }
.nav-brand span { color: var(--white); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85); text-decoration: none; padding: 8px 14px;
  border-radius: 6px; font-size: 0.9rem; font-weight: 500; transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--blue); color: var(--white); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--white); font-size: 1.5rem; }

/* HERO SPLIT */
.hero-split {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh;
  padding-top: 68px;
}
.hero-text-half {
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px; background: var(--navy); color: var(--white);
}
.hero-text-half .eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--blue-light); margin-bottom: 16px;
}
.hero-text-half h1 {
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; line-height: 1.15;
  margin-bottom: 20px; letter-spacing: -0.03em;
}
.hero-text-half h1 span { color: var(--blue-light); }
.hero-text-half p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 480px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-badge {
  background: rgba(37,99,235,0.2); border: 1px solid rgba(37,99,235,0.4);
  color: var(--blue-light); font-size: 0.78rem; font-weight: 600; padding: 5px 12px; border-radius: 20px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-video-half { position: relative; overflow: hidden; background: var(--navy); }
.hero-split-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; font-size: 0.95rem; font-weight: 700;
  text-decoration: none; transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); }

/* TRUST BAR */
.trust-bar { background: var(--blue); padding: 14px 40px; }
.trust-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; color: var(--white); font-size: 0.88rem; font-weight: 600; }
.trust-item svg { width: 18px; height: 18px; flex-shrink: 0; }

/* SECTIONS */
section { padding: 80px 40px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue); margin-bottom: 10px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--navy); margin-bottom: 16px; letter-spacing: -0.02em; }
.section-sub { font-size: 1.05rem; color: var(--mid); max-width: 600px; }

/* SERVICES GRID */
.services-bg { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 48px; }
.service-card {
  background: var(--white); border-radius: 12px; padding: 28px;
  border: 1px solid var(--border); transition: all 0.2s;
}
.service-card:hover { box-shadow: 0 8px 32px rgba(12,24,41,0.1); transform: translateY(-4px); border-color: var(--blue); }
.service-icon { width: 52px; height: 52px; background: rgba(37,99,235,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.service-icon svg { width: 26px; height: 26px; color: var(--blue); }
.service-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service-card p { font-size: 0.88rem; color: var(--mid); line-height: 1.6; }
.service-card a { font-size: 0.85rem; font-weight: 700; color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; }

/* 2-COL */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img { width: 100%; border-radius: 14px; box-shadow: 0 16px 48px rgba(12,24,41,0.15); }
.two-col-text h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; color: var(--navy); margin-bottom: 16px; letter-spacing: -0.02em; }
.two-col-text p { color: var(--mid); margin-bottom: 16px; }
.check-list { list-style: none; margin: 20px 0; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 0.93rem; color: var(--text); }
.check-list li::before { content: "✓"; color: var(--blue); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* BANNER */
.banner-section {
  background: url('/images/vue-marseille.jpg') center/cover no-repeat;
  position: relative; color: var(--white); text-align: center; padding: 100px 40px;
}
.banner-section::before { content: ''; position: absolute; inset: 0; background: rgba(12,24,41,0.82); }
.banner-inner { position: relative; max-width: 700px; margin: 0 auto; }
.banner-inner h2 { font-size: clamp(1.6rem,3vw,2.5rem); font-weight: 800; margin-bottom: 16px; }
.banner-inner p { font-size: 1.05rem; opacity: 0.88; margin-bottom: 32px; }

/* ZONES */
.zones-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.zone-pill {
  background: var(--white); border: 1px solid var(--border); border-radius: 20px;
  padding: 8px 18px; font-size: 0.85rem; font-weight: 600; color: var(--navy);
}

/* BLOG GRID */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }
.blog-card { background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); transition: all 0.2s; }
.blog-card:hover { box-shadow: 0 8px 32px rgba(12,24,41,0.1); transform: translateY(-4px); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-card-body .tag { font-size: 0.75rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.08em; }
.blog-card-body h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 8px 0; line-height: 1.4; }
.blog-card-body p { font-size: 0.85rem; color: var(--mid); margin-bottom: 12px; }
.blog-card-body a { font-size: 0.85rem; font-weight: 700; color: var(--blue); text-decoration: none; }

/* ARTICLE */
.article-hero { background: var(--navy); color: var(--white); padding: 100px 40px 60px; text-align: center; }
.article-hero .tag { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue-light); margin-bottom: 12px; }
.article-hero h1 { font-size: clamp(1.6rem,3vw,2.6rem); font-weight: 800; max-width: 800px; margin: 0 auto 16px; }
.article-hero .meta { font-size: 0.88rem; opacity: 0.7; }
.article-img { width: 100%; max-height: 440px; object-fit: cover; }
.article-body { max-width: 780px; margin: 0 auto; padding: 60px 24px; }
.article-body h2 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin: 36px 0 12px; }
.article-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: 24px 0 8px; }
.article-body p { margin-bottom: 16px; color: var(--text); line-height: 1.75; }
.article-body ul { margin: 0 0 16px 24px; }
.article-body ul li { margin-bottom: 8px; color: var(--text); }
.article-body .callout { background: var(--light); border-left: 4px solid var(--blue); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 24px 0; }

/* PARTNER BOX */
.partner-box { background: var(--light); border: 2px solid var(--blue); border-radius: 12px; padding: 24px; margin: 32px 0; }
.partner-box p { margin: 0; font-size: 0.95rem; color: var(--text); }
.partner-box a { color: var(--blue); font-weight: 700; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 48px; }
.contact-form { background: var(--white); border-radius: 14px; padding: 36px; border: 1px solid var(--border); box-shadow: 0 4px 24px rgba(12,24,41,0.08); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 0.95rem; color: var(--text); font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.contact-info h3 { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 20px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.contact-info-icon { width: 44px; height: 44px; background: rgba(37,99,235,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { width: 22px; height: 22px; color: var(--blue); }
.contact-info-text strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.contact-info-text span { font-size: 0.88rem; color: var(--mid); }

/* FOOTER */
footer { background: var(--navy); color: rgba(255,255,255,0.75); }
.footer-top { padding: 60px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; max-width: 1200px; margin: 0 auto; }
.footer-brand img { height: 44px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--blue-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 40px; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.82rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.82rem; }
.footer-bottom a:hover { color: var(--blue-light); }

/* PAGE HERO */
.page-hero { background: var(--navy); color: var(--white); padding: 130px 40px 70px; text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 800; margin-bottom: 14px; }
.page-hero p { font-size: 1.05rem; opacity: 0.82; max-width: 620px; margin: 0 auto; }
.breadcrumb { display: flex; gap: 8px; align-items: center; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.6); font-size: 0.82rem; text-decoration: none; }
.breadcrumb a:hover { color: var(--blue-light); }
.breadcrumb span { color: rgba(255,255,255,0.4); font-size: 0.82rem; }

/* FAQ */
.faq-list { margin-top: 40px; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 18px 20px; font-weight: 700; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--white); }
.faq-a { padding: 0 20px 18px; color: var(--mid); font-size: 0.93rem; line-height: 1.7; }

/* 404 */
.not-found { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--light); }
.not-found-inner h1 { font-size: 6rem; font-weight: 900; color: var(--blue); line-height: 1; }
.not-found-inner h2 { font-size: 1.8rem; font-weight: 700; color: var(--navy); margin: 12px 0; }
.not-found-inner p { color: var(--mid); margin-bottom: 28px; }

/* SITEMAP */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-top: 40px; }
.sitemap-col h3 { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); margin-bottom: 14px; border-bottom: 2px solid var(--blue); padding-bottom: 8px; }
.sitemap-col ul { list-style: none; }
.sitemap-col ul li { margin-bottom: 8px; }
.sitemap-col ul li a { color: var(--navy); text-decoration: none; font-size: 0.92rem; transition: color 0.2s; }
.sitemap-col ul li a:hover { color: var(--blue); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-video-half { height: 300px; }
  .hero-text-half { padding: 40px 24px; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .two-col.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px; }
  section { padding: 60px 24px; }
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .footer-bottom { padding: 20px 24px; flex-direction: column; text-align: center; }
  .trust-bar { padding: 14px 20px; }
  .banner-section { padding: 70px 24px; }
}
