/* ==========================================================================
   FTL Agence — feuille de styles
   Charte : blanc, bleu nuit #16233A, orange #C96A00 (texte) / #F5A11A (décor)
   ========================================================================== */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #16233a;
  --navy-deep: #0a1120;
  --navy-800: #101b2e;
  --navy-700: #1b2e4e;
  --navy-500: #2c4a72;
  --slate: #4a5565;
  --grey: #667080;
  --orange: #b25e00;
  --orange-bright: #f5a11a;
  --orange-deep: #9d5300;
  --cream: #fff6e5;
  --border: #d5dbe6;
  --light: #f6f7f9;
  --white: #ffffff;

  --container: 1100px;
  --radius: 8px;
  --head-h: 76px;
  --foot-h: 54px;

  --ease: cubic-bezier(0.22, 0.7, 0.24, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
  background: var(--white);
  padding-bottom: calc(var(--foot-h) + 24px);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: var(--orange);
  text-underline-offset: 3px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(245, 161, 26, 0.3);
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--navy);
  padding: 12px 18px;
  z-index: 200;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Utilitaires ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--slate);
  max-width: 64ch;
}

.note {
  font-size: 13px;
  color: var(--grey);
}

.rule {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--navy:hover {
  background: var(--navy-700);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--navy);
}

.btn--ghost:hover {
  border-color: var(--navy);
}

.btn:hover .btn__arrow {
  transform: translateX(2px);
}

.btn__arrow {
  transition: transform 0.2s var(--ease);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--orange);
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
}

.link-arrow span {
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover span {
  transform: translateX(3px);
}

/* ==========================================================================
   En-tête
   ========================================================================== */

.head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.head__in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--head-h);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  height: 32px;
  width: auto;
}

.head__cta {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
  flex: 0 0 auto;
  margin-left: auto;
}

/* ==========================================================================
   Accueil — le carré
   ========================================================================== */

body.view-home {
  padding-bottom: 0;
  background: #060c16;
  color: var(--white);
}

#homeView {
  background:
    radial-gradient(ellipse 86% 76% at 50% 44%, #060d18 0%, #0d1929 40%,
      #193050 72%, #2b4d73 100%);
}

body.view-home .brand {
  display: none;
}

#homeView a {
  color: var(--white);
}

.home {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: calc(var(--head-h) + 8px) 24px calc(var(--foot-h) + 26px);
}

body.view-home .head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

body.view-home .head__in {
  justify-content: flex-end;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 6px 7px 6px 22px;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.contact-pill__dot {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.contact-pill:hover {
  background: var(--white);
  border-color: var(--white);
}

.contact-pill:hover .contact-pill__dot {
  background: var(--orange-bright);
  color: var(--navy);
  transform: rotate(45deg);
}

.contact-pill--sheet {
  height: 44px;
  padding: 5px 6px 5px 18px;
  font-size: 13.5px;
  border-color: var(--border);
}

.contact-pill--sheet .contact-pill__dot {
  width: 32px;
  height: 32px;
}

body.view-home .head .head__cta {
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(22, 35, 58, 0.12);
  color: var(--navy);
}

body.view-home .head .head__cta:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.home__stage {
  position: relative;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px 0 8px;
}

.entry {
  position: relative;
  width: min(84vw, 400px);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--white);
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.3s var(--ease), transform 0.5s var(--ease);
}

.entry:hover {
  opacity: 0.82;
}

.entry.is-open {
  opacity: 1;
}

.entry__logo {
  width: 100%;
  height: auto;
  display: block;
}

.entry__activity {
  margin-top: clamp(20px, 3.4vh, 32px);
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--white);
}

.entry__target {
  margin-top: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
}

.entry__hint {
  margin-top: clamp(18px, 3vh, 28px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.entry__chev {
  display: block;
  transition: transform 0.45s var(--ease);
}

.entry.is-open .entry__chev {
  transform: rotate(180deg);
}

/* Arborescence */

.tree {
  width: min(100%, 560px);
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.55s var(--ease), margin-top 0.55s var(--ease),
    visibility 0.55s;
}

.tree.is-open {
  grid-template-rows: 1fr;
  margin-top: 44px;
  visibility: visible;
}

.tree__inner {
  overflow: hidden;
  min-height: 0;
  position: relative;
  padding-top: 0;
  transition: padding-top 0.55s var(--ease);
}

.tree.is-open .tree__inner {
  padding-top: 26px;
}

.tree__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.3);
}

