:root {
  --ink: #142126;
  --muted: #667377;
  --paper: #f7f4ec;
  --surface: #ffffff;
  --line: #e4e0d6;
  --navy: #121d22;
  --red: #ff6b14;
  --teal: #12807a;
  --green: #2a7351;
  --amber: #d8841e;
  --blue: #1d647f;
  --violet: #625778;
  --mdv-dark: #121d22;
  --mdv-orange: #ff6b14;
  --mdv-cream: #f7f4ec;
  --content-max: 1500px;
  --menu-max: 1750px;
  --footer-max: 1350px;
  --shadow: 0 16px 42px rgba(18, 29, 34, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--mdv-cream);
  font-family: Aptos, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0 clamp(14px, 3vw, 32px);
  background: rgba(18, 29, 34, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  width: min(100%, var(--menu-max));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.brand-main {
  display: inline-grid;
  gap: 0;
  min-width: 184px;
  line-height: 0.9;
  letter-spacing: 0;
}

.brand-performance,
.brand-voyage {
  display: block;
}

.brand-performance {
  color: #ffffff;
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 300;
  letter-spacing: 3px;
}

.brand-voyage {
  color: var(--mdv-orange);
  font-size: clamp(30px, 2.6vw, 43px);
  font-weight: 300;
  letter-spacing: 5px;
}

.brand-subtitle {
  display: inline-block;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}

.top-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
}

.top-nav .nav-contact {
  color: #121d22;
  background: var(--mdv-orange);
  padding-inline: 14px;
}

.top-nav .nav-contact:hover,
.top-nav .nav-contact:focus-visible {
  background: #ff812f;
  color: #121d22;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  padding: 132px clamp(18px, 5vw, 72px) 48px;
  overflow: hidden;
  background: url("../images/agence-1.jpg") center 42% / cover no-repeat;
  color: #fff;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 29, 34, 0.9) 0%, rgba(18, 29, 34, 0.68) 48%, rgba(18, 29, 34, 0.2) 100%),
    linear-gradient(0deg, rgba(18, 29, 34, 0.84) 0%, rgba(18, 29, 34, 0.06) 58%);
}

.hero__inner {
  position: relative;
  width: min(100%, var(--content-max));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb36f;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(39px, 6vw, 76px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 780px;
  margin: 22px 0 0;
  color: #e8f0ed;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.filter-button,
.playbook button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button-primary {
  background: var(--mdv-orange);
  color: #121d22;
}

.button-light {
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
}

.button:hover,
.button:focus-visible,
.filter-button:hover,
.filter-button:focus-visible,
.playbook button:hover,
.playbook button:focus-visible {
  transform: translateY(-1px);
  outline: 3px solid rgba(255, 107, 20, 0.2);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 780px;
  margin-top: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.14);
}

.hero-metrics div {
  padding: 16px;
  background: rgba(7, 18, 27, 0.54);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 24px;
  font-weight: 500;
}

.hero-metrics span {
  color: #d8e6e1;
  font-size: 13px;
}

.section {
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.section > .section-heading,
.section > .directory-toolbar,
.section > .directory-count,
.section > .provider-grid,
.section > .empty-state,
.section > .playbook-grid,
.section > .decision-table-wrap,
.section > .checklist-grid,
.section > .source-note,
.section > .source-columns {
  width: min(100%, var(--content-max));
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: 1060px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3.7vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.directory-shell {
  background: var(--paper);
}

.directory-toolbar {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-box {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid #cdd8d5;
  border-radius: 8px;
  background: #fbfcfa;
  color: var(--muted);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  font-weight: 400;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-row.compact .filter-button {
  min-height: 40px;
}

.filter-button {
  background: #eef2ef;
  color: var(--navy);
  padding-inline: 13px;
}

.filter-button.is-active {
  background: var(--navy);
  color: #fff;
}

.profile-select {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 360px);
  font-weight: 500;
}

.profile-select select {
  flex: 1;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #cdd8d5;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.directory-count {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 24px;
  margin-bottom: 16px;
  color: var(--muted);
}

.directory-count strong {
  color: var(--red);
  font-size: 34px;
  font-weight: 500;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(315px, 1fr));
  gap: 20px;
}

.provider-card {
  min-height: 408px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(226, 229, 225, 0.92);
  border-top: 3px solid var(--blue);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(15, 34, 45, 0.045);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.provider-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 45, 66, 0.18);
  box-shadow: 0 16px 34px rgba(15, 34, 45, 0.08);
}

.provider-card.is-hidden,
.empty-state.is-hidden {
  display: none;
}

.provider-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.provider-card__top span {
  min-width: 0;
}

.provider-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.18;
}

.provider-card p {
  margin: 0 0 14px;
  color: #2d3b42;
  font-weight: 400;
}

.provider-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.provider-card a {
  margin-top: auto;
  color: var(--red);
  font-weight: 500;
  text-decoration: none;
}

.provider-card a:hover,
.provider-card a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.accent-air {
  border-top-color: var(--blue);
}

.accent-hotel {
  border-top-color: var(--green);
}

.accent-experiences {
  border-top-color: var(--amber);
}

.accent-mobility {
  border-top-color: var(--teal);
}

.accent-protection {
  border-top-color: var(--red);
}

.accent-payments {
  border-top-color: #5b6b35;
}

.accent-data {
  border-top-color: var(--violet);
}

.accent-software {
  border-top-color: #4c6471;
}

.accent-networks {
  border-top-color: #7a4d31;
}

.empty-state {
  padding: 22px;
  border: 1px dashed #b8c5c0;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 500;
}

.playbook-grid,
.checklist-grid,
.source-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.playbook {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 34, 45, 0.04);
}

.playbook__icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #e8f0ef;
  color: var(--teal);
  font-size: 20px;
}

