:root {
  --blue-950: #061739;
  --blue-900: #0a2355;
  --blue-800: #113679;
  --blue-700: #1b4ea3;
  --blue-600: #1f6cc0;
  --sky-500: #2e95d9;
  --red-700: #c61f2d;
  --red-600: #d72638;
  --yellow-500: #f6c11a;
  --yellow-400: #ffd447;
  --white: #ffffff;
  --slate-100: #f4f7fb;
  --slate-200: #e4eaf4;
  --slate-300: #cdd7e7;
  --slate-500: #66748f;
  --slate-700: #283349;
  --shadow-lg: 0 24px 60px rgba(4, 22, 52, 0.22);
  --shadow-md: 0 16px 35px rgba(7, 24, 55, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: linear-gradient(180deg, #f7f9fd 0%, #eef3fa 100%);
  color: var(--slate-700);
}

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

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

.site-wrapper {
  overflow: hidden;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.topbar {
  position: relative;
  background: linear-gradient(90deg, rgba(255,255,255,0.98), rgba(249,251,255,0.95));
  border-bottom: 1px solid rgba(17, 54, 121, 0.08);
}

.topbar::after {
  content: '';
  position: absolute;
  inset: auto 0 0 auto;
  width: 32%;
  height: 100%;
  background: linear-gradient(140deg, rgba(31,108,192,0.08), rgba(214,38,56,0.08));
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
}

.topbar__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand__logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(17, 54, 121, 0.12);
}

.brand__text {
  display: grid;
  gap: 4px;
}

.brand__eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red-700);
  font-weight: 800;
}

.brand__text strong {
  color: var(--blue-900);
  font-size: clamp(1.1rem, 1.5vw, 1.7rem);
}

.brand__text small {
  color: var(--slate-500);
  max-width: 560px;
}

.topbar__quote {
  max-width: 320px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(17, 54, 121, 0.08);
  color: var(--blue-900);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(12, 35, 85, 0.08);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 35, 85, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 24px rgba(5, 18, 40, 0.15);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  font-size: 0.98rem;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  background: var(--yellow-500);
  transition: width 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,0.1);
  padding: 0 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  margin: 6px 0;
  border-radius: 99px;
  background: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 14px 22px;
  border: 2px solid transparent;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--yellow-500), var(--yellow-400));
  color: var(--blue-950);
  box-shadow: 0 16px 30px rgba(246, 193, 26, 0.28);
}

.btn--ghost {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.34);
  color: var(--white);
}

.btn--block {
  width: 100%;
}

.hero {
  position: relative;
  padding: 72px 0 120px;
  background: radial-gradient(circle at top left, rgba(46,149,217,0.22), transparent 28%), linear-gradient(135deg, #081c47 0%, #0e3174 52%, #0a4fa1 100%);
  color: var(--white);
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 20, 52, 0.9) 0%, rgba(5, 20, 52, 0.75) 43%, rgba(7, 26, 64, 0.32) 100%), url('../img/equipe-coalition.jpg') center/cover no-repeat;
  opacity: 0.22;
}

.hero__flag {
  position: absolute;
  inset: auto -6% -120px auto;
  width: min(720px, 72vw);
  height: 380px;
  background: linear-gradient(150deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 28%, var(--yellow-500) 28%, var(--yellow-500) 31%, var(--red-600) 31%, var(--red-600) 56%, var(--yellow-500) 56%, var(--yellow-500) 59%, rgba(0,0,0,0) 59%);
  transform: rotate(-10deg);
  border-radius: 50px;
  opacity: 0.95;
  filter: drop-shadow(0 24px 50px rgba(2, 15, 42, 0.25));
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: var(--yellow-400);
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1,
.section h2 {
  margin: 0 0 18px;
  line-height: 1.03;
}

.hero h1 {
  font-size: clamp(2.55rem, 5vw, 5.2rem);
  max-width: 760px;
  text-transform: uppercase;
}

.hero p {
  margin: 0;
  max-width: 680px;
  color: rgba(255,255,255,0.84);
  font-size: 1.07rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 36px;
}

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

.badge-card {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  min-height: 118px;
}

.badge-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.badge-card span {
  color: rgba(255,255,255,0.8);
  font-size: 0.94rem;
  line-height: 1.55;
}

.hero__visual {
  position: relative;
}

.hero-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.78));
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 32px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
}

.hero-card--portrait img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 22px;
}

.hero-card__label {
  position: absolute;
  top: 10px;
  left: 18px;
  z-index: 2;
  background: var(--yellow-500);
  color: var(--blue-950);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.highlights {
  margin-top: -58px;
  position: relative;
  z-index: 4;
}

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

.info-card,
.form-card,
.contact-card,
.news-panel,
.mission-panel,
.leader-card,
.timeline-item,
.glass-card,
.download-panel {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.info-card {
  background: var(--white);
  padding: 24px;
  border: 1px solid rgba(17, 54, 121, 0.07);
}

.info-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(246,193,26,0.18), rgba(215,38,56,0.12));
  color: var(--blue-900);
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.info-card h3,
.mission-point h3,
.form-card h3,
.contact-card h3,
.news-panel h3,
.glass-card h3,
.timeline-item h3,
.leader-card h3,
.mission-panel h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
}

