/* Viva Pragma · thème V4 (octobre 2026) : marine + turquoise du logo, Segoe UI */

:root {
  --teal: #22a7b3; /* turquoise du logo : décor, pictogrammes, filets */
  --turq-lg: #1990a6; /* turquoise des grands titres (3,8:1 sur blanc) */
  --teal-200: #b5dceb;
  --teal-100: #dbeef6;
  --teal-50: #eef6fa;
  --teal-700: #234562; /* V3 : textes d'accent, liens et boutons en marine du logo (plus de bleu-vert) */
  --teal-800: #16304a;
  --teal-light: #5cc8d2; /* turquoise lisible sur fond marine */
  --navy: #234562; /* marine du logo */
  --navy-900: #16304a;
  --navy-950: #10263b;
  --navy-50: #eef2f7;
  --ink: #2b3f4e;
  --muted: #4a5d6b;
  --accent: #234562;
  --accent-600: #16304a;
  --accent-50: #eef6fa;
  --accent-200: #b5dceb;
  --accent-ink: #234562;
  --line: #dde7ef;
  --soft: #f3f8fb;
  --white: #fff;
  --danger: #b42318;
  --radius: 20px;
  --shadow: 0 18px 40px -22px rgba(22, 48, 74, 0.38);
  --shadow-sm: 0 8px 22px -16px rgba(22, 48, 74, 0.42);
  /* Segoe UI (Microsoft 365) sur Windows ; ailleurs, la police système équivalente. Aucun fichier à télécharger. */
  --font-h: 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-b: 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-logo: var(--font-h);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.modal-open {
  overflow: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--teal-700);
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-h);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
}
h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 700;
}
h3,
.h3 {
  font-size: 1.45rem;
  font-weight: 700;
}
.h4 {
  font-size: 1.2rem;
  font-weight: 700;
}
.h5 {
  font-size: 1.05rem;
  font-weight: 700;
}
p {
  margin: 0 0 1em;
}
.muted {
  color: var(--muted);
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap.narrow {
  max-width: 820px;
}
.section {
  padding: 96px 0;
}
.section-sm {
  padding: 56px 0;
}
.bg-soft {
  background: var(--soft);
}
.center {
  text-align: center;
}

.ico {
  width: 22px;
  height: 22px;
  flex: none;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn .ico {
  width: 18px;
  height: 18px;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--teal-700);
  color: #fff;
}
.btn-primary:hover {
  background: var(--teal-800);
  box-shadow: var(--shadow-sm);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  color: #fff;
  background: var(--accent-600);
  box-shadow: var(--shadow-sm);
}
.btn-ghost {
  background: transparent;
  color: var(--teal-700);
  border-color: var(--teal-700);
}
.btn-ghost:hover {
  background: var(--teal-50);
}
.btn-white {
  background: #fff;
  color: var(--navy);
}
.btn-white:hover {
  background: var(--teal-50);
}
.btn-sm {
  padding: 11px 18px;
  font-size: 15px;
}
.btn-lg {
  padding: 18px 32px;
  font-size: 17px;
}
.btn-block {
  width: 100%;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.actions.center {
  justify-content: center;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 15px;
  color: var(--teal-700);
  text-decoration: none;
}
.link-arrow .ico {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}
.link-arrow:hover .ico {
  transform: translateX(3px);
}
.link-arrow.light {
  color: #fff;
}
.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  border: 0;
  color: var(--teal-700);
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  padding: 8px;
}
.link-btn .ico {
  width: 18px;
  height: 18px;
}

/* ---------- Étiquettes ---------- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  padding: 6px 12px;
  border-radius: 999px;
}
.tag-teal {
  background: var(--teal-100);
  color: var(--teal-800);
}
.tag-blue {
  background: #e3ecfa;
  color: #234e91;
}
.tag-accent {
  background: #fbe3ec;
  color: #9b1d4a;
}
.tag-line {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
}

.eyebrow {
  display: block;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  margin: -3px 10px 0 0;
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px -16px rgba(22, 48, 74, 0.35);
}
.header-in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 78px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.logo-mark {
  width: 42px;
  height: 42px;
}
.logo-txt {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 26px;
  line-height: 1;
}
.l-viva {
  font-family: var(--font-logo);
  color: var(--teal-700);
}
.l-pragma {
  font-family: var(--font-h);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.logo-light .l-viva {
  color: var(--teal-light);
}
.logo-light .l-pragma {
  color: #fff;
}
.main-nav {
  margin-left: auto;
}
.main-nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nw {
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a[aria-current] {
  background: var(--teal-50);
  color: var(--teal-700);
}
.burger {
  display: none;
}
.burger .i-close,
.burger[aria-expanded='true'] .i-open {
  display: none;
}
.burger[aria-expanded='true'] .i-close {
  display: block;
}
.show-xs {
  display: none;
}

/* ---------- Grilles ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}
.section-head p:last-child {
  margin-bottom: 0;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
}
.section-head.row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head.row h2 {
  margin: 0;
}

/* ---------- Cartes publics ---------- */
.p-card,
.value-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.p-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--teal-200);
}
.p-card h3 {
  font-size: 1.3rem;
  margin: 10px 0 0;
}
.p-card p {
  margin: 0;
}
.p-card .link-arrow {
  margin-top: auto;
  padding-top: 16px;
}
.p-sigles {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--teal-700);
}
.p-ico,
.v-ico,
.f-ico {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--teal-50);
  color: var(--teal-700);
}
.p-ico .ico,
.v-ico .ico {
  width: 30px;
  height: 30px;
}
.value-card h3 {
  margin: 12px 0 4px;
}
.value-card p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Cartes formations ---------- */
.f-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.f-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.f-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--teal-200);
}
.f-card:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.f-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.f-ico {
  width: 50px;
  height: 50px;
  border-radius: 14px;
}
.f-ico .ico {
  width: 26px;
  height: 26px;
}
.f-theme {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
.f-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 4px 0 0;
}
.f-title a {
  color: var(--navy);
  text-decoration: none;
}
.f-title a:focus-visible {
  outline: none;
}
.stretched::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.f-resume {
  margin: 0;
  flex-grow: 1;
}
.f-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  list-style: none;
  padding: 14px 0 0;
  margin: 2px 0 0;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 15px;
}
.f-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 15px;
  color: var(--teal-700);
}
.f-more .ico {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}
.f-card:hover .f-more .ico {
  transform: translateX(3px);
}

