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

:root {
  --yellow: #f0b429;
  --yellow-light: #fbeab3;
  --blue: #2e7bf5;
  --blue-light: #e7f0fd;
  --green: #2fa876;
  --green-light: #e4f6ee;
  --navy: #12123b;
  --navy-soft: #1c1c4d;
  --ink: #2b2b38;
  --muted: #6b6b7d;
  --white: #ffffff;
  --line: #e7e7ee;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(18, 18, 59, 0.06);
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

section[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  width: 100%;
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3, .display {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

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

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

/* Header / Nav */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.logo span { color: var(--yellow); }
.logo img { display: block; }

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

nav.main-nav a {
  display: inline-block;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #a9a9c2;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

nav.main-nav a:hover { color: var(--white); }

nav.main-nav a.active {
  color: var(--white);
  border-bottom-color: var(--yellow);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--white);
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
  padding: 88px 0 72px;
}

.hero .container {
  display: grid;
  gap: 24px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  width: fit-content;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  color: var(--white);
  max-width: 14ch;
}

.hero .subtitle {
  font-weight: 500;
  color: #c7c7dd;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.verse-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 22px 26px;
  max-width: 620px;
  justify-self: start;
}

.hero .btn { justify-self: start; margin-top: 4px; }

.verse-card .ref {
  font-weight: 700;
  color: var(--yellow);
  font-size: 0.85rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.verse-card p {
  margin: 0;
  color: var(--white);
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: #f8f8fb; }

.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 0.35em; }
.section-head .lead { color: var(--muted); max-width: 700px; font-size: 1.02rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid transparent;
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.tag-green { border-top-color: var(--green); }
.tag-blue { border-top-color: var(--blue); }
.tag-yellow { border-top-color: var(--yellow); }

.panel-lead { color: var(--navy); font-size: 1.08rem; }

.lead-list { padding-left: 20px; max-width: 700px; color: var(--muted); }

.subnote { font-style: italic; color: var(--muted); margin-top: -8px; }

.no-mb { margin-bottom: 0; }
.mt-24 { margin-top: 24px; }
.text-center { text-align: center; }
.text-center .panel-lead { max-width: 560px; margin-left: auto; margin-right: auto; }

.card ul { margin: 0; padding-left: 20px; color: var(--ink); }
.card li { margin-bottom: 6px; }

/* Panel (vision / mission / impact / cta) */
.panel {
  border-radius: var(--radius);
  padding: 32px;
}

.panel.yellow {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
}

.panel.white-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
}

.panel.navy { background: var(--navy); }
.panel.navy p { color: #d6d6e6; }

.stack { display: grid; gap: 20px; }

.pill {
  display: inline-block;
  color: var(--green);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

blockquote.quote {
  border-left: 3px solid var(--yellow);
  padding: 6px 20px;
  margin: 0 0 22px;
}

blockquote.quote p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0;
}

blockquote.quote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Story / testimony section */
.story {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}

.story h2 { color: var(--navy); }
.story p { color: var(--ink); }

.story-photo {
  float: right;
  width: 260px;
  max-width: 42%;
  margin: 0 0 24px 28px;
}

.story-photo img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.story-photo figcaption {
  margin-top: 10px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .story-photo { float: none; width: 100%; max-width: 100%; margin: 0 0 24px; }
  .story { padding: 26px; }
}

/* Zones / pill panel (also used for partners list) */
.zones {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 32px;
}

.zones h3 { color: var(--navy); margin-bottom: 12px; }

.zones ul {
  list-style: none;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.zones li {
  background: var(--white);
  border: 1px solid rgba(46, 123, 245, 0.25);
  color: var(--navy);
  padding: 7px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
}

/* Challenge chips (raison d'être) */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.challenges-grid div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy);
}

@media (max-width: 860px) {
  .challenges-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .challenges-grid { grid-template-columns: 1fr; }
}

/* Axes d'intervention */
.axis-item {
  display: flex;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.axis-item:first-child { padding-top: 0; }
.axis-item:last-child { border-bottom: none; padding-bottom: 0; }

.axis-num {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  background: var(--yellow-light);
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.axis-body h3 { font-size: 1.1rem; margin-bottom: 4px; }
.axis-body .intro { color: var(--muted); font-style: italic; margin-bottom: 8px; }
.axis-body ul { margin: 0; padding-left: 20px; color: var(--ink); }
.axis-body li { margin-bottom: 4px; }

@media (max-width: 600px) {
  .axis-item { flex-direction: column; gap: 10px; }
}

/* Devise banner */
.devise-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 60px 24px;
  border-radius: var(--radius);
}

.devise-banner p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  margin: 0;
  line-height: 1.5;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.btn:hover { background: var(--blue); }

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
}

.btn-primary:hover { background: #e0a41f; }

nav.main-nav a.btn-nav {
  background: var(--yellow);
  color: var(--navy);
  padding: 9px 20px;
  font-size: 0.82rem;
  text-transform: none;
  letter-spacing: normal;
  border-bottom: none;
}

nav.main-nav a.btn-nav:hover { background: #e0a41f; color: var(--navy); }

.nav-cta { margin-left: 10px; display: flex; align-items: center; }

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

@media (max-width: 920px) {
  .nav-cta { margin-left: 0; margin-top: 10px; }
}

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 36px 0;
  margin-top: 40px;
}

footer.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

footer.site-footer .foot-brand {
  font-weight: 700;
}

footer.site-footer a:hover { color: var(--yellow); }

footer.site-footer small { color: #9a9ab8; }

@media (max-width: 920px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    display: none;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; padding: 12px 24px 20px; }
  .nav-toggle { display: block; }
}

/* Small-screen spacing adjustments */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .nav-bar { padding: 14px 18px; }
  .hero { padding: 56px 0 44px; }
  .section { padding: 48px 0; }
  .panel { padding: 24px; }
  .devise-banner { padding: 40px 20px; }
  .card { padding: 20px; }
}
