:root {
  --blue: #000091;
  --red: #e1000f;
  --ink: #161616;
  --muted: #666;
  --line: #dddddd;
  --surface: #ffffff;
  --soft: #f6f6f6;
  --aqua: #00a6a6;
  --green: #2f8f46;
  --gold: #c18c0a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, Marianne, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.prototype-alert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(90deg, #161616, #3a1f00 48%, #a04b00);
  font-size: 14px;
  font-weight: 700;
}

.prototype-alert-label {
  padding: 5px 9px;
  border-radius: 999px;
  color: #161616;
  background: #ffd335;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0;
}

.prototype-alert-progress {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.prototype-alert-track {
  display: inline-flex;
  width: 112px;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.prototype-alert-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #ffd335;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.ministere-logo {
  display: block;
  width: 176px;
  max-height: 78px;
  height: auto;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
}

.brand-text {
  display: grid;
  gap: 3px;
  max-width: 430px;
}

.brand-text strong {
  font-size: 14px;
}

.brand-text span {
  color: var(--muted);
  font-size: 13px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a,
.text-button {
  padding: 10px 12px;
  border: 0;
  color: var(--blue);
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100vh - 76px));
  overflow: hidden;
  color: #fff;
  background: #111;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #111;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 145, 0.9), rgba(0, 0, 0, 0.44) 48%, rgba(0, 0, 0, 0.18)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.42));
}

.sport-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.track,
.court,
.water,
.mountain,
.ball,
.runner {
  position: absolute;
  display: block;
}

.track {
  right: -8%;
  bottom: -18%;
  width: 74vw;
  height: 42vw;
  min-width: 680px;
  min-height: 360px;
  border: 18px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  transform: rotate(-10deg);
}

.court {
  right: 8%;
  top: 18%;
  width: 27vw;
  min-width: 240px;
  aspect-ratio: 1.55;
  border: 4px solid rgba(255, 255, 255, 0.55);
  transform: rotate(-9deg);
}

.court::before,
.court::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.55);
}

.court::before {
  inset: 0 50% 0 auto;
  width: 4px;
}

.court::after {
  left: 50%;
  top: 50%;
  width: 70px;
  height: 70px;
  border: 4px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
}

.water {
  right: 0;
  bottom: 0;
  width: 42%;
  height: 30%;
  background: repeating-linear-gradient(-8deg, rgba(255, 255, 255, 0.18) 0 9px, transparent 9px 28px);
}

.mountain {
  right: 30%;
  bottom: 12%;
  width: 26vw;
  min-width: 250px;
  aspect-ratio: 1.7;
  clip-path: polygon(0 100%, 33% 22%, 49% 55%, 67% 0, 100% 100%);
  background: rgba(255, 255, 255, 0.22);
}

.ball-one {
  right: 18%;
  top: 36%;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff, #f6d75f 34%, #d13c23);
}

.ball-two {
  right: 44%;
  top: 16%;
  width: 42px;
  height: 42px;
  border: 3px solid #fff;
  border-radius: 50%;
  opacity: 0.8;
}

.runner {
  right: 26%;
  bottom: 20%;
  width: 92px;
  height: 132px;
}

.runner::before,
.runner::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 999px;
}

.runner::before {
  left: 38px;
  top: 0;
  width: 32px;
  height: 32px;
}

.runner::after {
  left: 20px;
  top: 36px;
  width: 42px;
  height: 92px;
  clip-path: polygon(34% 0, 72% 0, 82% 35%, 100% 38%, 68% 48%, 92% 100%, 66% 100%, 48% 58%, 24% 100%, 0 100%, 32% 44%);
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 64px 0 110px;
}