/* ---------- Bandeau d'appel ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  padding: 76px 0;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  left: -200px;
  top: -260px;
  border-radius: 50%;
  border: 70px solid rgba(127, 208, 216, 0.08);
}
.cta-in {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.cta-band h2 {
  color: #fff;
}
.cta-band p {
  max-width: 58ch;
  margin: 0;
}
.cta-band strong {
  color: #fff;
}
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex: none;
}

/* ---------- Héros pages internes ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eef5fa 0%, #f8fbfd 100%);
  padding: 52px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  max-width: 22ch;
}
.page-hero.center h1,
.page-hero.center .lead {
  margin-left: auto;
  margin-right: auto;
}
.page-hero .lead {
  margin-bottom: 0;
  max-width: 60ch;
}
.page-hero .tags {
  margin-bottom: 16px;
}
.hero-mark {
  position: absolute;
  width: 360px;
  height: 360px;
  right: -40px;
  top: -30px;
  opacity: 0.1;
  pointer-events: none;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0 0 22px;
  font-size: 15px;
  color: var(--muted);
}
.breadcrumb li + li::before {
  content: '›';
  margin-right: 6px;
  color: var(--teal);
}

/* ---------- Fiche formation ---------- */
.fiche-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 56px;
  align-items: start;
}
.fiche-aside {
  grid-column: 2;
  grid-row: 1;
}
@media (min-height: 1180px) {
  .fiche-aside {
    position: sticky;
    top: 100px;
  }
}
.fiche-main {
  grid-column: 1;
  grid-row: 1;
}
.infos-card {
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: 24px;
  padding: 28px;
}
.infos-card h2 {
  margin-bottom: 8px;
}
.infos {
  margin: 0;
}
.info-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(35, 69, 98, 0.12);
}
.info-row .ico {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  color: var(--teal-700);
  margin-top: 1px;
}
.info-row dt {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}
.info-row dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
.infos-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.fiche-intro {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--navy);
  border-left: 4px solid var(--accent);
  padding-left: 22px;
  margin: 0 0 8px;
}
.fiche-h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.6rem;
  margin: 48px 0 20px;
}
.fiche-h2 .ico {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
}
.programme {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.programme li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
}
.num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-700);
  color: #fff;
  font: 700 16px/36px var(--font-h);
  text-align: center;
}
.programme strong,
.objectifs strong {
  display: block;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.35;
}
.programme span:not(.num) {
  color: var(--muted);
}
.has-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  font-style: italic;
  color: var(--teal-700);
}
.has-note .ico {
  width: 20px;
  height: 20px;
}
.objectifs {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
}
.objectifs li {
  display: flex;
  gap: 12px;
}
.objectifs .ico {
  width: 24px;
  height: 24px;
  color: var(--teal);
  margin-top: 1px;
}
.modalites {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mod-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.mod-card .ico {
  width: 34px;
  height: 34px;
  color: var(--teal-700);
  margin-bottom: 10px;
}
.mod-card h3 {
  margin-bottom: 6px;
}
.mod-card p {
  margin: 0;
}
.mod-card.lg {
  padding: 30px;
}

/* ---------- Catalogue ---------- */
.filters {
  display: grid;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.filter-label {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  min-width: 92px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.chip .ico {
  width: 18px;
  height: 18px;
}
.chip:hover {
  border-color: var(--teal);
}
.chip.is-active {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #fff;
}
.result-count {
  color: var(--muted);
  margin: 0 0 20px;
}
.result-count strong {
  color: var(--navy);
}
.empty {
  text-align: center;
  padding: 48px 24px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
}
.sur-mesure {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 48px;
  background: var(--accent-50);
  border: 1px solid var(--accent-200);
  border-radius: 24px;
  padding: 32px 36px;
}
.sur-mesure > div {
  flex: 1;
}
.sur-mesure h2 {
  margin-bottom: 4px;
}
.sur-mesure p {
  margin: 0;
}
.sm-ico {
  color: var(--accent-ink);
}

/* ---------- Formulaires ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 26px;
  min-width: 0;
}
legend {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 18px;
  padding: 0;
}
legend .ico {
  width: 28px;
  height: 28px;
  color: var(--teal-700);
}
.fields-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}
input,
select,
textarea {
  font: inherit;
  font-size: 17px;
  padding: 13px 15px;
  border: 1.5px solid #c6d4df;
  border-radius: 12px;
  background: #fbfdfe;
  color: var(--navy);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
input::placeholder,
textarea::placeholder {
  color: #6f7f8c;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23234562' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
  padding-right: 44px;
}
textarea {
  resize: vertical;
  line-height: 1.5;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal-700);
  box-shadow: 0 0 0 4px rgba(34, 167, 179, 0.25);
  background: #fff;
}
.field.has-error input,
.field.has-error textarea {
  border-color: var(--danger);
}
.err {
  color: var(--danger);
  font-size: 14px;
  font-weight: 700;
}
.req {
  color: var(--danger);
}
.check {
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--navy);
}
.check input {
  width: 22px;
  height: 22px;
  flex: none;
  accent-color: var(--teal-700);
}
.rgpd {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 4px 0 20px;
}
.rgpd .ico {
  width: 18px;
  height: 18px;
  color: var(--teal);
  margin-top: 2px;
}
.req-note {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 0;
}
.form-success {
  text-align: center;
  padding: 20px 8px;
}
.form-success:focus {
  outline: none;
}
.success-ico .ico {
  width: 66px;
  height: 66px;
  color: var(--teal);
  margin: 0 auto;
}
.success-title {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy);
  margin: 14px 0 6px;
}
.demo-note {
  font-size: 14px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 18px 0 0;
}
.contact-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 20px;
}
.reassure {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.reassure li {
  display: flex;
  gap: 14px;
  background: var(--teal-50);
  border-radius: 18px;
  padding: 18px 20px;
}
.reassure .ico {
  width: 28px;
  height: 28px;
  color: var(--teal-700);
}
.reassure strong {
  display: block;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.reassure span {
  color: var(--muted);
  font-size: 15px;
}
.aside-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}
.aside-box p {
  margin: 0;
}
.aside-title {
  font-family: var(--font-h);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px !important;
}
.mail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  word-break: break-all;
}

/* ---------- Pages légales ---------- */
.note-box {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--accent-50);
  border: 1px solid var(--accent-200);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 16px;
  margin-bottom: 32px;
}
.note-box .ico {
  color: var(--accent-ink);
  margin-top: 2px;
}
.legal h2 {
  font-size: 1.35rem;
  margin: 1.8em 0 0.5em;
}
.legal h2:first-child {
  margin-top: 0;
}

/* ---------- Fenêtre de premier contact ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 38, 59, 0.55);
  backdrop-filter: blur(3px);
}
.modal-card {
  position: relative;
  background: #fff;
  border-radius: 26px;
  width: min(540px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 36px;
  box-shadow: 0 30px 80px -20px rgba(16, 38, 59, 0.5);
  animation: pop 0.25s ease-out;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
.modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--teal-50);
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.modal-x:hover {
  background: var(--teal-100);
}
.modal-card h2 {
  font-size: 1.65rem;
  margin: 0 0 6px;
  padding-right: 40px;
}
.modal-lead {
  color: var(--muted);
  margin: 0 0 20px;
}
.modal-card .link-arrow {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: #0f2930;
  color: rgba(255, 255, 255, 0.84);
  padding: 72px 0 0;
  font-size: 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p {
  max-width: 34ch;
}
.footer-baseline {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin: 16px 0 10px;
  line-height: 1.5;
}
.footer-title {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin: 0 0 16px;
}
.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-contact .ico {
  width: 20px;
  height: 20px;
  color: var(--teal-light);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 56px;
  padding-top: 24px;
  padding-bottom: 28px;
  font-size: 14px;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 0;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .main-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px -20px rgba(22, 48, 74, 0.4);
    padding: 10px 16px 20px;
    display: none;
    max-height: calc(100vh - 78px);
    overflow: auto;
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 2px;
  }
  .main-nav a {
    padding: 14px 16px;
    font-size: 17px;
    border-radius: 12px;
  }
  .header-in > .btn {
    margin-left: auto;
  }
  .burger {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--navy);
    cursor: pointer;
    flex: none;
  }
}

@media (max-width: 960px) {
  .section {
    padding: 72px 0;
  }
  .hero {
    padding: 48px 0 104px;
  }
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    min-height: 0;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
  .hv-card {
    margin: 0 auto;
  }
  .hv-mark {
    width: 380px;
    height: 380px;
    right: -60px;
  }
  .fiche-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .fiche-aside,
  .fiche-main {
    grid-column: auto;
    grid-row: auto;
  }
  .fiche-aside,
  .contact-aside {
    position: static;
  }
  .grid-3,
  .grid-4,
  .t-grid,
  .f-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 > :last-child:nth-child(odd),
  .f-grid > :last-child:nth-child(odd),
  .t-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .promesses .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .promesses .grid-3 > :last-child {
    grid-column: auto;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }
  .steps::before {
    display: none;
  }
  .phases {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-in {
    flex-direction: column;
    align-items: flex-start;
  }
  .mini-profile:nth-child(2) {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }
  .wrap {
    padding: 0 16px;
  }
  .section {
    padding: 56px 0;
  }
  .section-sm {
    padding: 40px 0;
  }
  .header-in {
    height: 68px;
    gap: 10px;
  }
  .main-nav {
    top: 68px;
    max-height: calc(100vh - 68px);
  }
  .logo-mark {
    width: 34px;
    height: 34px;
  }
  .logo-txt {
    font-size: 21px;
    gap: 5px;
  }
  .hide-xs {
    display: none;
  }
  .show-xs {
    display: inline;
  }
  .header-in > .btn {
    padding: 10px 14px;
  }
  .lead {
    font-size: 1.12rem;
  }
  .hero {
    padding: 36px 0 96px;
  }
  .hv-badge {
    display: none;
  }
  .hero-visual {
    padding: 0;
  }
  .hv-card {
    padding: 22px;
  }
  .hv-mark {
    display: none;
  }
  .actions .btn {
    flex: 1 1 100%;
  }
  .promesses .wrap {
    margin-top: -72px;
    padding: 28px 20px;
    width: calc(100% - 32px);
  }
  .promesses .grid-3,
  .grid-2,
  .grid-3,
  .grid-4,
  .t-grid,
  .f-grid,
  .steps,
  .objectifs,
  .modalites,
  .fields-2,
  .name-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .promesses .grid-3 {
    gap: 28px;
  }
  .grid-3 > :last-child:nth-child(odd),
  .f-grid > :last-child:nth-child(odd),
  .t-grid > :last-child:nth-child(odd) {
    grid-column: auto;
  }
  .p-card,
  .value-card,
  .f-card,
  .t-card {
    padding: 24px;
  }
  .quote-block {
    padding: 36px 24px;
    border-radius: 24px;
  }
  .quote-card {
    padding: 28px 24px;
  }
  .form-card {
    padding: 24px 18px;
  }
  .modal-card {
    padding: 28px 20px;
  }
  .sur-mesure,
  .partner {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
  }
  .sur-mesure .btn {
    width: 100%;
  }
  .filters {
    padding: 16px;
  }
  .filter-label {
    width: 100%;
  }
  .fiche-h2 {
    font-size: 1.35rem;
  }
  .programme li {
    padding: 16px;
  }
  .page-hero {
    padding: 36px 0 44px;
  }
  .hero-mark {
    width: 220px;
    height: 220px;
    right: -60px;
    top: -20px;
  }
  .cta-band {
    padding: 56px 0;
  }
  .cta-actions,
  .cta-actions .btn {
    width: 100%;
  }
  .btn {
    white-space: normal;
    text-align: center;
  }
  .falc-box {
    padding: 22px 20px;
  }
  .falc-box li {
    font-size: 1.05rem;
  }
  .name-word {
    font-size: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Impression d'une fiche ---------- */
@media print {
  .site-header,
  .site-footer,
  .modal,
  .cta-band,
  .no-print,
  .infos-actions,
  .breadcrumb,
  .hero-mark,
  .skip {
    display: none !important;
  }
  body {
    font-size: 11pt;
  }
  .page-hero {
    background: none;
    border: 0;
    padding: 0 0 12pt;
  }
  .section-sm {
    padding: 0;
  }
  .fiche-grid {
    display: block;
  }
  .fiche-aside {
    position: static;
    margin-bottom: 16pt;
  }
  .programme li,
  .mod-card,
  .infos-card {
    break-inside: avoid;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
}

/* ---------- Spécifique WordPress ---------- */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 1120px) {
  .admin-bar .main-nav {
    top: 110px;
  }
}
@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
  .admin-bar .main-nav {
    top: 114px;
  }
}
@media (max-width: 640px) {
  .admin-bar .main-nav {
    top: 114px;
  }
}
@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }
}
.form-error {
  background: #fdecea;
  color: var(--danger);
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 16px;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}
.t-avatar.has-photo {
  overflow: hidden;
  background: var(--teal-50);
}
.t-avatar.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.3em;
}
.entry-content li {
  margin: 0.3em 0;
}
.entry-content > p:first-child em {
  display: block;
  background: var(--accent-50);
  border: 1px solid var(--accent-200);
  border-radius: 14px;
  padding: 14px 18px;
  font-style: normal;
  font-size: 16px;
}
.hv-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0 0;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 15px;
  color: var(--teal-700);
}
.hv-more .ico {
  width: 18px;
  height: 18px;
}