.tree__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
}

.tree__list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.tree__list li {
  position: relative;
  padding: 0 7px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.tree__list li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.3);
}

.tree.is-open .tree__list li {
  opacity: 1;
  transform: none;
}

.tree.is-open .tree__list li:nth-child(1) {
  transition-delay: 0.1s;
}

.tree.is-open .tree__list li:nth-child(2) {
  transition-delay: 0.16s;
}

.tree.is-open .tree__list li:nth-child(3) {
  transition-delay: 0.22s;
}

.tree.is-open .tree__list li:nth-child(4) {
  transition-delay: 0.28s;
}

.tree__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
  min-height: 100%;
  padding: 24px 8px 16px;
  background: none;
  color: inherit;
  font: inherit;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.tree__link.is-active {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
}

.tree__chev {
  position: absolute;
  top: 10px;
  right: 10px;
  color: rgba(255, 255, 255, 0.42);
  transition: transform 0.25s var(--ease);
}

.tree__link[aria-expanded="true"] .tree__chev {
  transform: rotate(180deg);
}

/* Deuxième niveau de l'arborescence */

.tree__branches {
  position: relative;
}

.tree__branch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  animation: branchIn 0.35s var(--ease);
}

.branch-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 14.5px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.branch-link:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(245, 161, 26, 0.6);
}

.branch-link svg {
  color: rgba(255, 255, 255, 0.5);
}

@keyframes branchIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.tree__link:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(245, 161, 26, 0.5);
}

.tree__num {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--orange-bright);
}

.tree__label {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.25;
}

.tree__desc {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.tree__link--client .tree__num,
.tree__link--client .tree__label {
  color: var(--orange-bright);
}

.tree__link--client .tree__desc {
  color: rgba(255, 255, 255, 0.72);
  font-style: italic;
}

.tree__link--client:hover {
  border-color: rgba(245, 161, 26, 0.7);
}

/* Chiffres, accueil */

.home__nav {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.home__secondary {
  display: grid;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 180px;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  gap: 10px;
  transition: top 0.55s var(--ease);
}

.home__stage.is-open .home__secondary {
  top: calc(50% + 46px);
}

.side-link__emoji {
  font-size: 14px;
  line-height: 1;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 52px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.side-link:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(245, 161, 26, 0.6);
}

.side-link__num {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
}

.side-link svg {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.55);
}

.side-link--client,
.side-link--client .side-link__num,
.side-link--client svg {
  color: var(--orange-bright);
}

.side-link--client:hover {
  border-color: rgba(245, 161, 26, 0.85);
}

.home__stats {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(100%, 800px);
  margin: 0 auto;
  padding: 10px 0 26px;
}

.home__stat {
  padding: 14px 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.home__stat:first-child {
  padding-left: 0;
}

.home__stat + .home__stat {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.home__stat strong {
  display: block;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.1;
}

.home__stat span {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.62);
}

/* ==========================================================================
   Pied de page (fixe)
   ========================================================================== */

.foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--grey);
}

.foot__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  min-height: var(--foot-h);
  padding: 10px 24px;
}

.foot a {
  color: var(--slate);
  text-decoration: none;
}

.foot a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.foot__sep {
  color: var(--border);
}

.foot__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-left: auto;
}

.foot__addr {
  margin-left: 0;
}

.foot__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  margin-left: 4px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.foot__linkedin:hover {
  border-color: var(--orange-bright);
  color: var(--orange);
  text-decoration: none;
}

.foot__linkedin svg {
  flex: 0 0 auto;
}

body.view-home:not(.sheet-open) .foot {
  background: rgba(7, 14, 26, 0.55);
  backdrop-filter: blur(10px);
  border-top-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.55);
}

body.view-home:not(.sheet-open) .foot a {
  color: rgba(255, 255, 255, 0.78);
}

body.view-home:not(.sheet-open) .foot a:hover {
  color: var(--white);
}

body.view-home:not(.sheet-open) .foot__sep {
  color: rgba(255, 255, 255, 0.24);
}

body.view-home:not(.sheet-open) .foot__addr {
  color: rgba(255, 255, 255, 0.45);
}

body.view-home:not(.sheet-open) .foot__linkedin {
  border-color: rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.85);
}

