:root {
  --accent-dark: #0c447c;
  --accent: #185fa5;
  --accent-light: #378add;
  --text: #2c2c2a;
  --text-secondary: #5f5e5a;
  --border: #e2e2df;
  --surface: #f7f8fa;
  --white: #ffffff;
  --radius: 10px;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 50;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-dark);
  display: flex;
  align-items: center;
}
.logo span { color: var(--accent-light); }
.logo-img {
  height: 44px;
  width: auto;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}
nav.main-nav a.active,
nav.main-nav a:hover {
  color: var(--accent-dark);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--accent-dark);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #eef4fb 0%, var(--surface) 100%);
  padding: 88px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55,138,221,0.16) 0%, rgba(55,138,221,0) 70%);
  z-index: 0;
}
.hero::before { width: 480px; height: 480px; top: -220px; right: -140px; }
.hero::after { width: 360px; height: 360px; bottom: -200px; left: -120px; }
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: 38px;
  color: var(--accent-dark);
  margin: 0 auto 16px;
  letter-spacing: -0.5px;
  max-width: 760px;
  overflow-wrap: break-word;
}
.hero p.lead {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 28px;
}

/* Hero avec photo de fond (remplace les cercles décoratifs par un survol foncé) */
.hero-photo {
  background-size: cover;
  background-position: center;
  padding: 110px 0 100px;
}
.hero-photo::after { display: none; }
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,26,48,0.82) 0%, rgba(4,26,48,0.78) 60%, rgba(4,26,48,0.9) 100%);
  border-radius: 0;
  width: auto;
  height: auto;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}
.hero-photo.bg-lights { background-image: url('/assets/img/hero-bg-lights.jpg'); }
.hero-photo.bg-network { background-image: url('/assets/img/hero-bg-network.jpg'); }
.hero-photo h1 { color: #ffffff; }
.hero-photo p.lead { color: #dbe7f2; }
.hero-photo .btn { background: var(--accent-light); }
.hero-photo .btn:hover { background: #4a9ae8; }

.btn {
  display: inline-block;
  background: var(--accent-dark);
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(12,68,124,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover {
  background: var(--accent);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(12,68,124,0.3);
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--accent-dark);
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid var(--accent-dark);
}
.btn-outline:hover { background: var(--surface); text-decoration: none; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--surface); }

h2.section-title {
  font-size: 28px;
  color: var(--accent-dark);
  margin: 0 0 8px;
  text-align: center;
}
p.section-sub {
  text-align: center;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(12,68,124,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(12,68,124,0.12);
  border-color: var(--accent-light);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #e6f1fb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent-dark);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 {
  color: var(--accent-dark);
  margin: 0 0 10px;
  font-size: 18px;
}
.card p { color: var(--text-secondary); margin: 0; font-size: 15px; }

ul.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
ul.checklist li {
  padding-left: 34px;
  position: relative;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 16px;
}
ul.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e6f1fb;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Partner logos */
.partners-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 32px;
}
.partners-strip img {
  height: 64px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* Case study box */
.case-study {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-light);
  border-radius: 10px;
  padding: 32px;
  margin-top: 24px;
  box-shadow: 0 4px 18px rgba(12,68,124,0.08);
}
.case-study h3 { color: var(--accent-dark); margin-top: 0; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { color: var(--accent-dark); }
.contact-info p { color: var(--text-secondary); }

form.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin: 16px 0 6px;
}
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
}
form.contact-form textarea { min-height: 110px; resize: vertical; }
form.contact-form button { margin-top: 24px; }

.form-message {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 15px;
}
.form-message.success { background: #eaf3de; color: #27500a; }
.form-message.error { background: #fcebeb; color: #791f1f; }

/* Footer */
footer.site-footer {
  background: var(--accent-dark);
  color: #d6e3f0;
  padding: 40px 0 24px;
  margin-top: 64px;
}
footer.site-footer a { color: #ffffff; }
footer.site-footer .foot-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
footer.site-footer p { margin: 4px 0; font-size: 14px; }
footer.site-footer .foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 13px;
  color: #a9c0d8;
  text-align: center;
}

@media (max-width: 760px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }
  .nav-toggle { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
}