:root {
  --blue: #57939b;
  --blue-dark: #2f6f78;
  --black: #111214;
  --text: #202226;
  --muted: #6d7478;
  --line: #e7eef0;
  --soft: #f5fafb;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(26, 56, 61, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.background-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(87, 147, 155, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 147, 155, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(231, 238, 240, 0.9);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: auto;
  height: 38px;
  max-width: 140px;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
}

.menu a {
  color: #333;
  transition: color 0.2s ease;
}

.menu a:hover {
  color: var(--blue-dark);
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--black);
  color: white;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

/* HERO */

.hero {
  padding: 90px 0 84px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 70px;
}

.hero-text {
  max-width: 760px;
}

.label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(87, 147, 155, 0.28);
  border-radius: 999px;
  background: rgba(87, 147, 155, 0.09);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

h1 {
  max-width: 760px;
  color: #111;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

h2 {
  color: #111;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.intro,
.section-title p,
.method-layout>div>p,
.zone-card p,
.contact-layout>div>p {
  max-width: 650px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.primary {
  background: var(--black);
  color: white;
}

.ghost {
  border: 1px solid var(--line);
  background: white;
}

.ghost:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

/* HERO VISUAL */

.hero-visual {
  position: relative;
  min-height: 520px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.orb-one {
  width: 290px;
  height: 290px;
  right: 8%;
  top: 4%;
  background: rgba(87, 147, 155, 0.22);
}

.orb-two {
  width: 190px;
  height: 190px;
  left: 5%;
  bottom: 8%;
  background: rgba(87, 147, 155, 0.14);
}

.glass-card,
.floating-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.main-card {
  top: 68px;
  left: 50%;
  width: min(390px, 90%);
  padding: 34px;
  border-radius: 34px;
  transform: translateX(-50%);
}

.main-card img {
  width: 100%;
  max-height: 230px;
  object-fit: contain;
}

.main-card p {
  margin-top: 24px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.floating-card {
  min-width: 215px;
  padding: 20px;
  border-radius: 24px;
}

.floating-card strong {
  display: block;
  color: #111;
  font-size: 18px;
}

.floating-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.card-a {
  top: 40px;
  left: 0;
}

.card-b {
  right: 0;
  top: 300px;
}

.card-c {
  left: 34px;
  bottom: 20px;
}

/* STATS */

.stats {
  padding: 24px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: white;
  box-shadow: 0 14px 50px rgba(26, 56, 61, 0.06);
}

.stats-grid div {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.stats-grid div:last-child {
  border-right: 0;
}

.stats-grid strong {
  display: block;
  color: var(--blue-dark);
  font-size: 26px;
}

.stats-grid span {
  color: var(--muted);
  font-weight: 800;
}

/* SECTIONS */

.section {
  padding: 100px 0;
}

.section-title {
  max-width: 820px;
  margin-bottom: 46px;
}

.section-title.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title.center .label,
.zone-card .label {
  margin-left: auto;
  margin-right: auto;
}

.section-title.center p,
.zone-card p {
  margin-left: auto;
  margin-right: auto;
}

/* SERVICES */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: white;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-7px);
  border-color: rgba(87, 147, 155, 0.45);
  box-shadow: var(--shadow);
}

.number {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 32px;
  border-radius: 18px;
  background: rgba(87, 147, 155, 0.12);
  color: var(--blue-dark);
  font-weight: 900;
}

.card h3 {
  margin-bottom: 14px;
  color: #111;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

/* MÉTHODE */

.method {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-layout {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 70px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline div {
  position: relative;
  padding: 24px 24px 24px 72px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
}

.timeline span {
  position: absolute;
  left: 24px;
  top: 30px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 9px rgba(87, 147, 155, 0.12);
}

.timeline strong {
  display: block;
  color: #111;
  font-size: 20px;
}

.timeline p {
  margin-top: 5px;
  color: var(--muted);
}

/* PARTENAIRES */

.partners {
  background: white;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.partner-logo {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.partner-logo:hover {
  transform: translateY(-5px);
  border-color: rgba(87, 147, 155, 0.45);
  box-shadow: var(--shadow);
}

.partner-logo img {
  width: auto;
  max-width: 140px;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.78;
  transition: 0.25s ease;
}

.partner-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.04);
}

/* ZONE */

.zone {
  padding: 0 0 100px;
}

.zone-card {
  padding: 70px 28px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background:
    linear-gradient(135deg, rgba(87, 147, 155, 0.16), transparent),
    #f8fbfc;
  text-align: center;
}

/* CONTACT */

.contact {
  padding: 100px 0;
  background:
    radial-gradient(circle at top right, rgba(87, 147, 155, 0.34), transparent 32%),
    #101214;
  color: white;
}

.contact h2 {
  color: white;
}

.contact .label {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 60px;
  align-items: center;
}

.contact-box {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-box a,
.contact-box span {
  display: block;
  padding: 19px;
  border-radius: 20px;
  background: white;
  color: #111;
  font-size: 18px;
  font-weight: 900;
  word-break: break-word;
}

/* FOOTER */

footer {
  padding: 34px 0;
  background: #0b0c0d;
  color: #9da3a6;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer img {
  width: auto;
  height: 42px;
  max-width: 130px;
  object-fit: contain;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .menu {
    display: none;
  }

  .hero-layout,
  .method-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 480px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid div:nth-child(2) {
    border-right: 0;
  }

  .stats-grid div {
    border-bottom: 1px solid var(--line);
  }

  .stats-grid div:nth-child(3),
  .stats-grid div:nth-child(4) {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    height: 66px;
  }

  .header-button {
    display: none;
  }

  .logo img {
    height: 34px;
    max-width: 120px;
  }

  .hero {
    padding: 54px 0 64px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .intro,
  .section-title p,
  .method-layout>div>p,
  .zone-card p,
  .contact-layout>div>p {
    font-size: 16px;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 420px;
  }

  .main-card {
    top: 56px;
    padding: 24px;
  }

  .floating-card {
    min-width: 180px;
    padding: 16px;
  }

  .card-a {
    top: 5px;
  }

  .card-b {
    top: 276px;
  }

  .card-c {
    left: 0;
    bottom: 0;
  }

  .stats-grid,
  .cards,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid div,
  .stats-grid div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats-grid div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 0;
  }

  .zone {
    padding-bottom: 72px;
  }

  .contact {
    padding: 72px 0;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}