/* =========================================
   PHJEA — Style principal
   ========================================= */

:root {
  --blue-900: #0b2e4f;
  --blue-700: #0f5c8c;
  --blue-500: #1483c2;
  --teal-500: #16b3a3;
  --teal-100: #e3f7f4;
  --gray-900: #16212b;
  --gray-600: #55636e;
  --gray-300: #d9e2e8;
  --gray-100: #f5f8fa;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 46, 79, 0.08);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--blue-900);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--gray-600); }
a { color: var(--blue-700); text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--blue-900); color: #fff; padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--teal-500); color: #fff; }
.btn-primary:hover { background: #129184; }
.btn-outline { border-color: var(--blue-900); color: var(--blue-900); }
.btn-outline:hover { background: var(--blue-900); color: #fff; }
.btn-secondary { background: var(--blue-900); color: #fff; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--gray-300);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; row-gap: 10px;
  padding: 14px 24px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 42px; width: auto; }
.logo-text { font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; color: var(--blue-900); }

.main-nav .nav-menu {
  list-style: none; display: flex; gap: 6px; margin: 0; padding: 0;
}
.main-nav .nav-menu > li { position: relative; }
.main-nav .nav-menu > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 8px;
  font-weight: 600; color: var(--gray-900); font-size: 0.95rem;
}
.main-nav .nav-menu > li > a:hover,
.main-nav .nav-menu > li > a.active { color: var(--teal-500); background: var(--teal-100); }

.sub-menu {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow);
  min-width: 230px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all 0.18s ease;
}
.has-children:hover > .sub-menu,
.has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.sub-menu li { position: relative; }
.sub-menu > li > a {
  display: block; padding: 9px 12px; border-radius: 8px; font-size: 0.9rem; color: var(--gray-900); font-weight: 500;
}
.sub-menu > li > a:hover { background: var(--teal-100); color: var(--teal-500); }

/* niveau 3 (sous-sous-menu, ex: Notre équipe) */
.sub-menu .sub-menu { top: -8px; left: calc(100% + 6px); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-actions .btn { padding: 10px 18px; font-size: 0.88rem; white-space: nowrap; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--blue-900); border-radius: 2px; }

/* ============ HERO ============ */
.hero { background: linear-gradient(135deg, var(--teal-100), #fff 60%); padding: 64px 0; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.78rem; font-weight: 700; color: var(--teal-500); margin-bottom: 10px;
}
.hero h1 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.hero p { font-size: 1.05rem; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-media img.spin {
  border-radius: 50%; box-shadow: none;
  animation: phjea-spin 60s linear infinite;
}
@keyframes phjea-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img.spin { animation: none; }
}

/* ============ STATS ============ */
.stats { background: var(--blue-900); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-number { display: block; font-family: var(--font-heading); font-size: 2.1rem; font-weight: 800; color: var(--teal-500); }
.stat-label { color: #cfe0ea; font-size: 0.9rem; }
.stat-link { color: var(--teal-500); font-size: 0.8rem; font-weight: 600; margin-top: 8px; }
.stat-link:hover { text-decoration: underline; }

/* ============ SECTIONS ============ */
.section { padding: 64px 0; }
.section.alt-bg { background: var(--gray-100); }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; gap: 20px; flex-wrap: wrap; }
.link-more { font-weight: 600; white-space: nowrap; }

.page-hero { background: var(--blue-900); padding: 56px 0; }
.page-hero .eyebrow { color: var(--teal-500); }
.page-hero h1 { color: #fff; margin: 0; }

/* Partenaires */
.partners-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 40px; padding: 10px 0;
}
.partner-logo { display: flex; align-items: center; justify-content: center; height: 56px; opacity: 0.75; transition: opacity 0.2s ease, transform 0.2s ease; filter: grayscale(1); }
.partner-logo:hover { opacity: 1; transform: translateY(-2px); filter: grayscale(0); }
.partner-logo img { max-height: 56px; width: auto; }
.partner-fallback {
  font-family: var(--font-heading); font-weight: 700; color: var(--gray-600);
  border: 1px dashed var(--gray-300); border-radius: 8px; padding: 12px 18px; font-size: 0.85rem;
}

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--gray-300); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-img { width: 100%; height: 180px; overflow: hidden; background: var(--gray-100); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px; }
.card-body time { font-size: 0.8rem; color: var(--teal-500); font-weight: 700; text-transform: uppercase; }
.card-body h3 { font-size: 1.1rem; margin-top: 8px; }
.card-body h3 a { color: var(--blue-900); }

/* About */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }
.info-box { background: var(--teal-100); border-radius: var(--radius); padding: 24px; }
.cta-inline { background: var(--gray-100); border-radius: var(--radius); padding: 28px; text-align: center; }
.lead { font-size: 1.15rem; color: var(--gray-900); }

/* Tabs (Notre équipe) */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; border-bottom: 2px solid var(--gray-300); margin-bottom: 32px; }
.tab-btn {
  background: none; border: none; cursor: pointer; padding: 12px 6px;
  font-family: var(--font-heading); font-weight: 600; color: var(--gray-600);
  border-bottom: 3px solid transparent; margin-bottom: -2px; font-size: 0.95rem;
}
.tab-btn.active, .tab-btn:hover { color: var(--teal-500); border-bottom-color: var(--teal-500); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; margin-top: 16px; }
.team-member { text-align: center; background: #fff; border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 24px 16px; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--blue-900); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.3rem;
  margin: 0 auto 12px;
}
.team-member h4 { margin-bottom: 2px; }
.team-member p { font-size: 0.88rem; margin: 0; }

