:root {
  --navy: #0b2b46;
  --navy-soft: #0d3c64;
  --navy-line: rgba(11, 43, 70, 0.14);
  --ink: #1d2b36;
  --muted: #5b6b78;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(11, 43, 70, 0.10);
  --wrap: 1220px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 16px/1.65 "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

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

a { color: var(--navy-soft); }

h1, h2, h3 { line-height: 1.25; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(1.8rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.06rem; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--navy-line);
}

.header-inner { display: flex; align-items: center; gap: 16px; min-height: 74px; }

.brand {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--navy);
  position: relative; z-index: 60;
}

.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; flex: 0 0 42px;
  background: var(--navy); color: #fff;
  border-radius: 8px;
  font-weight: 700; letter-spacing: .04em;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.12rem; }
.brand-text small { color: var(--muted); font-size: .74rem; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 40px; padding: 0;
  background: none; border: 1px solid var(--navy-line); border-radius: 8px;
  cursor: pointer; position: relative; z-index: 60;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute; left: 12px; width: 20px; height: 2px;
  background: var(--navy); content: "";
}
.nav-toggle-bars { top: 19px; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }

.primary-nav a {
  display: block; padding: 9px 12px;
  color: var(--ink); text-decoration: none;
  font-size: .93rem; border-radius: 6px;
}
.primary-nav a:hover { background: var(--bg-alt); color: var(--navy); }

.nav-cta {
  background: var(--navy); color: #fff !important;
  margin-left: 6px;
}
.nav-cta:hover { background: var(--navy-soft) !important; }

/* ---------- hero ---------- */

.hero { position: relative; background: var(--navy); overflow: hidden; }

.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 70%;
  opacity: .32;
}

.hero-inner {
  position: relative;
  padding: clamp(64px, 11vw, 132px) 20px;
  text-align: center;
  color: #fff;
  max-width: 940px;
}

.hero-eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .76rem; color: rgba(255, 255, 255, .75);
}

.hero h1 { color: #fff; margin-bottom: .5em; }

.hero-lead {
  margin: 0 auto 30px;
  max-width: 720px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, .9);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: .92rem; font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary { background: #fff; color: var(--navy); }
.btn-primary:hover { background: #e7eef5; }

.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

#lien-he .btn-primary { background: var(--navy); color: #fff; }
#lien-he .btn-primary:hover { background: var(--navy-soft); }

/* ---------- sections ---------- */

.section { padding: clamp(52px, 7vw, 84px) 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 760px; margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.03rem; }

.prose { max-width: 880px; margin: 0 auto 34px; }
.prose p { margin: 0 0 1em; color: #33434f; }

/* ---------- service cards ---------- */

.cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  display: flex; flex-direction: column;
  min-width: 0;
  padding: 32px 26px;
  background: #fff;
  border-top: 5px solid var(--navy-soft);
  border-bottom: 5px solid var(--navy-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.card p { color: var(--muted); margin: 0 0 22px; flex: 1; }

.card-invert { background: var(--navy-soft); border-color: #fff; }
.card-invert h3, .card-invert p { color: #fff; }
.card-invert p { color: rgba(255, 255, 255, .84); }

.card-link {
  align-self: center;
  padding: 10px 22px;
  background: var(--navy); color: #fff;
  border-radius: 6px; text-decoration: none;
  font-size: .86rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
}
.card-link:hover { background: var(--navy-soft); }
.card-invert .card-link { background: #fff; color: var(--navy); }
.card-invert .card-link:hover { background: #e7eef5; }

/* ---------- accordion ---------- */

.accordion { max-width: 880px; margin: 0 auto; }

.accordion details {
  background: #fff;
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion summary {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::after {
  content: ""; margin-left: auto; flex: 0 0 9px;
  width: 9px; height: 9px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: rotate(45deg) translateY(-2px);
}
.accordion details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }

.accordion summary h3 { margin: 0; }
.accordion summary:hover h3 { color: var(--navy-soft); }

.details-body { padding: 0 20px 20px; border-top: 1px solid var(--navy-line); }
.details-body p { margin: 16px 0; color: #33434f; }
.details-body ul { margin: 0; padding-left: 20px; }
.details-body li { margin-bottom: 8px; color: #33434f; }

/* ---------- about ---------- */

.about { display: grid; gap: 34px; grid-template-columns: 1.15fr 1fr; align-items: start; }
.about .prose { margin: 0; }
.about-culture { border-left: 3px solid var(--navy-soft); padding-left: 16px; }

.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }

.values li {
  min-width: 0;
  padding: 22px 24px;
  background: #fff;
  border-left: 5px solid var(--navy-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.values p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- contacts ---------- */

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0 0 44px; }

.offices { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.office {
  min-width: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.office img { width: 100%; height: 190px; object-fit: cover; }
.office-body { padding: 20px 22px 24px; }
.office h3 { margin-bottom: .2em; }

.office-role {
  margin: 0 0 10px;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--navy-soft);
}

.office address { font-style: normal; color: var(--muted); font-size: .96rem; }

/* ---------- footer ---------- */

.site-footer { background: var(--navy); color: rgba(255, 255, 255, .8); padding: 54px 0 0; }

.footer-inner { display: grid; gap: 30px; grid-template-columns: 1.4fr 1fr 1fr; }

.footer-brand { display: grid; gap: 14px; }
.footer-brand .brand-mark { background: #fff; color: var(--navy); }
.footer-brand p { margin: 0; font-size: .95rem; }

.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-nav a, .footer-contact a { color: #fff; text-decoration: none; font-size: .95rem; }
.footer-nav a:hover, .footer-contact a:hover { text-decoration: underline; }

.footer-contact p { margin: 0 0 8px; font-size: .95rem; }

.copyright {
  margin: 44px 0 0;
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  text-align: center;
  font-size: .85rem;
  color: rgba(255, 255, 255, .62);
}

/* ---------- mobile ---------- */

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none;
    background: #fff;
    border-bottom: 1px solid var(--navy-line);
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: block; }

  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 12px 16px; }
  .primary-nav a { padding: 13px 12px; border-radius: 6px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }

  .footer-inner { grid-template-columns: 1fr; }
  .office img { height: 170px; }
}
