/* --------- RESET & GLOBAUX --------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #f3f4f6;
  color: #111827;
}

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

/* Bandeau haut */

.top-strip {
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #000, #333 40%, #f4b000 70%, #22c55e);
}

/* En-tête & navigation */

header {
  background: #0f172a;
  color: #fff;
  padding: 14px 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.5);
  position: sticky;
  top: 0;
  z-index: 50;
}

header .wrapper-header {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-title {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-subtitle {
  font-size: 13px;
  opacity: 0.85;
}

.header-tagline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e5e7eb;
}

/* Logo rond léger */

.logo-round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #facc15;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  background: radial-gradient(circle at 30% 30%, #fefce8, #f4b000);
  color: #000;
}

/* Nav */

nav {
  background: #020617;
}

nav .wrapper-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 10px;
  text-align: center;
}

nav a {
  color: #e5e7eb;
  font-size: 13px;
  font-weight: 600;
  margin: 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 8px;
  border-radius: 999px;
}

nav a:hover {
  background: rgba(148, 163, 184, 0.2);
}

nav a.active {
  background: #facc15;
  color: #111827;
}

/* Hero Accueil */

.hero-home {
  background-image: radial-gradient(circle at top left, #facc1540, transparent),
    radial-gradient(circle at bottom right, #22c55e30, transparent),
    url('https://upload.wikimedia.org/wikipedia/commons/8/8c/Franceville_Plateaux_Bat%C3%A9k%C3%A9.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 36px 14px 32px;
  position: relative;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #020617dd, #111827cc, #0f766ecc);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
}

/* Kicker */

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.4);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.hero-kicker span.bullet {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.35);
}

/* Titre, texte, boutons */

.hero-title {
  font-size: clamp(1.8rem, 2.3vw + 1.5rem, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-title span.highlight {
  color: #facc15;
}

.hero-text {
  font-size: 0.95rem;
  color: #e5e7eb;
  max-width: 34rem;
  margin-bottom: 16px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-primary {
  background: #facc15;
  color: #111827;
}

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

.btn-outline {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid #e5e7eb80;
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.5);
}

/* Meta hero */

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: #e5e7eb;
}

.hero-meta span {
  background: rgba(15, 23, 42, 0.55);
  border-radius: 999px;
  padding: 4px 8px;
}

/* Hero carte / stats */

.hero-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.8);
}

.hero-card-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #bfdbfe;
  margin-bottom: 6px;
}

.hero-card p {
  font-size: 0.8rem;
  color: #e5e7eb;
  margin-bottom: 10px;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.stat-pill {
  flex: 1 1 120px;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 12px;
  padding: 6px 8px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.75rem;
}

/* Bande Province/Gabon */

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.75rem;
}

.hero-badge {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(250, 250, 250, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* Conteneur général */

.container {
  max-width: 1100px;
  margin: 20px auto 40px;
  padding: 0 14px;
}

/* Sections cartes d'infos */

.section {
  margin-top: 22px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.section-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
  font-weight: 800;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #111827;
}

.section-subtitle {
  font-size: 0.9rem;
  color: #6b7280;
  max-width: 32rem;
}

/* Grilles */

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

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

/* Cartes */

.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 14px 12px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.card h3 {
  font-size: 0.96rem;
  margin-bottom: 6px;
  color: #111827;
}

.card p {
  font-size: 0.85rem;
  color: #4b5563;
}

.badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  background: #e5e7eb;
  color: #111827;
  font-weight: 700;
}

.badge-gold {
  background: #fef3c7;
  color: #92400e;
}

.badge-green {
  background: #dcfce7;
  color: #166534;
}

ul {
  margin-left: 16px;
  margin-top: 4px;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: #4b5563;
}

/* Actualités en une */

.news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-item {
  padding-bottom: 8px;
  border-bottom: 1px dashed #e5e7eb;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-size: 0.75rem;
  color: #6b7280;
}

.news-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 2px 0;
}

.news-text {
  font-size: 0.83rem;
  color: #4b5563;
}

/* Bloc président (réutilisé) */

.president-block {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
  margin-top: 10px;
  margin-bottom: 12px;
}

.president-text {
  flex: 1 1 260px;
  font-size: 0.9rem;
  color: #374151;
}

.president-text p {
  margin-bottom: 6px;
}

.president-photo {
  flex: 0 0 230px;
  text-align: center;
}

.president-photo img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.3);
}

.president-name {
  margin-top: 6px;
  font-weight: bold;
  font-size: 14px;
}

.president-title {
  font-size: 12px;
  color: #6b7280;
}

/* Tableaux simples pour autres pages */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 14px;
  font-size: 0.86rem;
}

th,
td {
  border: 1px solid #e5e7eb;
  padding: 7px 8px;
}

th {
  background: #f3f4f6;
  text-align: left;
}

/* Formulaire contact */

form label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  font-size: 0.86rem;
}

form input,
form textarea {
  width: 100%;
  padding: 7px 8px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 0.86rem;
  margin-top: 4px;
}

form textarea {
  min-height: 120px;
}

button.btn {
  margin-top: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: #0f766e;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.84rem;
}

button.btn:hover {
  background: #115e59;
}

/* Hero "small" pour autres pages */

.hero-small {
  height: 150px;
  background: linear-gradient(135deg, #0f172a, #0f766e);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-small h1 {
  font-size: 24px;
}

/* Container autres pages */

.page-container {
  max-width: 1000px;
  margin: 22px auto 40px;
  padding: 0 14px;
}

.page-container .card {
  margin-bottom: 14px;
}

/* Footer */

footer {
  background: #020617;
  color: #9ca3af;
  text-align: center;
  padding: 14px 8px;
  font-size: 13px;
  margin-top: 30px;
}

/* Responsive */

@media (max-width: 800px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
    margin-bottom: 8px;
  }

  header .wrapper-header {
    flex-direction: row;
    justify-content: flex-start;
  }

  .logo-round {
    display: none;
  }

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

@media (max-width: 600px) {
  header .wrapper-header {
    flex-direction: column;
    text-align: center;
  }

  nav .wrapper-nav {
    font-size: 12px;
  }

  .hero-home {
    padding: 26px 10px 24px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
