:root {
  --navy-dark: #12253f;
  --navy: #1c3b63;
  --navy-stripe: #16304f;
  --navy-line: #26385a;
  --navy-card: #1c3b63;
  --navy-avatar: #2a4d7a;
  --maroon: #8a1f2e;
  --maroon-light: #f0c6cc;
  --green: #1f7a4d;
  --green-light: #8fd1a8;
  --bg: #faf7f2;
  --bg-alt: #eef4ef;
  --bg-card-alt: #eef0ec;
  --border: #e2ddd0;
  --border-light: #d9e0da;
  --text: #1f2421;
  --text-body: #3d4744;
  --text-muted: #5c6b64;
  --text-faint: #8a939a;
  --text-onlight-muted: #9aa39d;
  --text-ondark: #a9b6c9;
  --text-ondark-strong: #cfd9e8;
  --text-ondark-faint: #7e8ea8;
  --dashed: #c9cfd6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--maroon); }
input, textarea, button { font-family: 'Poppins', sans-serif; }
button { cursor: pointer; }
img { max-width: 100%; }
.link-btn, .readmore { transition: color .2s ease; display: inline-block; }
.link-btn:hover, .news-item:hover .readmore, .news-timeline-card:hover .readmore { color: var(--maroon); }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.header-top { max-width: 1240px; margin: 0 auto; padding: 16px 32px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; background: none; border: none; padding: 0; text-align: left; }
.brand img { height: 56px; width: auto; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 20px; color: var(--maroon); letter-spacing: 0.3px; }
.brand-sub { font-size: 12px; color: var(--navy); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang-switch button { border: none; padding: 8px 16px; font-size: 12px; font-weight: 700; background: #fff; color: var(--text-muted); }
.lang-switch button.active { background: var(--navy); color: #fff; }
.cta-partner { background: var(--maroon); color: #fff; border: none; padding: 11px 22px; border-radius: 6px; font-size: 14px; font-weight: 600; transition: background-color .2s ease, box-shadow .2s ease; }
.cta-partner:hover { background: #6e1824; box-shadow: 0 6px 16px rgba(138,31,46,0.25); }
.main-nav { max-width: 1240px; margin: 0 auto; padding: 10px 32px 12px; display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav button { position: relative; background: none; border: none; padding: 8px 14px 10px; font-size: 14px; font-weight: 500; color: var(--text-body); transition: color .2s ease; }
.main-nav button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--maroon); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.main-nav button.active { font-weight: 700; color: var(--maroon); }
.main-nav button.active::after { transform: scaleX(1); }
.main-nav button:hover:not(.active) { color: var(--maroon); }
.main-nav button:hover::after { transform: scaleX(1); }
.lang-switch button { transition: background-color .2s ease, color .2s ease; }
.lang-switch button:hover:not(.active) { background: var(--bg-alt); }

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 6px; }
.nav-caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; margin-top: -3px; }
.nav-dropdown.is-open .nav-caret, .nav-dropdown:hover .nav-caret { transform: rotate(225deg); margin-top: 3px; }
.nav-dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 200px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 14px 32px rgba(18,37,63,0.14); padding: 6px; margin-top: 4px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; z-index: 60; }
.nav-dropdown.is-open .nav-dropdown-menu, .nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--text-body); }
.nav-dropdown-menu button::after { content: none; }
.nav-dropdown-menu button:hover, .nav-dropdown-menu button.active { background: var(--bg-alt); color: var(--maroon); }
.nav-dropdown-menu button.active { font-weight: 700; }

/* Menu mobile : bouton « hamburger » et panneau deroulant sous 900 px */
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 10px; background: #fff; align-items: center; justify-content: center; flex-shrink: 0; }
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { display: block; width: 22px; height: 2px; background: var(--navy-dark); border-radius: 2px; transition: transform .25s ease, background-color .25s ease; }
.menu-toggle-bars { position: relative; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -7px; }
.menu-toggle-bars::after { top: 7px; }
.menu-open .menu-toggle-bars { background: transparent; }
.menu-open .menu-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-extras { display: none; }

@media (max-width: 900px) {
  .header-top { padding: 10px 16px; flex-wrap: nowrap; gap: 12px; }
  .brand img { height: 44px; }
  .brand-name { font-size: 18px; }
  .header-actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; flex-direction: column; gap: 0; padding: 4px 16px 20px; border-top: 1px solid var(--border); max-height: calc(100vh - 66px); overflow-y: auto; }
  .site-header.menu-open .main-nav { display: flex; }
  .main-nav button { width: 100%; text-align: left; padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--border); }
  .main-nav button::after { content: none; }
  .main-nav button.active { color: var(--maroon); }
  /* Le sous-menu « Actions & Actualites » s'affiche directement dans la liste. */
  .nav-dropdown-trigger { display: none !important; }
  .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; border: none; border-radius: 0; box-shadow: none; padding: 0; margin: 0; }
  .nav-dropdown-menu button { padding: 14px 4px; border-radius: 0; font-size: 16px; }
  .nav-dropdown-menu button:hover, .nav-dropdown-menu button.active { background: none; }
  .nav-mobile-extras { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; }
  .nav-mobile-extras .lang-switch button { width: auto; border-bottom: none; padding: 10px 18px; font-size: 13px; }
  .nav-mobile-extras .cta-partner { width: auto; border-bottom: none; padding: 12px 20px; font-size: 14px; font-weight: 600; }
  /* Les regles « .main-nav button » ne doivent pas repeindre ces deux boutons. */
  .nav-mobile-extras .lang-switch button.active { color: #fff; }
  .nav-mobile-extras .cta-partner { color: #fff; background: var(--maroon); }
  .nav-mobile-extras .cta-partner:hover { color: #fff; background: #6e1824; }
  .nav-mobile-extras .lang-switch button { background: #fff; }
  .nav-mobile-extras .lang-switch button.active { background: var(--navy); }
  .nav-mobile-extras .lang-switch button:hover:not(.active) { color: var(--maroon); }
}

/* Hero */
.hero { position: relative; min-height: 620px; overflow: hidden; background: var(--navy-dark) url('assets/hero-planting.webp') center 35% / cover no-repeat; }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,26,50,0.88) 0%, rgba(9,26,50,0.78) 30%, rgba(9,26,50,0.45) 55%, rgba(9,26,50,0.08) 75%); }
.hero-inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 120px 32px 96px; }
.hero-content { max-width: 640px; }
.kicker-badge { display: inline-block; white-space: nowrap; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: #e3ecf7; font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 999px; margin-bottom: 24px; }
.hero-title { font-family: 'Poppins', sans-serif; font-size: 56px; line-height: 1.12; color: #fff; margin: 0 0 22px; font-weight: 800; letter-spacing: -0.8px; }
.hero-lead { font-size: 19px; line-height: 1.6; color: var(--text-ondark-strong); margin: 0 0 36px; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-green { background: var(--green); color: #fff; border: none; padding: 15px 28px; border-radius: 6px; font-size: 15px; font-weight: 600; transition: background-color .2s ease, box-shadow .2s ease; }
.btn-green:hover { background: #195f3d; box-shadow: 0 6px 16px rgba(31,122,77,0.28); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); padding: 15px 28px; border-radius: 6px; font-size: 15px; font-weight: 600; transition: background-color .2s ease, border-color .2s ease; }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* Presentation */
.presentation-section { padding: 88px 32px 56px; }
.presentation-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: stretch; }
.presentation-text .section-title { margin: 0 0 18px; }
.presentation-lead { font-style: italic; font-size: 18px; line-height: 1.6; color: var(--navy-dark); margin: 0 0 18px; }
.presentation-text p { font-size: 16px; line-height: 1.65; color: var(--text-body); margin: 0 0 18px; }
.presentation-media { display: flex; flex-direction: column; gap: 16px; }
.presentation-media-main { flex: 2 1 0; min-height: 0; border-radius: 10px; overflow: hidden; }
.presentation-media-main img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.presentation-media-sub { flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.presentation-media-item { min-height: 0; border-radius: 10px; overflow: hidden; }
.presentation-media-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }

/* Stats */
.stats-section { padding: 56px 32px; background: var(--navy-dark); }
.stats-chapo { color: var(--text-ondark-strong); font-size: 17px; line-height: 1.6; max-width: 680px; margin: 0 0 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { border-left: 3px solid var(--green); padding-left: 18px; }
.stat-value { font-family: 'Poppins', sans-serif; font-size: 40px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.stat-label { font-size: 14px; color: var(--text-ondark); margin-top: 6px; }

/* Axes preview */
.section { padding: 88px 32px; }
.section-alt { padding: 88px 32px; background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.eyebrow { display: inline-block; color: var(--maroon); font-size: 13px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 10px; }
.eyebrow-green { display: inline-block; color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-family: 'Poppins', sans-serif; font-size: 32px; color: var(--navy-dark); margin: 0; font-weight: 800; letter-spacing: -0.4px; }
.axes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.axis-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 28px; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.axis-card:hover { border-color: var(--green-light); box-shadow: 0 10px 28px rgba(18,37,63,0.10); }
.axis-num { font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 700; color: var(--green); margin-bottom: 14px; }
.axis-card h3 { font-size: 17px; font-weight: 700; color: var(--navy-dark); margin: 0 0 10px; line-height: 1.3; }
.axis-card p { font-size: 14px; line-height: 1.55; color: var(--text-muted); margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.link-btn { background: none; border: none; padding: 0; font-size: 13px; font-weight: 700; color: var(--green); }

/* Approach accordion */
.approach-section { padding: 88px 32px; background: var(--bg-alt); }
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:first-child { border-top: 1px solid var(--border); }
.accordion-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: none; padding: 22px 4px; font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 700; color: var(--navy-dark); text-align: left; }
.accordion-icon { position: relative; width: 18px; height: 18px; flex: none; }
.accordion-icon::before, .accordion-icon::after { content: ""; position: absolute; background: var(--green); border-radius: 2px; }
.accordion-icon::before { width: 14px; height: 2px; top: 8px; left: 2px; }
.accordion-icon::after { width: 2px; height: 14px; top: 2px; left: 8px; transition: transform .25s ease; }
.accordion-item.is-open .accordion-icon::after { transform: rotate(90deg); }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.accordion-panel-inner { overflow: hidden; }
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; }
.accordion-panel p { font-size: 15px; line-height: 1.65; color: var(--text-body); margin: 0; padding: 0 4px 22px; }

/* Teaser split */
.teaser-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.img-placeholder { width: 100%; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: repeating-linear-gradient(135deg, #eef1f6, #eef1f6 12px, #e3ddd0 12px, #e3ddd0 24px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.img-placeholder span { font-family: 'Courier New', monospace; font-size: 13px; color: var(--text-muted); text-align: center; }
.teaser-photo { width: 100%; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; }
.teaser-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.teaser-grid h2 { font-family: 'Poppins', sans-serif; font-size: 30px; color: var(--navy-dark); margin: 0 0 16px; font-weight: 700; }
.teaser-grid p { font-size: 16px; line-height: 1.6; color: var(--text-body); margin: 0 0 24px; }
.btn-navy { background: var(--navy-dark); color: #fff; border: none; padding: 13px 24px; border-radius: 6px; font-size: 14px; font-weight: 600; transition: background-color .2s ease, box-shadow .2s ease; }
.btn-navy:hover { background: #0c1b30; box-shadow: 0 6px 16px rgba(18,37,63,0.3); }

/* Quote */
.quote-section { padding: 72px 32px; background: var(--navy-dark); }
.quote-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.quote-text { font-family: 'Poppins', sans-serif; font-style: italic; font-size: 24px; line-height: 1.5; color: #fff; margin: 0 0 22px; }
.quote-author { font-size: 14px; color: var(--text-ondark); margin: 0; }

/* Partners strip */
.partners-strip { padding: 56px 0; }
.partners-strip h3 { font-size: 14px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-muted); margin: 0 0 28px; text-align: center; }
.partners-marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners-track { display: flex; align-items: center; gap: 64px; width: max-content; flex-wrap: wrap; justify-content: center; }
.partner-slot { flex: none; display: flex; align-items: center; justify-content: center; }
.partner-slot img { height: 72px; width: auto; max-width: 200px; object-fit: contain; }

/* Generic page heading (About/Axes/Actions/Testimonials/News/Contact) */
.page-head { padding: 64px 32px 40px; text-align: center; }
.page-head .wrap-narrow { text-align: center; }
.page-head h1 { font-family: 'Poppins', sans-serif; font-size: 38px; color: var(--navy-dark); margin: 0 0 16px; font-weight: 800; letter-spacing: -0.5px; }
.page-head p { font-size: 17px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.placeholder-tag { display: inline-block; font-size: 11px; color: var(--maroon); border: 1px solid var(--maroon); border-radius: 999px; padding: 3px 10px; margin-top: 10px; }

/* About */
.about-hero-img { width: 100%; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; margin-top: 32px; }
.about-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; transition: transform .5s ease; }
.about-block { padding: 48px 32px; }
.about-block h2 { font-family: 'Poppins', sans-serif; font-size: 26px; color: var(--navy-dark); margin: 0 0 16px; font-weight: 700; }
.about-block p { font-size: 17px; line-height: 1.7; color: var(--text-body); margin: 0; }
.about-history { padding: 48px 32px; background: var(--bg-alt); }
.about-history .row-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.about-history h2 { font-family: 'Poppins', sans-serif; font-size: 26px; color: var(--navy-dark); margin: 0; font-weight: 700; }
.about-history .intro { font-size: 15px; color: var(--text-muted); margin: 0 0 28px; }
.timeline-item { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--border-light); }
.timeline-year { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--green); font-size: 20px; }
.timeline-text { font-size: 15px; color: var(--text-body); line-height: 1.55; }
.values-section { padding: 64px 32px; }
.values-section h2 { font-family: 'Poppins', sans-serif; font-size: 26px; color: var(--navy-dark); margin: 0 0 32px; font-weight: 700; text-align: center; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1100px; margin: 0 auto; }
.value-card { border: 1px solid var(--border); border-radius: 10px; padding: 20px 16px; }
.value-card h3 { font-size: 15px; font-weight: 700; color: var(--navy-dark); margin: 0 0 8px; }
.value-card p { font-size: 13px; line-height: 1.5; color: var(--text-muted); margin: 0; }
.governance-section { padding: 56px 32px 88px; background: var(--navy-dark); }
.governance-inner { max-width: 1100px; margin: 0 auto; }
.governance-inner h2 { font-family: 'Poppins', sans-serif; font-size: 26px; color: #fff; margin: 0; font-weight: 700; }
.governance-inner .tag-light { font-size: 11px; color: var(--maroon-light); border: 1px solid var(--maroon-light); border-radius: 999px; padding: 3px 10px; }
.governance-inner .intro { font-size: 15px; color: var(--text-ondark); margin: 0 0 32px; max-width: 700px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team-card { background: var(--navy-card); border-radius: 10px; padding: 22px 18px; }
.team-avatar { width: 84px; height: 84px; border-radius: 999px; background: var(--navy-avatar); margin-bottom: 14px; overflow: hidden; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card h3 { font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 4px; }
.team-card p { font-size: 13px; color: var(--text-ondark); margin: 0; }

/* Axes page */
.axes-list { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; padding: 24px 32px 88px; }
.axis-row { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 32px; display: grid; grid-template-columns: 80px 1fr; gap: 28px; }
.axis-row .axis-num { font-size: 34px; margin-bottom: 0; }
.axis-row h2 { font-size: 20px; font-weight: 700; color: var(--navy-dark); margin: 0 0 10px; }
.axis-row p { font-size: 15px; line-height: 1.6; color: var(--text-body); margin: 0 0 16px; }
.objective-box { background: var(--bg-alt); border-radius: 8px; padding: 14px 16px; }
.objective-label { font-size: 12px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 0.4px; }
.objective-box p { font-size: 14px; line-height: 1.55; color: var(--text-body); margin: 6px 0 0; }

/* Projects */
.projects-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 24px 32px 88px; }
.project-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(18,37,63,0.06); display: flex; flex-direction: column; transition: box-shadow .3s ease; }
.project-card:hover { box-shadow: 0 10px 28px rgba(18,37,63,0.12); }
.project-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.project-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.project-tag { display: inline-block; background: var(--bg-alt); color: var(--green); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; padding: 5px 12px; border-radius: 999px; margin-bottom: 10px; }
.project-body h2 { font-size: 19px; font-weight: 700; color: var(--navy-dark); margin: 0; line-height: 1.3; }
.project-detail { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--bg-card-alt); padding-top: 16px; }
.project-detail-label { font-size: 11px; font-weight: 700; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.project-detail p { font-size: 14px; line-height: 1.55; color: var(--text-body); margin: 0; }
.project-results { background: var(--navy-dark); border-radius: 8px; padding: 14px 16px; margin-top: auto; }
.project-results .label { font-size: 11px; font-weight: 700; color: var(--green-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.project-results p { font-size: 14px; line-height: 1.5; color: #fff; font-weight: 600; margin: 0; }

/* Testimonials */
.testimonials-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px 32px 88px; }
.testimonial-card { background: var(--bg-alt); border-radius: 12px; padding: 28px; }
.testimonial-card .quote { font-family: 'Poppins', sans-serif; font-style: italic; font-size: 17px; line-height: 1.55; color: var(--navy-dark); margin: 0 0 16px; }
.testimonial-card .author { font-size: 13px; color: var(--text-muted); margin: 0; font-weight: 600; }

/* News */
.news-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 4px; padding: 24px 32px 88px; }
.news-item { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; padding: 28px 20px; margin: 0 -20px; border-radius: 14px; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.news-item:not(:last-child) { border-bottom: 1px solid var(--border); }
.news-item:hover { background-color: var(--bg-alt); }
.news-img { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.news-date { position: absolute; top: 12px; left: 12px; background: var(--navy-dark); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.4px; padding: 5px 12px; border-radius: 999px; }
.news-item h2 { font-family: 'Poppins', sans-serif; font-size: 21px; font-weight: 700; color: var(--navy-dark); margin: 0 0 12px; line-height: 1.35; letter-spacing: -0.2px; }
.news-item p { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0 0 14px; }
.news-item .readmore { font-size: 13px; font-weight: 700; color: var(--green); }

/* News detail */
.news-detail-wrap { max-width: 760px; margin: 0 auto; padding: 24px 32px 96px; }
.news-detail-img { width: 100%; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; margin-bottom: 32px; box-shadow: 0 12px 32px rgba(18,37,63,0.10); }
.news-detail-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.news-detail-body { font-size: 16.5px; }
.news-detail-body p { line-height: 1.9; color: var(--text-body); margin: 0 0 22px; text-align: justify; text-align-last: left; }
.news-detail-body p:first-of-type { font-size: 19px; font-weight: 500; line-height: 1.65; color: var(--navy-dark); }
.news-detail-body strong { font-weight: 700; color: var(--navy-dark); }
.news-detail-body em { font-style: italic; color: var(--text-body); }
.news-detail-body .accent-green { color: var(--green); font-weight: 700; font-style: normal; }
.news-detail-body .accent-maroon { color: var(--maroon); font-weight: 700; font-style: normal; }
.news-detail-quote { position: relative; background: linear-gradient(160deg, var(--bg-alt) 0%, #fff 100%); border: 1px solid var(--border-light); border-radius: 16px; padding: 34px 32px 28px 60px; margin: 6px 0 32px; box-shadow: 0 8px 24px rgba(18,37,63,0.06); }
.news-detail-quote::before { content: "\201C"; position: absolute; top: 12px; left: 22px; font-family: 'Poppins', sans-serif; font-size: 60px; font-weight: 800; line-height: 1; color: var(--green); opacity: 0.35; }
.news-detail-quote p { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 18.5px; line-height: 1.55; color: var(--navy-dark); margin: 0 0 14px; text-align: left; }
.news-detail-quote cite { font-size: 12.5px; font-style: normal; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--green); }
.news-detail-keywords-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--text-faint); margin: 40px 0 12px; }
.news-detail-keywords { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0; }

/* News detail carousel */
.news-detail-carousel { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; margin-bottom: 32px; background: var(--bg-alt); }
.carousel-track { display: flex; width: 100%; height: 100%; transition: transform .4s ease; }
.carousel-slide { position: relative; z-index: 0; flex: 0 0 100%; width: 100%; height: 100%; overflow: hidden; }
.carousel-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(20px) brightness(.7); transform: scale(1.15); }
.carousel-slide img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; display: block; }
.carousel-btn { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,.85); color: var(--navy-dark); font-size: 20px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color .2s ease; }
.carousel-btn:hover { background: #fff; }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }
.carousel-dots { position: absolute; z-index: 2; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,.6); cursor: pointer; padding: 0; }
.carousel-dot.active { background: #fff; width: 20px; border-radius: 4px; transition: width .2s ease; }

/* News timeline (home) */
.news-timeline { position: relative; max-width: 880px; margin: 0 auto; padding: 8px 0; }
.news-timeline-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--border); transform: translateX(-50%); }
.news-timeline-row { position: relative; display: flex; margin-bottom: 72px; }
.news-timeline-row:last-child { margin-bottom: 0; }
.news-timeline-row.is-left { justify-content: flex-start; }
.news-timeline-row.is-right { justify-content: flex-end; }
.news-timeline-node { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 76px; height: 76px; border-radius: 50%; background: #fff; border: 1px solid var(--border); box-shadow: 0 8px 18px rgba(18,37,63,0.12); display: flex; align-items: center; justify-content: center; z-index: 2; }
.news-timeline-node img { width: 50px; height: 50px; object-fit: contain; }
.news-timeline-card { position: relative; width: 44%; cursor: pointer; background: #fff; border-radius: 14px; padding: 16px 16px 22px; box-shadow: 0 8px 24px rgba(18,37,63,0.08); transition: transform .25s ease, box-shadow .25s ease; }
.news-timeline-card:hover { box-shadow: 0 14px 32px rgba(18,37,63,0.14); }
.news-timeline-card::after { content: ""; position: absolute; top: 38px; transform: translateY(-50%); width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.news-timeline-row.is-left .news-timeline-card::after { right: -14px; border-left: 10px solid #fff; }
.news-timeline-row.is-right .news-timeline-card::after { left: -14px; border-right: 10px solid #fff; }
.news-timeline-card .news-img img { transition: transform .5s ease; }
.news-timeline-card h3 { font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 700; color: var(--navy-dark); margin: 16px 0 8px; line-height: 1.35; transition: color .2s ease; }
.news-timeline-card:hover h3 { color: var(--green); }
.news-timeline-card p { font-size: 14px; line-height: 1.55; color: var(--text-muted); margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-timeline-card .readmore { font-size: 13px; font-weight: 700; color: var(--green); }
.home-news-cta { text-align: center; margin-top: 48px; }
.keyword-tag { font-size: 12px; font-weight: 600; color: var(--text-muted); background: var(--bg-alt); border: 1px solid var(--border-light); border-radius: 999px; padding: 6px 14px; }

/* Contact */
.contact-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; padding: 24px 32px 88px; }
.contact-form-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 32px; }
.contact-form-card h2 { font-family: 'Poppins', sans-serif; font-size: 20px; color: var(--navy-dark); margin: 0 0 20px; font-weight: 700; }
.contact-form-card p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0 0 24px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea { padding: 12px 14px; border: 1px solid var(--dashed); border-radius: 6px; font-size: 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,122,77,0.12); }
.contact-form textarea { resize: vertical; }
.contact-form button { background: var(--green); color: #fff; border: none; padding: 13px 24px; border-radius: 6px; font-size: 14px; font-weight: 600; align-self: flex-start; transition: background-color .2s ease, box-shadow .2s ease; }
.contact-form button:hover { background: #195f3d; box-shadow: 0 6px 16px rgba(31,122,77,0.28); }
.contact-form button:disabled { opacity: .7; cursor: not-allowed; }
.form-status { font-size: 14px; margin: 0; min-height: 0; padding: 0; border-radius: 6px; transition: padding .2s ease; }
.form-status:empty { margin: 0; }
.form-status-success { color: var(--green); background: rgba(31,122,77,0.1); padding: 12px 14px; }
.form-status-error { color: var(--maroon); background: rgba(138,31,46,0.08); padding: 12px 14px; }
.contact-coord { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 32px; }
.contact-coord h2 { font-family: 'Poppins', sans-serif; font-size: 20px; color: var(--navy-dark); margin: 0 0 20px; font-weight: 700; }
.contact-coord-list { display: flex; flex-direction: column; gap: 20px; font-size: 15px; color: var(--text-body); }
.contact-coord-list a { color: var(--text-body); }
.contact-coord-list a:hover { color: var(--green); }
.coord-item { display: flex; align-items: center; gap: 14px; }
.coord-icon { flex: none; width: 38px; height: 38px; border-radius: 999px; background: var(--bg-alt); color: var(--green); display: flex; align-items: center; justify-content: center; }
.coord-icon svg { width: 18px; height: 18px; }
.contact-coord .tag { display: inline-block; margin-top: 18px; font-size: 11px; color: var(--maroon); border: 1px solid var(--maroon); border-radius: 999px; padding: 3px 10px; }

/* Footer */
.site-footer { background: var(--navy-dark); padding: 56px 32px 28px; }
.footer-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 44px; width: auto; object-fit: contain; background: #fff; border-radius: 6px; padding: 4px; }
.footer-brand span { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px; color: #fff; }
.footer-tagline { font-size: 13px; color: var(--text-ondark); line-height: 1.6; max-width: 280px; margin: 0; }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.4px; margin: 0 0 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-links button { font-size: 14px; color: var(--text-ondark-strong); cursor: pointer; background: none; border: none; padding: 0; text-align: left; font-family: 'Poppins', sans-serif; transition: color .2s ease; }
.footer-links a:hover, .footer-links button:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-ondark-strong); }
.footer-map { max-width: 1240px; margin: 40px auto 0; }
.footer-map iframe { width: 100%; height: 220px; display: block; border: 0; border-radius: 10px; filter: grayscale(20%) contrast(1.05); }
.footer-bottom { max-width: 1240px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid var(--navy-line); font-size: 12px; color: var(--text-ondark-faint); }

@media (max-width: 900px) {
  .hero-title { font-size: 38px; }
  .presentation-grid { grid-template-columns: 1fr; }
  .presentation-media-main { flex: none; aspect-ratio: 3/2; }
  .presentation-media-sub { flex: none; }
  .presentation-media-item { aspect-ratio: 4/3; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .axes-grid { grid-template-columns: 1fr; }
  .teaser-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .axis-row { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .news-timeline-line { left: 24px; }
  .news-timeline-row, .news-timeline-row.is-left, .news-timeline-row.is-right { justify-content: flex-start; padding-left: 64px; margin-bottom: 48px; }
  .news-timeline-card { width: 100%; }
  .news-timeline-node { left: 24px; top: 0; width: 56px; height: 56px; }
  .news-timeline-node img { width: 38px; height: 38px; }
  .news-timeline-row.is-left .news-timeline-card::after, .news-timeline-row.is-right .news-timeline-card::after { left: -14px; right: auto; top: 28px; border-right: 10px solid #fff; border-left: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Une seule marge laterale (20 px) : avant, la section ET son conteneur .wrap ajoutaient
     chacun 32 px, ce qui ne laissait que 192 px de texte sur un ecran de 320 px. */
  .wrap, .wrap-narrow { padding-left: 0; padding-right: 0; }
  .presentation-section, .stats-section, .section, .section-alt, .approach-section, .quote-section,
  .page-head, .about-block, .about-history, .values-section, .governance-section, .axes-list,
  .projects-grid, .testimonials-grid, .news-list, .news-detail-wrap, .contact-grid, .site-footer,
  .hero-inner, .partners-strip h3 { padding-left: 20px; padding-right: 20px; }
  .presentation-section { padding-top: 56px; padding-bottom: 40px; }
  .section, .section-alt, .approach-section { padding-top: 56px; padding-bottom: 56px; }
  .stats-section, .quote-section { padding-top: 48px; padding-bottom: 48px; }
  .axes-list, .projects-grid, .testimonials-grid, .news-list, .contact-grid { padding-bottom: 56px; }
  .news-detail-wrap { padding-bottom: 64px; }
  .about-block, .about-history { padding-top: 40px; padding-bottom: 40px; }
  .values-section { padding-top: 48px; padding-bottom: 48px; }
  .governance-section { padding-top: 48px; padding-bottom: 56px; }
  .page-head { padding-top: 44px; padding-bottom: 24px; }
  .site-footer { padding-top: 44px; }

  /* Un mot plus long que la ligne passe a la ligne au lieu de deborder (pas de cesure : elle
     coupe les titres en « rési-lient »). */
  body { overflow-wrap: break-word; }

  /* Hero : hauteur selon le contenu, voile vertical pour la lisibilite du texte sur la photo. */
  .hero { min-height: 0; background-position: 65% 35%; }
  .hero-gradient { background: linear-gradient(180deg, rgba(9,26,50,0.82) 0%, rgba(9,26,50,0.70) 55%, rgba(9,26,50,0.55) 100%); }
  .hero-inner { padding-top: 72px; padding-bottom: 64px; }
  .hero-lead { font-size: 17px; }

  /* Titres */
  .section-title { font-size: 28px; }
  .page-head h1 { font-size: 30px; }
  .page-head p { font-size: 16px; }
  .teaser-grid h2 { font-size: 26px; }
  .quote-text { font-size: 20px; }
  .section-head { margin-bottom: 32px; }

  /* Cartes un peu moins rembourrees pour laisser la place au texte */
  .axis-card, .axis-row, .testimonial-card { padding: 22px; }
  .axis-row { gap: 12px; }
  .project-body { padding: 22px; }
  .contact-form-card, .contact-coord { padding: 24px 20px; }
  .news-detail-quote { padding: 28px 20px 22px 44px; }
  .news-detail-quote::before { left: 12px; font-size: 48px; }
  .news-item { margin: 0 -12px; padding: 22px 12px; gap: 18px; }
  .timeline-item { grid-template-columns: 64px 1fr; gap: 14px; }
  .partner-slot img { height: 56px; }
  .partners-track { gap: 40px; }

  /* Lecture : le texte justifie cree des « trous » dans une colonne etroite. */
  .news-detail-body p { text-align: left; }
  .news-detail-body p:first-of-type { font-size: 18px; }

  /* Formulaire : 16 px minimum sinon l'iPhone zoome a chaque saisie ; bouton pleine largeur. */
  .contact-form input, .contact-form textarea { font-size: 16px; }
  .contact-form button { align-self: stretch; padding: 15px 24px; font-size: 15px; }

  /* Zones tactiles d'au moins 44 px */
  .link-btn, .readmore { padding: 12px 0; }
  .footer-links { gap: 0; }
  .footer-links a, .footer-links button { padding: 11px 0; }
  .footer-contact a, .contact-coord-list a { display: inline-block; padding: 10px 0; }
  .carousel-btn { width: 44px; height: 44px; }
  .carousel-dots { gap: 2px; bottom: 6px; }
  .carousel-dot { box-sizing: content-box; padding: 9px; background-clip: content-box; }
  .carousel-dot.active { width: 20px; background-clip: content-box; }

  /* Petits libelles : 12 px minimum */
  .news-date, .project-tag, .project-detail-label, .project-results .label, .placeholder-tag,
  .contact-coord .tag, .governance-inner .tag-light { font-size: 12px; }
  .footer-bottom, .footer-tagline { font-size: 13px; }
}

/* Tablettes (561 a 900 px) : deux colonnes la ou la largeur le permet */
@media (min-width: 561px) and (max-width: 900px) {
  .axes-grid { grid-template-columns: repeat(2, 1fr); }
  .news-item { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
  .presentation-media { max-width: 640px; }
}

/* Petits telephones (jusqu'a 560 px) */
@media (max-width: 560px) {
  .hero-title { font-size: 32px; letter-spacing: -0.5px; }
  .kicker-badge { white-space: normal; font-size: 12px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas button { width: 100%; }
  .section-title { font-size: 25px; }
  .page-head h1 { font-size: 27px; }
  .stats-grid { gap: 28px 16px; }
  .stat-value { font-size: 30px; }
  .stat-label { font-size: 13px; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  /* Photo a gauche, nom et fonction empiles a droite. */
  .team-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 16px; }
  .team-avatar { grid-row: 1 / span 2; margin-bottom: 0; width: 72px; height: 72px; }
  .team-card h3 { align-self: end; font-size: 15px; }
  .team-card p { align-self: start; margin-top: 2px; }
  .presentation-media-sub { gap: 12px; }
  .presentation-media { gap: 12px; }
  .news-timeline-line { left: 20px; }
  .news-timeline-row, .news-timeline-row.is-left, .news-timeline-row.is-right { padding-left: 52px; }
  .news-timeline-node { left: 20px; width: 44px; height: 44px; }
  .news-timeline-node img { width: 30px; height: 30px; }
  .news-timeline-row.is-left .news-timeline-card::after, .news-timeline-row.is-right .news-timeline-card::after { top: 22px; }
  .about-hero-img { aspect-ratio: 4/3; }
  .btn-navy { width: 100%; padding: 15px 24px; }
}

/* Motion: scroll reveal + hover transforms, disabled for users who request reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }

  .news-timeline-row.is-left.reveal { transform: translateX(-32px); }
  .news-timeline-row.is-right.reveal { transform: translateX(32px); }
  .news-timeline-row.reveal.is-visible { transform: translateX(0); }
  .news-timeline-row.reveal .news-timeline-node { opacity: 0; transform: translateX(-50%) scale(.5); transition: opacity .5s ease, transform .5s ease; }
  .news-timeline-row.is-left.reveal .news-timeline-node { transform: translateX(calc(-50% + 32px)) scale(.5); }
  .news-timeline-row.is-right.reveal .news-timeline-node { transform: translateX(calc(-50% - 32px)) scale(.5); }
  .news-timeline-row.reveal.is-visible .news-timeline-node { opacity: 1; transform: translateX(-50%) scale(1); }

  .partners-track { flex-wrap: nowrap; justify-content: flex-start; animation: partners-scroll 32s linear infinite; }
  .partners-track:hover { animation-play-state: paused; }
  @keyframes partners-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  .axis-card:hover, .partner-slot:hover { transform: translateY(-4px); }
  .link-btn:hover, .news-item:hover .readmore, .news-timeline-card:hover .readmore { transform: translateX(3px); }

  .presentation-media-main:hover img,
  .presentation-media-item:hover img,
  .teaser-photo:hover img,
  .about-hero-img:hover img,
  .news-detail-img:hover img,
  .project-card:hover .project-img img,
  .news-item:hover .news-img img,
  .news-timeline-card:hover .news-img img {
    transform: scale(1.06);
  }
}
