/* ===========================
   VHBimmo&tech — Styles globaux
   =========================== */

:root {
  /* Thème vert sauge (les noms --navy/--blue sont conservés
     pour ne pas casser les styles inline des pages) */
  --navy:    #1E3D2F;  /* vert forêt profond */
  --blue:    #2F7D5A;  /* vert principal (boutons, liens) */
  --blue-lt: #4C9E76;  /* vert clair (survols, bordures) */
  --teal:    #4FB8A5;  /* turquoise du logo (illustrations) */
  --accent:  #F59E0B;
  --light:   #F1F7F3;
  --grey:    #6B7F73;
  --white:   #FFFFFF;
  --dark:    #0E2018;
  --radius:  8px;
  --shadow:  0 4px 24px rgba(30,61,47,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.65;
}

/* ── Typographie ── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--grey); }

a { color: inherit; text-decoration: none; }

/* ── Navigation ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E3EBE5;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo svg { width: 44px; height: 44px; }

.nav-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background: #FCFDFC;
  display: block;
}

.nav-brand { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand .brand-vhb {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.nav-brand .brand-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }

/* Les boutons de la nav gardent leur couleur de texte propre
   (sinon .nav-links a impose le gris et le libellé devient illisible) */
.nav-links a.btn-primary { color: var(--white); }
.nav-links a.btn-primary:hover { color: var(--white); }
.nav-links a.btn-outline { color: var(--blue); }
.nav-links a.btn-outline:hover { color: var(--white); }
.nav-links a.btn-accent, .nav-links a.btn-accent:hover { color: var(--navy); }
.nav-links a.btn { box-shadow: 0 2px 8px rgba(47,125,90,0.25); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-accent {
  background: var(--accent);
  color: var(--navy);
}
.btn-accent:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ── Sections ── */
section { padding: 5rem 2rem; }

.container {
  max-width: 1160px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--navy);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--grey);
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 60%, #2C5A42 100%);
  color: var(--white);
  padding: 7rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'%3E%3Cpath d='M0 30h60M30 0v60M0 0l60 60M60 0L0 60'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-label {
  display: inline-block;
  background: rgba(47,125,90,0.3);
  border: 1px solid rgba(76,158,118,0.5);
  color: #A7D8C4;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 span { color: #A7D8C4; }
.hero p { color: #9AAFA3; font-size: 1.1rem; margin-bottom: 2rem; max-width: 480px; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 380px;
  backdrop-filter: blur(10px);
}

.hero-card h3 { color: var(--white); margin-bottom: 1.2rem; font-size: 1rem; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-item {
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.stat-value { font-size: 1.8rem; font-weight: 800; color: #A7D8C4; }
.stat-label { font-size: 0.75rem; color: #9AAFA3; margin-top: 2px; }

/* ── Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid #E3EBE5;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(30,61,47,0.15); border-color: var(--blue-lt); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-lt));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: white; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.card h3 { margin-bottom: 0.5rem; color: var(--navy); }
.card p { font-size: 0.9rem; }

/* ── Software section ── */
.software-section { background: var(--light); }

.software-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid #E3EBE5;
  transition: all 0.25s;
}
.software-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(30,61,47,0.16); }

.software-card-content { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.software-card-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* ── Capture d'écran applicative (Lidar2DXF…) ── */
.app-shot {
  margin: 0;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 44px rgba(0,0,0,0.45);
  background: #000;
  line-height: 0;
}
.app-shot img { display: block; width: 100%; height: auto; }
.software-card-visual .app-shot { max-width: 420px; }

.software-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EEF7F1;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  width: fit-content;
}

.software-card h3 { font-size: 1.6rem; color: var(--navy); }
.software-card p  { color: var(--grey); font-size: 0.95rem; }
.software-card .btn { align-self: flex-start; margin-top: 0.5rem; }

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  background: linear-gradient(135deg, var(--navy), #2C5A42);
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.about-stat {
  text-align: center;
  color: var(--white);
}
.about-stat .num { font-size: 2.5rem; font-weight: 800; color: #A7D8C4; }
.about-stat .lbl { font-size: 0.85rem; color: #9AAFA3; }

.divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

.about-stats-row { display: flex; align-items: center; gap: 2rem; }

.feature-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.feature-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #EEF7F1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-check svg { width: 12px; height: 12px; stroke: var(--blue); stroke-width: 3; fill: none; }
.feature-item p { font-size: 0.95rem; color: var(--grey); margin: 0; }
.feature-item strong { color: var(--navy); display: block; font-size: 0.95rem; margin-bottom: 2px; }

/* ── Contact ── */
.contact-section { background: var(--navy); color: var(--white); }
.contact-section .section-label { color: #A7D8C4; }
.contact-section .section-title { color: var(--white); }
.contact-section .section-subtitle { color: #9AAFA3; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #9AAFA3;
  font-size: 0.95rem;
}
.contact-item svg { width: 20px; height: 20px; stroke: #4C9E76; fill: none; stroke-width: 2; flex-shrink: 0; }
.contact-item span { color: var(--white); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: #9AAFA3; text-transform: uppercase; letter-spacing: 0.5px; }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue-lt); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #5A6B60; }
.form-group select option { background: var(--navy); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* ── Footer ── */
footer {
  background: var(--dark);
  color: #6B7F73;
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
}
footer a { color: #4C9E76; }
footer span { color: #9AAFA3; }

/* ── Page WalUrba hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2C5A42 100%);
  padding: 5rem 2rem 4rem;
  color: var(--white);
}
.page-hero-inner { max-width: 1160px; margin: 0 auto; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero h1 span { color: #A7D8C4; }
.page-hero p { color: #9AAFA3; font-size: 1.1rem; max-width: 600px; margin-bottom: 2rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #6B7F73;
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: #4C9E76; }
.breadcrumb svg { width: 12px; height: 12px; stroke: #5A6B60; fill: none; }

/* ── Features grid ── */
.features-section { padding: 5rem 2rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  border: 1px solid #E3EBE5;
  border-radius: 12px;
  padding: 1.8rem;
  transition: all 0.25s;
  background: var(--white);
}
.feature-card:hover { border-color: var(--blue-lt); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-card .fi { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--navy); }
.feature-card p { font-size: 0.88rem; }

/* ── How it works ── */
.how-section { background: var(--light); padding: 5rem 2rem; }
.steps { display: flex; flex-direction: column; gap: 0; max-width: 760px; margin: 0 auto; }
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 2rem;
}
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 29px;
  top: 60px;
  bottom: 0;
  width: 2px;
  background: #E3EBE5;
}
.step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-lt));
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.step-body { padding-top: 0.8rem; }
.step-body h3 { color: var(--navy); margin-bottom: 0.4rem; }
.step-body p { font-size: 0.92rem; }

/* ── Pricing ── */
.pricing-section { padding: 5rem 2rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}
.pricing-card {
  border: 1px solid #E3EBE5;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  position: relative;
  background: var(--white);
  transition: all 0.25s;
}
.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.pricing-card h3 { font-size: 1rem; color: var(--grey); margin-bottom: 1rem; }
.pricing-price { font-size: 2.4rem; font-weight: 800; color: var(--navy); margin-bottom: 0.2rem; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--grey); }
.pricing-period { font-size: 0.82rem; color: var(--grey); margin-bottom: 1.5rem; }
.pricing-features { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
.pricing-features li { font-size: 0.88rem; color: var(--grey); display: flex; align-items: center; gap: 0.6rem; }
.pricing-features li::before { content: '✓'; color: var(--blue); font-weight: 700; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}
.cta-banner h2 { color: white; margin-bottom: 1rem; }
.cta-banner p { color: #9AAFA3; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Map placeholder ── */
.map-placeholder {
  background: linear-gradient(135deg, #1E3D2F 0%, #2C5A42 100%);
  border-radius: 12px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #9AAFA3;
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .software-card { grid-template-columns: 1fr; }
  .software-card-visual { min-height: 160px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  section { padding: 3rem 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 4rem 1rem 3rem; }
}
