/* ==========================================================================
   SITE OFFICIEL : CDR / FONK SA KADDU
   Président-Fondateur : Déthié Faye
   Styles Principaux & Charte Graphique Républicaine
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Couleurs de la République & Identité Fonk Sa Kaddu */
  --primary-green: #0d5f3a;
  --primary-green-dark: #083c24;
  --primary-green-light: #168653;
  --accent-gold: #e5a910;
  --accent-gold-dark: #c28c05;
  --accent-gold-light: #fef3c7;
  --republican-red: #c52222;
  --republican-blue: #0f1d38;
  --republican-blue-dark: #091224;
  --neutral-dark: #1e293b;
  --neutral-body: #334155;
  --neutral-light: #f8fafc;
  --neutral-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--neutral-body);
  background-color: #fcfdfd;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  content: '';
  position: fixed;
  top: 55%;
  z-index: 2;
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(-50%);
}

body::before {
  left: 12%;
  width: min(22vw, 260px);
  height: 260px;
  background-image: url('../images/senegal-flag.svg?v=20260918');
  opacity: 0.14;
}

body::after {
  right: 12%;
  width: min(20vw, 250px);
  height: 250px;
  background-image: url('../images/logo.png?v=20260918'), url('../images/logo.svg?v=20260918');
  opacity: 0.12;
}

body > * {
  position: relative;
  z-index: 1;
}

section.section-padding {
  background: transparent;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--republican-blue);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--primary-green-dark);
}

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

/* ---------------- CONTENEURS & GRILLES ---------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-padding {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }
}

/* ---------------- HEADER & NAVIGATION ---------------- */
.top-bar {
  background: var(--republican-blue-dark);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-badge {
  background: rgba(229, 169, 16, 0.15);
  color: var(--accent-gold);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-right a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-right a:hover {
  color: var(--accent-gold);
}

.main-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(9, 18, 36, 0.08);
  border-bottom: 1px solid rgba(229, 169, 16, 0.35);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1.25rem;
  overflow: hidden;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  padding: 0.3rem 0;
  flex: 0 0 auto;
}

.logo-brand::before {
  display: none;
}

.logo-icon {
  width: 132px;
  height: 62px;
  background-color: #ffffff;
  background-image: url('../images/logo.png?v=20260917'), url('../images/logo.svg?v=20260917');
  background-position: center, center;
  background-size: contain, contain;
  background-repeat: no-repeat, no-repeat;
  border: 1px solid rgba(15, 29, 56, 0.1);
  border-radius: 8px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  flex: 0 0 auto;
}

.logo-image {
  width: 132px;
  height: 62px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(15, 29, 56, 0.1);
  border-radius: 8px;
}

.main-header .logo-icon,
.footer-brand .logo-icon {
  background-image: url('../images/logo.png?v=20260919'), url('../images/logo.svg?v=20260919') !important;
  background-position: center, center !important;
  background-size: contain, contain !important;
  background-repeat: no-repeat, no-repeat !important;
  background-color: #ffffff !important;
}

.logo-icon::after {
  display: none;
}

.logo-text {
  display: none;
}

.logo-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--republican-blue);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.logo-title span {
  color: var(--primary-green);
}

.logo-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0.15rem;
  list-style: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--neutral-dark);
  position: relative;
  padding: 0.7rem 0.62rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 0.7rem;
  width: calc(100% - 1.4rem);
  height: 3px;
  border-radius: 3px;
  background: var(--primary-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-green);
  background: linear-gradient(180deg, rgba(13, 95, 58, 0.10), rgba(13, 95, 58, 0.04));
  box-shadow: none;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links .nav-link-social {
  color: #2563eb;
  margin-left: 0.25rem;
  border-left: 1px solid var(--border-color);
  padding-left: 0.9rem;
}

.nav-links .nav-link-secondary {
  color: var(--primary-green);
}

.nav-links .nav-link-social:hover,
.nav-links .nav-link-social.active {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.08);
}