.action-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 12px; }
.action-list li {
  padding: 14px 18px 14px 44px; position: relative;
  background: var(--gray-100); border-radius: 10px; color: var(--gray-900); font-weight: 500;
}
.action-list li::before {
  content: "✓"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--teal-500); font-weight: 800;
}

/* Carte interactive */
.map-note { font-size: 0.85rem; color: var(--gray-600); font-style: italic; margin-top: -8px; }
.map-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; margin-top: 20px; }
.haiti-map { width: 100%; height: auto; }
.haiti-map .dept { fill: var(--blue-500); stroke: #fff; stroke-width: 3; cursor: pointer; transition: fill 0.15s ease; }
.haiti-map .dept:hover { fill: var(--teal-500); }
.haiti-map .dept.active { fill: var(--teal-500); }
.haiti-map .dept-label { fill: #fff; font-family: var(--font-heading); font-size: 15px; font-weight: 600; pointer-events: none; }
.map-info {
  background: var(--gray-100); border-radius: var(--radius); padding: 28px;
  position: sticky; top: 90px; min-height: 140px;
}
.map-info h3 { margin-bottom: 12px; }
.map-info-placeholder { color: var(--gray-600); }

@media (max-width: 800px) {
  .map-wrap { grid-template-columns: 1fr; }
  .map-info { position: static; }
}

/* Page de don */
.donate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.donate-card { background: #fff; border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 26px; }
.donate-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.donate-card h3 i { color: var(--teal-500); }
.donate-details { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; }
.donate-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.donate-badge {
  background: var(--teal-100); color: var(--blue-900); font-weight: 700; font-size: 0.85rem;
  padding: 6px 14px; border-radius: 999px;
}
.donate-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.donate-actions .btn { text-align: center; }
.donate-note { font-size: 0.78rem; color: var(--gray-600); margin-top: 12px; }
.donate-contact { text-align: center; margin-top: 32px; }

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

/* Resources */
.report-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.report-item {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  border: 1px solid var(--gray-300); border-radius: 10px; color: var(--gray-900); font-weight: 600;
}
.report-item:hover { border-color: var(--teal-500); background: var(--teal-100); }
.report-download { margin-left: auto; color: var(--teal-500); font-weight: 700; font-size: 0.88rem; }

.consultation-form { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: 0.9rem; }
.form-row input, .form-row textarea {
  padding: 12px 14px; border: 1px solid var(--gray-300); border-radius: 8px; font-family: inherit; font-size: 0.95rem;
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--teal-500); border-color: var(--teal-500); }
.form-success { color: #147a4f; font-weight: 600; }
.form-error { color: #b3261e; font-weight: 600; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Social feed */
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.social-col h3 { display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.fb { background: #1877f2; }
.dot.tw { background: #14171a; }

/* ============ FOOTER ============ */
.site-footer { background: var(--teal-500); color: rgba(255,255,255,0.9); padding: 0; position: relative; }
.footer-wave {
  display: block;
  width: 100%;
  height: 46px;
}
.footer-wave path { fill: var(--teal-500); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 48px 0 40px; }
.site-footer h3 {
  color: #fff; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 16px;
}
.footer-desc { font-size: 0.9rem; }
.site-footer p { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; }
.footer-map { margin-top: 14px; border-radius: 10px; overflow: hidden; }
.footer-map iframe { display: block; filter: grayscale(20%); }
.footer-map-link {
  display: block; background: rgba(255,255,255,0.15); text-align: center;
  padding: 8px; font-size: 0.8rem; font-weight: 600; color: #fff;
}
.footer-map-link:hover { background: rgba(255,255,255,0.25); }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff; transition: background 0.2s ease, color 0.2s ease;
}
.social-links a:hover { background: #fff; color: var(--teal-500); }
.newsletter-form { display: flex; gap: 8px; margin-top: 10px; }
.newsletter-form input { flex: 1; padding: 10px 12px; border-radius: 8px; border: none; }
.newsletter-form .btn-secondary { background: var(--blue-900); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); padding: 18px 0; text-align: center; font-size: 0.82rem; }
.footer-bottom p { color: rgba(255,255,255,0.75); }

/* Partenaires */
.section-header.center { text-align: center; display: block; }
.partners-grid {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 36px; margin-top: 8px;
}
.partner-logo {
  display: flex; align-items: center; justify-content: center;
  width: 150px; height: 80px; padding: 10px;
  filter: grayscale(100%); opacity: 0.75;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.partner-logo:hover { filter: grayscale(0%); opacity: 1; transform: translateY(-2px); }
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-logo .fallback-text { display: none; }
.partner-logo.logo-fallback {
  border: 1px dashed var(--gray-300); border-radius: 10px;
  filter: none; opacity: 1;
}
.partner-logo.logo-fallback .fallback-text {
  display: block; font-size: 0.8rem; font-weight: 700; color: var(--gray-600);
  text-align: center; line-height: 1.3;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-inner, .two-col, .social-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .main-nav {
    position: fixed; top: 74px; left: 0; right: 0; bottom: 0;
    background: #fff; padding: 20px 24px; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.25s ease;
    visibility: hidden; pointer-events: none; z-index: 90;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; pointer-events: auto; }
  .main-nav .nav-menu { flex-direction: column; gap: 4px; }
  .sub-menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding-left: 14px; }
  .has-children.open > .sub-menu { display: block; }
  .sub-menu .sub-menu { left: 0; }
  .nav-toggle { display: flex; }
}

@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .header-actions .btn { padding: 8px 12px; font-size: 0.8rem; }
  .logo-text { font-size: 1.05rem; }
}



/* =========================================================
   PAGE — QUI SOMMES-NOUS
   Version moderne / légère / accordéons
========================================================= */


/* =========================================================
   HERO
========================================================= */

.about-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(22, 179, 163, 0.16),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      var(--blue-900),
      #104c70
    );
  padding: 78px 0;
}

.about-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  bottom: -250px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 70px;
  align-items: center;
}

.about-hero .eyebrow {
  color: #72e3d7;
}

.about-hero h1 {
  color: #fff;
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.08;
  margin-bottom: 24px;
}

.about-hero h1 span {
  color: #72e3d7;
}

.about-hero-lead {
  max-width: 720px;
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.about-hero .btn-outline {
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}

.about-hero .btn-outline:hover {
  background: #fff;
  color: var(--blue-900);
}

.about-hero-card {
  position: relative;
  z-index: 2;
  padding: 30px;
  border-left: 3px solid var(--teal-500);
  background: rgba(255,255,255,0.07);
  border-radius: 0 20px 20px 0;
  backdrop-filter: blur(10px);
}

.about-hero-card-label {
  display: block;
  color: #72e3d7;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.about-hero-card h2 {
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.about-hero-card p {
  color: rgba(255,255,255,0.72);
  margin: 0;
  line-height: 1.75;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.about-intro {
  padding-bottom: 45px;
}

.about-intro h2 {
  max-width: 750px;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  margin-bottom: 28px;
}

.about-intro-text {
  max-width: 900px;
}

.about-intro .lead {
  font-size: 1.15rem;
  line-height: 1.8;
}

.about-intro p {
  line-height: 1.8;
}


/* =========================================================
   VAGUE
========================================================= */

.about-wave {
  width: 100%;
  height: 75px;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -1px;
}

.about-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.about-wave path {
  fill: var(--teal-100);
}


/* =========================================================
   SECTION DETAILS
========================================================= */

.about-details {
  background: var(--teal-100);
  padding-top: 45px;
}

.about-details-header {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 35px;
}

.about-details-header h2 {
  color: var(--blue-900);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  margin: 0;
}

.about-details-header p {
  margin: 0;
  max-width: 500px;
}


/* =========================================================
   ACCORDÉON
========================================================= */

.about-accordion {
  border-top: 1px solid rgba(11,46,79,0.2);
}

.about-accordion-item {
  border-bottom: 1px solid rgba(11,46,79,0.2);
}

.about-accordion-item summary {
  display: grid;
  grid-template-columns: 55px 1fr 30px;
  gap: 20px;
  align-items: center;
  padding: 25px 5px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.about-accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-index {
  color: var(--teal-500);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.accordion-title {
  color: var(--blue-900);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.about-accordion-item summary:hover .accordion-title {
  color: var(--teal-500);
}


/* Icône + / - */

.accordion-icon {
  position: relative;
  width: 24px;
  height: 24px;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--blue-900);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.accordion-icon::before {
  width: 14px;
  height: 2px;
  top: 11px;
  left: 5px;
}

.accordion-icon::after {
  width: 2px;
  height: 14px;
  top: 5px;
  left: 11px;
}

.about-accordion-item[open]
.accordion-icon::after {
  transform: rotate(90deg);
}


/* Contenu */

.accordion-content {
  padding: 0 55px 32px 75px;
  max-width: 1100px;
  animation: accordionFade 0.25s ease;
}

@keyframes accordionFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.accordion-content p {
  line-height: 1.8;
}

.accordion-intro {
  font-size: 1rem;
  max-width: 900px;
}


/* =========================================================
   MISSION
========================================================= */

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
}

.mission-point {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid rgba(11,46,79,0.10);
}

.mission-point > span {
  color: var(--teal-500);
  font-size: 0.75rem;
  font-weight: 800;
  padding-top: 3px;
}

.mission-point p {
  margin: 0;
}


/* =========================================================
   AXES
========================================================= */

.accordion-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 50px;
}

.accordion-columns h3 {
  color: var(--blue-900);
  font-size: 1rem;
  margin-bottom: 8px;
}

.accordion-columns p {
  margin: 0;
  font-size: 0.92rem;
}


/* =========================================================
   DOMAINES
========================================================= */

.domain-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 45px;
  margin-top: 25px;
}

.domain-line {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px 0;
  border-top: 1px solid rgba(11,46,79,0.10);
}

.domain-line span {
  color: var(--teal-500);
  font-size: 0.75rem;
  font-weight: 800;
}

.domain-line strong {
  color: var(--blue-900);
}


/* =========================================================
   VALEURS
========================================================= */

.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 50px;
}

.value-line {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}

.value-marker {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal-500);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
}

.value-line h3 {
  color: var(--blue-900);
  margin-bottom: 7px;
}

.value-line p {
  font-size: 0.9rem;
  margin: 0;
}


/* =========================================================
   CTA
========================================================= */

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 40px 0;
  border-top: 1px solid var(--gray-300);
}

.about-cta h2 {
  color: var(--blue-900);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}

.about-cta p {
  max-width: 650px;
  margin: 0;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px) {

  .about-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-hero-card {
    max-width: 620px;
  }

  .about-details-header {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .accordion-columns,
  .values-list {
    grid-template-columns: 1fr;
  }

  .domain-list {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 700px) {

  .about-hero {
    padding: 58px 0;
  }

  .about-hero h1 {
    font-size: 2.3rem;
  }

  .about-hero-card {
    padding: 24px;
  }

  .about-accordion-item summary {
    grid-template-columns: 38px 1fr 25px;
    gap: 12px;
    padding: 21px 0;
  }

  .accordion-content {
    padding: 0 0 28px 50px;
  }

  .about-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}


@media (max-width: 560px) {

  .about-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-hero-actions .btn {
    text-align: center;
  }

  .about-hero h1 {
    font-size: 2rem;
  }

  .about-hero-lead {
    font-size: 0.98rem;
  }

  .about-wave {
    height: 50px;
  }

  .accordion-title {
    font-size: 1rem;
  }

  .accordion-content {
    padding-left: 45px;
  }

  .mission-point {
    grid-template-columns: 30px 1fr;
    gap: 10px;
  }

  .about-cta {
    padding: 30px 0;
  }
}






/* =========================================================
   TEAM — PROFILS
========================================================= */

.team-section {
  padding-top: 45px;
}

.team-panel-heading {
  margin-bottom: 30px;
}

.team-panel-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--blue-900);
  margin: 0;
}


/* =========================================================
 GRILLE
========================================================= */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}


/* =========================================================
 CARTE
========================================================= */

.team-profile {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 20px;

  transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      border-color 0.25s ease;
}

.team-profile:hover {
  transform: translateY(-5px);
  border-color: rgba(22,179,163,0.35);
  box-shadow:
      0 20px 45px rgba(11,46,79,0.10);
}


/* =========================================================
 PHOTO DE COUVERTURE
========================================================= */

.team-cover {
  width: 100%;
  height: 155px;
  overflow: hidden;
  background:
      linear-gradient(
          135deg,
          var(--blue-900),
          var(--blue-700)
      );
}

.team-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;

  transition: transform 0.5s ease;
}

