/* F2B Expertise Immobilière — style.css?v=1 */
/* Dark navy #0f172a | Teal #0d9488 | Light #f0fdfa */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0f172a;
  --navy-mid: #1e293b;
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --teal-dark: #0f766e;
  --light: #f0fdfa;
  --light-mid: #ccfbf1;
  --white: #ffffff;
  --gray: #64748b;
  --gray-light: #f1f5f9;
  --text: #1e293b;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(15,23,42,0.12);
  --shadow-lg: 0 8px 40px rgba(15,23,42,0.18);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p { margin-bottom: 1rem; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--gray-light); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-teal { background: var(--teal); color: var(--white); }
.section-teal h2, .section-teal h3 { color: var(--white); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header p { color: var(--gray); font-size: 1.1rem; max-width: 640px; margin: 12px auto 0; }
.section-dark .section-header p { color: var(--light-mid); }

.label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(13,148,136,0.12);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-dark .label { background: rgba(20,184,166,0.18); color: var(--teal-light); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-teal:hover { background: var(--teal); color: var(--white); }

/* ── HEADER / NAV ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15,23,42,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13,148,136,0.2);
  transition: all var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 44px; width: auto; }
.logo-text { font-weight: 800; font-size: 1.15rem; color: var(--white); letter-spacing: -0.01em; }
.logo-text span { color: var(--teal); }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--teal-light); background: rgba(13,148,136,0.12); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO SPLIT ── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  margin-top: 0;
}
.hero-video-half {
  position: relative;
  overflow: hidden;
  background: #0f172a;
}
.hero-split-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}
.hero-text-half {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 60px 60px;
  background: #0f172a;
  color: #fff;
}
.hero-text-half h1 { color: var(--white); margin-bottom: 20px; }
.hero-text-half p { color: rgba(255,255,255,0.8); font-size: 1.15rem; margin-bottom: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-badge {
  background: rgba(13,148,136,0.18);
  border: 1px solid rgba(13,148,136,0.35);
  color: var(--teal-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── HERO STANDARD (other pages) ── */
.hero-page {
  background: var(--navy);
  color: var(--white);
  padding: 160px 0 80px;
  text-align: center;
}
.hero-page h1 { color: var(--white); margin-bottom: 16px; }
.hero-page p { color: rgba(255,255,255,0.75); font-size: 1.15rem; max-width: 640px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--teal-light); }
.breadcrumb span { color: rgba(255,255,255,0.35); }

/* ── 2-COL SECTIONS ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col-img { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.two-col-img img { width: 100%; height: 380px; object-fit: cover; }
.two-col-text h2 { margin-bottom: 16px; }
.two-col-text p { color: var(--gray); margin-bottom: 20px; }
.two-col-text ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--gray);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.two-col-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--teal);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px;
  background: rgba(13,148,136,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.service-card:hover .service-icon { background: rgba(13,148,136,0.2); }
.service-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card p { color: var(--gray); font-size: 0.95rem; margin: 0; }

/* ── STATS ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-item { padding: 32px 20px; }
.stat-number {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

/* ── BANNER CSS BG ── */
.banner-bg {
  position: relative;
  background: url('/images/vue-toulouse.jpg') center/cover no-repeat;
  padding: 100px 0;
  color: var(--white);
  text-align: center;
}
.banner-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.82);
}
.banner-bg .container { position: relative; z-index: 1; }
.banner-bg h2 { color: var(--white); margin-bottom: 16px; }
.banner-bg p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 32px; font-size: 1.1rem; }

/* ── CTA 2-COL ── */
.cta-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.cta-img { position: relative; overflow: hidden; }
.cta-img img { width: 100%; height: 100%; object-fit: cover; }
.cta-text {
  background: var(--teal);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}
.cta-text h2 { color: var(--white); margin-bottom: 16px; }
.cta-text p { color: rgba(255,255,255,0.88); margin-bottom: 28px; }

/* ── BLOG GRID ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}
.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img { overflow: hidden; height: 220px; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { font-size: 0.82rem; color: var(--gray); margin-bottom: 10px; display: flex; gap: 14px; }
.blog-card-meta .cat { color: var(--teal); font-weight: 700; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--teal); }
.blog-card p { color: var(--gray); font-size: 0.92rem; flex: 1; }
.blog-card-footer { margin-top: 16px; }

/* ── ARTICLE ── */
.article-hero {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 40px;
}
.article-body { max-width: 780px; margin: 0 auto; }
.article-body h2 { margin: 40px 0 16px; }
.article-body h3 { margin: 28px 0 12px; color: var(--teal-dark); }
.article-body p { color: #374151; margin-bottom: 18px; }
.article-body ul { margin: 0 0 18px 24px; list-style: disc; }
.article-body ul li { color: #374151; margin-bottom: 6px; }
.article-mid-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 10px;
  margin: 36px 0;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.article-meta .cat { color: var(--teal); font-weight: 700; background: rgba(13,148,136,0.1); padding: 3px 12px; border-radius: 100px; }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--gray); margin-bottom: 28px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--gray-light);
  border-radius: var(--radius);
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(13,148,136,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray); margin-bottom: 4px; }
.contact-item p { margin: 0; color: var(--text); font-weight: 600; }

.form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 7px;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--white);
  color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand .logo img { height: 40px; }
.footer-brand p { margin-top: 16px; font-size: 0.92rem; line-height: 1.8; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.92rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--teal-light); }

/* ── SITEMAP ── */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 40px;
}
.sitemap-col h3 { color: var(--teal-dark); margin-bottom: 16px; font-size: 1rem; border-bottom: 2px solid var(--teal); padding-bottom: 10px; }
.sitemap-col ul { list-style: none; }
.sitemap-col ul li { margin-bottom: 10px; }
.sitemap-col ul li a { color: var(--gray); font-size: 0.95rem; }
.sitemap-col ul li a:hover { color: var(--teal); }

/* ── 404 ── */
.page-404 { text-align: center; padding: 160px 0 100px; background: var(--navy); min-height: 100vh; color: var(--white); }
.page-404 .big-num { font-size: clamp(6rem, 15vw, 12rem); font-weight: 900; color: var(--teal); line-height: 1; }
.page-404 h1 { color: var(--white); margin: 16px 0; }
.page-404 p { color: rgba(255,255,255,0.7); max-width: 480px; margin: 0 auto 36px; }

/* ── TRUST BADGES ── */
.trust-bar { background: var(--navy-mid); padding: 28px 0; border-top: 1px solid rgba(13,148,136,0.15); }
.trust-items { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 40px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.75); font-size: 0.9rem; font-weight: 600; }
.trust-item span:first-child { font-size: 1.4rem; }

/* ── FAQ ── */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid rgba(0,0,0,0.08); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-q { padding: 22px 24px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--white); color: var(--navy); }
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--teal); transition: transform var(--transition); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 24px 20px; color: var(--gray); display: none; }
.faq-item.open .faq-a { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { gap: 40px; }
}
@media (max-width: 768px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-video-half { height: 300px; }
  .hero-text-half { padding: 60px 28px; }
  .nav-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 24px; gap: 4px; border-bottom: 1px solid rgba(13,148,136,0.2); }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse { direction: ltr; }
  .cta-section { grid-template-columns: 1fr; }
  .cta-img { height: 280px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 56px 0; }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