.guide-avatar {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(0, 0, 145, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.guide-avatar img {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 14%;
  background: #fff;
}

.guide-avatar p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.guide-avatar em {
  display: block;
  margin-top: 7px;
  color: #666;
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
}

.hero-guide {
  position: fixed;
  z-index: 20;
  right: clamp(18px, 5vw, 72px);
  bottom: 24px;
  width: min(420px, calc(100% - 36px));
  padding: 12px 14px;
}

.hero-guide img {
  width: 84px;
  height: 84px;
}

.explorer-guide,
.training-guide {
  width: fit-content;
  max-width: 680px;
  margin-bottom: 18px;
  padding: 12px 16px;
}

.training-guide {
  margin: 18px 0 0 auto;
  background: #f7f7ff;
}

.guide-mini {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 14%;
}

.kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .kicker {
  color: #fff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p:not(.kicker) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.55;
}

.hero .guide-avatar p {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.hero .guide-avatar em {
  color: #666;
}

.search-guide em {
  margin-top: 0;
  color: #555;
  font-size: 15px;
  font-weight: 600;
}

.guide-search-form {
  display: grid;
  flex: 1 1 auto;
  gap: 10px;
}

.guide-search-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px;
}

.guide-search-control input {
  min-height: 44px;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
}

.guide-search-control button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #2637d6);
  box-shadow: 0 12px 24px rgba(0, 0, 145, 0.18);
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.guide-search-control button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0, 0, 145, 0.24);
}

.hero-actions,
.select-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-keystats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 22px;
}

.hero-keystats div {
  display: grid;
  gap: 2px;
  min-width: 150px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.hero-keystats strong {
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.hero-keystats span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--red);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.quick-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.quick-panel div {
  display: grid;
  gap: 4px;
  padding: 22px clamp(18px, 5vw, 52px);
  background: #fff;
}

.quick-panel strong {
  color: var(--blue);
  font-size: 28px;
}

.quick-panel span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-heading.compact {
  margin-bottom: 20px;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
}

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

.path-grid article,
.diploma-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.path-grid article {
  padding: 24px;
}

.path-grid span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
}

.path-grid p,
.diploma-card p,
.resource-copy p {
  color: var(--muted);
  line-height: 1.55;
}

.understand {
  background:
    linear-gradient(180deg, #f7f7ff 0, #fff 46%, #f6fbfb 100%);
}

.understand .section-heading p {
  color: var(--muted);
  line-height: 1.55;
}

.understand-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
}

.understand-visual {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #161616;
}

.understand-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.understand-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.7));
}

.understand-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 22px;
  left: 22px;
  color: #fff;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 900;
  line-height: 1.12;
}

.understand-copy {
  display: grid;
  gap: 18px;
}

.profession-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.profession-panel .panel-kicker {
  color: var(--blue);
}

.profession-panel p,
.scope-grid p,
.certification-roadmap p {
  color: var(--muted);
  line-height: 1.55;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.work-tags span {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: #f1f1ff;
  font-size: 13px;
  font-weight: 900;
}

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

.scope-grid article {
  min-height: 164px;
  padding: 22px;
  border: 1px solid rgba(0, 0, 145, 0.12);
  border-radius: 8px;
  background: #fff;
}

.scope-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 18px;
}

.certification-roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.certification-roadmap article {
  position: relative;
  min-height: 286px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.certification-roadmap article::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--blue);
}

.certification-roadmap article:nth-child(2)::before {
  background: #008a7a;
}

.certification-roadmap article:nth-child(3)::before {
  background: #c18c0a;
}

.certification-roadmap article:nth-child(4)::before {
  background: var(--red);
}

.certification-roadmap span {
  display: inline-grid;
  place-items: center;
  min-width: 74px;
  min-height: 40px;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.certification-roadmap h3 {
  min-height: 74px;
  margin-bottom: 12px;
  font-size: 18px;
}

.certification-roadmap em {
  display: block;
  margin-top: 16px;
  color: var(--blue);
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
}

.resource-video {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid rgba(0, 0, 145, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 0, 145, 0.06), rgba(230, 0, 18, 0.04)),
    #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 80, 0.08);
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #0b0b24;
  box-shadow: 0 18px 36px rgba(0, 0, 80, 0.14);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-copy {
  min-width: 0;
  padding: 6px 4px;
}

.resource-video h3 {
  margin: 0 0 8px;
  color: var(--blue);
}

.resource-video a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}

.explorer {
  background: var(--soft);
}