.info-card p,
.mission-point p,
.contact-card p,
.news-panel p,
.glass-card li,
.timeline-item p,
.leader-card p,
.mission-panel li,
.form-note {
  color: var(--slate-500);
  line-height: 1.75;
}

.section {
  padding: 96px 0;
}

.section h2 {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  color: var(--blue-900);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading p,
.section > .container > p,
.split-layout > div > p {
  color: var(--slate-500);
  line-height: 1.8;
  font-size: 1.04rem;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.mission-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.mission-point {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(17,54,121,0.08);
}

.mission-panel {
  padding: 28px;
  background: linear-gradient(180deg, #0b255b, #0b3178);
  color: var(--white);
  position: sticky;
  top: 110px;
}

.mission-panel h3 {
  color: var(--white);
}

.mission-panel ul,
.glass-card ul {
  margin: 0;
  padding-left: 20px;
}

.mission-panel li {
  color: rgba(255,255,255,0.86);
  margin-bottom: 12px;
}

.section--dark {
  background: linear-gradient(180deg, var(--blue-950), #0a255c);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark p {
  color: var(--white);
}

.act-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.glass-card {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
}

.glass-card li {
  color: rgba(255,255,255,0.82);
  margin-bottom: 12px;
}

.download-panel {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  padding: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.download-panel h3 {
  margin-top: 0;
}

.download-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.leader-card {
  background: var(--white);
  padding: 24px;
  border: 1px solid rgba(17,54,121,0.08);
}

.leader-card span {
  display: block;
  color: var(--red-700);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.5;
}

.leader-card--featured {
  grid-column: span 2;
  background: linear-gradient(180deg, #ffffff, #f5f8ff);
  border-top: 5px solid var(--yellow-500);
}

.split-layout--timeline {
  align-items: stretch;
}

.timeline-list {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.timeline-item {
  background: var(--white);
  padding: 22px;
  border: 1px solid rgba(17,54,121,0.08);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
}

.timeline-item__date {
  color: var(--blue-900);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.news-panel {
  background: linear-gradient(180deg, #0b255b, #163f8b);
  padding: 24px;
  color: var(--white);
}

.news-panel img {
  margin-top: 18px;
  border-radius: 20px;
  width: 100%;
  height: 100%;
  max-height: 410px;
  object-fit: cover;
}

.news-panel p {
  color: rgba(255,255,255,0.82);
}

.adhesion {
  background: linear-gradient(180deg, #f8fbff, #edf3fa);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  padding: 15px 18px;
  background: rgba(255,255,255,0.72);
  border-radius: 14px;
  border: 1px solid rgba(17,54,121,0.08);
  color: var(--blue-900);
  font-weight: 600;
}

.check-list li::before {
  content: '✓';
  margin-right: 10px;
  color: var(--red-700);
  font-weight: 800;
}

.form-card {
  background: var(--white);
  padding: 28px;
  border: 1px solid rgba(17,54,121,0.08);
}

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

.form-grid__full {
  grid-column: 1 / -1;
}

label span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-900);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid var(--slate-300);
  font: inherit;
  color: var(--slate-700);
  background: #fbfdff;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(31,108,192,0.12);
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.92rem;
}

.contact {
  background: linear-gradient(180deg, #eef4fb, #f8fbff);
}

.contact-cards {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-card {
  padding: 22px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(17,54,121,0.08);
}

.footer {
  background: #061739;
  color: rgba(255,255,255,0.82);
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer__logo {
  width: 70px;
  margin-bottom: 10px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer__links a {
  color: rgba(255,255,255,0.88);
  font-weight: 600;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  max-width: 360px;
  padding: 15px 18px;
  border-radius: 16px;
  background: rgba(6, 23, 57, 0.92);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hero__grid,
  .split-layout,
  .split-layout--timeline {
    grid-template-columns: 1fr;
  }

  .hero__badges,
  .highlights__grid,
  .act-grid,
  .leaders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leader-card--featured {
    grid-column: span 2;
  }

  .mission-panel {
    position: static;
  }

  .topbar__quote {
    display: none;
  }
}

@media (max-width: 860px) {
  .topbar__inner {
    padding: 14px 0;
  }

  .brand__logo {
    width: 60px;
    height: 60px;
  }

  .navbar__inner {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .nav-toggle {
    display: inline-block;
    order: 2;
  }

  .nav-cta {
    order: 1;
    margin-left: auto;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0 8px;
    gap: 16px;
  }

  .navbar.is-open .nav-menu {
    display: flex;
  }

  .hero {
    padding: 56px 0 110px;
  }

  .hero-card--portrait img {
    height: 380px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .download-panel,
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand__text small {
    display: none;
  }

  .hero__badges,
  .highlights__grid,
  .mission-points,
  .act-grid,
  .leaders-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .leader-card--featured,
  .form-grid__full {
    grid-column: auto;
  }

  .hero__actions,
  .download-panel__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .nav-cta {
    width: 100%;
  }

  .nav-cta {
    order: 3;
  }

  .hero__flag {
    width: 112vw;
    height: 240px;
    right: -22%;
    bottom: -85px;
  }

  .hero-card {
    padding: 14px;
    border-radius: 24px;
  }

  .hero-card--portrait img {
    height: 300px;
  }

  .section {
    padding: 76px 0;
  }

  .form-card,
  .mission-panel,
  .leader-card,
  .timeline-item,
  .contact-card,
  .glass-card,
  .info-card {
    padding: 20px;
  }
}
