.app-theme {
  --app-width: min(1216px, calc(100% - 64px));
  --app-dock-height: 65px;
  background: #f6f7f3;
  font-family: Arial, "Liberation Sans", sans-serif;
}
.app-theme .container, .app-theme .vision-directory, .app-theme .v-divisions { margin-left: auto; margin-right: auto; }
.app-theme .skip { z-index: 20; }
.app-header {
  position: sticky;
  top: 0;
  padding-top: env(safe-area-inset-top);
  z-index: 10;
  background: #fff;
}
.app-masthead {
  width: var(--app-width);
  min-height: 68px;
  justify-content: flex-start;
  gap: 20px;
}
.app-brand img { width: 158px; }
.app-scope {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--tone);
  background: var(--tint);
  border-radius: 12px;
  padding: 7px 11px;
  font-size: .88rem;
  font-weight: 760;
  white-space: nowrap;
}
.app-scope .icon { width: 18px; height: 18px; }
.app-header-tools { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.app-home-link, .app-tool {
  display: grid;
  place-items: center;
  min-height: 44px;
  color: var(--v-ink);
  text-decoration: none;
  border-radius: 11px;
}
.app-home-link { padding-inline: 9px; font-size: .85rem; font-weight: 720; white-space: nowrap; }
.app-tool { min-width: 44px; }
.app-home-link:hover, .app-tool:hover { background: var(--tint); color: var(--tone); }
.app-tabs {
  position: relative;
  width: var(--app-width);
  margin: 0 auto;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  align-items: stretch;
  min-width: 0;
}
.app-tabs a {
  display: grid;
  min-height: 46px;
  align-items: center;
  padding: 7px 12px 9px;
  border-bottom: 3px solid transparent;
  color: var(--v-muted);
  font-size: .875rem;
}
.app-tabs a:hover, .app-tabs a[aria-current] {
  color: var(--tone);
  border-bottom-color: var(--tone);
  text-decoration: none;
}
.app-tabs a[aria-current] { background: var(--tint); border-radius: 10px 10px 0 0; font-weight: 760; }
.app-tabs a:focus-visible { outline-offset: -4px; }
.app-dock { display: none; }
.app-theme .directory, #univers { scroll-margin-top: 125px; }

.app-discover-hero {
  width: var(--app-width);
  margin: 24px auto 0;
  border-radius: 24px;
  min-height: clamp(350px, 35vw, 475px);
  place-items: end start;
}
.app-discover-hero::after {
  inset: 0;
  background: linear-gradient(90deg, #0b221de8, #112d236f 59%, #10211e1c),
              linear-gradient(0deg,#0b221d99,transparent 58%);
}
.app-discover-hero .v-hero-image { object-position: 54% 46%; }
.app-discover-hero .v-hero-content {
  width: min(720px, 100%);
  padding: clamp(24px, 4vw, 50px);
  text-align: left;
}
.app-discover-hero .v-hero-content h1 { font-size: clamp(2.4rem, 4.6vw, 4.5rem); }
.app-discover-hero .v-hero-content p { max-width: 36ch; font-weight: 540; margin-block: 12px 19px; }
.app-discover-hero .v-search { margin: 0; }
.app-discover-shortcuts {
  width: var(--app-width);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px auto 28px;
}
.app-discover-shortcuts a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 10px 13px;
  background: #fff;
  border: 1px solid var(--v-border);
  border-radius: 13px;
  white-space: normal;
}
.app-discover-shortcuts a:hover { background: var(--tint); text-decoration: none; }
.app-discover-shortcuts .icon { color: var(--tone); width: 19px; height: 19px; }
.discover-home .v-divisions { padding-block: 30px 12px; }
.discover-home .v-division-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
.discover-home .v-tile { padding: 14px; border-radius: 15px; }
.discover-home .card { border-radius: 16px; }
.discover-home .card .media img { aspect-ratio: 1.86; }

.app-universe-hero {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 3vw, 26px);
  padding: clamp(24px, 5vw, 52px);
  margin-block: 0 22px;
  border-radius: 24px;
  background: var(--tint);
  border: 1px solid color-mix(in srgb, var(--tone) 20%, var(--tint));
}
.app-universe-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 57px;
  height: 57px;
  border-radius: 17px;
  color: var(--tone);
  background: white;
}
.app-universe-icon .icon { width: 28px; height: 28px; }
.app-universe-hero h1 { font-size: clamp(2.65rem, 6vw, 5.2rem); }
.app-universe-hero p { color: var(--v-muted); margin-top: 12px; max-width: 66ch; }
.app-universe .v-service-grid { margin-top: 0; }
.app-theme .v-service-card, .app-theme .v-panel { border-radius: 16px; min-width: 0; }
.app-universe .v-service-card { border-top: 3px solid color-mix(in srgb,var(--tone) 50%, #fff); }
.app-theme .v-inner-head h1, .app-theme .v-service-card h2,
.app-theme .afq-fields dd, .app-theme .v-history { overflow-wrap: anywhere; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px),1fr));
  gap: 14px;
}
.plan-note {
  padding: 13px 15px;
  border-radius: 12px;
  margin-bottom: 14px;
  background: var(--tint);
  color: var(--v-muted);
}
.plan-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(16px,2.4vw,25px);
  background: #fff;
  border-radius: 17px;
  border: 1px solid var(--v-border);
}
.plan-card h2 { font-size: 1.36rem; }
.plan-card p { margin-top: 8px; color: var(--v-muted); }
.plan-price { color: var(--tone); font-size: 1.07rem; margin-top: 12px; }
.plan-card ul { padding-inline-start: 1.25rem; margin-bottom: 22px; line-height: 1.5; }
.plan-card li + li { margin-top: 7px; }
.plan-card .button { margin-top: auto; }

