@charset "UTF-8";

/* =====================================================
   🇭🇹 Haïti 🇭🇹 — Main Stylesheet
   ===================================================== */

/* ── Variables ─────────────────────────────────────── */
:root {
  --blue:      #00209F;
  --blue-dark: #001370;
  --red:       #D21034;
  --red-light: #f04060;
  --gold:      #FFD166;
  --white:     #ffffff;
  --bg:        #f8fafc;
  --bg-soft:   #eef2ff;
  --text:      #0f172a;
  --text-muted:#475569;
  --border:    #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.14);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.25s ease;
  --font-sans: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
}

/* ── Reset & Base ───────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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

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

ul {
  list-style: none;
}

/* ── Utility ────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--bg-soft);
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 52px;
}

.text-center {
  text-align: center;
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--text);
}

.btn-primary:hover {
  background: #f5c400;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255,209,102,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,32,159,0.3);
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: var(--red-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(210,16,52,0.3);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ── Header / Navbar ────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, #b00028 100%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px 0;
  gap: 20px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.navbar__logo .logo-flag {
  display: flex;
  flex-direction: column;
  width: 36px;
  height: 24px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.navbar__logo .flag-top {
  flex: 1;
  background: var(--blue);
}

.navbar__logo .flag-bottom {
  flex: 1;
  background: var(--red);
}

.logo-emoji-flag {
  font-size: 28px;
  line-height: 1;
}

.hero__flag {
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__flag-emoji {
  font-size: 120px;
  line-height: 1;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar__nav a {
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  font-size: 15px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.navbar__nav a:hover,
.navbar__nav a.active {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.navbar__nav a.active {
  background: rgba(255,209,102,0.2);
  color: var(--gold);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  transition: var(--transition);
}

.navbar__toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar__toggle:hover {
  background: rgba(255,255,255,0.22);
}

/* Mobile menu open state */
.navbar__toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__toggle.open span:nth-child(2) {
  opacity: 0;
}
.navbar__toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  padding: 80px 24px;
  background:
    radial-gradient(ellipse at 20% 55%, rgba(0, 44, 179, 0.55) 0%, transparent 58%),
    radial-gradient(ellipse at 80% 45%, rgba(210, 16, 52, 0.50) 0%, transparent 58%),
    linear-gradient(135deg,
      #001370 0%,
      #00209F 22%,
      #1a0d50 45%,
      #6B0820 72%,
      #D21034 100%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero__title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 22px;
  text-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.hero__title span {
  color: var(--gold);
}

.hero__desc {
  font-size: clamp(16px, 2.5vw, 20px);
  max-width: 760px;
  margin: 0 auto 36px;
  opacity: 0.92;
  line-height: 1.75;
}

.hero__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Cards ──────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.cards-grid--6 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__img--placeholder {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.card__img--placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  border-bottom: 2px dashed rgba(255,255,255,0.2);
}

.card__img--blue    { background: linear-gradient(135deg, var(--blue), #2244d4); }
.card__img--red     { background: linear-gradient(135deg, var(--red), #ff4060); }
.card__img--gold    { background: linear-gradient(135deg, #c08000, var(--gold)); }
.card__img--green   { background: linear-gradient(135deg, #056835, #0aa050); }
.card__img--purple  { background: linear-gradient(135deg, #5b21b6, #8b5cf6); }
.card__img--teal    { background: linear-gradient(135deg, #0e7490, #22d3ee); }

.card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.card__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.card__footer {
  margin-top: auto;
}

/* ── Feature Strip (3-column stat bar) ─────────────── */
.stats-strip {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, #8b0020 100%);
  color: var(--white);
  padding: 64px 0;
}

.stats-strip .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-item__number {
  font-size: 48px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 15px;
  opacity: 0.88;
  font-weight: 600;
}

/* ── Timeline ───────────────────────────────────────── */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--blue), var(--red));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 36px);
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 36px);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 24px;
  width: 16px;
  height: 16px;
  background: var(--red);
  border: 3px solid var(--white);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(210,16,52,0.2);
}

.timeline-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  max-width: 380px;
  width: 100%;
  border-left: 5px solid var(--red);
  transition: var(--transition);
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.timeline-card__year {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}

.timeline-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Leadership Chronology Table ───────────────────── */
.leader-era {
  margin-bottom: 48px;
}

.leader-era__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 16px;
  padding: 10px 16px;
  background: var(--bg-soft);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.leader-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.leader-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
}

.leader-table thead th {
  background: var(--blue);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.leader-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.leader-table tbody tr:last-child {
  border-bottom: none;
}

.leader-table tbody tr:hover {
  background: var(--bg-soft);
}

.leader-table tbody td {
  padding: 12px 16px;
  vertical-align: top;
  line-height: 1.5;
}

.leader-table td.lt-year {
  font-weight: 700;
  color: var(--blue);
  font-size: 12px;
  white-space: nowrap;
  min-width: 100px;
}

.leader-table td.lt-name {
  font-weight: 700;
  color: var(--text);
  min-width: 170px;
}

.leader-table td.lt-status {
  min-width: 130px;
}

.leader-table td.lt-desc {
  color: var(--text-muted);
  font-size: 13px;
}

.leader-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.lb-president   { background: rgba(0,32,159,.12);   color: var(--blue); }
.lb-provisional { background: rgba(255,209,102,.45); color: #7a5c00; }
.lb-military    { background: rgba(71,85,105,.18);   color: #334155; }
.lb-pm          { background: rgba(5,104,53,.12);    color: #065f46; }
.lb-emperor     { background: rgba(210,16,52,.12);   color: var(--red); }
.lb-king        { background: rgba(210,16,52,.12);   color: var(--red); }
.lb-collective  { background: rgba(0,32,159,.08);    color: var(--blue-dark); }

/* ── Text-only / Standalone text block ──────────────── */
.container > .text-block {
  max-width: 760px;
  margin: 0 auto;
}

/* ── About / Two-column layout ──────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col--reversed {
  direction: rtl;
}

.two-col--reversed > * {
  direction: ltr;
}

.img-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.text-block h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 16px;
  line-height: 1.25;
}

.text-block p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 16px;
}

.text-block ul {
  list-style: none;
  margin-bottom: 24px;
}

.text-block ul li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-muted);
  font-size: 15px;
}

.text-block ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 12px;
  top: 9px;
}

/* ── Icon Feature Cards ─────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--red);
}

.feature-card__icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 10px;
}

.feature-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Destination Cards ──────────────────────────────── */
.destination-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.destination-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.destination-card__img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  position: relative;
}

.destination-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.destination-card__body {
  padding: 24px;
}

.destination-card__location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.destination-card__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 10px;
}

.destination-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* ── Contact Page ───────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-info-item__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-info-item__label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  margin-bottom: 4px;
}

.contact-info-item__value {
  font-size: 15px;
  color: var(--text-muted);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0,32,159,0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* Contact Unavailable Notice */
.contact-unavailable {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  box-shadow: var(--shadow-md);
  max-width: 680px;
  margin: 0 auto;
}

.contact-unavailable__icon {
  font-size: 48px;
  margin-bottom: 24px;
}

.contact-unavailable__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 16px;
}

.contact-unavailable__message {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ── Page Hero (inner pages) ────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, var(--red) 100%);
  color: var(--white);
  padding: 96px 0 80px;
  text-align: center;
  position: relative;
}

.page-hero--about {
  background:
    linear-gradient(rgba(0,20,100,0.75), rgba(100,0,20,0.75)),
    url('https://upload.wikimedia.org/wikipedia/commons/thumb/b/bb/Haitian_woman_in_traditional_dress.jpg/1280px-Haitian_woman_in_traditional_dress.jpg') center/cover no-repeat;
}

.page-hero--history {
  background:
    linear-gradient(rgba(0,10,60,0.78), rgba(80,0,10,0.78)),
    url('https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Citadelle_Laferri%C3%A8re.jpg/1280px-Citadelle_Laferri%C3%A8re.jpg') center/cover no-repeat;
}

.page-hero--tourism {
  background:
    linear-gradient(rgba(0,15,80,0.72), rgba(0,80,100,0.72)),
    url('https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Citadelle_Laferri%C3%A8re.jpg/1280px-Citadelle_Laferri%C3%A8re.jpg') center/cover no-repeat;
}

.page-hero__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.page-hero__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 18px;
  text-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.page-hero__desc {
  font-size: 18px;
  opacity: 0.9;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Quote / Blockquote ─────────────────────────────── */
.quote-block {
  background: linear-gradient(135deg, var(--blue) 0%, #0a2cc0 100%);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}

.quote-text {
  font-size: clamp(20px, 3vw, 30px);
  font-style: italic;
  font-family: var(--font-serif);
  max-width: 900px;
  margin: 0 auto 20px;
  line-height: 1.6;
  opacity: 0.95;
}

.quote-author {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}

/* ── Breadcrumb ─────────────────────────────────────── */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.breadcrumb nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb nav a {
  color: var(--blue);
  font-weight: 600;
}

.breadcrumb nav a:hover {
  color: var(--red);
}

.breadcrumb nav span {
  color: var(--border);
}

/* ── Alert / Info Banner ────────────────────────────── */
.info-banner {
  background: var(--bg-soft);
  border-left: 5px solid var(--blue);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin-bottom: 32px;
  font-size: 15px;
  color: var(--text-muted);
}

/* ── Person / Figure Cards ──────────────────────────── */
.person-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}

.person-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.person-card__avatar {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.person-card__body {
  padding: 20px;
}

.person-card__name {
  font-size: 18px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 4px;
}

.person-card__role {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.person-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── CTA Section ────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  margin-bottom: 14px;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-cta-white {
  background: var(--white);
  color: var(--red);
  font-weight: 800;
}

.cta-section .btn-cta-white:hover {
  background: #f5f5f5;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
  background: #0a0f2e;
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}

/* ── Enjeux Grid ─────────────────────────────────────── */
.enjeux-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.enjeu-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  border-left: 5px solid var(--red);
}

.enjeu-card--positive {
  border-left-color: #056835;
}

.enjeu-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.enjeu-card__icon {
  font-size: 36px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.enjeu-card__body {
  flex: 1;
}

.enjeu-card__body h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
  line-height: 1.3;
}

.enjeu-card__body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.enjeu-card__arrow {
  font-size: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  align-self: center;
  transition: var(--transition);
}

.enjeu-card:hover .enjeu-card__arrow {
  color: var(--blue);
  transform: translateX(4px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand__logo .logo-flag {
  display: flex;
  flex-direction: column;
  width: 30px;
  height: 20px;
  border-radius: 3px;
  overflow: hidden;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  opacity: 0.7;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ── Dropdown Navigation ────────────────────────────── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  font-size: 15px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: var(--font-sans);
}

.nav-dropdown__btn:hover,
.nav-dropdown.open .nav-dropdown__btn {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px 0;
  z-index: 1001;
}

.nav-dropdown.open .nav-dropdown__menu {
  display: block;
}

.nav-dropdown__menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text) !important;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  border-radius: 0;
}

.nav-dropdown__menu a:hover {
  background: var(--bg-soft);
  color: var(--blue) !important;
}

/* ── Responsive ─────────────────────────────────────── */

/* Compact navbar for medium screens with more nav items */
@media (max-width: 1280px) {
  .navbar__nav a,
  .nav-dropdown__btn {
    font-size: 13px;
    padding: 8px 10px;
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .two-col--reversed {
    direction: ltr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item,
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 56px;
    padding-right: 0;
  }
  .timeline-item::after,
  .timeline-item:nth-child(even)::after {
    left: 20px;
  }
  .timeline-card {
    max-width: 100%;
  }
}

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

  .navbar__nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.1);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .navbar__nav.open {
    display: flex;
  }

  .navbar__nav a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 15px;
  }

  .navbar__toggle {
    display: flex;
  }

  /* Mobile dropdowns — show inline, not floating */
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown__btn {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    font-size: 15px;
  }

  .nav-dropdown__menu {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    margin: 4px 0 4px 12px;
    padding: 4px 0;
    min-width: unset;
  }

  .nav-dropdown__menu a {
    color: rgba(255,255,255,0.85) !important;
    font-size: 14px;
    padding: 9px 16px;
  }

  .nav-dropdown__menu a:hover {
    background: rgba(255,255,255,0.12);
    color: var(--gold) !important;
  }

  .site-header {
    position: sticky;
  }

  .hero {
    min-height: auto;
    padding: 72px 20px 60px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__flag-emoji {
    font-size: 80px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stats-strip .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 64px 0 56px;
  }

  .quote-text {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero__desc {
    font-size: 15px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 14px;
  }

  .stat-item__number {
    font-size: 36px;
  }

  .stats-strip .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* =====================================================
   🕯️ VODOU & LWA PAGES — Additional Styles
   ===================================================== */

/* ── Search Toggle Button ────────────────────────────── */
.search-toggle {
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  transition: var(--transition);
}

.search-toggle:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.6);
}

/* ── Search Overlay ──────────────────────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,15,40,0.88);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.search-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.search-overlay__inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.25s ease;
}

.search-overlay.open .search-overlay__inner {
  transform: translateY(0);
}

.search-overlay__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  color: var(--text-muted);
}

.search-input {
  border: none;
  outline: none;
  font-size: 18px;
  color: var(--text);
  background: transparent;
  flex: 1;
  font-family: var(--font-sans);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-close {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
}

.search-close:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.search-results {
  padding: 16px 24px 24px;
  max-height: 420px;
  overflow-y: auto;
}

.search-results__hint,
.search-results__empty {
  color: var(--text-muted);
  font-size: 15px;
  padding: 16px 0;
  text-align: center;
}

.search-results__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-result__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.search-result__link:hover {
  background: var(--bg-soft);
}

.search-result__title {
  font-weight: 600;
  color: var(--text);
  font-size: 15px;
}

.search-result__section {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(210,16,52,0.08);
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Page Hero Variants ──────────────────────────────── */
.page-hero--vodou {
  background: linear-gradient(135deg, #1a0033 0%, #3a0066 40%, #00209F 100%);
}

.page-hero--lwa {
  background: linear-gradient(135deg, #003333 0%, #00209F 50%, #8B0000 100%);
}

.page-hero__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  justify-content: center;
}

/* ── Vodou Nations Grid ──────────────────────────────── */
.vodou-nations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 52px;
}

.nation-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.nation-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px 16px;
}

.nation-card--rada { border-color: #e8f0fe; }
.nation-card--rada .nation-card__header { background: linear-gradient(135deg, #e8f0fe, #c7d7fc); }

.nation-card--petro { border-color: #fce8e8; }
.nation-card--petro .nation-card__header { background: linear-gradient(135deg, #fce8e8, #f8c4c4); }

.nation-card--gede { border-color: #e8e0f0; }
.nation-card--gede .nation-card__header { background: linear-gradient(135deg, #2d2040, #1a0033); color: var(--white); }
.nation-card--gede .nation-card__title { color: var(--white); }
.nation-card--gede .nation-card__badge { background: rgba(255,255,255,0.2); color: #ddd; }

.nation-card--nago { border-color: #fff0e0; }
.nation-card--nago .nation-card__header { background: linear-gradient(135deg, #fff0e0, #ffd9a0); }

.nation-card--ibo { border-color: #e0f0e8; }
.nation-card--ibo .nation-card__header { background: linear-gradient(135deg, #e0f0e8, #b8dfc8); }

.nation-card--kongo { border-color: #e0e8ff; }
.nation-card--kongo .nation-card__header { background: linear-gradient(135deg, #003355, #006699); color: var(--white); }
.nation-card--kongo .nation-card__title { color: var(--white); }
.nation-card--kongo .nation-card__badge { background: rgba(255,255,255,0.2); color: #ddd; }

.nation-card__icon {
  font-size: 32px;
  flex-shrink: 0;
}

.nation-card__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  margin: 0;
}

.nation-card__badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(0,32,159,0.1);
  color: var(--blue);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.nation-card__body {
  padding: 20px 24px 24px;
}

.nation-card__body p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.65;
}

.nation-card__body ul {
  margin: 0;
  padding-left: 0;
}

.nation-card__body ul li {
  font-size: 14px;
  color: var(--text);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  padding-left: 16px;
  position: relative;
}

.nation-card__body ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: bold;
}

.nation-card__body ul li:last-child {
  border-bottom: none;
}

/* ── Vodou Info Box ──────────────────────────────────── */
.vodou-info-box {
  background: linear-gradient(135deg, #1a0033, #00209F);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 40px;
  margin-top: 48px;
}

.vodou-info-box h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--gold);
}

.vodou-info-box p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
}

/* ── Lwa Preview Grid ────────────────────────────────── */
.lwa-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.lwa-preview-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  text-decoration: none;
  color: var(--text);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-align: center;
}

.lwa-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.lwa-preview-card__icon {
  font-size: 36px;
}

.lwa-preview-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
}

.lwa-preview-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.lwa-preview-card__nation {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(0,32,159,0.08);
  color: var(--blue);
  padding: 3px 10px;
  border-radius: 20px;
}

.lwa-preview-card__nation--petro {
  background: rgba(210,16,52,0.08);
  color: var(--red);
}

.lwa-preview-card__nation--gede {
  background: rgba(50,0,80,0.1);
  color: #6b21a8;
}

/* ── Lwa Index ───────────────────────────────────────── */
.lwa-index {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 40px;
  box-shadow: var(--shadow-sm);
  margin-top: 40px;
  border: 1px solid var(--border);
}

.lwa-index h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 20px;
  text-align: center;
}

.lwa-index__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.lwa-index__grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.lwa-index__grid a:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ── Lwa Profile ─────────────────────────────────────── */
.lwa-section {
  scroll-margin-top: 80px;
}

.lwa-profile {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.lwa-profile__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 24px;
  padding: 32px 40px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
}

.lwa-profile__icon {
  font-size: 52px;
  flex-shrink: 0;
  align-self: center;
}

.lwa-profile__nation {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.2);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.lwa-profile__nation--petro {
  background: rgba(210,16,52,0.3);
  color: #ffa0a0;
}

.lwa-profile__nation--gede {
  background: rgba(80,0,120,0.4);
  color: #d4a0ff;
}

.lwa-profile__name {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: var(--white);
  margin: 4px 0;
  line-height: 1.1;
}

.lwa-profile__title {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin: 0;
  font-style: italic;
}

.lwa-profile__attributes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
}

.lwa-attr {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lwa-attr span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.lwa-attr strong {
  font-size: 13px;
  color: var(--white);
  font-weight: 600;
}

.lwa-profile__body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 36px 40px;
}

.lwa-profile__text h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  margin: 24px 0 10px;
}

.lwa-profile__text h3:first-child {
  margin-top: 0;
}

.lwa-profile__text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.lwa-profile__chant {
  background: linear-gradient(160deg, #1a0033, #2a0055);
  border-radius: var(--radius-md);
  padding: 28px 28px 24px;
  color: var(--white);
  align-self: start;
}

.lwa-profile__chant h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.lwa-profile__chant blockquote {
  border: none;
  padding: 0;
  margin: 0 0 16px;
  font-style: italic;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  font-size: 15px;
}

.lwa-profile__chant blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-style: normal;
}

.chant-translation {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 12px;
}

/* ── Per-Lwa Color Schemes ───────────────────────────── */

/* Papa Legba — Noir & Rouge-Brun (carrefours, terre, feu) */
.lwa-profile--legba .lwa-profile__header {
  background: linear-gradient(135deg, #0d0000 0%, #420000 50%, #7a1000 100%);
}
.lwa-profile--legba .lwa-profile__chant {
  background: linear-gradient(160deg, #0d0000, #350000);
}
.lwa-profile--legba .lwa-profile__text h3 { color: #b01000; }
.lwa-profile--legba .lwa-profile__chant h3 { color: #ff8060; }

/* Damballah Wedo — Blanc & Argent (pureté, serpent céleste, lumière divine) */
.lwa-profile--damballah .lwa-profile__header {
  background: linear-gradient(135deg, #08090f 0%, #131824 50%, #1c2438 100%);
}
.lwa-profile--damballah .lwa-profile__chant {
  background: linear-gradient(160deg, #06070c, #0f1420);
}
.lwa-profile--damballah .lwa-profile__text h3 { color: #c0cce0; }
.lwa-profile--damballah .lwa-profile__chant h3 { color: #e8f0fa; }

/* Ayida Wedo — Arc-en-Ciel (ciel, pluie, fertilité céleste) */
.lwa-profile--ayida .lwa-profile__header {
  background: linear-gradient(135deg,
    #300060 0%,
    #001068 20%,
    #003840 40%,
    #3a2800 60%,
    #601010 80%,
    #380050 100%);
}
.lwa-profile--ayida .lwa-profile__chant {
  background: linear-gradient(160deg, #1e0040, #002a3a);
}
.lwa-profile--ayida .lwa-profile__text h3 { color: #2a8a6a; }
.lwa-profile--ayida .lwa-profile__chant h3 { color: #90e8c8; }

/* Ogou Feray — Rouge Militaire & Noir (guerre, fer, feu) */
.lwa-profile--ogou .lwa-profile__header {
  background: linear-gradient(135deg, #1a0000 0%, #780000 45%, #b80000 100%);
}
.lwa-profile--ogou .lwa-profile__chant {
  background: linear-gradient(160deg, #140000, #600000);
}
.lwa-profile--ogou .lwa-profile__text h3 { color: #c01000; }
.lwa-profile--ogou .lwa-profile__chant h3 { color: #ff9090; }

/* Erzulie Freda — Rose Profond & Or (amour, beauté, désir) */
.lwa-profile--erzulie-freda .lwa-profile__header {
  background: linear-gradient(135deg, #1e0810 0%, #681535 50%, #a02850 100%);
}
.lwa-profile--erzulie-freda .lwa-profile__chant {
  background: linear-gradient(160deg, #180610, #501025);
}
.lwa-profile--erzulie-freda .lwa-profile__text h3 { color: #b82855; }
.lwa-profile--erzulie-freda .lwa-profile__chant h3 { color: #ffb0c8; }

/* Erzulie Dantor — Bleu Royal & Or (mère guerrière, Vierge Noire) */
.lwa-profile--erzulie-dantor .lwa-profile__header {
  background: linear-gradient(135deg, #040c28 0%, #0c2070 55%, #1030a0 100%);
}
.lwa-profile--erzulie-dantor .lwa-profile__chant {
  background: linear-gradient(160deg, #030920, #0a1860);
}
.lwa-profile--erzulie-dantor .lwa-profile__text h3 { color: #2244cc; }
.lwa-profile--erzulie-dantor .lwa-profile__chant h3 { color: #b0c8ff; }

/* Baron Samedi — Noir Absolu & Violet (mort, cimetières, humour macabre) */
.lwa-profile--baron .lwa-profile__header {
  background: linear-gradient(135deg, #000000 0%, #120028 55%, #1e0040 100%);
}
.lwa-profile--baron .lwa-profile__chant {
  background: linear-gradient(160deg, #000000, #0e001e);
}
.lwa-profile--baron .lwa-profile__text h3 { color: #7c3aed; }
.lwa-profile--baron .lwa-profile__chant h3 { color: #c4b5fd; }

/* Gran Brigitte — Violet, Noir & Doré (gardienne des morts, guérisseuse, épouse du Baron) */
.lwa-profile--gran-brigitte .lwa-profile__header {
  background: linear-gradient(135deg, #100020 0%, #380060 45%, #503010 80%, #604020 100%);
}
.lwa-profile--gran-brigitte .lwa-profile__chant {
  background: linear-gradient(160deg, #0e001a, #2e0052);
}
.lwa-profile--gran-brigitte .lwa-profile__text h3 { color: #c090e8; }
.lwa-profile--gran-brigitte .lwa-profile__chant h3 { color: #ddc090; }

/* Azaka Mede — Bleu Chambray & Vert Terre (agriculture, paysans) */
.lwa-profile--azaka .lwa-profile__header {
  background: linear-gradient(135deg, #0e1a08 0%, #1a3018 45%, #1e3c5a 100%);
}
.lwa-profile--azaka .lwa-profile__chant {
  background: linear-gradient(160deg, #0a1408, #153020);
}
.lwa-profile--azaka .lwa-profile__text h3 { color: #2070a0; }
.lwa-profile--azaka .lwa-profile__chant h3 { color: #8ed4f4; }

/* Agwe Tawoyo — Bleu Marine & Blanc (mer, océan, marins, diaspora) */
.lwa-profile--agwe .lwa-profile__header {
  background: linear-gradient(135deg, #001428 0%, #003870 40%, #005890 100%);
}
.lwa-profile--agwe .lwa-profile__chant {
  background: linear-gradient(160deg, #001020, #003060);
}
.lwa-profile--agwe .lwa-profile__text h3 { color: #5ab0e8; }
.lwa-profile--agwe .lwa-profile__chant h3 { color: #c0e0f8; }

/* Per-lwa image placeholder colors */
.card__img--legba         { background: linear-gradient(135deg, #1a0000, #6a0000); }
.card__img--damballah     { background: linear-gradient(135deg, #080a10, #1a2038); }
.card__img--erzulie-freda { background: linear-gradient(135deg, #3a0818, #882040); }
.card__img--baron         { background: linear-gradient(135deg, #000000, #180030); }

/* ── Lwa Navigation Grid ─────────────────────────────── */
.lwa-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.lwa-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text);
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-align: center;
}

.lwa-nav-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.lwa-nav-item--petro:hover { border-color: var(--red); }
.lwa-nav-item--gede:hover { border-color: #6b21a8; }

.lwa-nav-item__icon {
  font-size: 28px;
}

.lwa-nav-item__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
}

.lwa-nav-item--petro .lwa-nav-item__name { color: var(--red); }
.lwa-nav-item--gede .lwa-nav-item__name { color: #6b21a8; }

.lwa-nav-item__nation {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ── Responsive: Vodou / Lwa Pages ──────────────────── */
@media (max-width: 900px) {
  .lwa-profile__header {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .lwa-profile__attributes {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    min-width: auto;
  }

  .lwa-attr {
    min-width: 140px;
  }

  .lwa-profile__body {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .vodou-nations {
    grid-template-columns: 1fr;
  }

  .vodou-info-box {
    padding: 24px 24px;
  }
}

@media (max-width: 768px) {
  .lwa-profile__header {
    padding: 24px;
    gap: 16px;
  }

  .lwa-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lwa-index {
    padding: 24px;
  }

  .page-hero__nav {
    gap: 8px;
  }

  .search-overlay {
    padding: 64px 12px 24px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .lwa-preview-grid {
    grid-template-columns: 1fr;
  }

  .lwa-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lwa-index__grid {
    grid-template-columns: 1fr 1fr;
  }

  .lwa-profile__header {
    grid-template-columns: 1fr;
  }

  .lwa-profile__icon {
    font-size: 40px;
  }
}

/* ── Image display improvements ─────────────────────── */
.img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.card__img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.destination-card__img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.person-card__avatar img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.hero-img-block {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

/* ── Additional mobile improvements ─────────────────── */
@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .img-block {
    aspect-ratio: 16/9;
    min-height: 220px;
  }

  .section-subtitle {
    font-size: 16px;
    margin-bottom: 36px;
  }

  .stats-strip {
    padding: 40px 0;
  }

  .stat-item__number {
    font-size: 40px;
  }

  .cta-section {
    padding: 56px 0;
  }

  .quote-block {
    padding: 48px 0;
  }

  .destination-card__img {
    height: 180px;
  }

  .destination-card__img img {
    height: 180px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 48px 0;
  }

  .page-hero {
    padding: 48px 0 40px;
  }

  .page-hero__title {
    font-size: 28px;
  }

  .page-hero__desc {
    font-size: 15px;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .lwa-preview-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .navbar__toggle {
    display: flex;
  }
}

/* ── Dark Mode (prefers-color-scheme: dark) ─────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #0f172a;
    --bg-soft:   #1e293b;
    --text:      #e2e8f0;
    --text-muted:#94a3b8;
    --border:    #334155;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.5);
  }

  body {
    background: var(--bg);
    color: var(--text);
  }

  .card {
    background: #1e293b;
    border: 1px solid var(--border);
  }

  .feature-card {
    background: #1e293b;
    border: 1px solid var(--border);
  }

  .destination-card {
    background: #1e293b;
    border: 1px solid var(--border);
  }

  .person-card {
    background: #1e293b;
    border: 1px solid var(--border);
  }

  .nation-card {
    background: #1e293b;
    border: 1px solid var(--border);
  }

  .timeline-card {
    background: #1e293b;
    border: 1px solid var(--border);
    border-left-color: var(--red);
  }

  .lwa-profile {
    background: #1e293b;
    border: 1px solid var(--border);
  }

  .lwa-preview-card {
    background: #1e293b;
    border-color: var(--border);
  }

  .lwa-nav-item {
    background: #1e293b;
    border-color: var(--border);
  }

  .lwa-index {
    background: #1e293b;
    border-color: var(--border);
  }

  .lwa-index__grid a {
    background: #0f172a;
    border-color: var(--border);
    color: var(--text);
  }

  .lwa-index__grid a:hover {
    background: var(--blue);
    color: #ffffff;
  }

  .breadcrumb {
    background: #1e293b;
    border-color: var(--border);
  }

  .section--alt {
    background: #1e293b;
  }

  .contact-form {
    background: #1e293b;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    background: #0f172a;
    border-color: var(--border);
    color: var(--text);
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    background: #1e293b;
    border-color: var(--blue);
  }

  .search-overlay__inner {
    background: #1e293b;
  }

  .search-input {
    color: var(--text);
    background: transparent;
  }

  .search-close {
    background: #0f172a;
    border-color: var(--border);
    color: var(--text-muted);
  }

  .search-result__link:hover {
    background: #0f172a;
  }

  .info-banner {
    background: #1e293b;
    border-left-color: var(--blue);
  }

  .nation-card--gede .nation-card__header {
    background: linear-gradient(135deg, #2d2040, #1a0033);
  }

  .nation-card--kongo .nation-card__header {
    background: linear-gradient(135deg, #003355, #006699);
  }

  /* Improve heading readability on dark backgrounds */
  .section-title,
  .card__title,
  .feature-card__title,
  .destination-card__title,
  .person-card__name,
  .text-block h2,
  .timeline-card__title,
  .lwa-preview-card h3,
  .lwa-nav-item__name,
  .lwa-profile__text h3,
  .lwa-index h3,
  .contact-info h3,
  .contact-form h3 {
    color: #93c5fd;
  }

  .section-label,
  .card__tag,
  .timeline-card__year,
  .destination-card__location,
  .page-hero__label {
    color: #fca5a5;
  }

  /* Ensure footer stays legible */
  .site-footer {
    background: #070c1f;
  }

  /* Stats strip subtle adjustment */
  .stats-strip {
    background: linear-gradient(135deg, #070c1f 0%, #001a73 60%, #6b0018 100%);
  }

  /* Vodou info box - stays with its own gradient */
  .vodou-info-box {
    background: linear-gradient(135deg, #1a0033, #00209F);
  }

  /* Enjeux cards dark mode */
  .enjeu-card {
    background: #1e293b;
    border: 1px solid var(--border);
    border-left-color: var(--red);
  }

  .enjeu-card--positive {
    border-left-color: #056835;
  }

  .enjeu-card__body h3 {
    color: #93c5fd;
  }

  .nav-dropdown__menu {
    background: #1e293b;
    border: 1px solid var(--border);
  }

  .nav-dropdown__menu a {
    color: var(--text) !important;
  }

  .nav-dropdown__menu a:hover {
    background: #0f172a;
    color: var(--gold) !important;
  }
}

/* ── Card icon emoji ────────────────────────────────── */
.card__icon-emoji {
  font-size: 52px;
}