.playbook h3,
.checklist-grid h3,
.source-columns h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  font-weight: 500;
}

.playbook p {
  margin: 0;
  color: var(--muted);
}

.playbook button {
  margin-top: auto;
  align-self: flex-start;
  background: var(--mdv-dark);
  color: #fff;
}

.matrix-section {
  background: #edf2ef;
}

.decision-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.decision-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
}

.decision-table th,
.decision-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.decision-table th {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
}

.decision-table strong {
  font-weight: 500;
}

.decision-table tr:last-child td {
  border-bottom: 0;
}

.checklist-section {
  background: var(--paper);
}

.checklist-grid > div {
  min-height: 260px;
  padding: 22px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 34, 45, 0.04);
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--green);
  font-family: FontAwesome;
}

.sources-section {
  background: #fff;
}

.source-note {
  max-width: 900px;
  margin-top: 0;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
}

.source-columns > div {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
}

.source-columns a {
  color: var(--red);
  font-weight: 500;
  text-decoration: none;
}

.source-columns a:hover,
.source-columns a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.contact-section {
  padding: clamp(36px, 6vw, 76px) clamp(18px, 5vw, 72px);
  background: var(--mdv-dark);
  color: #fff;
}

.contact-section__inner {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.contact-copy {
  max-width: 860px;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.08;
}

.contact-copy p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: #d7e2df;
  font-size: 18px;
  font-weight: 300;
}

.site-footer {
  padding: 0 clamp(18px, 5vw, 72px);
  background: #0e171b;
  color: #d9e1de;
  font-size: 14px;
}

.site-footer__inner {
  width: min(100%, var(--footer-max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 500;
}

@media (max-width: 980px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 16px;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .playbook-grid,
  .checklist-grid,
  .source-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-section__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .brand {
    width: 100%;
    justify-content: space-between;
    white-space: normal;
  }

  .brand-subtitle {
    font-size: 13px;
  }

  .top-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-nav a {
    justify-content: center;
  }

  .hero {
    min-height: 76vh;
    padding-top: 72px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .directory-toolbar {
    padding: 14px;
  }

  .filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-button {
    width: 100%;
    padding-inline: 8px;
  }

  .profile-select {
    align-items: stretch;
    flex-direction: column;
  }

  .provider-grid,
  .playbook-grid,
  .checklist-grid,
  .source-columns {
    grid-template-columns: 1fr;
  }

  .provider-card {
    min-height: 0;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 20px;
  }
}