.team-profile:hover .team-cover img {
  transform: scale(1.04);
}


/* =========================================================
 CORPS
========================================================= */

.team-profile-body {
  position: relative;
  padding: 0 24px 24px;
  text-align: center;
}


/* =========================================================
 PHOTO DE PROFIL
========================================================= */

.team-avatar-wrap {
  position: relative;
  width: 108px;
  height: 108px;
  margin: -54px auto 16px;

  border-radius: 50%;
  background: #fff;
  padding: 5px;

  box-shadow:
      0 8px 25px rgba(11,46,79,0.15);

  z-index: 2;
}

.team-avatar-img {
  width: 100%;
  height: 100%;

  border-radius: 50%;
  object-fit: cover;

  display: block;

  position: relative;
  z-index: 2;
}

.team-avatar-fallback {
  position: absolute;
  inset: 5px;

  display: none;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--blue-900);
  color: #fff;

  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;

  z-index: 1;
}


/* =========================================================
 IDENTITÉ
========================================================= */

.team-identity h3 {
  color: var(--blue-900);

  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;

  margin: 0 0 5px;
}

.team-identity p {
  color: var(--teal-500);

  font-size: 0.88rem;
  font-weight: 600;

  margin: 0;
}


/* =========================================================
 RÉSEAUX SOCIAUX
========================================================= */