body.view-home:not(.sheet-open) .foot__linkedin:hover {
  border-color: var(--orange-bright);
  color: var(--white);
}

/* Logos : certifications et réseaux */

.logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.logos--two {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.logo-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 132px;
  padding: 24px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.logo-tile img {
  width: auto;
  max-width: 100%;
  height: 52px;
  object-fit: contain;
}

.logo-tile span {
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--grey);
}

.logo-tile--lg img {
  height: 84px;
}

.logo-tile--dark {
  background: var(--navy);
  border-color: var(--navy);
}

.logo-tile--dark img {
  mix-blend-mode: screen;
}

.logo-tile--dark span {
  color: rgba(255, 255, 255, 0.72);
}

/* Articles */

.posts {
  padding-top: 4px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.articles-col__head {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.articles-col__title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
}

.articles-col__emoji {
  font-size: 18px;
  line-height: 1;
}

.articles-col__sub {
  margin: 4px 0 0 27px;
  font-size: 12.5px;
  color: var(--grey);
}

.articles-col .post-card + .post-card {
  margin-top: 16px;
}

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease);
}

.post-card:hover {
  border-color: var(--orange-bright);
}

.post-card__media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
}

.post-card__date {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.post-card__title {
  font-size: 16px;
  line-height: 1.25;
}

.post-card__text {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.post-card .link-arrow {
  margin-top: auto;
  padding-top: 14px;
  font-size: 13px;
}

.post-card--soon {
  background: var(--cream);
  border-color: var(--orange-bright);
}

.articles__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.articles__cta p {
  margin: 0;
  font-size: 15px;
}

/* ==========================================================================
   Pages intérieures
   ========================================================================== */

.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding-top: 26px;
  font-size: 12px;
  color: var(--grey);
}

.crumb a {
  color: var(--slate);
  text-decoration: none;
}

.crumb a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.crumb [aria-current="page"] {
  color: var(--navy);
  font-weight: 500;
}

.crumb__sep {
  color: var(--border);
}

.hero {
  padding: 30px 0 52px;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(31px, 4vw, 44px);
  max-width: 22ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 28px;
}

.hero__split {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 48px;
  align-items: end;
}

.hero__aside {
  margin: 0;
  border-left: 2px solid var(--orange-bright);
  padding: 4px 0 4px 20px;
  display: grid;
  gap: 14px;
}

.hero__aside div {
  display: grid;
  gap: 1px;
}

.hero__aside dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

.hero__aside dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--navy);
  line-height: 1.4;
}

.section {
  padding: 62px 0;
}

.section--tight {
  padding: 44px 0;
}

.section--border {
  border-bottom: 1px solid var(--border);
}

.section__head {
  max-width: 62ch;
  margin-bottom: 30px;
}

.section__head h2 {
  margin: 10px 0 12px;
  font-size: clamp(24px, 2.6vw, 30px);
}

.section__head p {
  font-size: 16px;
  color: var(--slate);
}

.section__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  max-width: none;
}

/* Grilles et cartes */

.grid {
  display: grid;
  gap: 20px;
}

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

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.card__tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.card__num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--grey);
}

.card h3 {
  font-size: 20px;
  line-height: 1.25;
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--orange);
}

.card p {
  font-size: 14.5px;
  line-height: 1.55;
}

.card .meta {
  margin-top: auto;
}

.card__foot {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.meta {
  display: grid;
  gap: 5px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--grey);
}

.meta b {
  color: var(--navy);
  font-weight: 600;
}

.meta span {
  display: flex;
  gap: 6px;
}

.meta span b {
  min-width: 76px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 1px;
}

/* Listes à puces */

.bullets {
  display: grid;
  gap: 9px;
  font-size: 15px;
  line-height: 1.5;
}

.bullets li {
  position: relative;
  padding-left: 20px;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-bright);
}

.bullets--small {
  font-size: 14px;
}

/* Chiffres clés */

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.metrics > div {
  background: var(--cream);
  padding: 26px;
}

.metrics strong {
  display: block;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--orange);
}

.metrics span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--slate);
}

/* Étapes */

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

.step {
  position: relative;
  padding-top: 50px;
}

.step__num {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--orange-bright);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.step h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.step p {
  font-size: 14px;
  line-height: 1.5;
}

/* Citations / avis */

.quote {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--border);
  border-top: 2px solid var(--orange-bright);
  border-radius: var(--radius);
  background: var(--white);
}

