/* =========================================================
   AmCham Côte d'Ivoire — feuille de style
   ========================================================= */

:root {
  --navy-900: #001034;
  --navy-800: #0F2552;
  --navy-700: #0B1C30;
  --ink: #001034;
  --text: #44464F;
  --muted: #757780;
  --border: #E2E8F0;
  --bg: #F8F9FF;
  --bg-grey: #F1F5F9;
  --bg-blue: #EFF4FF;
  --blue-100: #D3E4FE;
  --red: #BA0222;
  --red-hover: #9A011C;
  --orange: #D97706;
  --green: #15803D;
  --green-light: #22C55E;
  --white: #FFFFFF;

  --container: 1184px;
  --gutter: 48px;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(0, 16, 52, .05);
  --shadow-md: 0 4px 12px rgba(0, 16, 52, .06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Icônes (Material Symbols) ---------- */
.material-symbols-outlined {
  font-size: 20px;
  line-height: 1;
  vertical-align: middle;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
  user-select: none;
}
.icon-fill { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 20; }
.icon-orange { color: var(--orange); }
.icon-green { color: var(--green-light); }
.icon-red { color: #DF2A37; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 28px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn .material-symbols-outlined { font-size: 16px; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-hover); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: #CBD5E1; box-shadow: var(--shadow-md); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.btn-dark:hover { background: var(--navy-800); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 12px; }
.btn-block { width: 100%; }
.btn:focus-visible,
a:focus-visible,
button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---------- Lien d'évitement ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}
.skip-link:focus { top: 8px; }

/* ---------- Barre utilitaire ---------- */
.utility-bar { background: var(--navy-900); color: #C9D6EE; font-size: 12px; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.utility-contacts { display: flex; align-items: center; gap: 24px; }
.utility-contacts a,
.utility-link { display: inline-flex; align-items: center; gap: 6px; transition: color .15s; }
.utility-contacts a:hover,
.utility-link:hover { color: var(--white); }
.utility-bar .material-symbols-outlined { font-size: 15px; color: var(--orange); }
.utility-place { color: #7A8DC0; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; }
.utility-link[aria-current="page"] { color: var(--white); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15, 37, 82, .04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 50px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a:not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 72px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: color .15s;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .2s;
}
.main-nav a:not(.btn):hover { color: var(--red); }
.main-nav a[aria-current="page"] { color: var(--red); font-weight: 600; }
.main-nav a[aria-current="page"]::after,
.main-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  width: 44px; height: 44px;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Bandeau des cours ---------- */
.ticker {
  background: var(--navy-900);
  border-bottom: 1px solid var(--navy-800);
  color: var(--white);
  font-size: 13px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}
.ticker-inner {
  display: flex;
  align-items: center;
  height: 47px;
  gap: 16px;
  overflow: hidden;
}
.ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}
.ticker-label strong {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
.ticker-sep { width: 4px; height: 4px; border-radius: 50%; background: #1E3A6E; margin: 0 2px; }
.ticker-sub { color: #7A8DC0; font-weight: 500; }

.ticker-track {
  display: flex;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.ticker-list {
  display: flex;
  flex-shrink: 0;
  animation: ticker 40s linear infinite;
}
.ticker-track:hover .ticker-list { animation-play-state: paused; }
.ticker-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 26px;
  white-space: nowrap;
  border-right: 1px solid #1E3A6E;
}
.ticker-list b { font-weight: 600; }
.ticker-list .up { color: #4ADE80; }
.ticker-list .down { color: #F87171; }
.ticker-list .gap { width: 4px; }

@keyframes ticker { to { transform: translateX(-100%); } }
@keyframes pulse { 50% { opacity: .4; } }

/* ---------- Hero vidéo ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(640px, calc(100svh - 155px), 900px);
  padding: 64px 0 40px;
  background: var(--navy-900);
  color: var(--white);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--navy-900) url("/assets/video/amcham-hero.jpg") center / cover no-repeat;
}
.hero-video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 16, 52, .92) 0%, rgba(0, 16, 52, .72) 45%, rgba(0, 16, 52, .25) 100%),
    linear-gradient(0deg, rgba(0, 16, 52, .95) 0%, rgba(0, 16, 52, 0) 45%);
}

.hero-grid { position: relative; }
.hero-copy { max-width: 680px; }

.badge-affiliate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.badge-affiliate .material-symbols-outlined { font-size: 16px; color: var(--orange); }

.hero h1 {
  margin-top: 24px;
  max-width: 640px;
  color: var(--white);
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.025em;
  text-shadow: 0 2px 24px rgba(0, 16, 52, .35);
}
.lead { font-size: 18px; line-height: 1.62; }
.hero .lead { margin-top: 24px; max-width: 600px; color: var(--blue-100); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.btn-glass {
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  border-color: rgba(255, 255, 255, .35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
}
.hero-trust li { display: flex; align-items: center; gap: 6px; }
.hero-trust .material-symbols-outlined { font-size: 16px; color: var(--white); }

.hero-caption {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, .75);
}
.hero-location .material-symbols-outlined { font-size: 16px; color: var(--orange); }
.video-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color .15s;
}
.video-toggle:hover { background: rgba(255, 255, 255, .24); }
.video-toggle .material-symbols-outlined { font-size: 20px; }

.tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--white);
}
.tag-red { background: var(--red); text-transform: uppercase; }
.tag-navy { background: var(--navy-900); }

/* Chiffres clés en cartes vitrées */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.stat {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 20px 18px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-left: 3px solid;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.stat--red { border-left-color: var(--red); }
.stat--navy { border-left-color: var(--blue-100); }
.stat--orange { border-left-color: var(--orange); }
.stat--green { border-left-color: var(--green-light); }
.stat-value { font-size: 36px; font-weight: 700; color: var(--white); line-height: 1.2; letter-spacing: -.02em; }
.stat-title { margin-top: 8px; font-size: 16px; font-weight: 600; color: var(--white); }
.stat-desc { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .72); }

/* ---------- Sections génériques ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--white { background: var(--white); }
.section--grey { background: var(--bg-grey); }
.section--light { background: var(--bg); }
.section--bordered { border-top: 1px solid var(--border); }
.section--dark { background: var(--navy-900); color: #C9D6EE; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 2px;
  background: var(--red);
}
.eyebrow--plain::before,
.eyebrow--icon::before { display: none; }
.eyebrow--icon { gap: 6px; }
.eyebrow--icon .material-symbols-outlined { font-size: 18px; }

.section h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  max-width: 820px;
}
#portals h2 { max-width: 680px; }
.section-intro { margin-top: 12px; max-width: 640px; font-size: 15px; line-height: 1.47; }
.section-intro--wide { max-width: 780px; }

.section-aside,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.section-aside { color: var(--muted); }
.section-aside .material-symbols-outlined { color: var(--ink); font-size: 22px; }
.text-link { color: var(--ink); font-weight: 600; }
.text-link .material-symbols-outlined { font-size: 16px; transition: transform .15s; }
.text-link:hover { color: var(--red); }
.text-link:hover .material-symbols-outlined { transform: translateX(3px); }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.icon-box {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: 2px;
}
.icon-box .material-symbols-outlined { font-size: 26px; }
.icon-box--sm { width: 40px; height: 40px; background: var(--navy-800); border-radius: 2px; }
.icon-box--sm .material-symbols-outlined { font-size: 20px; }

/* Cartes portails */
.portal-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: box-shadow .2s, transform .2s;
}
.portal-card:hover { box-shadow: 0 10px 30px rgba(0, 16, 52, .08); transform: translateY(-2px); }
.portal-media {
  margin: -24px -24px 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-grey);
}
.portal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.portal-card:hover .portal-media img { transform: scale(1.05); }
.portal-card .icon-box {
  position: relative;
  margin-top: -28px;
  border: 3px solid var(--white);
  box-sizing: content-box;
  box-shadow: 0 6px 16px rgba(0, 16, 52, .18);
}
.card-kicker {
  margin-top: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.portal-card h3 { margin-top: 4px; font-size: 20px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.portal-card p { margin-top: 12px; font-size: 13px; line-height: 1.62; flex: 1; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.card-link .material-symbols-outlined { font-size: 16px; transition: transform .15s; }
.card-link:hover { color: var(--red); }
.card-link:hover .material-symbols-outlined { transform: translateX(3px); }

/* Cartes piliers */
.pillar-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #F3F7FE;
  border: 1px solid var(--border);
  border-radius: 2px;
}
.pillar-card h3 { margin-top: 24px; font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--ink); }
.pillar-card p { margin-top: 4px; font-size: 13px; line-height: 1.62; flex: 1; }
.pillar-foot {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Cartes comités */
.committee-card {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--border);
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0, 16, 52, .05);
  transition: border-color .2s, box-shadow .2s;
}
.committee-card:hover { border-left-color: var(--accent); box-shadow: 0 10px 30px rgba(0, 16, 52, .08); }
.committee-top { display: flex; justify-content: space-between; align-items: flex-start; color: var(--accent); }
.committee-badge { width: 52px; height: auto; transition: transform .2s; }
.committee-card:hover .committee-badge { transform: scale(1.06) rotate(-3deg); }
.committee-num { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.committee-card h3 { margin-top: 4px; font-size: 20px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.committee-card p { margin-top: 8px; font-size: 13px; line-height: 1.65; flex: 1; }
.committee-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.committee-foot a { display: inline-flex; align-items: center; font-weight: 600; color: var(--ink); white-space: nowrap; }
.committee-foot a .material-symbols-outlined { font-size: 16px; }
.committee-foot a:hover { color: var(--accent); }

/* ---------- Mission (fond sombre) ---------- */
.section--dark { padding: 88px 0 88px; }
.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 568px) minmax(0, 568px);
  justify-content: space-between;
  gap: 48px;
  align-items: start;
}
.badge-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border: 1px solid #2B4170;
  background: var(--navy-800);
  border-radius: 2px;
  color: var(--blue-100);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge-outline .material-symbols-outlined { font-size: 16px; }
.section--dark h2 { color: var(--white); margin-top: 24px; }
.mission-copy .lead { margin-top: 28px; color: var(--blue-100); }

.mission-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--navy-800);
}
.tile {
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
  background: var(--navy-800);
}
.tile-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-100); }
.tile-value { margin-top: 8px; font-size: 20px; font-weight: 600; color: var(--white); }
.tile-sub { margin-top: 2px; font-size: 12px; color: var(--blue-100); }
.mission-copy .btn { margin-top: 32px; }

.flows-panel {
  padding: 24px;
  background: var(--navy-800);
  border: 1px solid #7A8DC0;
  border-radius: var(--radius);
}
.flows-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #1E3A6E;
}
.flows-head h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--white); }
.flows-head h3 .material-symbols-outlined { font-size: 22px; }
.pill { padding: 3px 8px; background: var(--navy-900); color: var(--white); font-size: 12px; white-space: nowrap; }