.obligations {
  background:
    linear-gradient(180deg, #fff 0, #f7f7ff 100%);
}

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

.obligation-grid.detailed {
  align-items: stretch;
}

.obligation-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.obligation-visual {
  position: relative;
  height: clamp(200px, 18vw, 238px);
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 0, 145, 0.08), rgba(230, 0, 18, 0.06)),
    #f6f7fb;
}

.obligation-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.04) contrast(1.03);
}

.obligation-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.36)),
    linear-gradient(90deg, rgba(0, 0, 145, 0.32), transparent 58%);
  pointer-events: none;
}

.panel-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.obligation-panel h3 {
  max-width: 560px;
  margin-bottom: 18px;
}

.obligation-panel ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.obligation-panel li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.55;
}

.obligation-panel li strong {
  color: var(--ink);
}

.obligation-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}

.obligation-callout {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 22px 26px;
  border-left: 5px solid var(--red);
  background: #fff;
}

.obligation-callout strong {
  color: var(--blue);
  font-size: 18px;
}

.obligation-callout p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.regulation-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.regulation-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(0, 0, 145, 0.18);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--blue);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.regulation-strip a:hover {
  border-color: var(--blue);
  background: #f7f7ff;
}

.filters {
  position: relative;
  display: grid;
  gap: 18px;
  margin-bottom: 20px;
  padding: 22px;
  border: 1px solid rgba(0, 0, 145, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 247, 255, 0.94) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 45px rgba(0, 0, 0, 0.07);
}

.filters::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 8px 0 0 8px;
  background: linear-gradient(180deg, var(--blue), var(--red));
}

.filters-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-left: 4px;
}

.filters-header div {
  display: grid;
  gap: 5px;
}

.filters-header span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.filters-header strong {
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
}

.filters-header em {
  max-width: 330px;
  color: #666;
  font-size: 13px;
  font-style: italic;
  line-height: 1.35;
  text-align: right;
}

.search-field,
.select-row label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.search-field > span:first-child,
.select-row label {
  color: var(--ink);
}

.search-control {
  position: relative;
  display: block;
}

.search-control::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  transform: translateY(-58%);
}

.search-control::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 28px;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transform: rotate(45deg);
}

input,
select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(0, 0, 145, 0.16);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff 0%, #fbfbff 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 20px rgba(0, 0, 0, 0.04);
  font: inherit;
  font-weight: 750;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.search-control input {
  padding-left: 48px;
}

input:focus,
select:focus {
  outline: none;
  border-color: rgba(0, 0, 145, 0.42);
  box-shadow:
    0 0 0 4px rgba(0, 0, 145, 0.1),
    0 14px 28px rgba(0, 0, 145, 0.08);
}

input::placeholder {
  color: #777;
  opacity: 0.86;
}

.select-row label {
  min-width: min(260px, 100%);
}

.select-row select {
  appearance: none;
  padding-right: 44px;
  background:
    linear-gradient(45deg, transparent 50%, var(--blue) 50%) right 18px center / 7px 7px no-repeat,
    linear-gradient(135deg, var(--blue) 50%, transparent 50%) right 12px center / 7px 7px no-repeat,
    linear-gradient(180deg, #fff 0%, #fbfbff 100%);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px;
  border: 1px solid rgba(0, 0, 145, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 247, 255, 0.82));
}

.chip {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid rgba(0, 0, 145, 0.12);
  border-radius: 999px;
  padding: 9px 15px 9px 14px;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff 0%, #f9f9ff 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 8px 18px rgba(0, 0, 0, 0.045);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition:
    color 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.34;
  box-shadow: 0 0 0 4px rgba(0, 0, 145, 0.05);
}

.chip:hover {
  border-color: rgba(0, 0, 145, 0.28);
  color: var(--blue);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 12px 24px rgba(0, 0, 145, 0.1);
  transform: translateY(-1px);
}

.chip:focus-visible {
  outline: 3px solid rgba(0, 0, 145, 0.18);
  outline-offset: 2px;
}

