@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --navy: #071d35;
  --navy-2: #0c2947;
  --cyan: #20a0c1;
  --cyan-dark: #087da0;
  --sand: #f2eee5;
  --paper: #fbfaf7;
  --ink: #102238;
  --muted: #65717d;
  --line: rgba(7, 29, 53, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 80px);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.brand {
  width: 116px;
  height: 64px;
  padding: 7px 12px;
  border-radius: 3px;
  background: #fff;
  overflow: hidden;
}
.brand img { width: 100%; height: 100%; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); font-size: 14px; }
.desktop-nav > a:not(.nav-cta) { position: relative; }
.desktop-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; height: 1px; left: 0; right: 100%; bottom: -7px;
  background: var(--cyan); transition: right .25s ease;
}
.desktop-nav > a:hover::after { right: 0; }
.nav-cta { border: 1px solid rgba(255,255,255,.6); padding: 13px 18px; }
.nav-cta:hover { background: #fff; color: var(--navy); }
.mobile-menu { display: none; }

.hero {
  min-height: 820px;
  height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(4,22,40,.96) 0%, rgba(4,22,40,.82) 33%, rgba(4,22,40,.22) 72%, rgba(4,22,40,.2) 100%),
    linear-gradient(0deg, rgba(4,22,40,.62), transparent 45%),
    url("images/hero-afrique.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.015);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(690px, 78vw);
  margin-left: clamp(24px, 9vw, 150px);
  padding-top: 70px;
}
.eyebrow {
  margin: 0 0 22px;
  color: var(--cyan-dark);
  font: 700 12px/1 "Manrope", sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow.light { color: #70d2e8; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -.045em;
}
h1 {
  max-width: 690px;
  margin-bottom: 28px;
  font-size: clamp(54px, 6.7vw, 100px);
  font-weight: 500;
  line-height: .98;
}
h1 em, .approach-title em { color: #67c9df; font-style: normal; }
.hero-copy {
  max-width: 565px;
  color: rgba(255,255,255,.78);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.65;
}
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 42px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--cyan); color: #fff; }
.button.primary:hover { background: #2eb4d5; }
.text-link { display: inline-flex; gap: 18px; align-items: center; font-weight: 700; font-size: 14px; }
.text-link span { color: var(--cyan); font-size: 18px; }
.light-link { color: #fff; }
.hero-note {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 5vw, 80px);
  bottom: 42px;
  max-width: 320px;
  padding-left: 20px;
  border-left: 2px solid var(--cyan);
}
.hero-note span { display: block; margin-bottom: 7px; color: rgba(255,255,255,.58); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.hero-note strong { font-size: 15px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(24px, 7vw, 120px);
}
.trust-strip p { margin: 0; padding: 27px 18px; border-right: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.trust-strip p:first-child { border-left: 1px solid var(--line); }
.trust-strip span { margin-right: 15px; color: var(--cyan-dark); font-size: 10px; }

.section { padding: clamp(80px, 10vw, 150px) clamp(24px, 8vw, 130px); }
.section-kicker {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 78px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.section-kicker span { color: var(--cyan-dark); font-weight: 700; }
.section-kicker p { margin: 0; color: var(--muted); }
.about-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(60px, 8vw, 140px); align-items: center; }
.about-copy h2, .section-heading h2, .domains-intro h2, .reference-copy h2 {
  margin-bottom: 30px;
  font-size: clamp(40px, 4.4vw, 67px);
  line-height: 1.08;
  font-weight: 500;
}
.about-copy .lead { color: var(--ink); font-size: 20px; line-height: 1.65; }
.about-copy > p:not(.eyebrow):not(.lead), .reference-copy > p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.8; }
.about-copy .text-link { margin-top: 26px; }
.about-visual { position: relative; margin: 0; }
.about-visual img { width: 100%; min-height: 570px; object-fit: cover; }
.about-visual figcaption {
  position: absolute;
  left: -48px;
  bottom: -38px;
  width: min(350px, 80%);
  padding: 26px 30px;
  background: var(--navy);
  color: #fff;
}
.about-visual figcaption strong { display: block; margin-bottom: 10px; font: 600 20px/1.35 "Manrope", sans-serif; }
.about-visual figcaption span { color: #71cfe3; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

.dark-section { background: var(--navy); color: #fff; }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 80px; align-items: end; margin-bottom: 76px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin: 0 0 8px; color: rgba(255,255,255,.62); line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.service-card {
  min-height: 300px;
  padding: 36px;
  border-right: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
  transition: background .25s ease, transform .25s ease;
}
.service-card:hover { background: var(--cyan-dark); transform: translateY(-4px); }
.service-card > span { display: block; margin-bottom: 70px; color: #69cadf; font-size: 11px; }
.service-card h3 { font: 600 24px/1.25 "Manrope", sans-serif; }
.service-card p { margin: 0; color: rgba(255,255,255,.62); line-height: 1.7; }
.service-card:hover p { color: rgba(255,255,255,.86); }

.domains { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(60px, 10vw, 170px); background: var(--sand); }
.domains-intro { position: sticky; top: 80px; align-self: start; }
.domains-intro h2 { font-size: clamp(42px, 4vw, 62px); }
.domain-list { border-top: 1px solid var(--line); }
.domain-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .2s ease, color .2s ease;
}
.domain-item:hover { padding-left: 12px; color: var(--cyan-dark); }
.domain-item span { color: var(--cyan-dark); font-size: 10px; padding-top: 4px; }
.domain-item strong { font: 500 clamp(18px, 1.8vw, 27px)/1.2 "Manrope", sans-serif; }

.approach { background: linear-gradient(135deg, var(--paper) 50%, #e4f0f2 50%); }
.approach-panel {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 10vw;
  padding: clamp(50px, 7vw, 100px);
  background: var(--navy-2);
  color: #fff;
}
.approach-title h2 { font-size: clamp(50px, 5vw, 76px); line-height: 1.02; font-weight: 500; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.steps li:first-child { padding-top: 0; }
.steps > li > span { color: #72cee1; font-size: 11px; }
.steps strong { display: block; margin-bottom: 7px; font: 600 23px/1.2 "Manrope", sans-serif; }
.steps p { margin: 0; color: rgba(255,255,255,.6); line-height: 1.6; }

.references { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.reference-copy > p { max-width: 600px; }
.reference-list { align-self: center; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.reference-list span {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font: 700 18px "Manrope", sans-serif;
}
.reference-list span:last-child { grid-column: 1 / -1; }

.contact { padding-top: 40px; }
.contact-card {
  padding: clamp(54px, 8vw, 110px);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 20% 10%, rgba(42,164,194,.3), transparent 35%),
    var(--navy);
}
.contact-card h2 { margin-bottom: 42px; font-size: clamp(46px, 5.5vw, 80px); line-height: 1.04; font-weight: 500; }
.button.white { background: #fff; color: var(--navy); }
.secondary-email { display: block; width: fit-content; margin: 20px auto 54px; color: #74cfe3; font-size: 13px; }
.contact-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.2);
  text-align: left;
}
.contact-meta > div { padding: 0 35px; }
.contact-meta > div + div { border-left: 1px solid rgba(255,255,255,.2); }
.contact-meta span { display: block; margin-bottom: 10px; color: #6fcde1; font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
.contact-meta a, .contact-meta p { margin: 0; color: rgba(255,255,255,.8); line-height: 1.7; font-size: 14px; }

footer {
  display: grid;
  grid-template-columns: .6fr 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 45px clamp(24px, 8vw, 130px);
  background: #fff;
  font-size: 12px;
  color: var(--muted);
}
.footer-brand { width: 100px; }
.legal { text-align: right; line-height: 1.7; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { cursor: pointer; list-style: none; border: 1px solid rgba(255,255,255,.5); padding: 10px 14px; font-size: 13px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav {
    position: absolute; top: 48px; right: 0; width: 220px;
    display: flex; flex-direction: column; padding: 18px; gap: 18px;
    background: #fff; color: var(--navy); box-shadow: 0 16px 45px rgba(0,0,0,.18);
  }
  .hero { min-height: 760px; }
  .hero-content { width: 82vw; margin-left: 9vw; }
  .hero-media {
    background-image:
      linear-gradient(90deg, rgba(4,22,40,.94), rgba(4,22,40,.55)),
      linear-gradient(0deg, rgba(4,22,40,.6), transparent),
      url("images/hero-afrique.png");
    background-position: 58% center;
  }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .about-grid, .section-heading, .domains, .approach-panel, .references { grid-template-columns: 1fr; }
  .domains-intro { position: static; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .section-heading { gap: 25px; }
  .about-grid { gap: 80px; }
  .about-visual figcaption { left: 25px; }
}

@media (max-width: 640px) {
  .site-header { height: 80px; }
  .brand { width: 93px; height: 55px; }
  .hero { min-height: 720px; }
  .hero-content { width: auto; margin: 0; padding: 75px 24px 150px; align-self: center; }
  h1 { font-size: clamp(46px, 14vw, 66px); }
  .hero-copy { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; margin-top: 32px; }
  .hero-note { left: 24px; right: 24px; bottom: 28px; }
  .trust-strip { grid-template-columns: 1fr; padding: 0 24px; }
  .trust-strip p { border-left: 1px solid var(--line); }
  .section { padding: 75px 24px; }
  .section-kicker { flex-direction: column; margin-bottom: 55px; }
  .about-copy h2, .section-heading h2, .domains-intro h2, .reference-copy h2 { font-size: 39px; }
  .about-visual img { min-height: 430px; }
  .about-visual figcaption { position: relative; left: 0; bottom: 0; width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 245px; }
  .service-card > span { margin-bottom: 45px; }
  .approach { padding-left: 0; padding-right: 0; }
  .approach-panel { padding: 65px 24px; }
  .reference-list { grid-template-columns: 1fr; }
  .reference-list span:last-child { grid-column: auto; }
  .contact { padding-left: 0; padding-right: 0; padding-bottom: 0; }
  .contact-card { padding: 70px 24px; }
  .button.white { font-size: 12px; }
  .contact-meta { grid-template-columns: 1fr; gap: 28px; }
  .contact-meta > div { padding: 0; text-align: center; }
  .contact-meta > div + div { border-left: 0; }
  footer { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .footer-brand { margin: 0 auto; }
  .legal { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