.flow { margin-top: 22px; }
.flow-row { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--white); }
.flow-row b { white-space: nowrap; font-weight: 600; }
.bar { margin-top: 8px; height: 8px; background: var(--navy-900); border-radius: 4px; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 4px; }

.flows-note {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  padding: 16px 20px;
  background: var(--navy-900);
  border: 1px solid #1E3A6E;
  border-radius: 2px;
}
.flows-note p { font-size: 13px; line-height: 1.6; color: var(--blue-100); }

/* ---------- Actualités ---------- */
.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 676px) minmax(0, 474px);
  justify-content: space-between;
  gap: 32px;
  align-items: start;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-media { position: relative; aspect-ratio: 676 / 388; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; } /* une affiche verticale garde son titre */
.feature-tags { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.feature-location {
  position: absolute;
  left: 16px; bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(0, 16, 52, .9);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
}
.feature-location .material-symbols-outlined { font-size: 16px; }

.feature-body { padding: 32px; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.meta .material-symbols-outlined { font-size: 16px; }
.dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--text); margin: 0 6px; vertical-align: middle; }
.feature-body h3 { margin-top: 18px; font-size: 24px; line-height: 1.35; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.feature-body p { margin-top: 18px; font-size: 15px; line-height: 1.6; }
.feature-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.feature-foot .card-link { margin-top: 0; padding-top: 0; border-top: 0; }
.muted-label { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: box-shadow .2s;
}
.news-thumb {
  width: 100%;
  height: 100%;
  min-height: 104px;
  object-fit: cover;
  border-radius: 2px;
  transition: filter .3s ease;
}
.news-card:hover .news-thumb { filter: brightness(1.08) saturate(1.1); }
.news-body { min-width: 0; padding: 2px 4px 2px 0; }
.news-card:hover { box-shadow: var(--shadow-md); }
.news-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; }
.news-meta > span:first-child { white-space: nowrap; }
.news-meta b { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.news-src { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; white-space: nowrap; }
.news-src .material-symbols-outlined { font-size: 14px; }
.news-card h3 { margin-top: 6px; font-size: 15px; line-height: 1.45; font-weight: 600; color: var(--ink); }
.news-card h3 a:hover { color: var(--red); }
.news-card p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Conciergerie consulaire ---------- */
.consular-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 434px);
  gap: 40px;
  align-items: center;
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.consular-copy h2 { margin-top: 24px; font-size: 24px; line-height: 1.35; }
.consular-copy p { margin-top: 18px; font-size: 15px; line-height: 1.6; }
.checks { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; font-size: 13px; }
.checks li { display: flex; align-items: center; gap: 6px; }
.checks .material-symbols-outlined { font-size: 16px; color: var(--green); }
.checks--dark { color: var(--ink); font-weight: 600; justify-content: space-between; max-width: 580px; }
.checks--light { color: var(--blue-100); }
.checks--light .material-symbols-outlined { color: var(--green-light); }

