:root {
  --navy: #071d36;
  --ink: #08182d;
  --blue: #0a55a8;
  --deep-blue: #0a2d4d;
  --cyan: #24c7d9;
  --green: #69d38b;
  --white: #ffffff;
  --soft: #f4f9fc;
  --soft-blue: #eaf8fb;
  --text: #122033;
  --muted: #607080;
  --card: rgba(255,255,255,.94);
  --line: rgba(10,45,77,.10);
  --shadow: 0 24px 70px rgba(6, 27, 52, .14);
  --shadow-soft: 0 16px 44px rgba(6, 27, 52, .07);
  --radius: 24px;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7fbfe 0%, #ffffff 42%, #f2f8fb 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 84px;
  padding: 13px clamp(22px, 5vw, 76px);
  background: rgba(255, 255, 255, .90);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  line-height: 0;
}
.brand-logo {
  display: block;
  width: clamp(190px, 14vw, 270px);
  height: auto;
  max-height: 62px;
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--deep-blue);
  font-weight: 750;
}
.main-nav a { opacity: .84; transition: color .16s ease, opacity .16s ease, transform .16s ease; }
.main-nav a:hover { opacity: 1; color: var(--blue); transform: translateY(-1px); }
.nav-cta {
  padding: 11px 17px;
  border-radius: 999px;
  color: var(--white) !important;
  opacity: 1 !important;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 24px rgba(10,85,168,.22);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgba(36, 199, 217, .20), transparent 34%),
    radial-gradient(circle at 12% 20%, rgba(105, 211, 139, .13), transparent 30%),
    linear-gradient(180deg, #fbfeff 0%, #eefaff 100%);
}
.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .78fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
  padding: clamp(64px, 8vw, 112px) clamp(22px, 5vw, 76px) clamp(54px, 6vw, 84px);
  min-height: min(780px, calc(100vh - 82px));
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--deep-blue);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(10,45,77,.08);
  box-shadow: 0 8px 24px rgba(6,27,52,.06);
  font-size: .82rem;
  font-weight: 850;
}
.eyebrow {
  margin: 0 0 15px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
  font-size: .78rem;
}
h1, h2, h3 { color: var(--navy); line-height: 1.04; margin: 0; }
h1 {
  font-size: clamp(3rem, 5.1vw, 5.15rem);
  letter-spacing: -.065em;
  max-width: 900px;
}
h2 { font-size: clamp(2.05rem, 3.7vw, 3.45rem); letter-spacing: -.05em; }
h3 { font-size: 1.22rem; letter-spacing: -.025em; }
.hero-text {
  max-width: 700px;
  font-size: clamp(1.08rem, 1.35vw, 1.32rem);
  line-height: 1.66;
  color: #425367;
  margin: 26px 0 0;
}
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 14px 28px rgba(10, 85, 168, .24); }
.btn-secondary { color: var(--deep-blue); background: var(--white); border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(6,27,52,.06); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-tags span {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--deep-blue);
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(10,45,77,.08);
  font-size: .88rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 488px;
  border-radius: 38px;
  padding: 30px;
  background: linear-gradient(145deg, rgba(7, 29, 54, .98), rgba(10, 85, 168, .92));
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--white);
  isolation: isolate;
}
.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  z-index: -1;
}
.hero-visual::before { width: 310px; height: 310px; top: -88px; right: -72px; }
.hero-visual::after { width: 240px; height: 240px; bottom: -92px; left: -70px; }
.visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(135deg, transparent 0%, black 28%, black 72%, transparent 100%);
  opacity: .48;
}
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.20); }
.orbit-one { width: 245px; height: 245px; right: 54px; top: 86px; }
.orbit-two { width: 130px; height: 130px; right: 112px; top: 142px; border-color: rgba(36,199,217,.65); }
.dot { position: absolute; border-radius: 50%; }
.dot-green { width: 30px; height: 30px; background: var(--green); right: 238px; top: 104px; }
.dot-cyan { width: 32px; height: 32px; background: var(--cyan); right: 158px; top: 220px; }
.dot-white { width: 31px; height: 31px; background: rgba(255,255,255,.92); right: 77px; top: 146px; }
.metric {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  max-width: 292px;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}
.metric strong { font-size: 1.55rem; letter-spacing: -.04em; }
.metric span { color: rgba(255,255,255,.77); }
.metric-main { margin-top: 28px; }
.metric-mid { margin-top: 26px; margin-left: 42px; }
.metric-low { margin-top: 26px; margin-left: 14px; }
.visual-footer {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.visual-footer span { color: rgba(255,255,255,.70); }
.visual-footer strong { color: var(--white); }

.proof-strip {
  width: min(calc(100% - 44px), calc(var(--max) - 120px));
  margin: -28px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 18px;
  background: var(--white);
  border: 1px solid rgba(10,45,77,.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.proof-strip article { padding: 21px; border-radius: 20px; background: var(--soft); }
.proof-strip strong, .proof-strip span { display: block; }
.proof-strip strong { color: var(--deep-blue); margin-bottom: 7px; }
.proof-strip span { color: var(--muted); line-height: 1.5; }

.section, .split-section, .contact-section { padding: clamp(68px, 8vw, 108px) clamp(22px, 5vw, 76px); }
.section { width: min(100%, var(--max)); margin: 0 auto; }
.section-heading { max-width: 880px; margin-bottom: 38px; }
.section-heading p, .split-section p, .contact-card p { color: var(--muted); line-height: 1.7; font-size: 1.06rem; }
.section-heading.compact { margin-bottom: 26px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  padding: 29px;
  min-height: 230px;
  background: var(--card);
  border: 1px solid rgba(10, 45, 77, .08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 20px 58px rgba(6, 27, 52, .10); border-color: rgba(36,199,217,.28); }
.featured-card { background: linear-gradient(145deg, #ffffff, #eefbfe); }
.icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: var(--deep-blue);
  background: linear-gradient(135deg, rgba(36,199,217,.20), rgba(105,211,139,.24));
  font-weight: 950;
  margin-bottom: 28px;
}
.service-card p { color: var(--muted); line-height: 1.7; }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(30px, 6vw, 88px);
  background:
    radial-gradient(circle at 83% 24%, rgba(36,199,217,.16), transparent 32%),
    var(--navy);
}
.split-section > * { width: min(100%, 640px); }
.split-copy { justify-self: end; }
.split-section h2, .split-section .eyebrow { color: var(--white); }
.split-section p { color: rgba(255,255,255,.72); }
.steps { display: grid; gap: 14px; }
.steps article {
  display: grid;
  gap: 7px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}
.steps strong { color: var(--white); }
.steps span { color: rgba(255,255,255,.72); line-height: 1.5; }

.sectors { background: linear-gradient(180deg, #ffffff, #f5fbfd); border-radius: 38px; }
.sector-list { display: flex; flex-wrap: wrap; gap: 12px; }
.sector-list span {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--deep-blue);
  background: var(--white);
  border: 1px solid rgba(10, 45, 77, .1);
  font-weight: 800;
}
.contact-section {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 22px;
  align-items: stretch;
}
.contact-card, .contact-details { border-radius: 32px; padding: clamp(30px, 5vw, 56px); box-shadow: var(--shadow); }
.contact-card { background: linear-gradient(135deg, #ffffff, #eaf8fb); }
.contact-details { background: var(--deep-blue); color: var(--white); }
.contact-details h3 { color: var(--white); margin-bottom: 22px; }
.contact-details p { color: rgba(255,255,255,.78); line-height: 1.7; }
.contact-details .muted { color: rgba(255,255,255,.52); }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(22px, 5vw, 76px);
  color: var(--white);
  background: var(--navy);
}
.site-footer span { display: block; color: rgba(255,255,255,.66); margin-top: 6px; }
.footer-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; color: rgba(255,255,255,.84); }
.legal {
  padding: 38px clamp(22px, 5vw, 76px) 62px;
  background: #06172a;
  color: rgba(255,255,255,.7);
}
.legal h2 { color: var(--white); font-size: 1.4rem; margin-bottom: 16px; }
.legal p { max-width: 980px; line-height: 1.65; font-size: .92rem; }

@media (min-width: 1440px) {
  h1 { font-size: 5.35rem; }
  .hero-inner { grid-template-columns: 1.06fr .76fr; }
}

@media (max-width: 1120px) {
  .brand-tagline { display: none; }
  .main-nav { gap: 18px; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { max-width: 680px; width: 100%; }
  .proof-strip, .service-grid { grid-template-columns: 1fr 1fr; }
  .split-section, .contact-section { grid-template-columns: 1fr; }
  .split-section > * { width: 100%; }
  .split-copy { justify-self: start; }
}

@media (max-width: 760px) {
  .site-header { min-height: 70px; padding: 11px 20px; }
  .brand-mark { width: 45px; height: 45px; }
  .brand-name { font-size: 1.24rem; }
  .main-nav { display: none; }
  .hero-inner { padding: 48px 20px 44px; }
  h1 { font-size: clamp(2.45rem, 11vw, 3.38rem); letter-spacing: -.07em; }
  h2 { font-size: 2.15rem; }
  .hero-actions, .contact-actions { flex-direction: column; }
  .btn { width: 100%; min-height: 54px; }
  .hero-tags { margin-top: 22px; }
  .hero-visual { min-height: 365px; border-radius: 30px; padding: 22px; }
  .orbit-one { width: 190px; height: 190px; right: 30px; top: 64px; }
  .orbit-two { width: 102px; height: 102px; right: 78px; top: 110px; }
  .dot-green { right: 198px; top: 82px; }
  .dot-cyan { right: 118px; top: 174px; }
  .dot-white { right: 48px; top: 116px; }
  .metric { max-width: 268px; padding: 16px 18px; }
  .metric-main { margin-top: 142px; }
  .metric-mid { margin-top: 16px; margin-left: 0; }
  .metric-low { margin-top: 16px; margin-left: 0; }
  .visual-footer { display: none; }
  .proof-strip, .service-grid { grid-template-columns: 1fr; }
  .proof-strip { margin-top: 0; width: auto; margin-left: 20px; margin-right: 20px; }
  .section, .split-section, .contact-section { padding: 70px 20px; }
  .site-footer { flex-direction: column; padding: 30px 20px; }
  .legal { padding: 34px 20px 54px; }
}

@media (max-width: 420px) {
  .brand-mark { width: 42px; height: 42px; border-radius: 13px; }
  .brand-name { font-size: 1.18rem; }
  .kicker { font-size: .76rem; }
  .eyebrow { font-size: .72rem; }
  .hero-text { font-size: 1.04rem; }
}


/* V3.1 — intégration du logo final */
@media (max-width: 860px) {
  .brand-logo {
    width: 158px;
    max-height: 44px;
  }
  .site-header {
    min-height: 70px;
  }
}
@media (max-width: 520px) {
  .brand-logo {
    width: 146px;
  }
}


/* V4 — mise en avant plans AutoCAD / BIM et réduction des blancs desktop */
@media (min-width: 1121px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .service-card { padding: 26px; }
  .icon { margin-bottom: 22px; }
}
@media (min-width: 1280px) {
  .hero-inner { padding-top: 76px; padding-bottom: 66px; }
  .proof-strip { margin-top: -18px; }
  .sectors { padding-top: 78px; padding-bottom: 82px; }
}
@media (max-width: 1120px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .service-grid { grid-template-columns: 1fr; }
}


/* V5 logo officiel */
@media (max-width: 760px) {
  .brand-logo {
    width: clamp(150px, 46vw, 210px);
    max-height: 52px;
  }
}
@media (max-width: 430px) {
  .brand-logo {
    width: 168px;
    max-height: 48px;
  }
}