/* =====================================================================
   V1 (octobre 2026) : univers du logo, nouvelles sections
   ===================================================================== */

/* ---------- Typographie ---------- */
h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.015em;
}
h3,
.h3,
.h4,
.h5 {
  font-weight: 700;
}
.btn,
.link-arrow,
.link-btn,
.f-more,
.main-nav a,
.tag,
.eyebrow {
  font-family: var(--font-h);
}
.eyebrow::before {
  background: linear-gradient(90deg, var(--teal), var(--teal-700));
}
.section-sub {
  color: var(--muted);
  max-width: 62ch;
  margin: 10px 0 0;
}
.lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ink);
  max-width: 40ch;
}
.prose h2 {
  margin-bottom: 0.6em;
}
.prose p {
  max-width: 68ch;
}

/* ---------- Symbole du logo ---------- */
.vp-symbol {
  overflow: visible;
}
.vp-symbol path {
  stroke-width: var(--sw, 5.5);
}
.js .is-draw path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: vp-draw 0s 3.2s forwards;
}
.js .is-draw.is-in path {
  animation: vp-draw 1.1s cubic-bezier(0.55, 0.1, 0.25, 1) 0.1s forwards;
}
.js .is-draw.is-in .s-loop {
  animation-duration: 2.3s;
  animation-delay: 0.45s;
}
@keyframes vp-draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------- Apparition des blocs ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  animation: vp-show 0s 3.2s forwards;
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  animation: none;
}
@keyframes vp-show {
  to {
    opacity: 1;
    transform: none;
  }
}
.f-grid > .reveal:nth-child(3n + 2),
.formats > .reveal:nth-child(2),
.axes > .reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.f-grid > .reveal:nth-child(3n),
.formats > .reveal:nth-child(3),
.axes > .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

/* ---------- En-tête et logo ---------- */
.header-in {
  height: 84px;
}
.logo img {
  height: 54px;
  width: auto;
}
.main-nav a {
  font-weight: 700;
}
.tag-turq {
  background: var(--teal-100);
  color: var(--teal-800);
}
.tag-navy {
  background: var(--navy-50);
  color: var(--navy);
}
.tag-sky {
  background: #e4f0fb;
  color: #1d4f80;
}
.tag-teal {
  background: #e6ecf8;
  color: #27458f;
}