.chip[aria-pressed="true"] {
  color: #fff;
  background:
    linear-gradient(135deg, var(--blue) 0%, #2020b8 58%, #e1000f 160%);
  border-color: var(--blue);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 14px 28px rgba(0, 0, 145, 0.2);
}

.chip[aria-pressed="true"]::before {
  opacity: 1;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.results-bar span {
  color: var(--muted);
  font-weight: 800;
}

.diploma-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 460px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.diploma-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #161616;
}

.diploma-image.card {
  height: 190px;
}

.diploma-image.wide {
  height: 300px;
  margin: 0 0 28px;
  border-radius: 8px;
}

.diploma-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.01);
  transform-origin: center top;
}

.diploma-image.wide img {
  object-position: center 24%;
}

.diploma-image.is-avatar {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.9) 0 12%, transparent 12.5%),
    linear-gradient(135deg, #eef2ff 0%, #fff 52%, #f6f6f6 100%);
}

.diploma-image.is-avatar img {
  width: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center top;
  filter: saturate(1.06) contrast(1.02);
  transform: scale(1.04);
  transform-origin: center top;
}

.diploma-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.68)),
    linear-gradient(90deg, rgba(0, 0, 145, 0.42), transparent 58%);
  pointer-events: none;
}

.diploma-image figcaption {
  position: absolute;
  z-index: 2;
  inset: auto 14px 14px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #fff;
}

.diploma-image figcaption span {
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.46);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.diploma-image figcaption strong,
.diploma-image figcaption em {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.level-info {
  position: relative;
  display: inline-grid;
  place-items: center;
  margin-left: 3px;
  color: var(--red);
  cursor: help;
  font-weight: 900;
  line-height: 1;
}

.level-info::after {
  content: attr(aria-label);
  position: absolute;
  right: -10px;
  bottom: calc(100% + 10px);
  z-index: 20;
  width: min(300px, 72vw);
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 145, 0.16);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.level-info:hover::after,
.level-info:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.diploma-image.wide figcaption {
  inset: auto 22px 22px 22px;
}

.diploma-image.wide figcaption span {
  max-width: 70%;
}

.diploma-visual {
  position: relative;
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 168px;
  padding: 18px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 0, 145, 0.92), rgba(0, 166, 166, 0.78)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 18px);
}

.diploma-visual::before {
  content: "";
  position: absolute;
  right: -34px;
  top: -30px;
  width: 170px;
  height: 170px;
  border: 22px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.diploma-visual::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 62px;
  height: 2px;
  background: rgba(255, 255, 255, 0.42);
}

.diploma-visual.wide {
  min-height: 240px;
  margin: 0 0 28px;
  border-radius: 8px;
}

.diploma-visual span,
.diploma-visual strong,
.diploma-visual em {
  position: relative;
  z-index: 1;
}

.diploma-visual span {
  max-width: 88%;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.diploma-visual strong {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 0.96;
}

.diploma-visual.card strong {
  font-size: 34px;
}

.diploma-visual em {
  font-style: normal;
  font-weight: 800;
  opacity: 0.9;
}

.diploma-visual[data-family="Sports collectifs"] {
  background:
    linear-gradient(135deg, rgba(225, 0, 15, 0.95), rgba(0, 0, 145, 0.86)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 22px);
}

.diploma-visual[data-family="Sports nautiques"],
.diploma-visual[data-family="Sports aquatiques"] {
  background:
    linear-gradient(135deg, rgba(0, 0, 145, 0.92), rgba(0, 166, 166, 0.92)),
    repeating-linear-gradient(-8deg, rgba(255, 255, 255, 0.18) 0 8px, transparent 8px 28px);
}

.diploma-visual[data-family="Sports de montagne"],
.diploma-visual[data-family="Sports de nature"] {
  background:
    linear-gradient(135deg, rgba(19, 95, 50, 0.95), rgba(193, 140, 10, 0.86)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 20px);
}

.diploma-visual[data-family="Sports de combat"] {
  background:
    linear-gradient(135deg, rgba(22, 22, 22, 0.96), rgba(225, 0, 15, 0.82)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 0 1px, transparent 1px 18px);
}

.diploma-visual[data-family="Sports de raquette"],
.diploma-visual[data-family="Sports de précision"] {
  background:
    linear-gradient(135deg, rgba(0, 0, 145, 0.94), rgba(47, 143, 70, 0.86)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 26px);
}

.diploma-visual[data-family="Forme et fitness"],
.diploma-visual[data-family="Athlétisme"] {
  background:
    linear-gradient(135deg, rgba(111, 33, 151, 0.94), rgba(225, 0, 15, 0.82)),
    repeating-linear-gradient(-35deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 18px);
}

.diploma-visual[data-family="Sport santé"] {
  background:
    linear-gradient(135deg, rgba(0, 0, 145, 0.92), rgba(101, 84, 192, 0.86), rgba(0, 166, 166, 0.8)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 18px);
}

.diploma-visual[data-family="Sports mécaniques"],
.diploma-visual[data-family="Sports aériens"] {
  background:
    linear-gradient(135deg, rgba(22, 22, 22, 0.94), rgba(0, 0, 145, 0.84), rgba(193, 140, 10, 0.86)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 24px);
}

.sport-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #e9efff;
}

