:root {
  --navy: #16283f;
  --navy-deep: #0d1b2b;
  --navy-mid: #24476e;
  --accent: #78062B;
  --accent-light: #9c1f42;
  --grey-bg: #f6f8fa;
  --text: #33404e;
  --text-light: #6b7686;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Source Sans Pro', Arial, sans-serif; color: var(--text); line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: 'Poppins', 'Source Sans Pro', Arial, sans-serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Header */
header { background: #fff; box-shadow: 0 2px 12px rgba(15,25,40,.08); position: sticky; top: 0; z-index: 100; }
.top-bar { background: var(--grey-bg); padding: 6px 0; }
.top-bar .container { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.top-bar a { color: var(--accent); font-size: 13px; font-weight: 700; }
.top-bar a:hover { color: var(--navy); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo img { height: 46px; }
nav ul { list-style: none; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
nav a { font-weight: 600; font-size: 14px; letter-spacing: .2px; color: var(--navy); position: relative; padding: 4px 0; transition: color .2s; }
nav a:not(.btn-contact)::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; background: var(--accent); transition: width .25s;
}
nav a:not(.btn-contact):hover { color: var(--accent); }
nav a:not(.btn-contact):hover::after { width: 100%; }
.btn-contact { border: 1.5px solid var(--navy); padding: 9px 18px; border-radius: 3px; transition: all .2s; }
.btn-contact:hover { background: var(--navy); color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(rgba(13,27,43,.55), rgba(13,27,43,.55)), url("images/hero-bg.jpg") center/cover no-repeat;
  padding: 90px 0 80px; text-align: center; color: #fff;
}
.hero h1 { font-size: 40px; font-weight: 700; margin-bottom: 10px; font-family: 'Poppins', sans-serif; }
.hero p.tagline { font-size: 14px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 34px; opacity: .92; }
.hero .video-wrap { max-width: 540px; margin: 0 auto 34px; border-radius: 4px; overflow: hidden; box-shadow: 0 14px 40px rgba(0,0,0,.4); }
.hero .video-wrap iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }
.hero .btn-cta { display: inline-block; background: var(--accent); color: #fff; padding: 14px 28px; border-radius: 3px; font-weight: 700; font-size: 14px; letter-spacing: .2px; box-shadow: 0 6px 18px rgba(154,47,47,.35); transition: all .25s; }
.hero .btn-cta:hover { background: var(--accent-light); transform: translateY(-2px); }

section { padding: 90px 0; }
.eyebrow { text-align: center; text-transform: uppercase; letter-spacing: 2.5px; font-size: 12px; color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.section-title { text-align: center; font-size: 28px; color: var(--navy); margin-bottom: 16px; font-weight: 600; }
.divider { width: 56px; height: 3px; background: var(--accent); margin: 0 auto 46px; border-radius: 2px; }
.grey { background: var(--grey-bg); }

/* Qui sommes-nous */
#about .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
#about .about-col p { margin-bottom: 14px; font-size: 15.5px; }
#about .about-col.highlight { background: var(--grey-bg); border-radius: 6px; padding: 28px 30px; }
#about .about-col.highlight p { font-size: 15px; color: var(--text); }
#about .charte-link { text-align: center; margin-top: 34px; }
#about .charte-link a {
  display: inline-block; background: var(--accent); color: #fff; padding: 12px 26px; border-radius: 3px;
  font-weight: 700; font-size: 13.5px; letter-spacing: .3px; transition: background .2s;
}
#about .charte-link a:hover { background: var(--accent-light); }

/* Missions grid */
.missions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.mission-card { background: #fff; border-radius: 8px; padding: 30px 24px; box-shadow: 0 4px 20px rgba(22,40,63,.07); transition: transform .25s, box-shadow .25s; }
.mission-card:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgba(22,40,63,.13); }
.mission-card h3 { color: var(--navy); font-size: 16.5px; margin-bottom: 12px; letter-spacing: .3px; }
.mission-card p { font-size: 14px; color: var(--text-light); }
.mission-badge { text-align: center; margin-top: 36px; }
.mission-badge a { display: inline-block; background: var(--accent); color: #fff; padding: 10px 22px; border-radius: 20px; font-size: 13px; font-weight: 700; }

/* Activites */
.activites-list { display: flex; flex-direction: column; gap: 0; max-width: 900px; margin: 0 auto; }
.activite-item { display: flex; align-items: center; gap: 34px; padding: 30px 0; border-bottom: 1px solid #e3e8ee; }
.activite-item:last-child { border-bottom: none; }
.activite-item .logo-box { flex: 0 0 170px; display: flex; align-items: center; justify-content: center; }
.activite-item .logo-box img { width: 100%; }
.activite-item .text p { font-size: 15px; color: var(--text); }

/* CTA banner */
.cta { background: linear-gradient(120deg, var(--navy-deep), var(--accent)); position: relative; padding: 90px 0; text-align: center; }
.cta h2 { color: #fff; font-size: 24px; font-weight: 500; margin-bottom: 26px; }
.cta a.btn-cta { display: inline-block; background: #fff; color: var(--navy-deep); padding: 14px 32px; border-radius: 3px; font-weight: 700; font-size: 14px; letter-spacing: .3px; transition: transform .2s; }
.cta a.btn-cta:hover { transform: translateY(-3px); }

/* Simple content pages */
.page-header { background: var(--navy-deep); color: #fff; padding: 60px 0 50px; text-align: center; }
.page-header h1 { font-size: 26px; font-weight: 600; }
.content-block { max-width: 820px; margin: 0 auto; }
.content-block h2 { color: var(--navy); font-size: 19px; margin: 34px 0 12px; }
.content-block h2:first-child { margin-top: 0; }
.content-block p { margin-bottom: 8px; font-size: 15px; }

/* Forms */
form.simple-form { max-width: 700px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form.simple-form .full { grid-column: 1 / -1; }
form.simple-form label { display: block; font-size: 13px; color: var(--text-light); margin-bottom: 6px; font-weight: 600; }
form.simple-form input, form.simple-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d7dee6; border-radius: 5px; font-family: inherit; font-size: 14.5px; background: #fff; color: var(--text);
}
form.simple-form input:focus, form.simple-form textarea:focus { outline: 2px solid var(--accent-light); }
form.simple-form textarea { min-height: 130px; resize: vertical; }
form.simple-form .filesize-note { font-size: 12px; color: var(--text-light); margin-top: 4px; }
form.simple-form button {
  background: var(--accent); color: #fff; border: none; padding: 14px 24px; border-radius: 5px; cursor: pointer;
  font-size: 15px; font-weight: 700; letter-spacing: .3px; transition: background .2s, transform .2s;
}
form.simple-form button:hover { background: var(--accent-light); transform: translateY(-2px); }

/* Footer */
footer { background: var(--navy-deep); color: #8b9bad; padding: 26px 0; font-size: 12.5px; line-height: 1.7; }
footer .related-links { display: inline; }
footer .related-links a { color: #dfe6ec; margin: 0 4px; }
footer .related-links a:hover { color: #fff; }
.copyright { color: #8b9bad; }
.copyright a { color: #93a4b8; }
.copyright a:hover { color: #fff; }

@media (max-width: 900px) {
  .missions-grid { grid-template-columns: 1fr 1fr; }
  form.simple-form { grid-template-columns: 1fr; }
  #about .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav ul { display: none; }
  .hero h1 { font-size: 24px; }
  section { padding: 56px 0; }
  .missions-grid { grid-template-columns: 1fr; }
  .activite-item { flex-direction: column; text-align: center; gap: 16px; }
  .activite-item .logo-box { flex: 0 0 auto; width: 150px; }
}
