@charset "UTF-8";
/* ICN-Guinée — feuille de style principale */

:root {
  --primary: #2b6cb0;
  --primary-dark: #1e4e7d;
  --primary-light: #ebf4ff;
  --text-dark: #1a202c;
  --text-muted: #4a5568;
  --bg: #f7fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --danger: #c53030;
  --success: #2f855a;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.65;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
}
.brand:hover { text-decoration: none; }
.brand img { height: 46px; width: 46px; border-radius: 6px; }
.brand span { font-weight: 700; font-size: 1.15rem; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: .95rem;
}
.main-nav a.active,
.main-nav a:hover { color: var(--primary); text-decoration: none; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 780px) {
  .menu-toggle { display: inline-block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 20px 20px; }
  .main-nav li { border-top: 1px solid var(--border); }
  .main-nav a { display: block; padding: 14px 0; }
}

/* ---------- Page header banner ---------- */
.page-banner {
  background: linear-gradient(180deg, #edf2f7, var(--bg));
  padding: 48px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-banner h1 {
  margin: 0;
  font-size: 2.1rem;
  color: var(--text-dark);
}
.page-banner .breadcrumb {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: .9rem;
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--white); }
.section-title {
  text-align: center;
  margin-bottom: 8px;
  font-size: 1.7rem;
}
.section-kicker {
  text-align: center;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 8px;
}
.section-lede {
  text-align: center;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 40px;
}

/* ---------- Hero home ---------- */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}
@media (max-width: 860px) { .hero .container { grid-template-columns: 1fr; } }
.hero h1 { font-size: 2rem; margin-top: 0; }
.hero .lede { color: var(--text-muted); font-size: 1.05rem; }
.hero img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

.president-quote {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: -10px;
}
.president-quote h2 { margin-top: 0; }
.president-quote .signature { font-weight: 700; margin-top: 16px; }

/* ---------- Grids / cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; font-size: 1.05rem; }
.card.icon-card { text-align: center; }
.card.icon-card .icon {
  width: 52px; height: 52px; margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700;
}

/* Stats blocks */
.stat-block { border-top: 4px solid var(--primary); }
.stat-block h3 { color: var(--primary); }
.stat-block ul { padding-left: 18px; margin: 0; color: var(--text-muted); }
.stat-block li { margin-bottom: 8px; }

.grant-card .amount { font-size: 1.4rem; font-weight: 800; color: var(--primary); }

/* News */
.news-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.news-card img { height: 180px; object-fit: cover; width: 100%; }
.news-card .body { padding: 20px; }
.news-card .date { color: var(--text-muted); font-size: .82rem; }
.news-card h3 { font-size: 1.05rem; margin: 8px 0; }
.news-card .excerpt { color: var(--text-muted); font-size: .93rem; }

/* Partners strip */
.partners-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 18px;
}
.partners-strip img {
  height: 64px;
  width: 140px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.partners-strip img:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Team */
.team-card { text-align: center; }
.team-card .avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; font-size: 1.8rem; font-weight: 700;
}
.team-card .role { color: var(--text-muted); font-size: .88rem; }

/* Tags */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .88rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: .95rem;
}
.btn:hover { background: var(--primary-dark); text-decoration: none; color: var(--white); }
.btn.secondary { background: var(--white); color: var(--primary); border: 1px solid var(--primary); }
.btn.small { padding: 8px 14px; font-size: .85rem; }
.btn.danger { background: var(--danger); }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text-dark);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.form-hint { color: var(--text-muted); font-size: .82rem; margin-top: 4px; }
.field-error { color: var(--danger); font-size: .85rem; margin-top: 4px; }
.honeypot { position: absolute; left: -9999px; top: -9999px; }

.alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: .92rem;
}
.alert.success { background: #f0fff4; color: var(--success); border: 1px solid #c6f6d5; }
.alert.error { background: #fff5f5; color: var(--danger); border: 1px solid #fed7d7; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item .icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light);
  color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark);
}
.faq-question .chevron { transition: transform .2s; color: var(--primary); }
.faq-item.open .chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 22px;
  color: var(--text-muted);
}
.faq-item.open .faq-answer { padding: 0 22px 20px; }

/* ---------- Documentation ---------- */
.doc-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
}
.doc-row .name { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: #1a202c;
  color: #cbd5e0;
  padding: 48px 0 24px;
  margin-top: 40px;
}
.site-footer h4 { color: var(--white); margin-top: 0; }
.site-footer a { color: #cbd5e0; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-bottom {
  border-top: 1px solid #2d3748;
  margin-top: 32px;
  padding-top: 18px;
  font-size: .82rem;
  color: #a0aec0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ---------- Admin ---------- */
.admin-body { background: var(--bg); }
.admin-shell { max-width: 960px; margin: 0 auto; padding: 40px 20px; }
.admin-topbar {
  background: var(--text-dark); color: #fff; padding: 14px 0; margin-bottom: 30px;
}
.admin-topbar .container { display: flex; justify-content: space-between; align-items: center; }
.admin-topbar a { color: #fff; }
table.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.admin-table th, table.admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; font-size: .92rem; }
table.admin-table th { background: #f1f5f9; }
.admin-actions { display: flex; gap: 8px; }
.login-box {
  max-width: 380px; margin: 80px auto; background: var(--white);
  padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