.consular-portal {
  padding: 24px;
  background: var(--bg-blue);
  border: 1px solid #DCE9FF;
  border-radius: 4px;
}
.consular-portal h3 { font-size: 16px; font-weight: 600; color: var(--ink); }
.consular-portal p { margin-top: 18px; font-size: 13px; line-height: 1.5; color: var(--text); }
.consular-portal .btn { margin-top: 20px; font-size: 12px; padding: 0 16px; }

/* ---------- Écosystème ---------- */
.ecosystem { text-align: center; border-top: 1px solid var(--border); }
.ecosystem h2 { margin: 12px auto 0; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.ecosystem > .container > p { max-width: 660px; margin: 12px auto 0; font-size: 13px; line-height: 1.4; }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 40px; }
.logos li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 12px;
  background: var(--bg-grey);
  border: 1px solid var(--border);
  filter: grayscale(.15);
  transition: filter .2s, background-color .2s;
}
.logos li:hover { filter: none; background: var(--white); }
.logos img {
  width: 100%;
  max-width: 150px;
  height: 44px;
  object-fit: contain;
  mix-blend-mode: multiply; /* fond blanc de certains logos fondu dans la tuile */
}

/* ---------- Appel à l'adhésion ---------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 96px 0;
  background: var(--navy-900);
}
.cta::before,
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.cta::before {
  background: url("/assets/hero-assemblee.jpg") right center / cover no-repeat;
  filter: blur(2px) saturate(.9);
  transform: scale(1.04);
}
.cta::after {
  background: linear-gradient(90deg, rgba(0, 16, 52, .97) 0%, rgba(15, 37, 82, .9) 55%, rgba(0, 34, 100, .7) 100%);
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(0, 368px);
  justify-content: space-between;
  gap: 48px;
  align-items: center;
}
.cta-copy .eyebrow { font-weight: 500; }
.cta h2 {
  margin-top: 20px;
  color: var(--white);
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.02em;
}
.cta .lead { margin-top: 24px; color: var(--blue-100); max-width: 640px; }
.cta .checks { margin-top: 32px; }

.apply-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
}
.apply-card h3 { font-size: 20px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.apply-card p { margin-top: 16px; font-size: 13px; line-height: 1.62; }
.apply-card .btn { margin-top: 18px; }
.apply-phone {
  display: block;
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.apply-phone:hover { color: var(--ink); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-900); color: #A9B8DA; font-size: 13px; line-height: 1.6; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr .9fr 1fr 1.3fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 48px;
}
.footer-logo { display: inline-flex; padding: 8px 12px; background: var(--white); border-radius: 4px; }
.footer-logo img { height: 40px; width: auto; }
.footer-about p { margin-top: 16px; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 4px 10px;
  border: 1px solid #1E3A6E;
  color: var(--blue-100);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-badge .material-symbols-outlined { font-size: 15px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #1E3A6E;
  border-radius: 50%;
  color: var(--blue-100);
  transition: background-color .15s, color .15s, border-color .15s;
}
.footer-social a:hover { background: var(--white); border-color: var(--white); color: var(--navy-900); }
.footer-title {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-list li { display: flex; gap: 10px; }
.footer-list li + li { margin-top: 12px; }
.footer-list .material-symbols-outlined { font-size: 17px; color: var(--orange); margin-top: 2px; }
.footer-links li + li { margin-top: 8px; }
.site-footer a { transition: color .15s; }
.site-footer a:hover { color: var(--white); }
.footer-newsletter p { margin-bottom: 14px; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter-form input {
  flex: 1 1 160px;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  background: var(--navy-800);
  border: 1px solid #2B4170;
  border-radius: 4px;
  color: var(--white);
  font: inherit;
}
.newsletter-form input::placeholder { color: #7A8DC0; }
.newsletter-form .form-status { flex-basis: 100%; margin: 0; font-size: 12px; color: var(--blue-100); }
.newsletter-form .form-status a { text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid var(--navy-800);
  color: #7A8DC0;
  font-size: 12px;
}

/* =========================================================
   Composants partagés des pages intérieures
   ========================================================= */