/* ---------- Accueil : en-tête ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1000px 520px at 90% 0%, rgba(34, 167, 179, 0.15), transparent 62%),
    linear-gradient(180deg, #eef5fa 0%, #f8fbfd 100%);
  padding: 52px 0 64px;
}
.hero-bg {
  position: absolute;
  right: -70px;
  top: -170px;
  width: 640px;
  height: 612px;
  opacity: 0.14;
  --sw: 3.2;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(1.95rem, 3.3vw, 2.75rem);
  line-height: 1.12;
}
.hl {
  color: var(--teal-700);
  background: linear-gradient(transparent 70%, rgba(34, 167, 179, 0.22) 70%);
  padding: 0 0.04em;
}
.hero .lead {
  max-width: 54ch;
  font-size: 1.15rem;
}
.hero .actions {
  margin-top: 24px;
}
.hero-panel {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 20px 20px 10px;
}
.hp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 6px 6px;
}
.hp-head h2 {
  margin: 0;
}
.hp-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hp-list li + li {
  border-top: 1px solid var(--line);
}
.hp-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 6px;
  color: var(--navy);
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.2s;
}
.hp-list a:hover {
  background: var(--teal-50);
}
.hp-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
}
.hp-ico .ico {
  width: 22px;
  height: 22px;
}
.hp-txt {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.hp-txt strong {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
}
.hp-txt span {
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
.hp-arrow {
  width: 18px;
  height: 18px;
  color: var(--teal-700);
  transition: transform 0.2s;
}
.hp-list a:hover .hp-arrow {
  transform: translateX(3px);
}

/* ---------- Nos formats ---------- */
.formats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.format {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 28px 28px;
  box-shadow: var(--shadow-sm);
}
.format:nth-child(2) {
  background: var(--teal-50);
  border-color: var(--teal-100);
}
.format.is-top {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
  border-color: transparent;
  color: rgba(255, 255, 255, 0.9);
}
.format:not(:last-child)::after {
  content: '';
  position: absolute;
  z-index: 2;
  right: -21px;
  top: 50%;
  width: 13px;
  height: 13px;
  border-top: 3px solid var(--teal);
  border-right: 3px solid var(--teal);
  transform: translateY(-50%) rotate(45deg);
}
.format-n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--teal);
  background: #fff;
  color: var(--navy);
  font: 700 18px/1 var(--font-h);
  margin-bottom: 16px;
}
.is-top .format-n {
  background: var(--navy-900);
  border-color: var(--teal-light);
  color: #fff;
}
.format-duree {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin: 0 0 4px;
}
.is-top .format-duree {
  color: var(--teal-light);
}
.format-verbe {
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--navy);
}
.is-top .format-verbe {
  color: #fff;
}
.format p:last-child {
  margin: 0;
}
.formats-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 28px;
}
.fc-mark {
  width: 66px;
  height: 64px;
  --sw: 7;
}
.fc-text h3 {
  font-size: 1.35rem;
  margin: 0 0 4px;
}
.fc-text p {
  margin: 0;
  color: var(--muted);
}
.fc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Axes (Comprendre, Expérimenter, Agir) ---------- */
.axes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.axe {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.axe:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--teal-200);
}
.axe-ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--teal-50);
  color: var(--teal-700);
}
.axe-ico .ico {
  width: 28px;
  height: 28px;
}
.axe-n {
  position: absolute;
  top: 18px;
  right: 22px;
  font: 700 2.6rem/1 var(--font-h);
  color: var(--teal-100);
}
.axe h3 {
  font-size: 1.4rem;
  margin: 18px 0 6px;
}
.axe p {
  margin: 0;
}
.bg-soft .axe {
  border-color: transparent;
}

/* ---------- Objectif principal (fiche formation) ---------- */
.objectif-principal {
  margin: 0 0 28px;
}

/* ---------- Nos valeurs (page L'esprit Viva Pragma) ---------- */
.section-head.center .section-sub {
  margin-inline: auto;
}
.valeurs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.valeur {
  flex: 0 1 calc((100% - 48px) / 3);
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.valeur:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--teal-200);
}
.valeur h3 {
  font-size: 1.3rem;
  margin: 18px 0 6px;
}
.valeur p {
  margin: 0;
}
.bg-soft .valeur {
  border-color: transparent;
}
@media (max-width: 980px) {
  .valeur {
    flex-basis: calc((100% - 24px) / 2);
  }
}
@media (max-width: 640px) {
  .valeur {
    flex-basis: 100%;
  }
}

/* ---------- En-tête des pages intérieures ---------- */
.page-hero {
  background: radial-gradient(800px 380px at 92% 0%, rgba(34, 167, 179, 0.14), transparent 62%),
    linear-gradient(180deg, #eef5fa 0%, #f8fbfd 100%);
}
.page-hero h1 {
  max-width: 24ch;
}
.hero-mark {
  position: absolute;
  right: 6%;
  top: 50%;
  width: 250px;
  height: 240px;
  transform: translateY(-50%);
  opacity: 0.5;
  --sw: 3.4;
  pointer-events: none;
}
.fiche-hero h1 {
  font-size: clamp(1.9rem, 3.3vw, 2.7rem);
  max-width: 30ch;
}
.fiche-hero .lead {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--teal-700);
  border-left: 4px solid var(--teal);
  padding-left: 18px;
  max-width: 50ch;
}

/* ---------- Cartes formations ---------- */
.f-meta li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.f-meta .ico {
  width: 18px;
  height: 18px;
  color: var(--teal-700);
}
.f-title {
  font-weight: 700;
  font-size: 1.18rem;
}
.f-card:hover {
  border-color: var(--teal-200);
}

/* ---------- Fiche formation ---------- */
.fiche-intro {
  color: var(--ink);
  font-size: 1.18rem;
  border-left-color: var(--teal-200);
}
.pq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.pq-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
}
.pq-wide {
  grid-column: 1 / -1;
}
.pq-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  margin: 0 0 6px;
}
.pq-title .ico {
  width: 22px;
  height: 22px;
  color: var(--teal-700);
}
.pq-card p {
  margin: 0;
}
.objectifs {
  grid-template-columns: 1fr;
  gap: 12px;
}
.objectifs li {
  align-items: flex-start;
}
.objectifs .ico {
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  stroke-width: 2.6;
  margin-top: 0;
}
.has-box,
.livrable-box {
  position: relative;
  overflow: hidden;
  margin: 44px 0 8px;
  padding: 32px 34px;
  border-radius: 24px;
}
.has-box {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%);
  color: rgba(255, 255, 255, 0.9);
}
.has-box h2 {
  color: #fff;
  max-width: 30ch;
  margin-bottom: 14px;
}
.has-box a {
  color: #fff;
}
.has-box .rich li::marker {
  color: var(--teal-light);
}
.livrable-box {
  background: linear-gradient(140deg, #e4f2f8 0%, #f4f9fc 60%, #fff 100%);
  border: 2px solid var(--teal-200);
}
.livrable-box h2 {
  max-width: 28ch;
  margin-bottom: 14px;
}
.livrable-box .rich li::marker {
  color: var(--teal);
}
.box-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin: 0 0 10px;
}
.livrable-box .box-label {
  color: var(--teal-700);
}
.box-label .ico {
  width: 18px;
  height: 18px;
}
.box-mark {
  position: absolute;
  right: -24px;
  bottom: -36px;
  width: 230px;
  height: 220px;
  opacity: 0.16;
  --sw: 4;
  pointer-events: none;
}
.livrable-box .box-mark {
  top: -34px;
  right: -22px;
  bottom: auto;
  width: 190px;
  height: 182px;
  opacity: 0.3;
}
.has-box > :not(.box-mark),
.livrable-box > :not(.box-mark) {
  position: relative;
  z-index: 1;
}
.rich p {
  margin: 0 0 0.8em;
}
.rich ul,
.rich ol {
  margin: 0.4em 0 0.9em;
  padding-left: 1.25em;
}
.rich li {
  margin: 0.3em 0;
}
.rich > :last-child {
  margin-bottom: 0;
}
.programme li li {
  display: list-item;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 4px 0;
}
.programme ul {
  margin: 8px 0 0;
  padding-left: 1.15em;
}
.programme li li::marker {
  color: var(--teal);
}
.mods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}
.mod {
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.mod .ico {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  color: var(--teal-700);
}
.mod dt {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}
.mod dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
.mods-note {
  color: var(--muted);
  font-size: 15px;
  margin: 12px 0 18px;
}
.access-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: 16px;
  padding: 18px 20px;
}
.access-box > .ico {
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--teal-700);
}
.access-box h3 {
  margin: 0 0 4px;
}
.access-box p {
  margin: 0;
}
.fiche-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 44px;
  padding: 24px 28px;
  border-radius: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.fiche-cta h2 {
  margin: 0 0 4px;
}
.fiche-cta p {
  margin: 0;
}

/* ---------- Notre approche ---------- */
.big-q {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 20px;
}
.prose-lg p {
  font-size: 1.08rem;
}
.objectif-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 24px 0 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--teal-50);
  border-left: 4px solid var(--teal);
  font-weight: 700;
  color: var(--navy);
}
.objectif-box .ico {
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--teal-700);
}
.approche-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}
.av-mark {
  width: 100%;
  max-width: 400px;
  height: auto;
  --sw: 3.4;
}
.av-word {
  position: absolute;
  bottom: 14%;
  margin: 0;
  font-family: var(--font-h);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}
