:root {
  --navy: #145199;
  --navy-dark: #0d3a70;
  --green: #4caf50;
  --green-dark: #3d8b40;
  --teal: #0097b2;
  --teal-dark: #007589;
  --gold: #0097b2; /* alias conserve pour compatibilite, pointe vers le turquoise du logo */
  --gold-dark: #007589;
  --axis-numerique: #1e88e5;
  --axis-agriculture: #4caf50;
  --axis-territoire: #0097b2;
  --axis-securite: #8b1e3f;
  --bg-light: #f5f7fa;
  --bg-cream: #faf8f3;
  --text-dark: #23262e;
  --text-muted: #656b7a;
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(20, 81, 153, 0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Work Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

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

/* ---- Header / Nav ---- */
.site-header {
  background: var(--navy-dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 36px;
  padding: 14px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: bold; font-size: 1.1rem; }
.brand-logo { height: 56px; width: auto; display: block; }
.nav-links { display: flex; gap: 18px; flex-wrap: wrap; }
.nav-links a { color: #dbe2f5; font-size: 0.95rem; }
.nav-links a:hover { color: var(--gold); text-decoration: none; }
.nav-links a.nav-active { color: #fff; box-shadow: inset 0 -3px 0 #f4c542; }
.nav-cta {
  background: var(--teal); color: var(--white) !important;
  padding: 8px 16px; border-radius: 999px; font-weight: 600;
}
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 32px; background: transparent; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 100%; height: 3px; background: var(--white); border-radius: 2px; }
.lang-switch { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.lang-switch a { color: #9fb3d6; font-weight: 600; font-size: 0.85rem; padding: 2px 4px; }
.lang-switch a.lang-active { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.lang-switch a:hover { color: var(--white); }
.lang-sep { color: #5b729c; font-size: 0.8rem; }

/* ---- Hero ---- */
.hero {
  position: relative;
  color: var(--white);
  padding: 100px 20px 90px;
  text-align: left;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.55;
}
.hero-slideshow { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s ease-in-out;
}
.hero-slide.is-active { opacity: 0.55; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(18,39,74,0.97) 20%, rgba(18,39,74,0.75) 55%, rgba(18,39,74,0.35) 100%);
}
.hero-inner { position: relative; max-width: 620px; }
.hero h1 { color: var(--white); font-size: 3rem; margin-bottom: 12px; }
.hero .tagline { color: var(--gold); font-style: italic; font-size: 1.3rem; margin-bottom: 18px; font-family: "Fraunces", serif; }
.hero p.lead { color: #dbe2f5; font-size: 1.08rem; margin-bottom: 26px; }
.hero .meta { color: #F4C542; margin-bottom: 26px; font-size: 1.5rem; font-weight: 700; }
.hero .meta .online-meta { font-weight: 400; }

.btn {
  display: inline-block; padding: 13px 28px; border-radius: 3px;
  font-weight: 600; cursor: pointer; border: none; font-size: 0.98rem;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--green); text-decoration: none; }
.btn-register { background:#f4c542; color:var(--navy-dark); }
.btn-register:hover { background:#ffd85c; text-decoration:none; }
.btn-outline { background: transparent; border: 1px solid var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); text-decoration: none; }
.btn-outline-dark { background: transparent; border: 1px solid var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: rgba(20,81,153,0.08); text-decoration: none; }
.btn-secondary { background: var(--navy); color: var(--white); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Sections ---- */
section { padding: 42px 20px; }
.section-alt { background: var(--bg-light); }
.section-title { text-align: left; margin-bottom: 8px; max-width: 640px; }
.section-sub { text-align: left; color: var(--text-muted); max-width: 620px; margin: 0 0 26px; }
.section-title.centered, .section-sub.centered { text-align: center; margin-left: auto; margin-right: auto; }

/* ---- Photo gallery strip ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 420px;
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius);
  min-height: 0; min-width: 0;
}
.gallery-grid .g-main { grid-row: 1 / 3; min-height: 0; }
.gallery-caption { color: var(--text-muted); font-size: 0.82rem; margin-top: 12px; }

/* ---- Stat cards ---- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: #e3e6ee; border: 1px solid #e3e6ee; }
.stat-card {
  background: var(--white);
  padding: 30px 20px; text-align: left;
}
.stat-card .num { font-size: 2.4rem; font-weight: 600; color: var(--navy); font-family: "Fraunces", serif; }
.stat-card p { color: var(--text-muted); font-size: 0.9rem; margin: 8px 0 0; }

/* ---- Axes ---- */
.axes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 700px) { .axes-grid { grid-template-columns: 1fr; } }
.axis-card {
  background: var(--white); box-shadow: var(--shadow); overflow: hidden;
}
.axis-card-img { position: relative; height: 260px; }
.axis-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.axis-card-tag {
  position: absolute; left: 14px; bottom: -14px;
  background: var(--axis-color, var(--navy)); color: var(--white);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 6px 15px; border-radius: 2px;
}
.axis-card-body { padding: 26px 20px 22px; }
.axis-card h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.1rem; }
.axis-card p { color: var(--text-muted); font-size: 0.92rem; margin: 6px 0; }
.axis-tag {
  display: inline-block; background: var(--bg-light); border-radius: 4px;
  padding: 2px 8px; font-size: 0.78rem; color: var(--text-dark); margin: 3px 4px 0 0;
}
.axis-thumbs { display: flex; gap: 8px; margin-top: 14px; }
.axis-thumbs img { width: 64px; height: 48px; object-fit: cover; border-radius: 4px; }

/* ---- Programme (timeline) ---- */
.timeline { max-width: 760px; margin: 0 auto; }
.timeline-item { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid #eceef3; }
.timeline-item:last-child { border-bottom: none; }
.timeline-time { min-width: 118px; font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.timeline-body h4 { margin: 0 0 4px; font-size: 1rem; font-family: inherit; color: var(--text-dark); }
.timeline-body p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }
.timeline-obstacle { margin-top: 4px; font-size: 0.82rem; color: var(--gold-dark); }

/* ---- Cards / tiers ---- */
.tiers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.tier-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.tier-card h3 { margin-bottom: 4px; }
.tier-card .amount { color: var(--gold-dark); font-weight: 700; margin-bottom: 10px; }

/* ---- Forms ---- */
.form-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px; max-width: 560px; margin: 0 auto;
}
label { display: block; font-weight: 600; margin: 14px 0 6px; font-size: 0.92rem; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number],
select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #d7dce6; border-radius: 8px;
  font-size: 0.95rem; font-family: inherit;
}
textarea { resize: vertical; min-height: 90px; }
.form-row { display: flex; gap: 14px; flex-wrap: wrap; }
.form-row > div { flex: 1; min-width: 180px; }
.checkbox-group label { display: flex; align-items: center; font-weight: 400; gap: 8px; margin: 6px 0; }
.checkbox-group input { width: auto; }
.form-submit { margin-top: 22px; width: 100%; }
.form-hint { color: var(--text-muted); font-size: 0.85rem; margin-top: 4px; }

.alert {
  padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; font-size: 0.92rem;
}
.alert-success { background: #eaf7ee; color: #1e7a3c; border: 1px solid #bfe6cb; }
.alert-error { background: #fdeceb; color: #b3261e; border: 1px solid #f6c6c2; }

/* ---- Jobs / offres ---- */
.opportunites-filters {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 24px;
}
.opportunites-filters select, .opportunites-filters input[type="text"] {
  padding: 9px 12px; border: 1px solid #d7dbe5; border-radius: 6px; font-size: 0.9rem; font-family: inherit;
  width: auto; flex: 1 1 200px;
}
.opportunites-filters input[type="text"] { flex: 1 1 200px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; }
.pagination-info { color: var(--text-muted); font-size: 0.88rem; }

/* ---- Alerte email Mur des opportunites ---- */
.opportunites-alerte {
  background: var(--bg-light); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 24px;
}
.alerte-title { font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.alerte-text { color: var(--text-muted); font-size: 0.88rem; margin: 0 0 12px; }
.alerte-fields { display: flex; flex-wrap: wrap; gap: 10px; }
.alerte-fields input, .alerte-fields select {
  padding: 9px 12px; border: 1px solid #d7dbe5; border-radius: 6px; font-size: 0.88rem; font-family: inherit;
  width: auto; flex: 1 1 160px;
}
.alerte-fields input[type="email"] { flex: 2 1 220px; }
.alerte-fields button { flex: 0 0 auto; }
.alerte-confirmation { color: var(--green); font-weight: 600; margin: 10px 0 0; }
.job-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px; margin-bottom: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.job-card h3 { margin-bottom: 4px; font-size: 1.05rem; }
.job-apply-link { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.job-apply-link:hover { color: var(--teal); }
.job-actions .job-apply-link { display:inline-block; padding:9px 16px; border:1px solid var(--navy); border-radius:3px; text-decoration:none; }
.job-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.share-row { display: flex; align-items: center; gap: 8px; }
.share-row span { font-size: 0.78rem; color: var(--text-muted); }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; color: var(--white) !important;
  font-size: 0.75rem; font-weight: 700; text-decoration: none !important;
}
.share-btn.whatsapp { background: #25d366; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.facebook { background: #1877f2; }

.partners-strip { padding: 30px 0 10px; text-align: center; }
.partners-strip p { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 16px; }
.partners-strip-logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }

/* ---- Defilement continu des logos (page d'accueil uniquement) ---- */
.partners-marquee {
  width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners-marquee-track {
  display: flex; align-items: center; gap: 48px; width: max-content;
  animation: partners-scroll 28s linear infinite;
}
.partners-marquee:hover .partners-marquee-track { animation-play-state: paused; }
.partners-marquee-track .partner-logo-real {
  flex: 0 0 auto; width: 220px; height: 100px;
}
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partners-marquee-track { animation: none; }
}
.partner-logo-placeholder {
  width: 130px; height: 64px; background: var(--bg-light); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; color: #b7bdc9; font-size: 0.75rem;
}
.partner-logo-real {
  width: 150px; height: 70px; display: flex; align-items: center; justify-content: center;
  padding: 8px;
}
.partner-logo-real img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---- Sponsors groupes par palier ---- */
.sponsor-tiers-showcase { display: flex; flex-direction: column; gap: 22px; }
.sponsor-tier-group { text-align: center; }
.sponsor-tier-label {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin-bottom: 10px;
}
.sponsor-tier-officiel .sponsor-tier-label { color: var(--navy); font-weight: 700; }
.sponsor-tier-or .sponsor-tier-label { color: #a67b00; }
.sponsor-tier-argent .sponsor-tier-label { color: #6b7280; }
.sponsor-tier-bronze .sponsor-tier-label { color: #9c5b3c; }

.rezo-toggle { display: flex; gap: 12px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.rezo-toggle button {
  padding: 12px 22px; border-radius: 999px; border: 2px solid var(--navy);
  background: var(--white); color: var(--navy); font-weight: 600; cursor: pointer; font-size: 0.95rem;
}
.rezo-toggle button.is-active { background: var(--navy); color: var(--white); }
.rezo-form-panel { display: none; }
.rezo-form-panel.is-visible { display: block; }

.captcha-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.captcha-question {
  background: var(--bg-light); padding: 10px 16px; border-radius: 8px; font-weight: 700; color: var(--navy);
  font-family: "Fraunces", serif; font-size: 1.1rem;
}
.captcha-row input { max-width: 100px; }

.live-embed-wrap {
  position: relative; width: 100%; max-width: 960px; margin: 0 auto;
  padding-top: 56.25%; /* ratio 16:9 */
  background: #000; border-radius: var(--radius); overflow: hidden;
}
.live-embed-wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* ---- Objectifs specifiques ---- */
.objectifs-list { list-style: none; padding: 0; max-width: 760px; margin: 0 auto; }
.objectifs-list li {
  position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid #eceef3;
  color: var(--text-dark); font-size: 0.98rem; line-height: 1.6;
}
.objectifs-list li:last-child { border-bottom: none; }
.objectifs-list li::before {
  content: "→"; position: absolute; left: 0; top: 14px; color: var(--teal); font-weight: 700;
}

/* ---- Encadre "Pourquoi ce salon" ---- */
.pourquoi-box {
  background: var(--white); border-left: 5px solid var(--teal); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px 34px; max-width: 900px; margin: 0 auto;
}
.pourquoi-box h2 { margin-bottom: 20px; }
.pourquoi-box .stats-grid { margin-bottom: 6px; }
.pourquoi-box p { color: var(--text-dark); line-height: 1.7; margin: 0; }
.objectifs-subtitle { margin-top: 30px; margin-bottom: 6px; font-size: 1.15rem; color: var(--navy); }
.pourquoi-box .objectifs-list { margin: 0; max-width: 100%; }

/* ---- Parcours (Decouvrir / Se connecter / Se preparer / Batir) ---- */
.parcours-section { padding: 40px 20px 32px; background: var(--bg-cream); }

/* ---- Compte a rebours ---- */
.countdown-section { padding: 30px 20px; text-align: center; background: var(--white); }
.countdown-blue { background:var(--navy-dark); }
.countdown-blue .countdown-unit { background:rgba(255,255,255,.12); }
.countdown-blue .countdown-num,.countdown-blue .countdown-label { color:#fff; }
.countdown-blue .btn-outline-dark { color:#fff; border-color:#fff; }
.countdown-title { font-weight: 700; color: var(--navy); font-size: 1.1rem; margin-bottom: 16px; }
.countdown { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.countdown-unit {
  display: flex; flex-direction: column; align-items: center; background: var(--bg-light);
  border-radius: var(--radius); padding: 14px 20px; min-width: 78px;
}
.countdown-num { font-family: "Fraunces", serif; font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.countdown-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }
.countdown-live { font-size: 1.4rem; font-weight: 700; color: var(--green); }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 20px; margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; position: relative; padding-right: 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 0; font-size: 1.2rem; color: var(--teal); font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 12px 0 0; color: var(--text-dark); line-height: 1.6; }

/* ---- Annuaire des mentors ---- */
.mentor-directory-section { margin: 30px 0 40px; }
.mentor-directory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.mentor-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.mentor-card h4 { margin: 0 0 4px; color: var(--navy); }
.mentor-axe { font-size: 0.82rem; font-weight: 600; color: var(--teal); margin: 0 0 6px; }
.mentor-meta { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 8px; }
.mentor-dispo { font-size: 0.85rem; color: var(--text-dark); margin: 0; font-style: italic; }
.parcours-title {
  text-align: center; font-size: 1.7rem; letter-spacing: 0.02em; color: var(--navy);
  margin-bottom: 10px;
}
.parcours-grid {
  display: flex; align-items: stretch; justify-content: center; gap: 6px;
  margin: 40px 0 26px; flex-wrap: wrap;
}
.parcours-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 20px 24px; text-align: center; flex: 1 1 220px; max-width: 260px;
  border-top: 4px solid var(--step-color, var(--navy));
}
.parcours-card h3 { font-size: 1.05rem; letter-spacing: 0.02em; color: var(--navy); margin-bottom: 10px; }
.parcours-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; line-height: 1.5; }
.parcours-card.step-1 { --step-color: #1769AA; }
.parcours-card.step-2 { --step-color: #F28C28; }
.parcours-card.step-3 { --step-color: #F4C542; }
.parcours-card.is-final { --step-color: #123B5D; box-shadow: 0 14px 34px rgba(18,59,93,0.25); transform: translateY(-4px); }
.parcours-icon-badge {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--step-color, var(--navy));
}
.parcours-icon-badge img { width: 34px; height: 34px; }
.parcours-arrow { display:flex; align-items:center; color:var(--navy); font-size:2.25rem; font-weight:700; padding:0 8px; }

.territorial-map { max-width: 980px; margin: auto; }
.map-flex { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.map-summary {
  flex: 0 0 290px; background: var(--white); border: 1px solid #e0e4ec; border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
}
.map-summary h4 { margin: 0 0 12px; color: var(--navy); }
.map-summary-row {
  display: flex; justify-content: space-between; gap: 8px; padding: 8px 0;
  border-bottom: 1px solid #eef1f6; font-size: 0.88rem;
}
.map-summary-row span:first-child { flex: 1 1 40%; text-align: left; min-width: 0; }
.map-summary-row span:not(:first-child) { flex: 1 1 30%; min-width: 0; text-align: right; }
.map-summary-head span { white-space: normal; line-height: 1.2; }
.map-summary-head { color: var(--text-muted); font-weight: 700; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.03em; }
.map-summary-total { font-weight: 700; color: var(--navy); border-bottom: none; }
.map-summary-row[data-departement] { cursor: pointer; transition: background .15s; }
.map-summary-row[data-departement]:hover, .map-summary-row[data-departement].is-active {
  background: #eef2f9; margin: 0 -20px; padding-left: 20px; padding-right: 20px;
  border-left: 3px solid var(--region-color, var(--navy)); font-weight: 700; color: var(--navy);
}
.map-canvas { flex: 1 1 420px; min-width: 280px; }
.map-canvas svg { width: 100%; height: auto; filter: drop-shadow(0 8px 12px rgba(0,0,0,.16)); }
.map-department { fill: var(--region-color, #9aa5bb); opacity: 0.85; stroke: #fff; stroke-width: 2; cursor: pointer; transition: opacity .2s; outline: none; }
.map-department:hover, .map-department:focus, .map-department[aria-pressed="true"] { opacity: 1; outline: none; }
.territorial-map text { font-size: 13px; font-weight: 700; pointer-events: none; }
.map-attribution { text-align: center; font-size: 0.72rem; color: var(--text-muted); margin-top: 8px; }
.map-attribution a { color: var(--text-muted); }

/* ---- Derniere video du podcast ---- */
.podcast-section { padding: 40px 20px; }
.podcast-embed-frame {
  position: relative; width: 100%; max-width: 800px; margin: 0 auto; padding-top: 45%;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000;
}
.podcast-embed-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.podcast-card {
  display: flex; align-items: center; gap: 20px; max-width: 720px; margin: auto;
  background: var(--navy-dark); color: var(--white); border-radius: var(--radius);
  padding: 22px 26px; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s;
}
.podcast-card:hover { transform: translateY(-2px); text-decoration: none; }
.podcast-play {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; background: #ff0000;
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.podcast-card-text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; }
.podcast-card-text strong { color: var(--white); font-size: 1rem; }
.podcast-card-text span { color: #c7d0e6; font-size: 0.85rem; }
.podcast-cta { flex: 0 0 auto; font-weight: 700; color: #f4c542; white-space: nowrap; }
.podcast-fallback { text-align: center; margin-top: 14px; }
.podcast-fallback a { color: var(--navy); font-weight: 700; }
.speakers-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:20px; }
.speaker-card { text-align:center; background:#fff; box-shadow:var(--shadow); padding:18px; }
.speaker-card img,.speaker-placeholder { width:140px; height:140px; border-radius:50%; object-fit:cover; margin:0 auto 12px; }
.speaker-placeholder { display:flex; align-items:center; justify-content:center; background:var(--navy); color:#fff; font-size:2rem; }
.speaker-card p { color:var(--text-muted); margin:0; }

.admin-charts { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:18px; }
.admin-chart { background:#fff; box-shadow:var(--shadow); padding:18px; }
.chart-row { display:grid; grid-template-columns:minmax(110px,1fr) 2fr 32px; gap:8px; align-items:center; font-size:.8rem; margin:8px 0; }
.chart-row>div { background:#e8edf5; height:12px; }
.chart-row i { display:block; height:100%; background:var(--teal); min-width:2px; }
.admin-speaker-photo { width:48px; height:48px; border-radius:50%; object-fit:cover; }
.drag-handle { cursor:grab; font-size:1.2rem; }
.export-filter { display:flex; gap:8px; align-items:center; }
.parcours-tagline {
  text-align: center; font-family: "Fraunces", serif; font-style: italic; font-size: 1.15rem;
  color: var(--navy); margin: 0 0 34px;
}
.parcours-details {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 980px; margin: 0 auto;
}
.parcours-details div { text-align: left; }
.parcours-details strong { display: block; color: var(--navy); font-size: 0.85rem; letter-spacing: 0.03em; margin-bottom: 4px; }
.parcours-details span { color: var(--text-muted); font-size: 0.86rem; line-height: 1.4; }

/* ---- Opportunites (bande de mise en avant) ---- */
.opportunities-strip { text-align: center; }
.opportunities-box {
  background: #e8f6f8; border: 1px solid #bfe6ea; border-radius: var(--radius);
  padding: 40px 30px; text-align: center; box-shadow: var(--shadow);
}
.tier-card-highlight { border: 2px solid var(--teal); position: relative; }

/* ---- Section de conclusion ---- */
.closing-section {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white); text-align: center; padding: 46px 20px;
}
.closing-section h2 { color: var(--white); font-size: 2rem; margin-bottom: 12px; }
.closing-section p { color: #cfd9f0; font-size: 1.15rem; margin-bottom: 30px; }
.btn-large { padding: 16px 40px; font-size: 1.05rem; }
.closing-animated {
  animation: closing-fade-up 1s ease-out both;
}
@keyframes closing-fade-up {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---- Carte Haiti ---- */
.map-section { padding: 30px 20px; }
.map-title { text-align: left; font-weight: 700; color: var(--navy); font-size: 1.3rem; margin-bottom: 22px; font-family: "Fraunces", serif; }
.map-frame-outer {
  max-width: 1080px; margin: 0 auto; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px;
}
.map-wrap { position: relative; width: 100%; aspect-ratio: 1.9 / 1; overflow: hidden; border-radius: 6px; }
.map-frame { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(15%); }
.job-meta { color: var(--text-muted); font-size: 0.85rem; }
.job-tag { display:inline-block; background: var(--bg-light); border-radius: 6px; padding: 2px 8px; font-size: 0.75rem; margin-right: 6px;}

/* ---- Table (admin) ---- */
table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #eceef3; font-size: 0.88rem; }
th { background: var(--navy); color: var(--white); }
tr:last-child td { border-bottom: none; }
.admin-section { margin-bottom: 40px; }
.admin-section-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.btn-export { padding: 6px 16px; font-size: 0.82rem; border-color: var(--navy); color: var(--navy); }
.admin-table-search {
  display: block; width: 100%; max-width: 320px; margin: 10px 0 14px;
  padding: 8px 12px; border: 1px solid #d7dbe5; border-radius: 6px; font-size: 0.88rem; font-family: inherit;
}
th.sortable-col { position: relative; padding-right: 18px; }
th.sortable-col::after { content: "↕"; position: absolute; right: 4px; opacity: 0.4; font-size: 0.8em; }
th.sortable-col.sorted-asc::after { content: "↑"; opacity: 1; }
th.sortable-col.sorted-desc::after { content: "↓"; opacity: 1; }
.sponsor-admin-manager { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.sponsor-admin-tier { flex: 1 1 200px; }
.sponsor-admin-tier h4 { font-size: 0.85rem; color: var(--navy); margin-bottom: 8px; }
.sponsor-admin-items { display: flex; flex-wrap: wrap; gap: 10px; }
.sponsor-admin-item { background: var(--bg-light); border-radius: 6px; padding: 8px; text-align: center; width: 110px; }
.sponsor-admin-item img { max-width: 100%; max-height: 50px; object-fit: contain; margin-bottom: 6px; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.75rem; background: var(--bg-light); }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-dark); color: #cfd9f0; padding: 50px 0; font-size: 1.05rem;
}
.site-footer a { color: var(--teal); }
.footer-grid {
  display: flex; align-items: center; gap: 48px; max-width: 1100px; margin: 0 auto; padding: 0 20px; box-sizing: border-box;
}
.footer-col-logo { flex: 0 0 auto; }
.footer-col-nav { flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; }
.footer-col-nav a { color: #cfd9f0; font-size: 0.92rem; }
.footer-col-nav a:hover { color: var(--white); }
.footer-col-text { flex: 1 1 auto; text-align: left; }
.footer-col-text p { margin: 8px 0; font-size: 0.95rem; line-height: 1.55; }
.footer-contact { font-size: 0.85rem !important; }
.footer-logo { height: 48px; width: auto; display: block; }

/* ---- Responsive ---- */
@media (max-width: 800px) {
  .nav { flex-wrap: wrap; align-items: center; }
  .nav-toggle { display: flex; order: 2; }
  .brand { order: 1; }
  .nav-links {
    order: 3; display: none; flex-direction: column; align-items: flex-start;
    width: 100%; background: var(--navy-dark); border-radius: 8px;
    padding: 14px; gap: 14px; margin-top: 12px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links .nav-cta { align-self: flex-start; }
  .lang-switch { margin-top: 4px; }
  .map-flex { flex-direction: column; }
  .map-summary { flex: 1 1 auto; width: 100%; box-sizing: border-box; }
  .podcast-embed-frame { padding-top: 56.25%; }
  .podcast-card { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .nav { flex-direction: row; gap: 10px; align-items: center; }
  .brand-logo { height: 44px; }
  .hero { padding: 60px 20px 40px; text-align: left; }
  .hero h1 { font-size: 1.7rem; }
  .hero .meta { font-size: 1.15rem; }
  .hero-inner { max-width: 100%; }
  .hero-scrim { background: linear-gradient(180deg, rgba(18,39,74,0.92), rgba(18,39,74,0.88)); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 140px 140px 140px; height: auto; }
  .gallery-grid .g-main { grid-row: 1 / 2; grid-column: 1 / 3; }
  .timeline-item { flex-direction: column; gap: 4px; }
  .timeline-time { min-width: auto; }
  .tiers-grid { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; }
  .job-actions { align-items: flex-start; width: 100%; }
  .job-actions .btn { width: 100%; text-align: center; }
  .rezo-toggle button { flex: 1 1 100%; }
  .partners-strip-logos { gap: 12px; }
  .partner-logo-placeholder { width: 100px; height: 52px; }
  .form-card { padding: 22px 18px; }
  .stat-card .num { font-size: 1.9rem; }
  .pourquoi-box { padding: 22px 20px; }
  .parcours-grid { flex-direction: column; align-items: center; }
  .parcours-card { max-width: 100%; width: 100%; }
  .parcours-card.is-final { transform: none; }
  .parcours-arrow { transform: rotate(90deg); margin: -4px 0; }
  .parcours-details { grid-template-columns: 1fr; }
  .closing-section h2 { font-size: 1.5rem; }
  .footer-grid { flex-direction: column; text-align: center; gap: 20px; }
  .footer-col-text { text-align: center; }
  .footer-col-nav { align-items: center; }
  .footer-logo { height: 40px; margin: 0 auto; }
}

/* Konekte mentors: horizontally scrollable portrait directory */
.mentor-controls {display:flex;align-items:center;gap:12px;margin:12px 0 20px;flex-wrap:wrap}
.mentor-controls select {max-width:340px;padding:10px;border-radius:8px}
.mentor-directory-grid {display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x proximity;padding:8px 2px 20px;align-items:stretch}
.mentor-directory-grid .mentor-card {flex:0 0 235px;scroll-snap-align:start;min-width:0}
.mentor-directory-grid .mentor-card[hidden] {display:none}
.mentor-portrait {width:100%;height:205px;object-fit:cover;border-radius:10px;background:#e9edf2;margin-bottom:12px}
.mentor-placeholder {display:flex;align-items:center;justify-content:center;font-size:64px;color:#5d6c82}
.mentor-card details {margin-top:10px;overflow-wrap:anywhere}
.mentor-card summary {cursor:pointer;font-weight:600}

/* Mise a jour : administration et profils */
.admin-pagination{display:flex;gap:12px;align-items:center;justify-content:center;margin:14px 0 25px;flex-wrap:wrap}
.admin-pagination button{padding:8px 12px;border:1px solid #a6b6cb;border-radius:6px;background:white;cursor:pointer}
.admin-pagination button:disabled{opacity:.45;cursor:default}
.admin-section table tr[hidden]{display:none!important}
.admin-profile-editor{min-width:200px;margin-top:8px}
.admin-profile-editor form{display:grid;gap:8px;padding:10px;background:#f3f7fc;border-radius:8px}
.admin-profile-editor label{display:grid;gap:3px;font-size:.8rem}
.admin-profile-editor input,.admin-profile-editor textarea,.admin-profile-editor select{max-width:230px;width:100%}
.mentor-controls button{padding:8px 14px;border-radius:6px;border:1px solid #c2ccdc;background:white;cursor:pointer}

/* Répertoires publics Rezo Konekte */
.mentor-controls button:disabled{opacity:.35;cursor:not-allowed;pointer-events:none}
.rezo-directory-links{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.waiting-youth-section{padding:40px 0}
.waiting-youth-scroll{overflow-x:auto;max-width:100%}
.waiting-youth-table{width:100%;border-collapse:collapse;min-width:650px}
.waiting-youth-table th,.waiting-youth-table td{padding:12px;text-align:left;border-bottom:1px solid #dce3eb}
.waiting-youth-table th{background:#edf3f8;color:#14314e}

/* Tri accessible de la liste publique des jeunes */
.waiting-youth-table th[data-sortable]{cursor:pointer;user-select:none;white-space:nowrap}
.waiting-youth-table th[data-sortable]:focus-visible{outline:2px solid #2363aa;outline-offset:-3px}
.waiting-youth-table th[data-sortable] .sort-indicator::after{content:' ↕';opacity:.65}
.waiting-youth-table th[aria-sort="ascending"] .sort-indicator::after{content:' ↑';opacity:1}
.waiting-youth-table th[aria-sort="descending"] .sort-indicator::after{content:' ↓';opacity:1}
.speaker-order-feedback:not(:empty){margin:8px 0;font-weight:600}

/* Jeune, ta voix ! */
.voix-chart{max-width:850px;margin:22px auto 30px}.voix-item{margin:0 0 19px}.voix-line{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px}.voix-line small{font-weight:400}.voix-track{height:18px;background:#e7edf3;border-radius:99px;overflow:hidden}.voix-fill{height:100%;width:0;background:var(--voix-color);border-radius:99px;transition:width 1.2s cubic-bezier(.16,1,.3,1)}.voix-form{max-width:740px;margin:22px auto 45px}.voix-form fieldset{border:0;padding:12px 0}.voix-radio{display:block;margin:10px 0}.voix-radio input{width:auto}.voix-hp{position:absolute!important;left:-10000px!important}.voix-success{padding:12px;border:1px solid #0d9488;border-radius:8px}.voix-results-section{padding:55px 0;background:#f5f8fc}@media(prefers-reduced-motion:reduce){.voix-fill{transition:none}}