.team-socials {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 9px;

  margin-top: 22px;
  padding-top: 19px;

  border-top: 1px solid var(--gray-300);
}

.team-social {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  color: var(--blue-900);
  background: var(--gray-100);

  transition:
      transform 0.2s ease,
      background 0.2s ease,
      color 0.2s ease;
}

.team-social:hover {
  transform: translateY(-3px);

  background: var(--teal-500);
  color: #fff;
}

.team-social svg {
  width: 17px;
  height: 17px;

  display: block;

  fill: currentColor;
}


/* =========================================================
 COULEURS RÉSEAUX AU HOVER
========================================================= */

.team-social-facebook:hover {
  background: #1877f2;
}

.team-social-instagram:hover {
  background: #e1306c;
}

.team-social-linkedin:hover {
  background: #0a66c2;
}

.team-social-x:hover {
  background: #000;
}

.team-social-youtube:hover {
  background: #ff0000;
}

.team-social-whatsapp:hover {
  background: #25d366;
}


/* =========================================================
 RESPONSIVE
========================================================= */

@media (max-width: 1024px) {

  .team-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


@media (max-width: 700px) {

  .team-grid {
      grid-template-columns: 1fr;
      max-width: 480px;
      margin: 0 auto;
  }

}


@media (max-width: 560px) {

  .team-cover {
      height: 140px;
  }

  .team-profile-body {
      padding-left: 20px;
      padding-right: 20px;
      padding-bottom: 22px;
  }

}




/* =========================================================
   PHOTOS — PAGE À PROPOS
   À coller à la FIN de votre css/style.css
   (uniquement de nouvelles classes : rien de votre CSS existant n'est modifié)
   ========================================================= */

/* Photo en haut de la carte du hero */
.about-hero-card-photo {
  display: block; width: 100%; height: 200px; object-fit: cover;
  border-radius: 14px; margin-bottom: 18px;
}

/* Photo de la section Vision */
.about-vision-photo {
  display: block; width: 100%; max-height: 320px; object-fit: cover;
  border-radius: 16px; margin-top: 20px;
}

/* Galerie : 1 grande photo + 2 petites */
.about-gallery-section { padding: 8px 0 56px; }
.about-gallery {
  display: grid; grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 250px 250px; gap: 16px;
}
.about-gallery figure {
  position: relative; margin: 0; overflow: hidden;
  border-radius: 18px; background: #f5f8fa;
}
.about-gallery figure:first-child { grid-row: span 2; }
.about-gallery img {
  width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease;
}
.about-gallery figure:hover img { transform: scale(1.05); }
.about-gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 18px 14px; color: #fff; font-weight: 600; font-size: 0.9rem;
  background: linear-gradient(to top, rgba(11, 46, 79, 0.85), transparent);
}