.av-viva {
  left: 0;
  font-weight: 300;
}
.av-pragma {
  right: 0;
  font-weight: 400;
}
.noms {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.nom-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
}
.nom-word {
  font-family: var(--font-h);
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 12px;
}
.nom-viva .nom-word {
  font-weight: 300;
}
.nom-pragma .nom-word {
  font-weight: 400;
}
.nom-pragma .nom-word span {
  color: var(--teal);
}
.nom-sous {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal-700);
  margin: 0 0 14px;
}
.nom-text p:last-child {
  margin: 0;
}
.noms-mark {
  width: 120px;
  height: 115px;
  --sw: 5;
}
.axes-after {
  max-width: 72ch;
  margin: 32px auto 0;
  text-align: center;
  font-size: 1.1rem;
}
.signature {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 40px 44px;
  border-radius: 28px;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}
.signature blockquote {
  position: relative;
  margin: 0;
}
.signature blockquote p {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.4;
  color: #fff;
  margin: 0;
}
.signature figcaption {
  position: relative;
  margin-top: 12px;
  color: var(--teal-light);
}
.sig-mark {
  position: absolute;
  left: -36px;
  top: -46px;
  width: 220px;
  height: 210px;
  opacity: 0.16;
  --sw: 4;
}
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.t-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}
.t-card h3 {
  margin: 14px 0 6px;
}
.t-exp {
  color: var(--muted);
}
.t-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
}
.t-avatar .ico {
  width: 34px;
  height: 34px;
}
.bg-soft .value-card,
.bg-soft .t-card {
  border-color: transparent;
}

/* ---------- Bandeau d'appel ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
}
.cta-band::before {
  display: none;
}
.cta-mark {
  position: absolute;
  right: 3%;
  top: 50%;
  width: 280px;
  height: 268px;
  transform: translateY(-50%);
  opacity: 0.12;
  --sw: 4;
  pointer-events: none;
}
.cta-band .btn-white .ico {
  color: var(--teal-700);
}

/* ---------- Contact ---------- */
.form-card > h2 {
  margin-bottom: 18px;
}
.more-fields {
  margin: 4px 0 18px;
  border: 1.5px dashed var(--teal-200);
  border-radius: 16px;
  padding: 0 18px;
}
.more-fields[open] {
  padding-bottom: 8px;
}
.more-fields summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-h);
  font-weight: 700;
  color: var(--teal-700);
}
.more-fields summary::-webkit-details-marker {
  display: none;
}
.more-fields summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.5rem;
  line-height: 1;
}
.more-fields[open] summary::after {
  content: '\2212';
}
.more-fields summary .ico {
  width: 20px;
  height: 20px;
}
.more-fields summary .muted {
  font-weight: 400;
  font-family: var(--font-b);
}
.rappel-box {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%);
  color: rgba(255, 255, 255, 0.9);
}
.rappel-box > :not(.rb-mark) {
  position: relative;
}
.rappel-box .aside-title {
  color: #fff;
}
.rb-mark {
  position: absolute;
  right: -46px;
  top: -52px;
  width: 130px;
  height: 125px;
  opacity: 0.16;
  --sw: 5;
}
.rb-tel {
  margin: 14px 0 0;
  font-size: 15px;
}
.rb-tel a {
  color: #fff;
  font-weight: 700;
}

/* ---------- Pied de page ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
}
.site-footer > .wrap {
  position: relative;
}
.footer-grid {
  grid-template-columns: 1.3fr 1.25fr 1fr 1.25fr;
}
.footer-mark {
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 380px;
  height: 364px;
  opacity: 0.07;
  --sw: 3;
  pointer-events: none;
}
.logo-light img {
  height: 58px;
}
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ---------- Responsive V1 ---------- */
@media (max-width: 1120px) {
  .hero-grid {
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 960px) {
  .hero-grid,
  .noms {
    grid-template-columns: 1fr;
  }
  .hero-panel {
    max-width: 620px;
  }
  .hero-bg {
    width: 420px;
    height: 402px;
    opacity: 0.1;
  }
  .noms-mark {
    display: none;
  }
  .formats,
  .axes,
  .t-grid {
    grid-template-columns: 1fr;
  }
  .format:not(:last-child)::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -22px;
    transform: translateX(-50%) rotate(135deg);
  }
  .formats-cta {
    grid-template-columns: 1fr;
  }
  .fc-mark {
    display: none;
  }
  .approche-visual {
    min-height: 0;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 30px;
  }
  .hero-mark {
    opacity: 0.25;
    right: -20px;
  }
}
@media (max-width: 640px) {
  .header-in {
    height: 68px;
  }
  .logo img {
    height: 40px;
  }
  .hero {
    padding: 32px 0 40px;
  }
  .hero-panel {
    padding: 14px 12px 6px;
    border-radius: 20px;
  }
  .pq-grid,
  .mods {
    grid-template-columns: 1fr;
  }
  .has-box,
  .livrable-box,
  .signature {
    padding: 26px 20px;
  }
  .hero-mark {
    width: 150px;
    height: 144px;
    right: -40px;
    opacity: 0.2;
  }
  .fiche-cta,
  .formats-cta {
    padding: 20px;
  }
  .fc-actions .btn,
  .fiche-cta .btn {
    flex: 1 1 100%;
  }
  .nom-card,
  .format,
  .axe,
  .t-card {
    padding: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Animations réduites ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .js .is-draw path {
    stroke-dashoffset: 0 !important;
  }
}

/* ---------- Impression V1 ---------- */
@media print {
  .hero-mark,
  .box-mark,
  .cta-mark,
  .footer-mark {
    display: none !important;
  }
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .has-box {
    background: none;
    color: inherit;
    border: 2px solid var(--navy);
  }
  .has-box h2 {
    color: var(--navy);
  }
  .has-box,
  .livrable-box,
  .mod {
    break-inside: avoid;
  }
}

/* =====================================================================
   V3 (octobre 2026) : retours du 16/10. Marine + turquoise du logo,
   Segoe UI, slogan sous le logo, accueil plus aéré et progressif.
   ===================================================================== */

/* ---------- Typographie Segoe UI ---------- */
h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.01em;
}
h3,
.h3,
.h4,
.h5,
.f-title,
.format-verbe {
  font-weight: 600;
}
.format-verbe {
  font-weight: 700;
}
.format-n,
.axe-n {
  font-weight: 700;
}
.num {
  font-weight: 700;
}
.btn,
.link-arrow,
.link-btn,
.f-more,
.main-nav a,
.chip,
.tag {
  font-weight: 600;
}
.eyebrow {
  font-weight: 600;
  color: var(--navy);
}
.eyebrow::before {
  background: var(--teal);
}
a {
  text-decoration-color: rgba(34, 167, 179, 0.7);
  text-underline-offset: 3px;
}
.hl {
  color: var(--turq-lg);
  background: none;
  padding: 0;
}

/* ---------- Pictogrammes en turquoise du logo ---------- */
.hp-ico,
.p-ico,
.v-ico,
.f-ico,
.axe-ico,
.t-avatar,
.fiche-h2 .ico,
.info-row .ico,
.mod .ico,
.mod-card .ico,
.reassure .ico,
.pq-title .ico,
.access-box > .ico,
.objectif-box .ico,
.f-meta .ico,
legend .ico,
.objectifs .ico,
.hp-arrow,
.link-arrow .ico,
.f-more .ico,
.more-fields summary .ico,
.cta-band .btn-white .ico {
  color: var(--teal);
}
.btn-ghost .ico {
  color: var(--teal);
}
.btn-ghost:hover .ico {
  color: var(--navy);
}

/* ---------- Étiquettes des publics ---------- */
.tag-turq {
  background: #d6f0f3;
  color: var(--navy);
}
.tag-sky {
  background: #e2eefb;
  color: #1d4f80;
}
.tag-teal {
  background: #e6ecf8;
  color: #27458f;
}
.tag-navy {
  background: var(--navy);
  color: #fff;
}