.quote__mark {
  font-size: 34px;
  line-height: 0.8;
  color: var(--orange-bright);
}

.quote p {
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
  color: var(--navy);
}

.quote footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.45;
  color: var(--slate);
}

.quote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--orange);
}

.quote span {
  color: var(--grey);
}

/* Appel à l'action */

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 32px;
  background: var(--cream);
  border: 1px solid var(--orange-bright);
  border-radius: var(--radius);
}

.cta__text {
  max-width: 56ch;
}

.cta h2 {
  font-size: clamp(21px, 2.4vw, 26px);
  margin-bottom: 6px;
}

.cta p {
  font-size: 15px;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Bloc Bpifrance */

.bpi {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
  padding: 30px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.bpi h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.bpi__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 10px;
}

.bpi .link-arrow {
  color: var(--orange-deep);
}

.bpi__grid {
  display: grid;
  gap: 14px;
}

.bpi__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.bpi__card h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.bpi__card p {
  font-size: 13.5px;
  line-height: 1.5;
}

.bpi__price {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--orange);
  font-weight: 600;
}

/* Prestations détaillées */

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.split__aside {
  position: sticky;
  top: calc(var(--head-h) + 26px);
}

.panel {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  display: grid;
  gap: 14px;
}

.panel h2 {
  font-size: 18px;
}

.panel .btn {
  width: 100%;
}

.prose {
  max-width: 72ch;
}

.prose h2 {
  font-size: 23px;
  margin: 34px 0 12px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}

.prose p {
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.prose ul {
  margin: 0 0 18px;
}

.prose .bullets {
  font-size: 15px;
}

.prose a {
  color: var(--orange);
}

/* À propos */

.about {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.about__photo {
  position: sticky;
  top: calc(var(--head-h) + 26px);
  margin: 0;
}

.about__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 8px;
  filter: grayscale(1);
  display: block;
}

.about__photo figcaption {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--grey);
}

.about__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.02em;
}

.about__body > p {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 60ch;
}

.pullquote {
  margin: 30px 0;
  padding: 24px 0 24px 26px;
  border-left: 2px solid var(--orange-bright);
  font-size: 19px;
  line-height: 1.5;
  font-style: italic;
  color: var(--navy);
  max-width: 52ch;
}

.timeline {
  display: grid;
  gap: 0;
  margin-top: 8px;
}

.timeline li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  line-height: 1.5;
}

.timeline li:last-child {
  border-bottom: 1px solid var(--border);
}

.timeline b {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  padding-top: 2px;
}

/* Formation : fiches programme */

.program {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: start;
}

.program__box {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  gap: 12px;
  background: var(--white);
}

.program__box h2 {
  font-size: 17px;
}

.program__box .meta {
  border-top: 0;
  padding-top: 0;
}

.program__price {
  font-size: 26px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.program__price small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
}

.modules {
  display: grid;
  gap: 0;
  counter-reset: mod;
}

.modules li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.modules li::before {
  counter-increment: mod;
  content: "0" counter(mod);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
  padding-top: 3px;
}

.modules h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.modules p {
  font-size: 14px;
  line-height: 1.55;
}

/* Page avis */

.avis-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding: 22px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--light);
  font-size: 14px;
}

.avis-summary strong {
  font-size: 30px;
  color: var(--orange);
  letter-spacing: -0.03em;
  line-height: 1;
}

.avis-summary span {
  color: var(--slate);
}

/* Page légale */

.legal {
  max-width: 78ch;
  padding: 10px 0 30px;
}

.legal h2 {
  font-size: 18px;
  margin: 40px 0 10px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.legal h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 10px;
}

.legal h3 {
  font-size: 15px;
  margin: 20px 0 6px;
}

.legal p,
.legal li {
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate);
  margin-bottom: 10px;
}

.legal ul {
  margin-bottom: 12px;
}

.legal ul li {
  position: relative;
  padding-left: 18px;
}

.legal ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange-bright);
}

.legal dl {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
}

.legal dl div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}

.legal dt {
  font-weight: 600;
  color: var(--navy);
}

.legal dd {
  margin: 0;
}

.legal a {
  color: var(--orange);
}

/* Boîte de dialogue cookies */

dialog {
  width: min(520px, calc(100vw - 32px));
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  background: var(--white);
  color: var(--slate);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
}