.nav-links .nav-link-secondary:hover,
.nav-links .nav-link-secondary.active {
  color: var(--primary-green-dark);
  background: rgba(13, 95, 58, 0.08);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.nav-cta-group .btn-whatsapp,
.nav-cta-group .btn-outline {
  display: none;
}

@media (max-width: 1360px) and (min-width: 769px) {
  .navbar {
    gap: 0.5rem;
  }
  .logo-brand::before,
  .logo-text {
    display: none;
  }
  .logo-icon {
    width: 112px;
    height: 52px;
  }
  .nav-links {
    gap: 0;
    padding: 0.25rem;
  }
  .nav-links a {
    padding: 0.55rem 0.48rem;
    font-size: 0.76rem;
  }
  .nav-links a::after {
    left: 0.48rem;
    width: calc(100% - 0.96rem);
  }
  .nav-cta-group {
    gap: 0.35rem;
  }
  .nav-cta-group .btn {
    padding: 0.65rem 0.7rem;
    font-size: 0.78rem;
  }
  .nav-cta-group .btn-gold {
    white-space: nowrap;
  }
}


.president-video-section {
  background: linear-gradient(135deg, #091224 0%, #0d5f3a 100%);
  color: white;
}

.president-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.president-video-copy h2 {
  color: white;
}

.president-video-copy p {
  color: #cbd5e1;
  max-width: 620px;
}

.president-video-card {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  background: #091224;
  box-shadow: var(--shadow-xl);
}

.president-video-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  opacity: 0.68;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.president-video-card:hover img {
  transform: scale(1.04);
  opacity: 0.5;
}

.president-video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: 3.5rem;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.president-video-label {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.7rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-green);
  color: white;
  box-shadow: 0 4px 12px rgba(13, 95, 58, 0.25);
}

.btn-primary:hover {
  background: var(--primary-green-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 95, 58, 0.35);
}

.btn-gold {
  background: var(--accent-gold);
  color: var(--republican-blue-dark);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(229, 169, 16, 0.25);
}

.btn-gold:hover {
  background: var(--accent-gold-dark);
  color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.btn-outline:hover {
  background: var(--primary-green);
  color: white;
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.btn-outline-white:hover {
  background: white;
  color: var(--republican-blue);
  border-color: white;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}

.btn-whatsapp:hover {
  background: #1ebc59;
  color: white;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: rgba(13, 95, 58, 0.08);
  border: 1px solid rgba(13, 95, 58, 0.15);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  font-size: 1.25rem;
  color: var(--republican-blue);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  background: var(--primary-green);
  color: white;
}

/* ---------------- HERO SECTION ---------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--republican-blue-dark) 0%, var(--republican-blue) 60%, var(--primary-green-dark) 100%);
  color: white;
  padding: 5rem 0 6rem 0;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 8%;
  right: -5rem;
  width: min(46vw, 560px);
  height: 72%;
  background: url('../images/senegal-flag.svg?v=20260917') center / cover no-repeat;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.14;
  filter: saturate(0.9);
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  left: -4rem;
  bottom: -8rem;
  width: 420px;
  height: 420px;
  background-image: url('../images/logo.png?v=20260917'), url('../images/logo.svg?v=20260917');
  background-position: center, center;
  background-size: contain, contain;
  background-repeat: no-repeat, no-repeat;
  z-index: 1;
  opacity: 0.11;
  filter: grayscale(1) brightness(2);
  pointer-events: none;
}

.hero-background-flag,
.hero-background-emblem {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

/* Keep the shared watermark in the white content area, below the hero. */
.hero-background-flag,
.hero-background-emblem {
  display: none;
}

.hero-background-flag {
  top: 7%;
  right: 2%;
  width: min(33vw, 440px);
  height: 78%;
  background: url('../images/senegal-flag.svg?v=20260917') center / cover no-repeat;
  border-radius: 42% 0 0 42%;
  opacity: 0.17;
  transform: rotate(-4deg);
  mix-blend-mode: screen;
}

.hero-background-emblem {
  left: 34%;
  bottom: -9rem;
  width: min(30vw, 430px);
  height: 430px;
  background-image: url('../images/logo.png?v=20260917'), url('../images/logo.svg?v=20260917');
  background-position: center, center;
  background-size: contain, contain;
  background-repeat: no-repeat, no-repeat;
  opacity: 0.14;
  filter: grayscale(1) brightness(1.9);
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(229, 169, 16, 0.12) 1px, transparent 1px), radial-gradient(rgba(13, 95, 58, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  z-index: 0;
  opacity: 0.42;
}

.hero-tricolor-strip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  display: flex;
}

.strip-green { flex: 1; background: var(--primary-green); }
.strip-gold { flex: 1; background: var(--accent-gold); }
.strip-red { flex: 1; background: var(--republican-red); }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(229, 169, 16, 0.35);
  color: var(--accent-gold);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: white;
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero-title span.highlight-gold {
  color: var(--accent-gold);
}

.hero-title span.highlight-green {
  color: #34d399;
}

.hero-lead {
  font-size: 1.18rem;
  color: #cbd5e1;
  max-width: 580px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item h3 {
  color: var(--accent-gold);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.stat-item p {
  color: #94a3b8;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Portrait Card */
.hero-portrait-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
}

.portrait-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 2px solid var(--accent-gold);
  aspect-ratio: 4 / 5;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.05) contrast(1.04);
}

.portrait-badge-leader {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(15, 29, 56, 0.92);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-gold);
}

.portrait-badge-leader h4 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.portrait-badge-leader p {
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0;
}

/* ---------------- SECTION HEADINGS ---------------- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  color: var(--primary-green);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.35rem;
  color: var(--republican-blue);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.7;
}

/* ---------------- VALEURS & FONK SA KADDU ---------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.value-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--border-color);
  transition: background var(--transition-fast);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(13, 95, 58, 0.2);
}

.value-card:hover::before {
  background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(13, 95, 58, 0.08);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------------- CITATION DE MARQUE / PRESIDENT ---------------- */
.quote-banner {
  background: linear-gradient(135deg, #091224 0%, #162447 100%);
  color: white;
  padding: 4.5rem 0;
  position: relative;
}

.quote-box {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-icon {
  font-size: 3rem;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.quote-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.45;
  color: #f8fafc;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.quote-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.quote-author-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.quote-author-role {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ---------------- INTERVIEWS & PUBLICATIONS ---------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.article-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(229, 169, 16, 0.4);
}

.article-thumb {
  position: relative;
  height: 200px;
  background: #1e293b;
  overflow: hidden;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.article-card:hover .article-thumb img {
  transform: scale(1.05);
}

.article-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--republican-blue);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-interview {
  background: var(--accent-gold);
  color: var(--republican-blue-dark);
}

.badge-communique {
  background: var(--primary-green);
  color: white;
}

.article-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.article-title {
  font-size: 1.22rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.article-title a {
  color: var(--republican-blue);
}

.article-title a:hover {
  color: var(--primary-green);
}

.article-excerpt {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------------- FORMULAIRES D'ADHÉSION & CONTACT ---------------- */
.form-container {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--neutral-dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--neutral-dark);
  transition: all var(--transition-fast);
  background: #fdfefe;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(13, 95, 58, 0.15);
  background: white;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Options radio pour type d'adhésion */
.membership-type-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.type-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: #f8fafc;
}

.type-option input[type="radio"] {
  accent-color: var(--primary-green);
  width: 18px;
  height: 18px;
}

.type-option.active,
.type-option:hover {
  border-color: var(--primary-green);
  background: rgba(13, 95, 58, 0.04);
}

/* ---------------- CARTE DE MEMBRE NUMÉRIQUE ---------------- */
.digital-card-preview {
  background: linear-gradient(135deg, #091224 0%, #0d5f3a 100%);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  max-width: 480px;
  margin: 0 auto;
}

.digital-card-preview::before {
  content: 'SÉNÉGAL';
  position: absolute;
  right: -20px;
  bottom: -10px;
  font-family: 'Outfit', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.digital-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
}

.digital-card-header .card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.5px;
}

.digital-card-body {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.25rem;
  align-items: center;
}

.card-avatar {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent-gold);
}

.card-details h4 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.card-details p {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.card-id-number {
  margin-top: 6px;
  display: inline-block;
  background: rgba(229, 169, 16, 0.15);
  color: var(--accent-gold);
  font-family: monospace;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
}

.digital-card-footer {
  margin-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #94a3b8;
}

/* ---------------- FOOTER ---------------- */
.main-footer {
  background: var(--republican-blue-dark);
  color: #cbd5e1;
  padding: 4.5rem 0 2rem 0;
  border-top: 4px solid var(--primary-green);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-top: 1rem;
}

.footer-col h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--accent-gold);
  color: var(--republican-blue-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-feature-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-feature-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-feature-links a:first-child i {
  color: #60a5fa;
}

.footer-feature-links a:last-child i {
  color: var(--accent-gold);
}

.footer-feature-links a:hover {
  color: white;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

/* ---------------- RESPONSIVE DESIGN ---------------- */
@media (max-width: 1024px) {
  .logo-brand {
    min-width: 0;
  }
  .logo-icon {
    width: 118px;
  }
  .logo-text {
    display: none;
  }
  .nav-links {
    gap: 0;
  }
  .nav-links a {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
    font-size: 0.82rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
    width: 100%;
  }
  .hero-portrait-card {
    max-width: 480px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .navbar {
    height: 72px;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: -100%;
    width: min(340px, 88vw);
    height: calc(100vh - 72px);
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 1.5rem 1rem;
    gap: 0.4rem;
    align-items: flex-start;
    transition: left var(--transition-normal);
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
  }
  .nav-links a {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }
  .nav-links a::after {
    bottom: 0.45rem;
    left: 1rem;
    width: calc(100% - 2rem);
  }
  .nav-links.active {
    left: 0;
  }
  .logo-brand::before {
    width: 30px;
    height: 23px;
  }
  .logo-icon {
    width: 150px;
    height: 48px;
  }
  .president-video-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-background-flag {
    right: -5rem;
    width: 300px;
    height: 58%;
    opacity: 0.1;
  }
  .hero-background-emblem {
    left: 20%;
    width: 280px;
    height: 280px;
    opacity: 0.08;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .membership-type-selector {
    grid-template-columns: 1fr;
  }
}