/* ---------- En-tête : logo + slogan en signature ---------- */
.header-in {
  height: 88px;
}
.logo.has-sig {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.logo.has-sig img {
  height: 46px;
  margin-left: -2px;
}
.logo-sig {
  display: block;
  font-family: var(--font-b);
  font-size: 12.5px;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--navy);
  white-space: nowrap;
}

/* ---------- Accueil : en-tête aéré ---------- */
.hero {
  padding: 76px 0 132px;
}
.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
}
.hero h1 {
  font-size: clamp(2rem, 3.1vw, 2.6rem);
  line-height: 1.16;
  max-width: 23ch;
  margin-bottom: 22px;
}
.hero .lead {
  max-width: 44ch;
  font-size: 1.16rem;
  color: var(--muted);
}
.hero .actions {
  margin-top: 32px;
}
.hero-panel {
  border-top-color: var(--teal);
  padding: 22px 22px 12px;
}
.hp-list a {
  padding: 12px 6px;
}

/* ---------- Accueil : trois repères ---------- */
.reperes {
  position: relative;
  z-index: 2;
  margin-top: -76px;
}
.reperes-list {
  list-style: none;
  margin: 0;
  padding: 30px 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.repere {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 4px 26px;
}
.repere + .repere {
  border-left: 1px solid var(--line);
}
.repere-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal);
}
.repere-ico .ico {
  width: 26px;
  height: 26px;
}
.repere-titre {
  font-size: 1.2rem;
  margin: 2px 0 4px;
}
.repere p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Accueil : pour qui ? ---------- */
.publics-sec {
  padding-top: 112px;
}
.publics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.public a {
  --pc: var(--teal);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 30px 24px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.public a::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--pc);
}
.public-sky a {
  --pc: #3d84c6;
}
.public-teal a {
  --pc: #3f5fae;
}
.public-navy a {
  --pc: var(--navy);
}
.public a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--teal-200);
}
.public-ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--teal-50);
  color: var(--pc);
  margin-bottom: 10px;
}
.public-ico .ico {
  width: 28px;
  height: 28px;
}
.public-nom {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--navy);
}
.public-sigles {
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}
.public-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}
.public-more .ico {
  width: 18px;
  height: 18px;
  color: var(--teal);
  transition: transform 0.2s;
}
.public a:hover .public-more .ico {
  transform: translateX(3px);
}

/* ---------- Accueil : phrase-signature ---------- */
.manifeste {
  padding: 120px 0;
}
.manifeste-in {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.manifeste-visual {
  display: grid;
  place-items: center;
}
.manifeste-mark {
  width: 100%;
  max-width: 330px;
  height: auto;
  --sw: 3.2;
}
.manifeste h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  max-width: 17ch;
  margin-bottom: 18px;
}
.manifeste-sub {
  max-width: 50ch;
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 30px;
}

/* ---------- Cartes formations : la rubrique en tête ---------- */
.f-card {
  overflow: hidden;
}
.f-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--teal);
}
.f-pub-sky::before {
  background: #3d84c6;
}
.f-pub-teal::before {
  background: #3f5fae;
}
.f-pub-navy::before {
  background: var(--navy);
}
.f-pubs {
  margin: 2px 0 2px;
}
.f-pubs .tag {
  font-size: 14px;
  padding: 7px 14px;
}

/* ---------- L'esprit Viva Pragma ---------- */
.objectif-box {
  font-weight: 400;
}
.objectif-box p {
  margin: 0;
}
.objectif-box .objectif-titre {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 4px;
}
.fondatrice {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}
.fondatrice-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--teal-50) 0%, #fff 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.fondatrice-photo.has-photo {
  border: 0;
}
.fondatrice-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fp-mark {
  width: 62%;
  height: auto;
  --sw: 4;
}
.fondatrice-text {
  margin: 0;
}
.fondatrice-quote {
  margin: 0;
  padding-left: 26px;
  border-left: 3px solid var(--teal);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--ink);
}
.fondatrice-quote p {
  margin: 0 0 0.9em;
}
.fondatrice-quote p:last-child {
  margin-bottom: 0;
}
.fondatrice-text figcaption {
  margin-top: 18px;
  padding-left: 29px;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Boutons et puces en marine ---------- */
.chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
}
.chip:hover {
  border-color: var(--teal);
}
.btn-ghost:hover,
.btn-white:hover {
  background: var(--teal-50);
}
.programme li li::marker,
.livrable-box .rich li::marker {
  color: var(--teal);
}
.fiche-hero .lead {
  color: var(--navy);
}