.sport-visual.card {
  height: 172px;
}

.sport-visual.wide {
  height: 260px;
  margin: 0 0 28px;
  border-radius: 8px;
}

.visual-sky,
.visual-field,
.visual-person,
.visual-prop {
  position: absolute;
  display: block;
}

.visual-sky {
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.9) 0 8%, transparent 8.5%),
    linear-gradient(135deg, #000091, #1677c8 52%, #f7c645);
}

.visual-field {
  left: -8%;
  right: -8%;
  bottom: -24%;
  height: 52%;
  border-radius: 50% 50% 0 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 18px, transparent 18px 36px),
    #2f8f46;
}

.visual-person {
  left: 28%;
  bottom: 20%;
  width: 66px;
  height: 104px;
  border-radius: 999px 999px 20px 20px;
  background:
    radial-gradient(circle at 50% 12%, #ffe1bd 0 14px, transparent 15px),
    linear-gradient(90deg, transparent 0 18px, #fff 18px 48px, transparent 48px),
    linear-gradient(145deg, #e1000f 0 52%, #000091 52%);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
}

.visual-person::before,
.visual-person::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 999px;
}

.visual-person::before {
  left: -24px;
  top: 40px;
  width: 46px;
  height: 10px;
  transform: rotate(-26deg);
}

.visual-person::after {
  right: -18px;
  top: 42px;
  width: 42px;
  height: 10px;
  transform: rotate(30deg);
}

.visual-prop {
  z-index: -1;
}

.visual-prop-one {
  right: 20%;
  top: 25%;
  width: 78px;
  height: 78px;
  border: 5px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
}

.visual-prop-two {
  right: 14%;
  bottom: 22%;
  width: 150px;
  height: 5px;
  background: rgba(255, 255, 255, 0.86);
  transform: rotate(-12deg);
}

.sport-visual[data-visual="collectif"] .visual-sky {
  background:
    radial-gradient(circle at 75% 27%, #fff 0 7%, transparent 7.5%),
    linear-gradient(135deg, #e1000f, #7b1a4b 58%, #080064);
}

.sport-visual[data-visual="collectif"] .visual-field {
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.6) 49% 51%, transparent 51%),
    linear-gradient(#2f8f46, #237338);
}

.sport-visual[data-visual="collectif"] .visual-prop-one {
  right: 18%;
  top: 31%;
  background:
    linear-gradient(90deg, transparent 45%, rgba(0, 0, 0, 0.2) 45% 55%, transparent 55%),
    #f6f6f6;
  border-color: #fff;
}

.sport-visual[data-visual="aquatique"] .visual-sky,
.sport-visual[data-visual="kayak"] .visual-sky,
.sport-visual[data-visual="voile"] .visual-sky {
  background: linear-gradient(135deg, #000091, #00a6a6 62%, #dff8ff);
}

.sport-visual[data-visual="aquatique"] .visual-field,
.sport-visual[data-visual="kayak"] .visual-field,
.sport-visual[data-visual="voile"] .visual-field {
  height: 48%;
  background:
    repeating-linear-gradient(-8deg, rgba(255, 255, 255, 0.45) 0 8px, transparent 8px 28px),
    #00a6a6;
}

.sport-visual[data-visual="aquatique"] .visual-person {
  left: 36%;
  bottom: 14%;
  width: 92px;
  height: 54px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 36%, #ffe1bd 0 13px, transparent 14px),
    linear-gradient(90deg, #fff, #000091);
}

.sport-visual[data-visual="aquatique"] .visual-prop-one {
  right: 17%;
  top: 34%;
  width: 96px;
  height: 96px;
  border-color: rgba(255, 255, 255, 0.8);
}

.sport-visual[data-visual="kayak"] .visual-person {
  left: 38%;
  bottom: 21%;
  width: 52px;
  height: 86px;
}

.sport-visual[data-visual="kayak"] .visual-prop-one {
  left: 24%;
  right: auto;
  top: auto;
  bottom: 17%;
  width: 180px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f7c645;
}

.sport-visual[data-visual="kayak"] .visual-prop-two {
  left: 20%;
  right: auto;
  bottom: 45%;
  width: 190px;
  transform: rotate(20deg);
}

.sport-visual[data-visual="voile"] .visual-person {
  left: 24%;
  bottom: 19%;
  width: 42px;
  height: 74px;
}

.sport-visual[data-visual="voile"] .visual-prop-one {
  right: 24%;
  top: 16%;
  width: 120px;
  height: 130px;
  border: 0;
  border-radius: 0;
  clip-path: polygon(14% 100%, 100% 100%, 14% 0);
  background: rgba(255, 255, 255, 0.9);
}

.sport-visual[data-visual="escalade"] .visual-sky {
  background: linear-gradient(135deg, #000091, #6b6bd6 55%, #c18c0a);
}

.sport-visual[data-visual="escalade"] .visual-field {
  right: -12%;
  left: auto;
  bottom: -5%;
  width: 58%;
  height: 105%;
  border-radius: 0;
  clip-path: polygon(44% 0, 100% 100%, 0 100%);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.7) 0 4px, transparent 5px),
    radial-gradient(circle at 62% 58%, rgba(255, 255, 255, 0.7) 0 4px, transparent 5px),
    #5d6374;
}

.sport-visual[data-visual="escalade"] .visual-person {
  left: 54%;
  bottom: 42%;
  transform: rotate(-18deg);
}

.sport-visual[data-visual="vtt"] .visual-sky {
  background: linear-gradient(135deg, #0f5f32, #2f8f46 58%, #f7c645);
}

.sport-visual[data-visual="vtt"] .visual-prop-one,
.sport-visual[data-visual="vtt"] .visual-prop-two {
  top: auto;
  bottom: 21%;
  width: 72px;
  height: 72px;
  border: 6px solid #fff;
  border-radius: 50%;
  background: transparent;
  transform: none;
}

.sport-visual[data-visual="vtt"] .visual-prop-one {
  left: 24%;
  right: auto;
}

.sport-visual[data-visual="vtt"] .visual-prop-two {
  left: 50%;
}

.sport-visual[data-visual="vtt"] .visual-person {
  left: 40%;
  bottom: 34%;
  transform: rotate(18deg);
}

.sport-visual[data-visual="apa"] .visual-sky {
  background: linear-gradient(135deg, #000091, #6554c0 55%, #00a6a6);
}

.sport-visual[data-visual="apa"] .visual-prop-one {
  right: 15%;
  top: 18%;
  width: 92px;
  height: 92px;
  border-radius: 26px;
  border-color: rgba(255, 255, 255, 0.72);
  transform: rotate(12deg);
}

.sport-visual[data-visual="tennis"] .visual-sky {
  background:
    radial-gradient(circle at 78% 28%, #d7ff45 0 7%, transparent 7.5%),
    linear-gradient(135deg, #000091, #204fc4 50%, #9be15d);
}

.sport-visual[data-visual="tennis"] .visual-field {
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.65) 49% 51%, transparent 51%),
    linear-gradient(#2456b8, #183f95);
}

.sport-visual[data-visual="tennis"] .visual-person {
  left: 31%;
  bottom: 22%;
  transform: rotate(-8deg);
}

.sport-visual[data-visual="tennis"] .visual-prop-one {
  right: 21%;
  top: 24%;
  width: 76px;
  height: 102px;
  border: 6px solid #fff;
  border-radius: 50%;
  transform: rotate(-26deg);
}

.sport-visual[data-visual="tennis"] .visual-prop-one::after {
  content: "";
  position: absolute;
  left: 31px;
  bottom: -52px;
  width: 7px;
  height: 58px;
  background: #fff;
  border-radius: 999px;
}

.sport-visual[data-visual="tennis"] .visual-prop-two {
  right: 14%;
  bottom: 31%;
  width: 112px;
  background: #fff;
  transform: rotate(-26deg);
}

.card-body {
  padding: 22px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.tag {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--blue);
  background: #eeeeff;
  font-size: 12px;
  font-weight: 900;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 22px 22px;
}

.level {
  color: var(--muted);
  font-weight: 800;
}

.open-card {
  min-height: 40px;
  padding: 9px 12px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--blue);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.resources {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: start;
}

.establishments {
  background: #fff;
}

.public-value {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 12px;
}

.public-value span {
  border: 1px solid rgba(0, 0, 145, 0.14);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--blue);
  background: #f7f7ff;
  font-size: 13px;
  font-weight: 900;
}

.map-helper {
  color: var(--muted);
  font-size: 15px;
}

.establishment-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.france-map {
  position: relative;
  min-height: 640px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 0, 145, 0.08), rgba(0, 166, 166, 0.08)),
    #f8f8ff;
}

.france-map .leaflet-container,
.france-map .leaflet-pane,
.france-map .leaflet-top,
.france-map .leaflet-bottom {
  font-family: inherit;
}

.france-map .leaflet-control-zoom a {
  color: var(--blue);
}

.france-map .leaflet-control-attribution {
  color: var(--muted);
  font-size: 11px;
}

.establishment-pin {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
}

.establishment-pin span {
  display: block;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--red);
  box-shadow:
    0 0 0 2px rgba(224, 0, 15, 0.32),
    0 10px 22px rgba(0, 0, 0, 0.2);
}

.establishment-pin.is-national span {
  background: var(--blue);
  box-shadow:
    0 0 0 2px rgba(0, 0, 145, 0.32),
    0 10px 22px rgba(0, 0, 0, 0.2);
}

.map-popup {
  display: grid;
  gap: 5px;
  min-width: 210px;
}

.map-popup-logo {
  width: 112px;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 6px;
}

.map-popup span {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.map-popup strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.map-popup em {
  color: var(--muted);
  font-style: normal;
}

.map-popup a {
  width: fit-content;
  margin-top: 4px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.france-map svg {
  position: absolute;
  inset: 28px 28px 80px;
  width: calc(100% - 56px);
  height: calc(100% - 108px);
}

.map-mainland,
.map-corsica {
  fill: #ffffff;
  stroke: #000091;
  stroke-width: 4;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.08));
}

.map-river {
  fill: none;
  stroke: #00a6a6;
  stroke-width: 5;
  stroke-linecap: round;
  opacity: 0.25;
}

.map-markers {
  position: absolute;
  inset: 28px 28px 80px;
}

.map-marker {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  text-decoration: none;
}

.marker-dot {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 8px 18px rgba(0, 0, 145, 0.28);
}

.marker-dot::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(225, 0, 15, 0.24);
  border-radius: 50%;
}

.marker-card {
  position: absolute;
  left: 24px;
  bottom: 26px;
  display: grid;
  gap: 4px;
  width: max-content;
  max-width: 250px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.marker-card strong {
  color: var(--blue);
  font-size: 13px;
}

.marker-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.map-marker:hover,
.map-marker:focus-visible {
  z-index: 8;
}

.map-marker:hover .marker-card,
.map-marker:focus-visible .marker-card {
  opacity: 1;
  transform: translateY(0);
}

.overseas-panel {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.overseas-marker {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(0, 0, 145, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
}

.overseas-marker strong {
  color: var(--blue);
  font-size: 13px;
}

.overseas-marker span {
  color: var(--muted);
  font-size: 12px;
}

.establishment-list {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.establishment-count {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #f6f6f6;
}

.establishment-count strong {
  color: var(--blue);
  font-size: 34px;
}

.establishment-count span {
  color: var(--muted);
  font-weight: 800;
}

.establishment-items {
  display: grid;
  align-content: start;
  max-height: 560px;
  overflow: auto;
}

.establishment-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.establishment-logo {
  display: grid;
  place-items: center;
  width: 76px;
  height: 62px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 145, 0.1);
  border-radius: 8px;
  background: #fff;
}

.establishment-logo img {
  max-width: 58px;
  max-height: 42px;
  object-fit: contain;
}

.establishment-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.establishment-copy > span {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.establishment-copy strong {
  color: var(--blue);
  font-size: 15px;
  line-height: 1.22;
}

.establishment-copy em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.establishment-item:hover,
.overseas-marker:hover {
  background: #f7f7ff;
}

.source-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.source-list a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.provider-list {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.provider-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 145, 0.12);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
}

.provider-item img {
  width: 56px;
  height: 42px;
  object-fit: contain;
}

.provider-item span {
  display: grid;
  gap: 3px;
}

.provider-item strong {
  color: var(--blue);
  font-size: 14px;
  line-height: 1.2;
}

.provider-item em,
.provider-note {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}

.provider-item:hover {
  border-color: rgba(0, 0, 145, 0.28);
  background: #f7f7ff;
}

.provider-note {
  margin-top: 10px;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  color: #fff;
  background:
    linear-gradient(135deg, var(--blue) 0%, #2020b8 58%, #e1000f 150%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 16px 34px rgba(0, 0, 145, 0.24);
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.back-to-top span {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-1px);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.32) inset,
    0 20px 42px rgba(0, 0, 145, 0.3);
}

.sheet {
  width: min(900px, calc(100vw - 28px));
  max-height: 88vh;
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

.sheet::backdrop {
  background: rgba(0, 0, 0, 0.56);
}

.close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f2f2f2;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.sheet-inner {
  padding: clamp(24px, 5vw, 46px);
}

.sheet h2 {
  max-width: 760px;
  margin-bottom: 18px;
  padding-right: 42px;
}

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

.fact {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.fact strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 44px 20px;
  border: 1px dashed #aaa;
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  text-align: center;
}

@media (max-width: 920px) {
  .site-header,
  .resources,
  .establishment-layout {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .resource-video {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  .path-grid,
  .card-grid,
  .understand-layout,
  .scope-grid,
  .certification-roadmap,
  .obligation-grid,
  .quick-panel,
  .sheet-grid {
    grid-template-columns: 1fr;
  }

  .understand-visual {
    min-height: 360px;
  }

  .profession-panel,
  .scope-grid article,
  .certification-roadmap article {
    padding: 20px;
  }

  .certification-roadmap h3 {
    min-height: auto;
  }

  .obligation-callout {
    grid-template-columns: 1fr;
  }

  .hero-guide {
    position: fixed;
    right: 14px;
    bottom: 14px;
    align-self: auto;
    width: min(390px, calc(100% - 28px));
    margin: 0;
  }

  .explorer-guide,
  .training-guide {
    width: auto;
    margin-right: 0;
  }

  .hero {
    min-height: 720px;
  }

  .france-map,
  .establishment-list {
    min-height: 560px;
  }

  .hero-content {
    align-self: end;
    margin: 0;
    padding: 220px 18px 58px;
  }
}

@media (max-width: 560px) {
  .prototype-alert {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 10px;
    font-size: 13px;
  }

  .prototype-alert-track {
    width: 86px;
  }

  .brand {
    align-items: flex-start;
    gap: 12px;
  }

  .ministere-logo {
    width: 126px;
    max-height: 64px;
  }

  .brand-text strong {
    font-size: 13px;
  }

  h1 {
    font-size: 42px;
  }

  .hero p:not(.kicker) {
    font-size: 17px;
  }

  .main-nav a {
    padding-inline: 6px;
    font-size: 14px;
  }
}