/* Bannière photo avant l'appel à l'action */
.about-banner-section { padding: 24px 0 8px; }
.about-banner {
  position: relative; overflow: hidden; border-radius: 24px; min-height: 340px; background: #0b2e4f;
}
.about-banner > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.about-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11, 46, 79, 0.82) 0%, rgba(11, 46, 79, 0.25) 70%);
}
.about-banner-caption {
  position: absolute; z-index: 1; left: 36px; bottom: 32px; max-width: 480px; color: #fff;
}
.about-banner-caption span {
  display: block; color: #16b3a3; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px;
}
.about-banner-caption strong { display: block; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; }

@media (max-width: 800px) {
  .about-gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .about-gallery figure, .about-gallery figure:first-child { grid-row: auto; height: 220px; }
  .about-banner { min-height: 260px; }
  .about-banner-caption { left: 20px; right: 20px; bottom: 20px; }
}


/* Ressources documentaires du PHJEA */
.resources-header {
  max-width: 760px;
  margin: 0 auto 45px;
  text-align: center;
}

.resources-header h2 {
  margin: 12px 0;
}

.resources-header p {
  line-height: 1.8;
  color: #64748b;
}

.resource-category {
  margin-top: 38px;
}

.resource-category h3 {
  margin-bottom: 18px;
  color: #123b5d;
}

