@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400&family=Barlow+Condensed:wght@600;700;800;900&display=swap');

:root {
  --marine:   #2D3A52;
  --marine-l: #3D4F6E;
  --marine-xl:#4D6384;
  --gris-f:   #333A47;
  --gris-m:   #555F70;
  --gris-c:   #8A94A6;
  --fond:     #F5F7FA;
  --blanc:    #FFFFFF;
  --bord:     #CDD4E0;
  --bord-l:   #E4E8EF;
  --shadow:   0 2px 16px rgba(45,58,82,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--fond);
  color: var(--gris-f);
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

/* ── NAV ── */
nav {
  background: var(--blanc);
  border-bottom: 1px solid var(--bord);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(45,58,82,0.07);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.nav-logo img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--gris-m);
  padding: 6px 14px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--marine);
  background: var(--fond);
}

.nav-cta {
  background: var(--marine) !important;
  color: #fff !important;
  border-radius: 4px;
  padding: 8px 18px !important;
  font-weight: 700 !important;
  transition: background 0.15s !important;
}

.nav-cta:hover { background: var(--marine-l) !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--marine);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── FOOTER ── */
footer {
  background: var(--marine);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  padding: 40px 24px 24px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 20px;
}

.footer-brand img { height: 32px; filter: brightness(0) invert(1); margin-bottom: 12px; }

.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.65); }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: #fff; }

/* ── UTILITAIRES ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.section { padding: 72px 0; }

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--marine-xl);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--marine);
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--gris-m);
  max-width: 560px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--marine); color: #fff; }
.btn-primary:hover { background: var(--marine-l); }
.btn-outline { background: transparent; color: var(--marine); border: 2px solid var(--marine); }
.btn-outline:hover { background: var(--marine); color: #fff; }
.btn-white { background: #fff; color: var(--marine); }
.btn-white:hover { background: var(--fond); }

.card {
  background: var(--blanc);
  border: 1px solid var(--bord);
  border-radius: 6px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.badge-marine {
  display: inline-block;
  background: var(--marine);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 2px;
  text-transform: uppercase;
}

.badge-outline {
  display: inline-block;
  background: transparent;
  color: var(--marine);
  border: 1px solid var(--marine);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 2px;
  text-transform: uppercase;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--blanc); border-bottom: 1px solid var(--bord); padding: 16px 24px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 28px; }
}