/* ---------- Responsive V3 ---------- */
@media (max-width: 1180px) {
  .main-nav a {
    padding: 10px 11px;
  }
}
@media (max-width: 1120px) {
  .main-nav {
    top: 88px;
    max-height: calc(100vh - 88px);
  }
  .admin-bar .main-nav {
    top: 120px;
  }
  .publics {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 960px) {
  .hero {
    padding: 52px 0 120px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero h1 {
    max-width: 22ch;
  }
  .reperes-list {
    grid-template-columns: 1fr;
    padding: 12px 8px;
  }
  .repere {
    padding: 18px 20px;
  }
  .repere + .repere {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .manifeste {
    padding: 80px 0;
  }
  .manifeste-in,
  .fondatrice {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .manifeste-mark {
    max-width: 200px;
  }
  .manifeste-visual {
    justify-content: start;
  }
  .fondatrice-photo {
    max-width: 280px;
  }
  .publics-sec {
    padding-top: 80px;
  }
}
@media (max-width: 640px) {
  .header-in {
    height: 76px;
  }
  .main-nav {
    top: 76px;
    max-height: calc(100vh - 76px);
  }
  .admin-bar .main-nav {
    top: 122px;
  }
  .logo.has-sig img {
    height: 36px;
  }
  .logo-sig {
    font-size: 11px;
    white-space: normal;
    max-width: 17em;
  }
  .hero {
    padding: 36px 0 104px;
  }
  .hero h1 {
    font-size: 1.85rem;
  }
  .publics {
    grid-template-columns: 1fr;
  }
  .public a {
    padding: 26px 22px 22px;
  }
  .manifeste {
    padding: 64px 0;
  }
  .manifeste-mark {
    max-width: 150px;
  }
  .fondatrice-photo {
    max-width: 220px;
  }
  .fondatrice-quote {
    padding-left: 18px;
    font-size: 1.05rem;
  }
  .fondatrice-text figcaption {
    padding-left: 21px;
  }
}
@media print {
  .reperes,
  .manifeste-visual {
    display: none !important;
  }
}

/* ---------- Boutons sur fond marine (bandeau d'appel, pied de page) ---------- */
.cta-band .btn-accent,
.site-footer .btn-accent {
  background: #fff;
  color: var(--navy);
}
.cta-band .btn-accent:hover,
.site-footer .btn-accent:hover {
  background: var(--teal-50);
  color: var(--navy);
}
.cta-band .btn-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.cta-band .btn-white:hover {
  background: rgba(255, 255, 255, 0.1);
}
.cta-band .btn-white .ico {
  color: var(--teal-light);
}
h1,
h2,
.manifeste h2,
.section-head h2 {
  text-wrap: balance;
}
.hp-head .link-arrow {
  flex: none;
  white-space: nowrap;
}

/* =========================================================================
   V4 (retours du 21/10/2026) : logo plus visible, turquoise des A du logo,
   accueil aéré façon première version, « Vous êtes confronté à… » animé
   ========================================================================= */
:root {
  --turq-lg: #1b98a5; /* turquoise des A de PRAGMA, assombri juste assez pour les grands titres (3,4:1 sur blanc) */
}

/* ---------- En-tête : logo plus grand ---------- */
.header-in {
  height: 96px;
}
.logo.has-sig {
  gap: 2px;
}
.logo.has-sig img {
  height: 64px;
  margin-left: -4px;
}
.logo-sig {
  font-size: 13px;
}

/* ---------- Accueil : en-tête façon première version ---------- */
.hero {
  padding: 92px 0 148px;
}
.hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
  gap: 76px;
  align-items: center;
}
.hero-eyebrow {
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.5rem, 4.7vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 10.5em;
  text-wrap: wrap; /* « Des formations qui » puis « parlent terrain », comme la première version */
  margin-bottom: 24px;
}
.hero h1 .hl {
  color: var(--turq-lg);
  background: linear-gradient(transparent 70%, rgba(34, 167, 179, 0.2) 70%, rgba(34, 167, 179, 0.2) 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero .lead {
  max-width: 32ch;
  font-size: 1.24rem;
  line-height: 1.55;
  color: var(--ink);
}
.hero .actions {
  margin-top: 36px;
}
.hero-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px 16px 9px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.25;
  color: var(--navy);
}
.hero-badge .ico {
  flex: none;
  width: 36px;
  height: 36px;
  padding: 7px;
  border-radius: 11px;
  background: var(--teal-50);
  color: var(--teal);
}
.hb-has {
  top: -46px;
  left: -26px;
}
.hb-delai {
  bottom: -42px;
  right: -22px;
}

/* ---------- Accueil : trois repères concis ---------- */
.reperes-list {
  padding: 34px 12px;
}
.repere {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 6px 28px;
}
.repere-ico {
  width: 62px;
  height: 62px;
  border-radius: 18px;
}
.repere-ico .ico {
  width: 28px;
  height: 28px;
}
.repere-titre {
  font-size: 1.24rem;
  margin: 2px 0 2px;
}
.repere p {
  font-size: 16px;
  max-width: 27ch;
  margin: 0 auto;
}

/* ---------- Étiquettes : une couleur par public (domicile en lavande) ---------- */
.tag-lilas {
  background: #ebe8f8;
  color: #45398a;
}
.public-lilas a {
  --pc: #6a5cc4;
}
.f-pub-lilas::before {
  background: #6a5cc4;
}

/* ---------- L'esprit Viva Pragma : « Vous êtes confronté à… » ----------
   V5 : plus de flèches, les situations (encadrés arrondis) se placent au plus près du « à… ». */
.confronte {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 36px;
  margin: 0 0 96px;
}
.confronte-q {
  margin: 0;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.1vw, 2.6rem);
  line-height: 1.15;
  color: var(--navy);
  max-width: 7em; /* « Vous êtes » / « confronté à… » : la colonne colle au texte, les situations partent juste après le « à… » */
}
.confronte-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.confronte-item {
  max-width: calc(100% - var(--i) * 48px);
  margin-left: calc(var(--i) * 48px);
}
.ci-text {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid var(--teal-200);
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--navy);
}
.confronte-item:nth-child(2) .ci-text {
  background: var(--teal-50);
}
.confronte-item:nth-child(3) .ci-text,
.confronte-item:nth-child(4) .ci-text {
  background: var(--teal-100);
}
/* Apparition : les situations glissent en place, l'une après l'autre. */
.js .confronte .ci-text {
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(0.15s + var(--i) * 0.22s);
  animation: vp-show 0s 1.8s forwards;
}
.js .confronte.is-in .ci-text {
  opacity: 1;
  transform: none;
  animation: none;
}

/* Mots mis en évidence dans le texte de présentation */
.prose-lg strong {
  font-weight: 700;
  color: var(--navy);
  background: linear-gradient(transparent 62%, rgba(34, 167, 179, 0.22) 62%);
  padding: 0 2px;
}

/* ---------- L'esprit Viva Pragma : où intervenons-nous ? ---------- */
.zone {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px 30px;
  align-items: center;
  margin-top: 80px;
  padding: 30px 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}
.zone-ico {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--teal-50);
  color: var(--teal);
}
.zone-ico .ico {
  width: 28px;
  height: 28px;
}
.zone h2 {
  margin: 0 0 6px;
}
.zone-prose p {
  margin: 0 0 4px;
  color: var(--muted);
}
.zone-prose p:last-child {
  margin: 0;
}
.zone-prose strong {
  color: var(--navy);
}
.zone-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.zone-regions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.zone-regions li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px 8px 11px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
}
.zone-regions .ico {
  width: 17px;
  height: 17px;
  color: var(--teal-light);
}