dialog::backdrop {
  background: rgba(10, 17, 32, 0.55);
  backdrop-filter: blur(2px);
}

dialog h2 {
  font-size: 19px;
  margin-bottom: 10px;
}

dialog p {
  margin-bottom: 12px;
}

dialog .btn {
  min-height: 42px;
  font-size: 14px;
}

.dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.dialog__choice {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--grey);
}


/* ==========================================================================
   Carte du site : arborescence + contenu
   ========================================================================== */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 74;
  background: rgba(6, 12, 22, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

body.sheet-open .backdrop {
  opacity: 1;
  visibility: visible;
}

body.sheet-open {
  overflow: hidden;
}

body.sheet-open .head {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}

.sheet {
  position: fixed;
  z-index: 80;
  top: 34px;
  left: 40px;
  right: 40px;
  bottom: calc(var(--foot-h) + 26px);
  max-width: 1200px;
  margin: 0 auto;
  background: var(--white);
  color: var(--slate);
  border-radius: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s var(--ease);
}

body.sheet-open .sheet {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.sheet__bar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.sheet__brand img {
  display: block;
  height: 30px;
  width: auto;
}

.sheet__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sheet__close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.sheet__close:hover {
  border-color: var(--navy);
  color: var(--orange);
}

.sheet__path {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sheet__path:empty {
  display: none;
}

.sheet__content {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 40px 60px;
  container-type: inline-size;
  container-name: content;
}

.map__in {
  padding: 26px 0 48px;
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.treeNav {
  position: sticky;
  top: 84px;
  padding-left: 20px;
  border-left: 1px solid var(--border);
}

.treeNav__title {
  margin-bottom: 16px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.treeNav__list {
  display: grid;
  gap: 1px;
}

.node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 9px 0;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--navy);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.node:hover {
  color: var(--orange);
}

.node[aria-current="page"] {
  color: var(--orange);
  font-weight: 500;
}

.node--leaf {
  justify-content: flex-start;
}

.node--leaf::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
}

.node--leaf[aria-current="page"]::before {
  background: var(--orange-bright);
}

.node--sub {
  font-size: 14px;
  padding: 7px 0;
}

.node__chev {
  flex: 0 0 auto;
  color: var(--grey);
  transition: transform 0.25s var(--ease);
}

.node[aria-expanded="true"] .node__chev {
  transform: rotate(180deg);
}

.node__children {
  display: grid;
  gap: 1px;
  margin: 2px 0 10px;
  padding-left: 14px;
  border-left: 1px solid var(--border);
}

.treeNav__foot {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
}

.treeNav__foot a {
  color: var(--grey);
  text-decoration: none;
}

.treeNav__foot a:hover {
  color: var(--orange);
}

.treeToggle {
  display: none;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 18px;
  padding: 12px 16px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  cursor: pointer;
}

.treeToggle svg {
  margin-left: auto;
  transition: transform 0.25s var(--ease);
}

.treeToggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.content {
  min-width: 0;
  container-type: inline-size;
  container-name: content;
}

.content__path {
  display: none;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

.page {
  padding-bottom: 8px;
}

.page .hero {
  padding-top: 16px;
}

/* Le contenu s'adapte à la largeur de sa colonne, pas à l'écran */
@container content (max-width: 760px) {
  .hero__split,
  .split,
  .program {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about {
    grid-template-columns: 210px 1fr;
    gap: 30px;
  }

  .split__aside,
  .about__photo {
    position: static;
  }

  .about__photo {
    max-width: 260px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 30px;
  }

  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container content (max-width: 520px) {
  .about {
    grid-template-columns: 1fr;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .metrics > div {
    padding: 20px 22px;
  }

  .metrics strong {
    display: inline;
    margin-right: 10px;
    font-size: 26px;
  }

  .metrics span {
    display: inline;
    font-size: 13px;
  }

  .bpi {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 24px;
  }
}


/* ==========================================================================
   Contenus des panneaux
   ========================================================================== */

.page__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 38px 0 40px;
}

.page__inner--narrow {
  max-width: 760px;
}

.page__hero {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.page__hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(29px, 3.6vw, 40px);
  max-width: 24ch;
}

.page__hero .lead {
  font-size: clamp(16px, 1.5vw, 19px);
}

.page__hero--small h1 {
  font-size: clamp(26px, 3vw, 34px);
}

.page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 24px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--slate);
  text-decoration: none;
}

.back:hover {
  color: var(--orange);
}

.page .section {
  padding: 42px 0 0;
}

.page .cta {
  margin-top: 42px;
}

.page .section__head {
  margin-bottom: 22px;
}

.page .section__head h2 {
  margin-top: 8px;
}

.page--paper {
  margin: 0 -40px;
  padding: 44px 40px 60px;
  background: #faf7f1;
  border-radius: 0 0 12px 12px;
}

.results {
  margin-top: 32px;
}

.results .eyebrow {
  margin-bottom: 12px;
}

.offers {
  margin-top: 38px;
}

.offers__title {
  margin-bottom: 18px;
  font-size: 22px;
}

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

.offers__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 190px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--navy);
  text-decoration: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.offer:hover {
  border-color: var(--orange-bright);
  background: #fffdf8;
}

.offer__num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--orange);
}

.offer__name {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.offer__desc {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.5;
  color: var(--slate);
}

.offer__meta {
  margin-top: auto;
  padding-top: 12px;
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--grey);
}

.offer__arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 18px;
  color: var(--orange);
  transition: transform 0.25s var(--ease);
}