.report-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.report-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #17324d;
  text-decoration: none;
  transition: border-color .25s ease,
              box-shadow .25s ease,
              transform .25s ease;
}

.report-item:hover {
  border-color: #20a4b8;
  box-shadow: 0 8px 24px rgba(15, 50, 75, .08);
  transform: translateY(-2px);
}

.report-icon {
  flex-shrink: 0;
  font-size: 28px;
}

.report-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.report-info strong {
  line-height: 1.5;
}

.report-info small {
  color: #64748b;
  line-height: 1.5;
}

.report-download {
  flex-shrink: 0;
  color: #087f91;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 700px) {
  .report-list {
      grid-template-columns: 1fr;
  }

  .report-item {
      gap: 12px;
      padding: 16px;
  }

  .report-download {
      font-size: 12px;
  }
}



/* Navigation interne de la page Ressources */
#rapports-documents,
#ressources,
#consultation {
    scroll-margin-top: 100px;
}

/* Liens rapides sous le titre de la page */
.resources-shortcuts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.resources-shortcuts a {
    text-decoration: none;
    text-align: center;
}

/* Affichage sur téléphone */
@media (max-width: 600px) {
    #rapports-documents,
    #ressources,
    #consultation {
        scroll-margin-top: 80px;
    }

    .resources-shortcuts {
        flex-direction: column;
        align-items: stretch;
    }

    .resources-shortcuts a {
        width: 100%;
        box-sizing: border-box;
    }

    .report-item {
        gap: 12px;
        flex-wrap: wrap;
    }

    .report-info {
        flex: 1 1 180px;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .report-download {
        margin-left: 44px;
    }
}