@media (max-width: 785px) {
  .app-theme { --app-width: calc(100% - 32px); }
  .app-masthead { min-height: 60px; gap: 8px; }
  .app-brand img { width: clamp(91px, 28vw, 140px); }
  .app-scope { padding: 5px 7px; font-size: .75rem; border-radius: 9px; }
  .app-scope .icon, .app-header-tools .app-desktop-account,
  .app-header-tools a[href="/recherche"] { display: none; }
  .app-header-tools { gap: 0; }
  .app-home-link { font-size: .76rem; padding-inline: 5px; }
  .app-tool { min-width: 39px; }
  .app-tool .icon { width: 18px; }
  .app-tabs {
    width: 100%;
    padding-inline: 16px;
    scrollbar-width: thin;
  }
  .app-tabs a { padding-inline: 10px; min-height: 42px; font-size: .84rem; }
  .app-theme .directory, #univers { scroll-margin-top: 115px; }
  .app-discover-hero { display: grid; min-height: 268px; margin-top: 14px; border-radius: 19px; }
  .app-discover-hero .v-hero-content { padding: 19px; }
  .app-discover-hero .v-hero-content h1 { font-size: clamp(2.05rem, 8.5vw, 3.25rem); }
  .app-discover-hero .v-hero-content p { font-size: .91rem; }
  .app-discover-hero .v-hero-image { object-position: 55% center; }
  .app-discover-hero::after { background: linear-gradient(0deg,#0a221fe8,#112b2257 100%); }
  .app-discover-shortcuts { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-block: 11px 22px; }
  .app-discover-shortcuts a { min-height: 49px; font-size: .8rem; padding: 8px 10px; }
  .discover-home .v-division-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .discover-home .v-tile { justify-items: start; min-height: 90px; gap: 3px; padding: 10px 12px; }
  .discover-home .v-tile-icon { background: var(--tint); width: 32px; height: 32px; }
  .discover-home .v-tile-icon .icon { width: 21px; height: 21px; }
  .discover-home .v-tile-arrow { display: block; width: 14px; height: 14px; }
  .app-theme .v-inner { padding-top: 15px; }
  .app-universe-hero { border-radius: 19px; padding: 19px 16px; gap: 12px; }
  .app-universe-hero h1 { font-size: clamp(2.2rem, 8vw, 3.4rem); }
  .app-universe-hero p { font-size: .92rem; margin-top: 9px; }
  .app-universe-icon { width: 41px; height: 41px; border-radius: 12px; }
  .app-universe-icon .icon { width: 22px; height: 22px; }
  .app-dock {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    align-items: stretch;
    position: fixed;
    right: 10px;
    bottom: 8px;
    left: 10px;
    right: max(10px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    left: max(10px, env(safe-area-inset-left));
    z-index: 10;
    height: var(--app-dock-height);
    padding: 5px;
    border-radius: 21px;
    border: 1px solid #dfe7df;
    background: #fff;
    box-shadow: 0 5px 25px #0f271e21;
  }
  .app-dock a {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 3px;
    padding: 3px;
    border-radius: 16px;
    color: var(--v-muted);
    font-size: .72rem;
    line-height: 1.12;
    text-align: center;
    white-space: normal;
  }
  .app-dock .icon { width: 19px; height: 19px; }
  .app-dock a[aria-current] { color: var(--tone); background: var(--tint); }
  .app-theme .site-footer { margin-bottom: calc(var(--app-dock-height) + 22px + env(safe-area-inset-bottom)); }
  .app-theme input, .app-theme select, .app-theme textarea { font-size: 16px; }
  .app-theme .button { white-space: normal; }
}
@media (max-width: 365px) {
  .app-masthead { width: calc(100% - 22px); }
  .app-tool { min-width: 33px; }
  .app-scope { font-size: .7rem; }
}
.publication-link { margin-bottom: 13px; }