.offer:hover .offer__arrow {
  transform: translate(2px, -2px);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  padding: 9px 15px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--navy);
}

.note-block {
  padding: 22px 24px;
  background: var(--cream);
  border: 1px solid var(--orange-bright);
  border-radius: var(--radius);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--slate);
}

.note-block p + p {
  margin-top: 8px;
}

.note-block a {
  color: var(--orange);
  font-weight: 500;
}

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

.training {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 230px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--navy);
  text-decoration: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.training:hover {
  border-color: var(--orange-bright);
  background: #fffdf8;
}

.training__tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.training__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.training__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--slate);
}

.training__meta {
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
  color: var(--grey);
}

.training__arrow {
  position: absolute;
  opacity: 0;
}

.fact {
  padding: 4px 20px;
  border-left: 2px solid var(--orange-bright);
}

.fact__label {
  display: block;
  margin-bottom: 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

.fact__value {
  font-size: 15px;
  line-height: 1.45;
  color: var(--navy);
}

.fact-card {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 16px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.fact-card h2 {
  font-size: 17px;
}

.fact-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.fact-card dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}

.fact-card dt {
  padding-top: 1px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
}

.fact-card dd {
  margin: 0;
  line-height: 1.4;
  color: var(--navy);
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.45;
  color: var(--navy);
}

.contact-card a {
  color: var(--navy);
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--orange);
}

.contact-card .eyebrow {
  font-size: 10.5px;
}

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

.quote--featured {
  grid-column: 1 / -1;
  background: var(--cream);
  border-color: var(--orange-bright);
}

.quote--featured p {
  font-size: 17px;
}

.quote--client {
  padding: 24px;
}

.quote__person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote__photo {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(1);
}

.quote__person cite {
  display: block;
  font-style: normal;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--orange);
}

.quote__person span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--grey);
}

.quote--featured .quote__photo {
  width: 72px;
  height: 72px;
}

.quote--featured .quote__person cite {
  font-size: 15.5px;
  color: var(--orange-deep);
}

.quote--featured .quote__person span {
  font-size: 12.5px;
}

.quote--client p {
  font-size: 14.5px;
}

.quote--wide {
  max-width: 100%;
}

.legal__next {
  margin-top: 26px;
}