/* ---------- Responsive V4 ---------- */
@media (max-width: 1120px) {
  .main-nav {
    top: 96px;
    max-height: calc(100vh - 96px);
  }
  .admin-bar .main-nav {
    top: 128px;
  }
  .confronte {
    column-gap: 32px;
  }
  .confronte-item {
    max-width: calc(100% - var(--i) * 32px);
    margin-left: calc(var(--i) * 32px);
  }
}
@media (max-width: 960px) {
  .hero {
    padding: 56px 0 128px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 72px;
  }
  .hb-has {
    left: -10px;
  }
  .hb-delai {
    right: -6px;
  }
  .repere {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 16px;
  }
  .repere p {
    max-width: none;
    margin: 0;
  }
  .zone {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .zone-side {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
}
@media (max-width: 860px) {
  .confronte-q {
    max-width: none;
  }
  .confronte {
    grid-template-columns: 1fr;
    row-gap: 22px;
    margin-bottom: 64px;
  }
  .confronte-list {
    gap: 12px;
  }
  .confronte-item {
    max-width: calc(100% - var(--i) * 20px);
    margin-left: calc(var(--i) * 20px);
  }
  .ci-text {
    font-size: 1.02rem;
    padding: 11px 18px;
    border-radius: 18px;
  }
}
@media (max-width: 640px) {
  .header-in {
    height: 80px;
  }
  .main-nav {
    top: 80px;
    max-height: calc(100vh - 80px);
  }
  .admin-bar .main-nav {
    top: 126px;
  }
  .logo.has-sig img {
    height: 46px;
    margin-left: -3px;
  }
  .logo-sig {
    font-size: 11px;
  }
  .hero {
    padding: 40px 0 112px;
  }
  .hero h1 {
    font-size: 2.35rem;
  }
  .hero .lead {
    font-size: 1.12rem;
  }
  .hero-grid {
    gap: 40px;
  }
  .hero-badge {
    display: none;
  }
  .zone {
    grid-template-columns: 1fr;
    padding: 24px 22px;
    margin-top: 56px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .confronte .ci-text {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
@media print {
  .hero-badge,
  .hp-note {
    display: none !important;
  }
  .js .confronte .ci-text {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================================
   V5 (retours du 22/10/2026) : slogan, pastilles de l'accueil, encadré bleu
   de « L'esprit », fiche formation plus courte (objectifs et encart HAS
   côte à côte, programme en grille, déroulé regroupé)
   ========================================================================= */

/* ---------- Slogan : le mot entre <strong> en turquoise, comme les A du logo ---------- */
.logo-sig strong {
  font-weight: 700;
  color: var(--turq-lg);
}
.footer-baseline strong {
  color: #fff;
}

/* ---------- Accueil : pastilles ---------- */
.hb-delai {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.hb-delai .ico {
  background: rgba(255, 255, 255, 0.14);
  color: var(--teal-light);
}
.hp-note {
  margin: 8px 6px 4px;
  padding-right: 150px; /* la pastille « Réponse sous… » chevauche le bas de l'encadré à droite */
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}

/* ---------- L'esprit Viva Pragma : mots surlignés ---------- */
.objectif-box strong {
  font-weight: 700;
  background: linear-gradient(transparent 60%, rgba(34, 167, 179, 0.28) 60%);
  padding: 0 2px;
}
.signature blockquote p {
  text-wrap: balance;
}
.signature figcaption {
  max-width: 58ch;
  margin: 14px auto 0;
  font-size: 1.08rem;
  line-height: 1.55;
  text-wrap: balance;
}

/* ---------- Fiche formation : plus courte ---------- */
@media (min-width: 1121px) {
  .fiche-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
  }
}
.fiche-main {
  container-type: inline-size;
}
.fiche-duo {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}
.fiche-duo .fiche-h2 {
  margin-top: 0;
}
.fiche-duo .has-box {
  margin: 0;
  padding: 28px 28px 30px;
}
.fiche-duo .has-box h2 {
  font-size: 1.22rem;
  line-height: 1.35;
}
.fiche-duo .has-box .rich {
  font-size: 15.5px;
  line-height: 1.6;
}
.fiche-duo .has-box .box-mark {
  width: 170px;
  height: 162px;
}
.pq-formateur {
  margin-top: 28px;
}
.fiche-deroule {
  margin-top: 16px;
}
.fiche-deroule > :only-child {
  grid-column: 1 / -1;
}
.fiche-deroule .rich ul {
  margin-bottom: 0;
}
.deroule-side {
  display: grid;
  gap: 16px;
  align-content: start;
}
.deroule-side .access-box {
  font-size: 15.5px;
}
.livrable-box .rich strong {
  font-weight: 700;
  color: var(--navy);
  background: linear-gradient(transparent 60%, rgba(34, 167, 179, 0.24) 60%);
  padding: 0 2px;
}
@container (min-width: 660px) {
  .fiche-duo {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
  .fiche-duo.is-solo {
    grid-template-columns: 1fr;
  }
  .programme {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .pq-formateur {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 18px;
    align-items: baseline;
  }
  .pq-formateur .pq-title {
    margin: 0;
  }
}
@media (min-width: 961px) and (max-width: 1120px) {
  .fiche-grid {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 36px;
  }
}
@media (max-width: 640px) {
  .hp-note {
    display: none; /* les pastilles sont masquées sur téléphone */
  }
}
@media print {
  .fiche-duo,
  .pq-card,
  .access-box {
    break-inside: avoid;
  }
}

/* =========================================================================
   V6 (23/10/2026) : « Bon à savoir » en bas de la fiche (délai d'accès, financement)
   ========================================================================= */
.savoir {
  margin-top: 28px;
  padding: 22px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}
.savoir .box-label {
  color: var(--teal-700);
  margin-bottom: 16px;
}
.savoir-grid {
  display: grid;
  gap: 18px;
}
.savoir-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.savoir-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
}
.savoir-ico .ico {
  width: 22px;
  height: 22px;
}
.savoir h3 {
  margin: 2px 0 4px;
}
.savoir p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
}
.savoir strong {
  font-weight: 700;
  color: var(--navy);
  background: linear-gradient(transparent 60%, rgba(34, 167, 179, 0.24) 60%);
  padding: 0 2px;
}
@container (min-width: 660px) {
  .savoir-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
  }
  .savoir-item {
    padding-right: 24px;
  }
  .savoir-item + .savoir-item {
    padding: 0 0 0 24px;
    border-left: 1px solid var(--line);
  }
}
@media print {
  .savoir {
    break-inside: avoid;
  }
}

/* ---------- V7 (28/10/2026) ---------- */
/* Fiche : « Télécharger la fiche », surligné en turquoise pour être bien vu. */
.btn-download {
  background: #d9f2f4;
  color: var(--navy);
  border-color: #8fd6dd;
}
.btn-download:hover {
  background: #c4ebee;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-download .ico {
  color: #0e7682;
}
.download-hint {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}
/* Encart « Pour aller plus loin », commun à toutes les fiches. */
.plus-box h2 {
  max-width: 32ch;
}
.plus-box .plus-objectif {
  margin: 18px 0 0;
  padding: 14px 18px;
  background: #fff;
  border-left: 4px solid var(--teal-light);
  border-radius: 0 14px 14px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}
.plus-box .plus-objectif strong {
  color: #0e7682;
}
/* Pages légales : sous-titres, listes et tableau des CGV. */
.legal h3 {
  font-size: 1.1rem;
  margin: 1.4em 0 0.4em;
}
.legal ul {
  margin: 0 0 1em;
  padding-left: 1.3em;
}
.legal li {
  margin-bottom: 0.25em;
}
.legal .wp-block-table {
  margin: 1em 0 1.4em;
  overflow-x: auto;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
}
.legal th,
.legal td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.legal th {
  background: var(--teal-50);
  color: var(--navy);
}
.legal td:last-child,
.legal th:last-child {
  width: 7.5em;
  text-align: center;
  white-space: nowrap;
}

/* ---------- V7.1 (30/10/2026) ---------- */
/* Page Les formations : bouton « Télécharger notre catalogue » (si un PDF est déposé). */
.hero-download {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 24px 0 0;
}
.hero-download .download-hint {
  margin: 0;
  text-align: left;
}
@media print {
  .hero-download {
    display: none;
  }
}

/* ---------- V8 (30/10/2026) : Votre auto-diagnostic ---------- */
.diag-section {
  padding-top: 48px;
}
.diag-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 36px 40px 30px;
}
.diag-progress {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}
.diag-count {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  white-space: nowrap;
}
.diag-count strong {
  color: var(--navy);
}
.diag-bar {
  flex: 1;
  height: 8px;
  border-radius: 99px;
  background: var(--teal-50);
  overflow: hidden;
}
.diag-bar span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--teal);
  transition: width 0.35s ease;
}
.diag-step {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.diag-q {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 0;
  font-family: var(--font-h);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}
.diag-num {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.05rem;
}
.diag-aide {
  margin: 10px 0 0 52px;
  color: var(--muted);
}
.diag-multi {
  margin: 6px 0 18px 52px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0e7682;
}
.diag-opts {
  display: grid;
  gap: 10px;
}
.diag-opt {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.diag-opt:hover {
  border-color: var(--teal-200);
  background: var(--soft);
}
.diag-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.diag-check {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 2px solid #8fa3b3;
  border-radius: 6px;
  background: #fff;
  transition: background 0.2s, border-color 0.2s;
}
.diag-opt input:checked + .diag-check {
  border-color: var(--navy);
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.diag-opt:has(input:checked) {
  border-color: var(--navy);
  background: var(--teal-50);
}
.diag-opt input:focus-visible + .diag-check {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
.diag-label {
  line-height: 1.45;
  color: var(--ink);
}
.diag-err {
  margin: 14px 0 0;
  font-weight: 600;
  color: var(--danger);
}
.diag-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.diag-nav .js-diag-next {
  margin-left: auto;
}
.diag-mention,
.diag-note {
  margin: 18px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.diag-result {
  max-width: 1080px;
  margin: 0 auto;
  outline: none;
}
.diag-result-head {
  text-align: center;
  margin-bottom: 28px;
}
.diag-result-head .eyebrow {
  justify-content: center;
}
.diag-blocks {
  display: grid;
  gap: 26px;
}
.diag-block-title {
  margin: 0 0 14px;
  font-size: 1.25rem;
  color: var(--navy);
}
.diag-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 26px 30px;
  border-radius: 22px;
  background: var(--accent-50);
  border: 1px solid var(--accent-200);
}
.diag-box p {
  margin: 0;
}
.diag-box > div {
  flex: 1;
}
.diag-ico {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff;
  color: var(--teal);
}
.diag-ico .ico {
  width: 26px;
  height: 26px;
}
.diag-echange.is-main {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.diag-echange.is-main .diag-block-title,
.diag-echange.is-main strong {
  color: #fff;
}
.diag-echange.is-main .diag-note {
  color: #c9dbe8;
}
.diag-echange.is-main .btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.diag-echange.is-main .btn-accent {
  background: var(--teal-light);
  border-color: var(--teal-light);
  color: var(--navy-950);
}
.diag-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.diag-restart {
  margin: 28px 0 0;
  text-align: center;
}
.diag-restart button {
  border: 0;
  background: none;
  padding: 6px;
  font: inherit;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.diag-empty {
  text-align: center;
  color: var(--muted);
}
@media (max-width: 640px) {
  .diag-card {
    padding: 24px 18px 22px;
    border-radius: 18px;
  }
  .diag-aide,
  .diag-multi {
    margin-left: 0;
  }
  .diag-box {
    flex-direction: column;
    padding: 22px 20px;
  }
  .diag-nav .btn {
    width: 100%;
  }
  .diag-nav .js-diag-next {
    order: -1;
  }
}