/* Bandeau d'en-tête de page */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background: linear-gradient(180deg, var(--bg-blue) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  margin-top: 16px;
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.025em;
}
.page-hero .lead { margin-top: 20px; max-width: 720px; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.page-hero--dark {
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 60%, #002264 100%);
  border-bottom: 0;
  color: var(--blue-100);
}
.page-hero--dark h1 { color: var(--white); }
.page-hero--dark .lead { color: var(--blue-100); }

/* Fil d'Ariane */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 12px; color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--border); }
.page-hero--dark .breadcrumb { color: #7A8DC0; }

/* Cartes génériques */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(15, 37, 82, .04), 0 1px 2px rgba(15, 37, 82, .02);
  transition: box-shadow .2s, border-color .2s;
}
.card--hover:hover { border-color: #CBD5E1; box-shadow: 0 8px 20px -4px rgba(15, 37, 82, .08); }
.card-pad { padding: 24px; }

/* Pastilles */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--bg-grey);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.chip--dark { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.chip--red { background: #FFF1F2; border-color: #FECDD3; color: var(--red); }
button.chip { cursor: pointer; font-family: inherit; }
button.chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }

/* Tableaux de données */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--border); border-radius: 4px; background: var(--white); }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.data-table th {
  padding: 12px 16px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.data-table td { padding: 14px 16px; border-top: 1px solid var(--border); vertical-align: top; }
.data-table tbody tr:hover { background: var(--bg); }

/* Formulaires */
.form-card { padding: 32px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label,
.field legend { font-size: 12px; font-weight: 600; color: var(--ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--navy-800); box-shadow: 0 0 0 1.5px var(--navy-800); }
.was-validated .field :invalid { border-color: var(--red); }
.field-hint { font-size: 12px; color: var(--muted); }
.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; }
.check-row input { margin-top: 3px; accent-color: var(--navy-800); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-status { font-size: 13px; color: var(--green); }
.form-status a { text-decoration: underline; }
.was-validated .form-status { color: var(--red); }
.is-sent .form-status { color: var(--green); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: 4px; }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "expand_more"; font-family: "Material Symbols Outlined"; font-size: 22px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details > div { padding: 0 20px 18px; font-size: 14px; }

/* ---------- Couleurs utilitaires (en fin de cascade pour primer sur les composants) ---------- */
.c-red { color: var(--red); }
.c-orange { color: var(--orange); }
.c-navy { color: var(--ink); }
.c-green { color: var(--green); }
.c-green-light { color: var(--green-light); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-about,
  .footer-newsletter { grid-column: span 3; }

  .nav-toggle { display: grid; place-items: center; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a:not(.btn) { height: auto; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav .btn { margin-top: 16px; }
}

@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .hero-grid,
  .mission-grid,
  .news-grid,
  .cta-grid,
  .consular-card { grid-template-columns: 1fr; }
  .grid-4,
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .apply-card { max-width: 480px; }

}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .hero { padding: 56px 0 32px; min-height: 0; }
  .hero-caption { justify-content: space-between; margin-top: 32px; }
  .lead { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 14px 12px; }
  .stat-value { font-size: 26px; }
  .stat-title { font-size: 14px; }
  .stat-desc { display: none; }
  .mission-tiles { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .consular-card { padding: 24px; }
  .feature-body { padding: 24px; }
  .feature-body h3 { font-size: 20px; }
  .news-card { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
  .news-meta { flex-wrap: wrap; }
  .news-meta > span:first-child { white-space: normal; }
  .feature-foot { margin-top: 32px; }
  .flows-head { flex-direction: column; align-items: flex-start; }
  .flow-row { flex-direction: column; gap: 2px; }
  .committee-foot { flex-direction: column; align-items: flex-start; }
  .checks--dark { justify-content: flex-start; }
  .ticker-sub, .ticker-sep { display: none; }
  .ticker-label strong { display: none; }
  .mission-copy .btn { width: 100%; white-space: normal; height: auto; min-height: 44px; padding: 10px 16px; }
  .apply-card { padding: 24px; }
  .utility-contacts li:not(:first-child),
  .utility-link { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .footer-about,
  .footer-newsletter { grid-column: auto; }
  .page-hero { padding: 48px 0 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-list, .live-dot { animation: none; }
  .video-toggle { display: none; }
  .ticker-track { overflow-x: auto; }
  * { transition: none !important; }
}

/* Inscription newsletter (pied de page sombre) : messages lisibles sur fond bleu nuit */
.newsletter-form.is-sent .form-status { color: #86EFAC; }
.newsletter-form.was-validated .form-status { color: #FCA5A5; }
.newsletter-form button[disabled] { opacity: .6; cursor: wait; }

/* ===== Bandeau d'annonce (modifiable depuis le backoffice) ===== */
.announce { background: var(--red); color: #fff; font-size: 14px; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.announce p { margin: 0; }
.announce a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; display: inline-flex; align-items: center; gap: 2px; }
.announce .material-symbols-outlined { font-size: 18px; }
@media (max-width: 640px) { .announce-inner { justify-content: flex-start; text-align: left; font-size: 13px; } }
.feature-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #fff; background: radial-gradient(circle at 30% 20%, #1B2D8F 0%, var(--navy-900) 70%); }
.feature-placeholder b { font-size: 72px; font-weight: 800; line-height: 1; }
.feature-placeholder span { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #F6C26B; }
.feature-placeholder .material-symbols-outlined { font-size: 64px; color: #fff; }

/* ===== Événements : places, tarifs, bouton indisponible (accueil, page Events, pages d'événement) ===== */
.ev-seat { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.4; }
.ev-seat .material-symbols-outlined { font-size: 16px; }
.ev-seat--open { background: var(--bg-grey); color: var(--green); }
.ev-seat--few { background: #FEF3C7; color: #92400E; }
.ev-seat--full { background: #FFF1F2; color: var(--red); }
.btn.is-disabled { background: var(--bg-grey); color: var(--muted); border-color: var(--border); cursor: not-allowed; }
.ev-closed { margin: 8px 0 0; font-size: 13px; color: var(--text); }
.feature-tickets { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.feature-tickets .ev-seat { margin-top: 0; }
.feature-price { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.feature-price .material-symbols-outlined { font-size: 18px; }
.nowrap { white-space: nowrap; }

/* ===== Sélecteur de langue (EN | FR) ===== */
.header-inner > .brand { margin-right: auto; }
.lang-switch { order: 3; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--border); border-radius: 4px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--ink); }
.lang-switch:hover { border-color: var(--ink); color: var(--red); }
.nav-toggle { order: 4; }
/* Barre du haut : libellés sur une ligne (le français est plus long) */
.utility-contacts a, .utility-link { white-space: nowrap; }
@media (max-width: 1100px) { .utility-place { display: none; } }
.main-nav a { white-space: nowrap; }

/* Menu complet entre 1181 et 1380 px : libellés français plus longs + sélecteur de langue */
@media (min-width: 1181px) and (max-width: 1380px) {
  .main-nav { gap: 12px; }
  .main-nav a:not(.btn) { font-size: 13px; }
}

/* « Contact » en double : sur ordinateur, la barre du haut a déjà « Contact the Secretariat ». Le menu mobile le garde. */
@media (min-width: 1181px) { .main-nav a.nav-contact { display: none; } }

/* Langue dans la barre du haut (au-delà de 720 px) ; sur téléphone, le bouton FR / EN reste à côté du menu */
.utility-right { display: flex; align-items: center; gap: 20px; }
.utility-lang { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.utility-lang a { display: inline-flex; align-items: center; min-height: 24px; padding: 0 2px; }
.utility-lang a:hover { color: var(--white); text-decoration: underline; }
.utility-lang .is-current { color: var(--white); font-weight: 700; }
@media (min-width: 721px) { .header-inner > .lang-switch { display: none; } }
@media (max-width: 720px) { .utility-lang { display: none; } }

/* Ambiance des événements phares : pastille « dans 5 jours », « Aujourd'hui », « En ce moment » */
.announce-pill { display: inline-block; padding: 1px 8px; margin-right: 4px; border-radius: 999px; background: #fff; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; vertical-align: 1px; }
.announce--today { background: var(--navy-900); }
.announce--today .announce-pill { background: var(--red); color: #fff; }
.announce-links { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; margin-left: 6px; }
.announce [data-phase][hidden] { display: none; }
html[data-event-live] [data-live-hide] { display: none; }
@media (pointer: coarse) { .announce-links a { padding: 12px 0; margin: -12px 0; } }