.legal__next .link-arrow,
button.link-arrow {
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

.steps--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1040px) {
  .hero__split,
  .split,
  .program {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split__aside,
  .about__photo {
    position: static;
  }

  .about {
    grid-template-columns: 220px 1fr;
    gap: 36px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 30px;
  }
}

@media (max-width: 1020px) {
  .home__nav {
    display: block;
    max-width: 560px;
    margin: 0 auto;
  }

  .home__nav .tree {
    width: 100%;
  }

  .home__secondary,
  .home__stage.is-open .home__secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: static;
    transform: none;
    width: 100%;
    top: auto;
    margin-top: 22px;
    padding: 0;
    border-left: 0;
  }

  .side-link {
    flex: 1 1 auto;
    height: 46px;
    font-size: 13.5px;
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .home__secondary,
  .home__stage.is-open .home__secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-link {
    min-width: 0;
  }

  .side-link--articles {
    grid-column: 1 / -1;
  }

  .tree__branch {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .branch-link {
    justify-content: space-between;
    height: 46px;
  }
}

@media (max-width: 980px) {
  .sheet__path {
    display: none;
  }

  .sheet__content {
    padding: 0 24px 50px;
  }

  .page--paper {
    margin: 0 -24px;
    padding: 34px 24px 50px;
  }

  .sheet {
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: calc(var(--foot-h) + 8px);
    border-radius: 10px;
  }

  .sheet__bar {
    padding: 10px 16px;
  }

  .sheet__brand img {
    height: 26px;
  }

  .map__in {
    display: block;
    padding: 18px 0 32px;
  }

  .treeToggle {
    display: flex;
  }

  .treeNav {
    position: static;
    margin-bottom: 30px;
    padding: 4px 0 0;
    border-left: 0;
  }

  .treeNav__foot {
    display: none;
  }

  .content__path {
    display: block;
  }
}

@media (max-width: 880px) {
  .head__cta {
    margin-left: auto;
  }

  .head__in {
    gap: 12px;
  }

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

  .grid--3 {
    grid-template-columns: 1fr;
  }

  .bpi {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about__photo {
    max-width: 260px;
  }
}

@media (max-width: 860px) {
  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 560px) {
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 760px) {
  :root {
    --foot-h: 80px;
  }

  .offers__grid,
  .offers__grid--two,
  .trainings,
  .contact-grid,
  .quotes-grid {
    grid-template-columns: 1fr;
  }

  .offer {
    min-height: 0;
  }

  .steps--three {
    grid-template-columns: 1fr;
  }

  .page__inner {
    padding: 26px 0;
  }

  .sheet__content {
    padding: 0 18px 40px;
  }

  .page--paper {
    margin: 0 -18px;
    padding: 28px 18px 44px;
  }

  .fact-card {
    position: static;
  }

  body {
    font-size: 16px;
  }

  .tree.is-open {
    margin-top: 34px;
  }

  .tree__inner {
    padding-top: 20px;
  }

  .tree__inner::before {
    height: 20px;
  }

  .tree__list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tree__list::before {
    display: none;
  }

  .tree__list li {
    padding: 0;
  }

  .tree__list li::before {
    display: none;
  }

  .tree__link {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    padding: 15px 16px;
    text-align: left;
    border-color: rgba(255, 255, 255, 0.2);
  }

  .tree__desc {
    flex: 1 0 100%;
    padding-left: 0;
  }


.home__stats {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 20px;
  }

  .home__stat {
    padding: 10px 0 10px;
  }

  .home__stat + .home__stat {
    border-left: 0;
  }

  .home__stat strong {
    font-size: 19px;
    display: inline;
    margin-right: 8px;
  }

  .home__stat span {
    display: inline;
    font-size: 11px;
  }

  .grid--2,
  .grid--4 {
    grid-template-columns: 1fr;
  }

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

  .metrics > div {
    padding: 20px 22px;
  }

  .metrics strong {
    display: inline;
    margin-right: 10px;
    font-size: 26px;
  }

  .metrics span {
    display: inline;
    font-size: 13px;
  }

  .cta {
    padding: 24px;
  }

  .cta__actions {
    width: 100%;
  }

  .cta__actions .btn {
    flex: 1;
  }

  .section {
    padding: 46px 0;
  }

  .hero {
    padding: 22px 0 38px;
  }

  .foot {
    font-size: 11px;
  }

  .foot__in {
    gap: 4px 12px;
    padding: 9px 18px;
    min-height: 0;
  }

  .foot__right {
    flex: 1 0 100%;
    margin-left: 0;
  }

  .foot__addr {
    flex: 1 0 100%;
    color: var(--grey);
  }

  .foot__linkedin {
    margin-left: 0;
  }

  .legal dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .entry {
    width: min(88vw, 360px);
  }

  .entry__activity {
    margin-top: 20px;
    font-size: 17px;
  }

  .entry__hint {
    margin-top: 20px;
  }

  .home {
    padding-left: 18px;
    padding-right: 18px;
  }


  .container {
    padding: 0 18px;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .entry {
    width: clamp(210px, 22vw, 270px);
  }

  .entry__logo {
    width: 72%;
  }

  .entry__rule {
    margin: 14px 0 12px;
  }

  .home__stage {
    padding-top: 10px;
  }


.home__stats {
    padding-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
