/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
    monospace;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji');
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden='until-found'])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .block {
    display: block;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .grow {
    flex-grow: 1;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, visibility, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}
:root {
  --rouge: #D00000;
  --rouge-fonce: #A30000;
  --orange: #F89010;
  --bitume: #17181C;
  --carbone: #22242B;
  --blanc: #FFFFFF;
  --creme: #F8F6F2;
  --encre: #1B1C20;
  --gris: #5A5C66;
  --ligne: #E8E6E1;
  --vert: #16A34A;
  --radius: 14px;
  --maxw: 1180px;
  --display: 'Montserrat',sans-serif;
  --body: 'Lato',sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*::before,*::after {
    animation: none !important;
    transition: none !important;
  }
}
body {
  font-family: var(--body);
  color: var(--encre);
  background: var(--blanc);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rouge);
  display: inline-flex;
  align-items: flex-start; /* sur deux lignes, le chevron reste devant la première */
  gap: 10px;
  text-wrap: balance;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: calc((1lh - 14px) / 2); /* centré sur la première ligne */
  background: url("../images/chevron.svg") center/contain no-repeat;
  transform: rotate(90deg);
}
h1,h2,h3 {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -.01em;
}
h1,h2 {
  text-wrap: balance;
}
h2, .section-head h1 {
  font-size: clamp(1.65rem,3.4vw,2.4rem);
  font-weight: 800;
  margin: 14px 0 16px;
}
.section {
  padding: 88px 0;
}
.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}
.section-head p {
  color: var(--gris);
  font-size: 1.07rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease,background .15s ease,border-color .15s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
.btn-rouge {
  background: var(--rouge);
  color: var(--blanc);
  box-shadow: 0 6px 18px rgba(208,0,0,.3);
}
.btn-rouge:hover {
  background: var(--rouge-fonce);
}
.btn-contour {
  background: transparent;
  color: var(--blanc);
  border-color: rgba(255,255,255,.4);
}
.btn-contour:hover {
  border-color: var(--blanc);
}
.btn-contour-sombre {
  background: transparent;
  color: var(--encre);
  border-color: #D8D5CF;
}
.btn-contour-sombre:hover {
  border-color: var(--encre);
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23,24,28,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 18px;
}
.logo img {
  height: 30px;
  width: auto;
}
.nav-links {
  display: flex;
  flex-wrap: wrap; /* espacement du texte élargi (WCAG 1.4.12) : les entrées passent sur deux lignes au lieu de déborder */
  justify-content: flex-end;
  gap: 6px clamp(14px, 1.6vw, 28px);
  list-style: none;
}
.nav-links a {
  white-space: nowrap;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-weight: 700;
  font-size: .93rem;
}
.nav-links a:hover,.nav-links a.actif {
  color: var(--orange);
}
.nav-links a.actif { text-decoration: underline 2px; text-underline-offset: 6px; } /* page ou rubrique courante : pas seulement la couleur (WCAG 1.4.1) */
.burger {
  display: none;
  padding: 4px; /* cible de 30 × 30 px (WCAG 2.5.8) */
  background: none;
  border: none;
  color: var(--blanc);
  font-size: 1.6rem;
  cursor: pointer;
}
.hero {
  background: radial-gradient(1100px 600px at 80% -10%,#2A2C33 0%,var(--bitume) 55%);
  color: var(--blanc);
  position: relative;
  overflow: hidden;
}
.hero-picto {
  position: absolute;
  right: -90px;
  top: 50%;
  transform: translateY(-50%);
  width: 460px;
  opacity: .05;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 84px 0 96px;
  position: relative;
}
.hero h1 {
  font-size: clamp(2rem,4.4vw,3.2rem);
  font-weight: 900;
}
.hero h1 .surligne {
  color: var(--orange);
}
.hero .sous-titre {
  margin: 22px 0 8px;
  font-size: 1.12rem;
  color: rgba(255,255,255,.85);
  max-width: 520px;
}
.hero-metiers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 30px;
}
.hero-metiers span {
  font-family: var(--display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 7px 13px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: rgba(255,255,255,.9);
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 14px;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}
.planning {
  background: var(--blanc);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
  overflow: hidden;
  color: var(--encre);
  font-size: .78rem;
  transform: rotate(-1deg);
}
.planning-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F3F1ED;
  border-bottom: 1px solid var(--ligne);
  padding: 10px 14px;
}
.planning-bar .pastille {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.planning-bar .titre {
  margin-left: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: .7rem;
  color: var(--gris);
  letter-spacing: .03em;
}
.planning-grid {
  display: grid;
  grid-template-columns: 118px repeat(4,1fr);
}
.planning-grid>div {
  padding: 9px 10px;
  border-bottom: 1px solid var(--ligne);
  border-right: 1px solid var(--ligne);
}
.ph {
  background: #FAF9F6;
  font-family: var(--display);
  font-weight: 700;
  color: var(--gris);
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.veh {
  font-family: var(--display);
  font-weight: 700;
  font-size: .72rem;
  background: #FAF9F6;
}
.veh small {
  display: block;
  font-weight: 400;
  font-family: var(--body);
  color: var(--gris);
}
.ot {
  border-radius: 7px;
  padding: 5px 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: .64rem;
  color: var(--blanc);
  line-height: 1.35;
  letter-spacing: .02em;
}
.ot small {
  display: block;
  font-weight: 400;
  font-family: var(--body);
  font-size: .66rem;
  opacity: .9;
}
.ot-gris {
  background: #3A3D46;
}
.ot-orange {
  background: var(--orange);
}
.ot-vert {
  background: var(--vert);
}
.ot-libre {
  border: 1.5px dashed #CFCCC5;
  color: #9B9890;
  background: transparent;
  text-align: center;
  font-weight: 600;
}
.planning-foot {
  display: flex;
  gap: 16px;
  padding: 10px 14px;
  background: #FAF9F6;
  font-size: .72rem;
  color: var(--gris);
}
.planning-foot b {
  color: var(--encre);
}
.preuve {
  background: var(--rouge);
  color: var(--blanc);
  padding: 32px 0;
}
.preuve-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.preuve .stat b {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 900;
  display: block;
  line-height: 1.1;
}
.preuve .stat span {
  font-size: .86rem;
  color: rgba(255,255,255,.85);
}
.preuve .logos {
  font-size: .78rem;
  color: rgba(255,255,255,.75);
  border: 1px dashed rgba(255,255,255,.45);
  padding: 10px 16px;
  border-radius: 8px;
}
.metiers {
  background: var(--creme);
}
.cards-metiers {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}
.card-metier {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--ligne);
  border-top: 5px solid var(--rouge);
  transition: transform .18s ease,box-shadow .18s ease;
  text-decoration: none;
  display: block;
}
/* :where(a) : survol réservé aux cartes-liens sans changer la priorité de la règle (a.card-metier ferait réapparaître le soulèvement que .reveal.visible neutralise). */
.card-metier:where(a):hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 38px rgba(27,28,32,.12);
}
.card-metier .picto {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #FDEede;
  background: #FDEFDD;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}
.card-metier h3 {
  font-size: 1.04rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.card-metier p {
  font-size: .92rem;
  color: var(--gris);
}
.card-metier .lien {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: .86rem;
  color: var(--rouge);
}
.bento {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.bento .cell {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .15s;
  text-decoration: none;
  display: block;
  color: var(--encre);
}
.bento .cell:where(a):hover {
  border-color: var(--rouge);
}
.bento .cell.grande {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(150deg,var(--bitume),#2A2C33);
  color: var(--blanc);
  border: none;
  position: relative;
  overflow: hidden;
}
.bento .cell.grande::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -46px;
  width: 190px;
  height: 190px;
  background: url("../images/chevron.svg") center/contain no-repeat;
  opacity: .12;
}
.bento .cell.grande p {
  color: rgba(255,255,255,.82);
}
.bento .tag {
  font-family: var(--display);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rouge);
  background: #FBE5E5;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 14px;
}
.bento .grande .tag {
  background: rgba(248,144,16,.18);
  color: var(--orange);
}
.bento h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.bento p {
  font-size: .93rem;
  color: var(--gris);
}
.bento .grande .lien,.bento .lien {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: .85rem;
  color: var(--rouge);
}
.bento .grande .lien {
  color: var(--orange);
}
.deploiement {
  background: var(--bitume);
  color: var(--blanc);
}
.deploiement .section-head p {
  color: rgba(255,255,255,.72);
}
.deploiement .eyebrow {
  color: var(--orange);
}
.route {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 52px;
}
.route::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: repeating-linear-gradient(to bottom,rgba(248,144,16,.55) 0 14px,transparent 14px 26px);
}
.etape {
  position: relative;
  padding: 0 0 34px 18px;
}
.etape:last-child {
  padding-bottom: 0;
}
.etape::before {
  content: "";
  position: absolute;
  left: -49px;
  top: 0;
  width: 26px;
  height: 26px;
  background: url("../images/chevron.svg") center/contain no-repeat;
  transform: rotate(180deg);
}
.etape .num {
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--orange);
}
.etape h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 4px 0 6px;
}
.etape p {
  font-size: .94rem;
  color: rgba(255,255,255,.72);
  max-width: 560px;
}
.grid-temoignages {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.temoignage {
  background: var(--creme);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 4px solid var(--orange);
}
.temoignage p {
  font-size: .96rem;
}
.temoignage .auteur {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.temoignage .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rouge);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  flex-shrink: 0;
}
.temoignage .auteur b {
  display: block;
  font-size: .92rem;
}
.temoignage .auteur span {
  font-size: .8rem;
  color: var(--gris);
}
.faq {
  background: var(--creme);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 800;
  font-family: var(--display);
  font-size: .97rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--rouge);
  font-weight: 700;
  flex-shrink: 0;
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  padding: 0 22px 18px;
  color: var(--gris);
  font-size: .95rem;
}
.cta-final {
  padding: 88px 0;
}
.panneau {
  background: linear-gradient(150deg,var(--bitume),#26282F);
  border-radius: 22px;
  color: var(--blanc);
  padding: 60px 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  box-shadow: 0 24px 60px rgba(23,24,28,.3);
  position: relative;
  overflow: hidden;
}
.panneau::before {
  content: "";
  position: absolute;
  left: -40px;
  top: -60px;
  width: 230px;
  height: 230px;
  background: url("../images/chevron.svg") center/contain no-repeat;
  opacity: .08;
}
.panneau .fleche {
  font-family: var(--display);
  font-weight: 800;
  color: var(--orange);
  font-size: .85rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.panneau h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.55rem,3vw,2.2rem);
}
.panneau p {
  color: rgba(255,255,255,.78);
  max-width: 480px;
}
footer {
  background: var(--bitume);
  color: rgba(255,255,255,.72);
  padding: 64px 0 28px;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.footer-grid h4 {
  font-family: var(--display);
  color: var(--blanc);
  font-size: .92rem;
  margin-bottom: 16px;
  letter-spacing: .03em;
}
.footer-grid ul {
  list-style: none;
}
.footer-grid li {
  margin-bottom: 10px;
}
.footer-grid a {
  color: rgba(255,255,255,.68);
  text-decoration: none;
}
.footer-grid a:hover {
  color: var(--orange);
}
.footer-logo img {
  height: 28px;
  width: auto;
  margin-bottom: 14px;
}
.footer-bas {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}
.footer-bas a {
  color: rgba(255,255,255,.55);
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease,transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
@media (max-width:980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 60px 0 72px;
  }
  .planning {
    transform: none;
  }
  .hero-picto {
    display: none;
  }
  .cards-metiers {
    grid-template-columns: repeat(2,1fr);
  }
  .bento {
    grid-template-columns: repeat(2,1fr);
  }
  .bento .cell.grande {
    grid-column: span 2;
    grid-row: auto;
  }
  .grid-temoignages {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
/* Menu replié : seuil en em, il suit la taille de police du navigateur (61.25em = 980 px à 16 px ; à 200 % le menu se replie au lieu de déborder) */
@media (max-width:61.25em) {
  .nav-links {
    display: none;
  }
  .nav-links.ouvert {
    display: flex;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bitume);
    flex-direction: column;
    flex-wrap: nowrap; /* sinon le panneau limité en hauteur ferait une deuxième colonne au lieu de défiler */
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    max-height: calc(100vh - 74px); /* 8 entrées : en paysage le panneau dépasse l'écran, il défile */
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .burger {
    display: block;
  }
}
@media (max-width:61.25em) and (max-height:500px) {
  .nav-links.ouvert { gap: 10px; padding-block: 12px; } /* téléphone en paysage : les 8 entrées tiennent sans défiler */
}
@media (max-width:620px) {
  .cards-metiers {
    grid-template-columns: 1fr;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .bento .cell.grande {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .panneau {
    padding: 40px 26px;
  }
  .section {
    padding: 64px 0;
  }
  .planning-grid {
    grid-template-columns: 96px repeat(3,1fr);
  }
  .planning-grid .masque-mobile {
    display: none;
  }
}
.wrap--narrow {
  max-width: 760px;
}
.wrap--xnarrow {
  max-width: 640px;
}
.wrap--xxnarrow {
  max-width: 560px;
}
.wrap--centered {
  text-align: center;
}
.eyebrow--orange {
  color: var(--orange);
}
.eyebrow--centered {
  justify-content: center;
}
.section-head--centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 760px;
}
.btn--full {
  width: 100%;
  justify-content: center;
}
.footer-baseline {
  max-width: 280px;
}
.lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--gris);
  margin-bottom: 18px;
}
.text-muted {
  color: var(--gris);
}
.text-normal {
  font-weight: 400;
}
.mt-md {
  margin-top: 14px;
}
.pastille--rouge {
  background: #FF5F57;
}
.pastille--ambre {
  background: #FEBC2E;
}
.pastille--vert {
  background: #28C840;
}
.text--vert {
  color: var(--vert);
}
.planning-capture {
  display: block;
  width: 100%;
  height: auto;
}
.hero-solution {
  background: var(--bitume);
  color: var(--blanc);
  position: relative;
  overflow: hidden;
}
.hero-solution .wrap {
  padding: 72px 24px 64px;
  position: relative;
}
.hero-solution h1 {
  color: var(--blanc);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  margin: 14px 0 14px;
}
.hero-solution .hero-sous-titre {
  color: rgba(255, 255, 255, .85);
  max-width: 640px;
  font-size: 1.08rem;
}
.hero-solution .hero-ctas {
  margin-top: 26px;
}
.hero-solution .hero-note {
  margin-top: 14px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
}
.fil {
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 18px;
}
.fil a {
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
}
.fil a:hover {
  color: var(--orange);
}
.fil strong {
  color: rgba(255, 255, 255, .9);
  font-weight: 700;
}
.benef {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benef .carte {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.benef b {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.1rem;
  color: var(--rouge);
  display: block;
  line-height: 1.1;
}
.benef span {
  color: var(--gris);
  font-size: .94rem;
}
.fonctions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.fonction {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.fonction .chevron {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 4px;
  background: url("../images/chevron.svg") center/contain no-repeat;
  transform: rotate(90deg);
}
.fonction h3 {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.fonction p a, .faq details p a { text-decoration: underline; text-underline-offset: .15em; } /* lien dans le texte : souligné, pas seulement la couleur */
.fonction p {
  font-size: .93rem;
  color: var(--gris);
}
.integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.integrations span {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: .85rem;
  color: var(--encre);
}
.marge-demo {
  background: var(--bitume);
  color: var(--blanc);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.marge-demo h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.marge-demo p {
  color: rgba(255, 255, 255, .78);
  font-size: .96rem;
}
.marge-calc {
  background: var(--carbone);
  border-radius: 12px;
  padding: 24px;
  font-family: var(--display);
  font-weight: 700;
}
.marge-calc .ligne {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: .92rem;
}
.marge-calc .ligne:last-child {
  border: none;
  color: var(--orange);
  font-size: 1.05rem;
  padding-top: 14px;
}
.accroche-bloc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.accroche-bloc > div:first-child h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 8px 0 14px;
}
.accroche-bloc > div:first-child p {
  color: var(--gris);
  font-size: 1.02rem;
  line-height: 1.7;
}
.points-cles {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.points-cles .point {
  background: var(--blanc);
  border-left: 4px solid var(--rouge);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: 0 4px 14px rgba(27, 28, 32, .04);
}
.points-cles .point h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.points-cles .point p {
  font-size: .9rem;
  color: var(--gris);
  line-height: 1.55;
}
.logo .vt-logo {
  height: 30px;
  width: auto;
  display: block;
}
.footer-logo .vt-logo {
  height: 28px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}
.form-success, .form-erreur {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-family: var(--display);
  font-weight: 700;
  color: var(--blanc);
}
.form-success {
  background: #0f8a3c;
}
.form-erreur {
  background: var(--rouge);
}
.vt-logo__shine {
  transform: translateX(-260px);
  animation: vt-logo-sweep 5s ease-in-out infinite;
}
@keyframes vt-logo-sweep {
  0%, 55% {
    transform: translateX(-260px);
  }
  80% {
    transform: translateX(420px);
  }
  100% {
    transform: translateX(420px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .vt-logo__shine {
    display: none;
  }
}
.card-metier {
  position: relative;
}
.badge-marque {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--bitume);
  color: var(--orange);
  font-family: var(--display);
  font-weight: 800;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}
.badge-marque--hero {
  position: static;
  display: inline-block;
  background: var(--orange);
  color: var(--bitume);
  margin-bottom: 14px;
}
.schema {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}
.schema .case {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: .82rem;
  color: var(--encre);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.schema .case:hover {
  border-color: var(--rouge);
  transform: translateY(-2px);
}
.schema .case small {
  display: block;
  font-weight: 400;
  font-family: var(--body);
  color: var(--gris);
  font-size: .72rem;
  margin-top: 4px;
}
.schema .centre {
  grid-column: 2 / span 2;
  grid-row: 2;
  background: linear-gradient(150deg, var(--bitume), #2A2C33);
  color: var(--blanc);
  border: none;
  font-size: 1.1rem;
  font-weight: 900;
  position: relative;
  overflow: hidden;
  min-height: 120px;
}
.schema .centre::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 130px;
  height: 130px;
  background: url("../images/chevron.svg") center/contain no-repeat;
  opacity: .14;
}
.schema .centre small {
  color: rgba(255, 255, 255, .75);
  font-family: var(--body);
  font-weight: 400;
}
.piliers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pilier {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.pilier:hover {
  transform: translateY(-4px);
  border-color: var(--rouge);
  box-shadow: 0 16px 38px rgba(27, 28, 32, .08);
}
.pilier .icone {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #FBE5E5;
  color: var(--rouge);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 900;
  font-family: var(--display);
  margin-bottom: 16px;
}
.pilier h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--rouge);
  margin-bottom: 10px;
}
.pilier p {
  font-size: .91rem;
  color: var(--gris);
  line-height: 1.55;
}
@media (max-width: 980px) {
  .benef {
    grid-template-columns: 1fr;
  }
  .fonctions {
    grid-template-columns: 1fr;
  }
  .marge-demo {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .accroche-bloc {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .piliers {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .piliers {
    grid-template-columns: 1fr;
  }
  .schema {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: dense; /* la tuile TMS, pleine largeur, ne laisse plus de case vide */
  }
  .schema .centre {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}
@media (max-width: 600px) {
  .nav-inner {
    gap: 10px;
  }
  .logo .vt-logo {
    height: 26px;
  }
  .burger {
    font-size: 1.5rem;
  }
}
@media (max-width: 600px) {
  .marge-demo .ligne b, .marge-demo .ligne span:last-child {
    white-space: nowrap;
  }
}
.lien:not(:empty)::after {
  content: "→";
  display: inline-block;
  margin-left: 6px;
  transition: transform .28s cubic-bezier(.2, .7, .3, 1);
}
a:hover .lien:not(:empty)::after {
  transform: translateX(6px);
}
.vt-logo__chevron {
  transition: filter .3s ease;
}
.logo:hover .vt-logo__chevron, .footer-logo:hover .vt-logo__chevron {
  filter: drop-shadow(0 0 4px rgba(248, 144, 16, .75));
}
@keyframes vt-hero-float {
  0%, 100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(calc(-50% - 14px));
  }
}
.hero-picto {
  animation: vt-hero-float 7s ease-in-out infinite;
}
@keyframes vt-eyebrow-pulse {
  0%, 100% {
    transform: rotate(90deg) scale(1);
    opacity: .78;
  }
  50% {
    transform: rotate(90deg) scale(1.12);
    opacity: 1;
  }
}
.eyebrow::before {
  animation: vt-eyebrow-pulse 3s ease-in-out infinite;
}
@keyframes vt-route-flow {
  to {
    background-position-y: 26px;
  }
}
.route::before {
  animation: vt-route-flow 1.4s linear infinite;
}
.etape::before {
  transition: transform .25s ease, filter .25s ease;
}
.etape:hover::before {
  transform: rotate(180deg) scale(1.22);
  filter: drop-shadow(0 0 4px rgba(248, 144, 16, .6));
}
.form-demo {
  max-width: 640px;
  margin: 0 auto;
}
.form-demo .champ {
  margin-bottom: 18px;
}
.form-demo label {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: .92rem;
  margin-bottom: 6px;
}
.form-demo input, .form-demo textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ligne);
  border-radius: 10px;
  font-family: var(--body);
  font-size: 1rem;
}
.form-demo input:focus, .form-demo textarea:focus {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-color: var(--rouge);
}
.form-demo .erreurs {
  color: var(--rouge);
  font-size: .85rem;
  margin-top: 4px;
}
.form-demo .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.form-demo .consent input {
  width: auto;
  margin-top: 5px;
}
.form-demo .honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
    }
  }
}

/* ===== Accueil « Plein rouge » (front-page.php + configurateur.js) =====
   Configurateur 3 étapes, planning en table 3D, pile de modules isométrique, parallax.
   Préfixe vr- ; jetons --vr-* ; un seul moteur d'animation dans configurateur.js. */
:root {
  --vr-rouge: #D00000;
  --vr-rouge-fonce: #A30000;
  --vr-rouge-nuit: #B30000;
  --vr-orange: #F89010;
  --vr-bitume: #17181C;
  --vr-carbone: #22242B;
  --vr-encre: #1B1C20;
  --vr-creme: #F8F6F2;
  --vr-gris: #5A5C66;
  --vr-ligne: #E8E6E1;
  --vr-blanc: #FFFFFF;
  --vr-sable: #D6D2CA;
  --vr-filet-clair: rgba(255, 255, 255, .26);
  --vr-filet-sombre: rgba(248, 246, 242, .14);
  --vr-ombre: rgba(52, 6, 0, .5);
  --vr-ombre-nuit: rgba(8, 4, 2, .62);
  --vr-reflet: rgba(255, 255, 255, .3);
  --vr-reflet-chaud: rgba(248, 144, 16, .24);
  --vr-ombre-rvb: 44 24 12; /* ombre chaude en triplet RVB, pour rgb(… / alpha) */
  --vr-calque: rgba(255, 255, 255, .55);
  --vr-trait: #D8D2C6;
  --vr-gris-chaud: #5F5A55; /* même valeur que le gris de charte, sans sa pointe de bleu : réservé aux aplats */
  --vr-titre: Montserrat, "Avenir Next", "Segoe UI", Arial, sans-serif;
  --vr-texte: Lato, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-reduced-motion: no-preference) { :root { scroll-behavior: smooth; } }

/* ---------- Base ---------- */
.vr { --vr-tete: 74px; --vr-coupe: clamp(22px, 4.6vw, 68px); --vr-foc: var(--vr-bitume); --p: .5; --e: 1; --mx: 0; --my: 0; --k: 0;
  font: 400 17px/1.6 var(--vr-texte); color: var(--vr-bitume); background: var(--vr-creme); -webkit-text-size-adjust: 100%; }
.vr *, .vr *::before, .vr *::after { box-sizing: border-box; }
/* remises à zéro en :where() : spécificité nulle, les composants gardent la main */
:where(.vr) :where(h1, h2, h3, p, ul, ol) { margin: 0; padding: 0; }
:where(.vr) :where(ul, ol) { list-style: none; }
:where(.vr) a { color: inherit; }
:where(.vr) button { font: inherit; color: inherit; cursor: pointer; }
.vr button:disabled { cursor: default; opacity: .45; }
.vr :focus-visible { outline: 3px solid var(--vr-foc); outline-offset: 3px; }
.vr [id] { scroll-margin-top: calc(var(--vr-tete) + env(safe-area-inset-top, 0px)); }
.vr-sprite { position: absolute; width: 0; height: 0; }
.vr-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.vr-in { max-width: 1320px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.vr-bande { position: relative; overflow: clip; }
.vr-bande > .vr-in { position: relative; z-index: 1; padding-block: clamp(84px, 11vw, 150px); }
/* coupe en chevron : la couleur de la bande précédente descend sur les côtés */
.vr-bande::before { content: ""; position: absolute; inset: -1px 0 auto; height: var(--vr-coupe); background: var(--vr-avant, transparent); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 0, 0 100%); z-index: 2; pointer-events: none; }
.vr-rougeb { background: var(--vr-rouge); color: var(--vr-blanc); --vr-foc: var(--vr-orange); }
.vr-cremeb { background: var(--vr-creme); color: var(--vr-bitume); --vr-foc: var(--vr-bitume); }
.vr-bitumeb { background: var(--vr-bitume); color: var(--vr-creme); --vr-foc: var(--vr-orange); }
.vr-sur { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font: 700 13px/1.4 var(--vr-titre); letter-spacing: .12em; text-transform: uppercase; }
.vr-cremeb .vr-sur { color: var(--vr-rouge); }
.vr-h2 { font: 900 clamp(2rem, 3.4vw + .9rem, 4rem)/1.03 var(--vr-titre); letter-spacing: -.022em; text-wrap: balance; max-width: 17ch; }
.vr-p { max-width: 62ch; }
.vr-entete { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.vr-pas { display: inline-flex; gap: 6px; }
.vr-pas i { width: 26px; height: 5px; border-radius: 3px; background: currentColor; opacity: .28; }
.vr-pas i.vr-ici { opacity: 1; }
.vr-bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 24px; border: 0; border-radius: 4px; font: 800 16px/1.25 var(--vr-titre); text-decoration: none; text-align: center; }
.vr-bouton--rouge { background: var(--vr-rouge); color: var(--vr-blanc); }
.vr-bouton--rouge:hover { background: var(--vr-rouge-fonce); }
.vr-bouton--orange { background: var(--vr-orange); color: var(--vr-bitume); }
.vr-bouton--orange:hover { background: var(--vr-blanc); }
.vr-bouton--blanc { background: var(--vr-blanc); color: var(--vr-rouge); }
.vr-bouton--blanc:hover { background: var(--vr-creme); color: var(--vr-rouge-fonce); }
.vr-lien { display: inline-flex; align-items: center; min-height: 44px; font: 800 16px/1.3 var(--vr-titre); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.vr-geant { position: absolute; z-index: 0; font: 900 clamp(110px, 24vw, 400px)/.8 var(--vr-titre); letter-spacing: -.045em; white-space: nowrap; pointer-events: none; user-select: none; }

/* ---------- Planning (composant partagé, dimensionné en em) ---------- */
.vr-plan { --pl-fond: var(--vr-bitume); --pl-texte: var(--vr-creme); --pl-trait: var(--vr-filet-sombre); --leve: 1;
  width: 51em; background: var(--pl-fond); color: var(--pl-texte); border-radius: .7em; font-family: var(--vr-titre); transform-style: preserve-3d; }
.vr-plan--clair { --pl-fond: var(--vr-blanc); --pl-texte: var(--vr-bitume); --pl-trait: var(--vr-ligne); border-radius: 0 0 .7em .7em; }
.vr-plan-tete, .vr-plan-ligne { display: grid; grid-template-columns: 11.5em minmax(0, 1fr); transform-style: preserve-3d; border-bottom: 1px solid var(--pl-trait); }
.vr-plan-ligne:last-child { border-bottom: 0; }
.vr-plan-tete { height: 3.2em; align-items: center; }
.vr-plan-tete > span, .vr-plan-jours span { font-weight: 800; font-size: 1.1em; letter-spacing: .1em; text-transform: uppercase; padding-left: .9em; opacity: .78; }
.vr-plan-jours { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.vr-plan-ligne { height: 4.2em; }
.vr-plan-nom { align-self: center; padding-left: .75em; font-weight: 700; font-size: 1.42em; white-space: nowrap; }
.vr-plan-piste { position: relative; transform-style: preserve-3d; background: repeating-linear-gradient(90deg, var(--pl-trait) 0 1px, transparent 1px calc(100% / 7)); }
.vr-barre { --b: var(--vr-orange); --c: var(--vr-bitume); position: absolute; top: .7em; bottom: .7em; left: calc(var(--d) / 7 * 100% + .25em); width: calc(var(--l) / 7 * 100% - .5em);
  display: flex; align-items: center; border-radius: .45em; background: var(--b); color: var(--c); font-style: normal; transform-style: preserve-3d; transform: translateZ(calc(var(--z) * var(--leve) + 2px)); }
.vr-barre::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--vr-ombre-nuit); opacity: .55; filter: blur(.3em);
  transform: translateZ(calc(var(--z) * var(--leve) * -1 - 1px)) translate(calc(var(--z) * var(--leve) * .3), calc(var(--z) * var(--leve) * .42)); }
.vr-barre b { font-weight: 800; font-size: 1.12em; padding-inline: .7em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vr-barre--r { --b: var(--vr-rouge); --c: var(--vr-blanc); }
.vr-barre--c { --b: var(--vr-creme); --c: var(--vr-bitume); }
.vr-barre--n { --b: var(--vr-carbone); --c: var(--vr-creme); }

/* ---------- Étape 1 : haut de page ---------- */
.vr-h > .vr-in { padding-block: 0 clamp(84px, 11vw, 150px); }
.vr-h-haut { --p: 0; display: grid; gap: 4px; padding-top: clamp(28px, 5vw, 64px); }
.vr-h-texte { position: relative; z-index: 2; display: grid; gap: 20px; min-width: 0; }
.vr-h1 { font: 900 clamp(2.5rem, 4.6vw + .9rem, 4.5rem)/.98 var(--vr-titre); letter-spacing: -.028em; text-wrap: balance; }
.vr-h-intro { max-width: 46ch; font-size: clamp(17px, .5vw + 15px, 20px); }
.vr-faits { display: flex; flex-wrap: wrap; gap: 6px 28px; padding-top: 16px; border-top: 1px solid var(--vr-filet-clair); font: 700 15px/1.4 var(--vr-titre); }
.vr-faits strong { font-weight: 900; font-size: 1.25em; }
.vr-h-vue { --leve: calc(1 + var(--p) * 1.6); position: relative; z-index: 1; height: clamp(300px, 84vw, 470px); font-size: min(13px, 1.66vw); } /* la table fait ~58 em de large en perspective : à 1,66vw elle tient dans l'écran du téléphone */
.vr-h-mot { left: 50%; top: 19%; translate: -50% -50%; font-size: clamp(150px, 41vw, 440px); color: var(--vr-rouge-nuit); transform: translate3d(0, calc(var(--p) * 30vh), 0); }
.vr-scene { position: absolute; left: 50%; top: 43%; width: 0; height: 0; perspective: 1250px; z-index: 1; transform: translate3d(0, calc(var(--p) * -9vh), 0); }
.vr-derive { transform-style: preserve-3d; }
.vr-table { position: absolute; left: -25.5em; top: -14.1em; transform-style: preserve-3d;
  transform: rotateX(calc(56deg - var(--p) * 18deg - var(--my) * 6deg)) rotateZ(calc(-27deg + var(--p) * 13deg + var(--mx) * 8deg)); }
.vr-table::before { content: ""; position: absolute; inset: 3em -2em -4em 4em; background: var(--vr-ombre); filter: blur(2.6em); transform: translateZ(-5em); }
.vr-h-chev { position: absolute; z-index: 2; right: -3em; bottom: -1em; width: 15em; height: auto;
  transform: translate3d(0, calc(var(--p) * -46vh), 0) rotate(calc(14deg + var(--p) * 40deg)); }
@keyframes vr-derive { from { transform: rotateZ(-1.4deg) translateZ(0); } to { transform: rotateZ(1.8deg) translateZ(1.4em); } }
.vr-anime .vr-derive { animation: vr-derive 9s ease-in-out infinite alternate; }

/* configurateur */
.vr-conf { position: relative; z-index: 3; display: grid; margin-top: -18px; background: var(--vr-creme); color: var(--vr-bitume); border-radius: 6px; box-shadow: 0 34px 60px -34px var(--vr-ombre-nuit); --vr-foc: var(--vr-bitume); }
.vr-conf-choix { display: grid; gap: 20px; padding: clamp(20px, 3.4vw, 40px); min-width: 0; }
.vr-conf .vr-sur { color: var(--vr-rouge); justify-content: space-between; }
.vr-conf-q { font: 800 clamp(1.5rem, 1.6vw + 1rem, 2.1rem)/1.1 var(--vr-titre); letter-spacing: -.015em; }
.vr-choixs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 216px), 1fr)); gap: 8px; }
.vr-choix { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 60px; padding: 9px 14px; text-align: left; background: var(--vr-blanc); border: 1.5px solid var(--vr-ligne); border-radius: 4px; }
.vr-choix:hover { border-color: var(--vr-bitume); }
.vr-choix small { font: 700 12px/1.2 var(--vr-titre); letter-spacing: .1em; text-transform: uppercase; color: var(--vr-gris); }
.vr-choix span { font: 700 16px/1.25 var(--vr-titre); }
.vr-choix[aria-pressed="true"] { background: var(--vr-rouge); border-color: var(--vr-rouge); color: var(--vr-blanc); }
.vr-choix[aria-pressed="true"] small { color: var(--vr-blanc); }
.vr-conf-suite { justify-self: start; }
.vr-detail { display: grid; align-content: start; gap: 12px; padding: clamp(24px, 3.4vw, 40px); background: var(--vr-bitume); color: var(--vr-creme); border-radius: 0 0 6px 6px; min-width: 0; --vr-foc: var(--vr-orange); }
.vr-detail-gamme { font: 800 13px/1.3 var(--vr-titre); letter-spacing: .14em; text-transform: uppercase; color: var(--vr-orange); }
.vr-detail-nom { font: 900 clamp(1.7rem, 2vw + 1rem, 2.5rem)/1.05 var(--vr-titre); letter-spacing: -.02em; }
.vr-detail-desc { max-width: 44ch; color: var(--vr-sable); }
@media (min-width: 900px) {
  .vr-h-haut { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; gap: 24px; min-height: calc(min(100vh, 880px) - var(--vr-tete) - 96px); min-height: calc(min(100svh, 880px) - var(--vr-tete) - 96px); padding-top: 24px; }
  .vr-h-vue { height: clamp(460px, 46vw, 700px); font-size: clamp(11px, .9vw, 19px); } /* la table entière reste dans l'écran sur les portables courants */
  .vr-h-mot { left: 52%; top: 29%; font-size: clamp(260px, 28vw, 540px); }
  .vr-h-intro { max-width: 40ch; }
  .vr-scene { left: 52%; top: 50%; }
  .vr-h-chev { right: -1em; bottom: 0; width: 11em; }
  .vr-conf { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); margin-top: -8px; }
  .vr-detail { border-radius: 0 6px 6px 0; align-content: center; }
}
@media (min-width: 700px) and (max-width: 899.98px) {
  .vr-h-vue { font-size: min(13px, calc(1.7vw - 1.4px)); } /* une colonne, onglet démo à droite : la table s'arrête avant lui */
}
@media (min-width: 900px) and (max-width: 1359.98px) {
  .vr-h-vue { font-size: calc(.8vw + .8px); } /* deux colonnes, petits portables : à 11 px la table sortait de l'écran à droite */
}

/* ---------- Pile de modules (composant partagé : étape 2 et appel final) ---------- */
/* brique 3D : une boîte = face du dessus + deux chants visibles */
.vr-bx { --x: 0px; --y: 0px; --bw: 100%; --bd: 100%; --z: 0px; --side: var(--top); position: absolute; left: var(--x); top: var(--y); width: var(--bw); height: var(--bd);
  transform-style: preserve-3d; transform: translateZ(calc(var(--z) + var(--h))); background: var(--top); }
.vr-bx::before, .vr-bx::after { content: ""; position: absolute; background-color: var(--side); }
.vr-bx::before { left: 0; top: calc(100% - .5px); width: 100%; height: var(--h); transform-origin: 50% 0; transform: rotateX(-90deg); background-image: linear-gradient(rgb(var(--vr-ombre-rvb) / .22), rgb(var(--vr-ombre-rvb) / .22)); }
.vr-bx::after { right: calc(100% - .5px); top: 0; width: var(--h); height: 100%; transform-origin: 100% 50%; transform: rotateY(-90deg); background-image: linear-gradient(rgb(var(--vr-ombre-rvb) / .46), rgb(var(--vr-ombre-rvb) / .46)); }
/* --w côté d'une plaque, --t épaisseur, --gap écart (suit --e), --up envol des calques, --spin rotation (suit --p), --s rang dans la pile */
.vr-pile { --w: 160px; --t: calc(var(--w) * .055); --gap: calc(var(--w) * .04); --up: calc(var(--w) * .1); --spin: 0deg; position: relative; height: calc(var(--w) * 2.3); perspective: 1500px; perspective-origin: 50% 35%; }
.vr-pile-vue { position: absolute; z-index: 2; left: 50%; bottom: calc(var(--w) * .24); width: var(--w); height: var(--w); margin-left: calc(var(--w) / -2); transform-style: preserve-3d;
  transform: rotateX(calc(58deg - var(--my) * 7deg)) rotateZ(calc(-45deg + var(--mx) * 13deg + var(--spin))); }
.vr-pile-tas { position: absolute; inset: 0; transform-style: preserve-3d; }
.vr-pile-ombre { position: absolute; inset: -6%; background: rgb(var(--vr-ombre-rvb) / .34); filter: blur(16px); transform: translate3d(-12%, 12%, 1px); }
.vr-pl { --h: var(--t); --bd: calc(100% - var(--s) * 9%); --z: calc(var(--z0, 0px) + var(--t) * .7 + var(--s) * (var(--t) + var(--gap))); display: block; }
.vr-pose .vr-pl { transition: transform .65s cubic-bezier(.3, 1.35, .5, 1); } /* classe posée par le script le temps du rebond */
.vr-pl > i { position: absolute; inset: 3%; background: rgb(var(--vr-ombre-rvb) / .3); filter: blur(5px); transform: translate3d(calc(var(--gap) * -.3), calc(var(--gap) * .3), calc(1px - var(--h) - var(--gap))); }
.vr-pl > b { position: absolute; left: 6%; bottom: calc(var(--w) * .01); font: 800 calc(var(--w) * .07)/1 var(--vr-titre); letter-spacing: .02em; text-transform: uppercase; color: var(--ink); transform: translateZ(1px); }
.vr-pl > em { position: absolute; right: 21%; bottom: 7.5%; font: 700 calc(var(--w) * .058)/1 var(--vr-titre); color: var(--ink); transform: translateZ(1px); }
.vr-pl > img { position: absolute; right: 6%; bottom: 5.5%; width: 11%; height: auto; transform: translateZ(1px); }
.vr-pl[data-k="tms"] { --x: -8%; --y: -8%; --bw: 116%; --bd: 146%; --h: calc(var(--t) * 1.7); --z: var(--z0, 0px); }
.vr-pl[data-k="tms"] > b { bottom: 5%; font-size: calc(var(--w) * .15); }
/* module inactif : calque pointillé qui flotte au-dessus de la pile */
.vr .vr-pl[data-off] { --top: var(--vr-calque); --ink: var(--vr-gris); --z: calc(var(--z0, 0px) + var(--up) + var(--t) * .7 + var(--s) * (var(--t) + var(--gap))); outline: 1.5px dashed var(--vr-gris); outline-offset: -1px; }
.vr-pl[data-off]::before, .vr-pl[data-off]::after, .vr-pl[data-off] > i { opacity: 0; }
/* une couleur par module, commune à la plaque et à la pastille de sa carte */
.vr [data-k="tms"] { --top: var(--vr-rouge); --ink: var(--vr-blanc); }
.vr [data-k="fms"] { --top: var(--vr-bitume); --ink: var(--vr-blanc); }
.vr [data-k="ventes"] { --top: var(--vr-orange); --ink: var(--vr-bitume); }
.vr [data-k="rh"] { --top: var(--vr-blanc); --ink: var(--vr-bitume); }
.vr [data-k="achats"] { --top: var(--vr-rouge-fonce); --ink: var(--vr-blanc); }
.vr [data-k="compta"] { --top: var(--vr-sable); --ink: var(--vr-bitume); }
.vr [data-k="tele"] { --top: var(--vr-gris-chaud); --ink: var(--vr-blanc); }
.vr [data-k="connect"] { --top: color-mix(in srgb, var(--vr-orange) 45%, var(--vr-blanc)); --ink: var(--vr-bitume); } /* orange éclairci : les 7 aplats de la charte sont pris */
@keyframes vr-pile-derive { from { transform: rotateZ(-4deg); } to { transform: rotateZ(5deg); } }
@media (hover: none), (pointer: coarse) { .vr-anime .vr-pile-tas { animation: vr-pile-derive 8s ease-in-out infinite alternate; } }

/* ---------- Étape 2 : modules ---------- */
.vr-s { --vr-avant: var(--vr-rouge); }
/* sous 1024px le corps reste en bloc : le bandeau collant a ainsi toute la liste des cartes pour course */
.vr-s-scene { --g: 16px; position: relative; z-index: 5; overflow: clip; display: grid; justify-items: center; max-height: 210px; padding-bottom: 8px;
  margin-left: calc(-1 * max(var(--g), env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(var(--g), env(safe-area-inset-right, 0px))); background: var(--vr-creme); border-bottom: 1.5px solid var(--vr-trait); }
.vr-s-mot { left: 50%; right: auto; top: .14em; translate: -50% 0; color: var(--vr-ligne); font-size: min(104px, 17vw); transform: translate3d(calc((.5 - var(--p)) * 6vw), 0, 0); } /* sous 1024px le mot tient en entier dans le bandeau */
.vr-s-scene .vr-pile { --w: clamp(88px, 26vw, 100px); --gap: calc(var(--w) * .035 + (1 - var(--e)) * var(--w) * .05); --up: calc(var(--w) * .07); --spin: calc((var(--p) - .5) * 26deg); width: 100%; height: calc(var(--w) * 1.8); }
.vr-s-scene .vr-pile-vue { bottom: calc(var(--w) * .17); }
/* légende sur une ligne : si la place manque c'est le métier qui s'abrège, jamais le compte */
.vr-s-legende { position: relative; z-index: 2; display: flex; justify-content: center; gap: .5em; justify-self: stretch; min-width: 0; padding-inline: 16px; font: 800 12px/1.5 var(--vr-titre); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.vr-s-legende > :first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.vr-s-legende > :last-child { flex: none; }
.vr-s-leg-g { display: none; } /* sous 1024px la légende garde le métier entier ; la gamme reste dans le récapitulatif */
.vr-s-col { display: grid; gap: 22px; padding-top: 24px; min-width: 0; }
.vr-s-col > .vr-lien { justify-self: start; }
.vr-mods { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.vr-mod { --rx: 0; --ry: 0; --ro: 0; position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 20px; text-align: left; background: var(--vr-blanc); border: 1px solid var(--vr-ligne); border-radius: 4px;
  transform-style: preserve-3d; transform: perspective(820px) rotateX(calc(var(--ry) * -9deg)) rotateY(calc(var(--rx) * 11deg)); transition: transform .28s ease-out; }
.vr-mod > span { transform: translateZ(22px); }
.vr-mod::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: var(--ro); transition: opacity .3s; transform: translateZ(1px);
  background: radial-gradient(circle at calc(50% + var(--rx) * 50%) calc(50% + var(--ry) * 50%), var(--vr-reflet-chaud), transparent 58%); }
.vr-mod-tag { display: flex; align-items: center; gap: 8px; font: 700 12px/1.2 var(--vr-titre); letter-spacing: .12em; text-transform: uppercase; color: var(--vr-gris); }
/* pastille : la couleur de la plaque du module ; son filet la détache du fond blanc, rouge ou bitume de la carte */
.vr-mod-sw { flex: none; width: 18px; height: 9px; margin-inline: 3px; background: var(--top); border: 1.5px solid var(--vr-gris); transform: skewX(-35deg); } /* en biais comme une plaque, pour ne pas passer pour une case à cocher */
.vr-mod[aria-pressed="true"] .vr-mod-sw { border-color: var(--vr-blanc); border-width: 2px; }
.vr-mod-nom { font: 800 1.2rem/1.2 var(--vr-titre); letter-spacing: -.01em; }
.vr-mod-desc { font-size: 16px; line-height: 1.5; }
.vr-mod-etat { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 5px 12px 5px 9px; border: 1.5px solid currentColor; border-radius: 99px; font: 800 13px/1 var(--vr-titre); }
.vr-mod-etat .vr-ic { width: 16px; height: 16px; }
.vr-mod .vr-ic-coche, .vr-mod[aria-pressed="true"] .vr-ic-plus { display: none; }
.vr-mod[aria-pressed="true"] .vr-ic-coche { display: block; }
.vr-mod[aria-pressed="true"] { background: var(--vr-rouge); border-color: var(--vr-rouge); color: var(--vr-blanc); --vr-foc: var(--vr-bitume); }
.vr-mod[aria-pressed="true"]::after { background: radial-gradient(circle at calc(50% + var(--rx) * 50%) calc(50% + var(--ry) * 50%), var(--vr-reflet), transparent 58%); }
.vr-mod[aria-pressed="true"] .vr-mod-tag { color: var(--vr-blanc); }
.vr-mod[aria-pressed="true"] .vr-mod-etat { background: var(--vr-blanc); border-color: var(--vr-blanc); color: var(--vr-rouge); }
.vr-mod--coeur, .vr-mod--coeur[aria-pressed="true"] { grid-column: 1 / -1; min-height: 0; background: var(--vr-bitume); border-color: var(--vr-bitume); color: var(--vr-creme); cursor: default; }
.vr-mod--coeur > span { transform: translateZ(5px); }
.vr-mod--coeur .vr-mod-nom { font-size: clamp(1.35rem, 1.4vw + 1rem, 2rem); font-weight: 900; }
.vr-mod--coeur[aria-pressed="true"] .vr-mod-tag { color: var(--vr-orange); }
.vr-mod--coeur[aria-pressed="true"] .vr-mod-etat { background: var(--vr-orange); border-color: var(--vr-orange); color: var(--vr-bitume); }
.vr-recap { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 2.6vw, 32px); background: var(--vr-bitume); color: var(--vr-creme); border-radius: 6px; min-width: 0; --vr-foc: var(--vr-orange); }
.vr-recap-titre { font: 800 13px/1.3 var(--vr-titre); letter-spacing: .14em; text-transform: uppercase; color: var(--vr-orange); }
.vr-recap-metier { font: 800 1.25rem/1.25 var(--vr-titre); }
.vr-recap-n { font: 900 clamp(2.2rem, 2vw + 1.6rem, 3rem)/1 var(--vr-titre); letter-spacing: -.02em; }
.vr-recap-liste { display: grid; gap: 8px; padding-block: 14px; border-block: 1px solid var(--vr-filet-sombre); }
.vr-recap-liste li { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 16px; line-height: 1.4; }
.vr-recap-liste li::before { content: ""; width: 8px; height: 8px; background: var(--vr-orange); }
.vr-recap-note { font-size: 15px; color: var(--vr-sable); }
@media (min-width: 700px) { .vr-s-scene { --g: 32px; } }
/* bandeau épinglé sous l'en-tête, sauf fenêtre basse (téléphone en paysage) où il mangerait l'écran */
@media (min-height: 680px) { .vr-s-scene { position: sticky; top: calc(var(--vr-tete) + env(safe-area-inset-top, 0px)); } }
/* le bandeau épinglé ne doit pas masquer la carte qui reçoit le focus au clavier */
@media (max-width: 1023.98px) and (min-height: 680px) { .vr-mod, .vr-s-col > .vr-lien { scroll-margin-top: calc(var(--vr-tete) + env(safe-area-inset-top, 0px) + 226px); } }
@media (max-width: 1023.98px) {
  .vr-pl > em { display: none; } /* libellé de gamme illisible à cette taille */
  .vr-recap { position: relative; z-index: 6; } /* le récapitulatif passe par-dessus le bandeau épinglé, qui dirait deux fois la même chose */
}
/* tablette : une pile plus grande dans un bandeau plus haut */
@media (min-width: 700px) and (max-width: 1023.98px) {
  .vr-s-scene { max-height: 290px; }
  .vr-s-scene .vr-pile { --w: clamp(100px, 16vw, 140px); }
}
@media (min-width: 700px) and (max-width: 1023.98px) and (min-height: 680px) { .vr-mod, .vr-s-col > .vr-lien { scroll-margin-top: calc(var(--vr-tete) + env(safe-area-inset-top, 0px) + 306px); } }
@media (min-width: 1024px) {
  .vr-s-corps { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 40px; }
  .vr-s-scene { position: sticky; top: calc(var(--vr-tete) + env(safe-area-inset-top, 0px) + 20px); overflow-x: clip; overflow-y: visible; gap: 6px; max-height: none; margin-inline: 0; padding-bottom: 0; background: transparent; border-bottom: 0; }
  .vr-s-scene .vr-pile { --w: max(130px, min(clamp(170px, 17vw, 240px), calc((100vh - 430px) / 1.85))); /* fenêtre basse : la pile rétrécit pour rester visible avec sa légende à l'arrivée par l'ancre */ --gap: calc(var(--w) * .04 + (1 - var(--e)) * var(--w) * .07); --up: calc(var(--w) * .1); height: calc(var(--w) * 1.85); }
  .vr-s-scene .vr-pile-vue { bottom: calc(var(--w) * .24); }
  /* le mot part du bord gauche et se coupe net au bord de la colonne (on lit « MODU », comme « PLANNI » plus bas) : il ne passe jamais sous les cartes */
  .vr-s-mot { left: -.04em; right: auto; translate: none; font-size: clamp(120px, 12vw, 200px); transform: translate3d(calc((.5 - var(--p)) * 6vw), 0, 0); }
  /* à l'arrivée par l'ancre, la pile et sa légende tiennent au-dessus de la ligne de flottaison */
  .vr-s .vr-h2 { max-width: 24ch; }
  .vr-s .vr-entete { margin-bottom: 32px; }
  .vr-s-legende { font-size: 13px; }
  .vr-s-leg-g { display: inline; }
  .vr-s-col { padding-top: 0; }
  .vr-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vr-mod:not(.vr-mod--coeur) { min-height: 196px; }
}

/* ---------- Produit : séquence épinglée ---------- */
.vr-pr { --vr-avant: var(--vr-creme); }
.vr-pr > .vr-in { padding-bottom: clamp(48px, 6vw, 84px); }
.vr-pr-intro { display: grid; gap: 20px; }
.vr-pr-intro .vr-h2 { max-width: 15ch; }
.vr-pr-texte { display: grid; gap: 10px; justify-items: start; color: var(--vr-sable); }
.vr-pr-texte .vr-lien { color: var(--vr-creme); }
.vr-pr-piste { --p: 1; position: relative; margin-top: clamp(28px, 4vw, 56px); }
.vr-pr-scene { --q: min(1, calc(var(--p) * 1.32)); position: relative; display: grid; place-items: center; padding-bottom: 24px; perspective: 1500px; font-size: min(clamp(6.5px, 1.74vw, 20px), 2.05vh); }
.vr-pr-mot { left: 50%; top: 18%; translate: -50% -50%; color: var(--vr-carbone); font-size: clamp(110px, 25vw, 430px); transform: translate3d(calc((.5 - var(--p)) * 36vw), 0, 0); }
.vr-pr-devant { left: 50%; bottom: 4%; top: auto; translate: -50% 0; z-index: 2; font-size: clamp(44px, 8.9vw, 157px); /* « CHAQUE MATIN » aussi large que l'ancien « DÈS LUNDI » */ color: var(--vr-bitume); -webkit-text-stroke: 4px var(--vr-orange); paint-order: stroke fill; display: none; }
.vr-fen { --leve: calc((1 - var(--q)) * .62); position: relative; z-index: 1; background: var(--vr-creme); border-radius: .9em; box-shadow: 0 3em 6em -1.5em var(--vr-ombre-nuit); transform-style: preserve-3d;
  transform: translate3d(0, calc((1 - var(--q)) * 3em), 0) rotateX(calc((1 - var(--q)) * 58deg - var(--my) * 4deg)) rotateY(calc(var(--mx) * 6deg)) rotateZ(calc((1 - var(--q)) * -21deg)) scale(calc(1.2 - var(--q) * .2)); }
.vr-fen-barre { display: flex; align-items: center; gap: 1.2em; height: 3.4em; padding-inline: 1.2em; color: var(--vr-bitume); font: 700 1.3em/1 var(--vr-titre); }
.vr-fen-barre i { display: flex; gap: .45em; }
.vr-fen-barre i::before, .vr-fen-barre i::after { content: ""; width: .8em; height: .8em; border-radius: 50%; background: var(--vr-rouge); }
.vr-fen-barre i::after { background: var(--vr-orange); }
.vr-fen .vr-plan { --leve: inherit; }
.vr-anime .vr-pr-piste { height: 210vh; }
.vr-anime .vr-pr-scene { position: sticky; top: calc(var(--vr-tete) + env(safe-area-inset-top, 0px)); height: calc(100vh - var(--vr-tete)); height: calc(100svh - var(--vr-tete) - env(safe-area-inset-top, 0px)); padding-bottom: 0; }
.vr-anime .vr-pr-devant { display: block; opacity: calc(1 - var(--q)); transform: translate3d(calc((var(--p) - .5) * 44vw), calc(var(--q) * 16vh), 0); }
/* petit écran : la fenêtre ne remplit pas un écran haut ; scène à sa mesure, et piste juste assez longue pour que la section suivante remonte dès l'épinglage (course d'au moins 32vh) */
@supports (height: 100svh) {
  @media (max-width: 899.98px) {
    .vr-anime .vr-pr-piste { --vr-pr-h: min(calc(100svh - var(--vr-tete) - env(safe-area-inset-top, 0px)), calc(86vw + 80px)); height: max(calc(var(--vr-pr-h) + 32vh), calc(100svh - var(--vr-tete) - 48px)); }
    .vr-anime .vr-pr-scene { height: var(--vr-pr-h); }
  }
}
@media (min-width: 900px) {
  .vr-pr-intro { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 48px; }
}

/* ---------- Étape 3 : la route des PK ---------- */
.vr-d { --vr-avant: var(--vr-bitume); }
.vr-d-corps { display: grid; gap: 24px; grid-template-areas: "route" "pks" "fiche"; }
.vr-route { grid-area: route; position: relative; height: clamp(250px, 62vw, 460px); overflow: clip; font-size: clamp(8.5px, .9vw + 5px, 14px); border-bottom: 2px solid var(--vr-filet-clair);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, var(--vr-bitume) 15%); mask-image: linear-gradient(to bottom, transparent 0, var(--vr-bitume) 15%); }
.vr-route-persp { --av: calc(var(--k) + (var(--p) - .5) * .9); position: absolute; inset: 0; perspective: 620px; perspective-origin: 50% 22%; }
.vr-chaussee, .vr-bornes { position: absolute; left: 56%; bottom: -1em; width: 22em; height: 200em; margin-left: -11em; transform-origin: 50% 100%; transform: rotateX(72deg); }
.vr-chaussee { background: var(--vr-bitume); overflow: clip; }
.vr-tapis { position: absolute; left: 0; right: 0; bottom: 0; height: 400em; transform: translate3d(0, calc(var(--av) * 24em), 0);
  background: repeating-linear-gradient(to top, var(--vr-creme) 0 3.6em, transparent 3.6em 9em) 50% 0 / .55em 100% no-repeat,
    linear-gradient(var(--vr-creme), var(--vr-creme)) 1em 0 / .3em 100% no-repeat, linear-gradient(var(--vr-creme), var(--vr-creme)) calc(100% - 1em) 0 / .3em 100% no-repeat; }
.vr-bornes { transform-style: preserve-3d; }
/* la borne est en font-size 2.5em : ses longueurs sont celles de la route divisées par 2,5 (24em de route = 9.6em ici) */
.vr-borne { position: absolute; left: -3.5em; bottom: calc(var(--i) * 9.6em + 2.6em); width: 2.9em; height: 3.8em; display: grid; align-content: end; justify-items: center; padding-bottom: .4em;
  background: linear-gradient(var(--vr-orange) 0 1.05em, var(--vr-creme) 1.05em); color: var(--vr-bitume); border-radius: 1.45em 1.45em .1em .1em; font: 900 2.5em/1 var(--vr-titre);
  transform-origin: 50% 100%; transform: translate3d(0, calc(var(--av) * 9.6em), 0) rotateX(-90deg); transition: opacity .3s .25s; }
.vr-borne small { font: 800 .42em/1.2 var(--vr-titre); letter-spacing: .1em; }
.vr-borne.vr-ici { background: var(--vr-orange); }
.vr-borne.vr-passee { opacity: 0; }
.vr-pks { grid-area: pks; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.vr-pk { display: grid; gap: 2px; align-content: center; min-height: 52px; padding: 8px 10px; text-align: left; background: transparent; border: 1.5px solid var(--vr-filet-clair); border-radius: 4px; font: 800 15px/1.2 var(--vr-titre); min-width: 0; }
.vr-pk small { display: block; font: 700 13px/1.25 var(--vr-titre); }
.vr-pk:hover { border-color: var(--vr-blanc); }
.vr-pk[aria-pressed="true"] { background: var(--vr-blanc); border-color: var(--vr-blanc); color: var(--vr-rouge); }
.vr-fiche { grid-area: fiche; display: grid; gap: 18px; align-content: start; min-width: 0; }
.vr-fiche-txt { display: grid; gap: 14px; min-width: 0; }
.vr-fiche-pk { font: 900 clamp(4.4rem, 9vw + 1.6rem, 9.5rem)/.86 var(--vr-titre); letter-spacing: -.045em; }
.vr-fiche-nom { font: 900 clamp(1.6rem, 1.6vw + 1.1rem, 2.4rem)/1.1 var(--vr-titre); letter-spacing: -.015em; }
.vr-fiche-desc { max-width: 44ch; min-height: 4.8em; font-size: clamp(17px, .4vw + 15.5px, 19px); }
.vr-fiche-nav { display: flex; align-items: center; gap: 10px; }
.vr-fleche { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; background: transparent; border: 1.5px solid var(--vr-blanc); border-radius: 4px; }
.vr-fleche:hover:not(:disabled) { background: var(--vr-blanc); color: var(--vr-rouge); }
.vr-jauge { flex: 1; height: 6px; background: var(--vr-filet-clair); border-radius: 3px; overflow: hidden; min-width: 0; }
.vr-jauge span { display: block; height: 100%; background: var(--vr-blanc); transform-origin: 0 50%; transform: scaleX(var(--part, .125)); transition: transform .45s ease-out; }
@media (min-width: 720px) {
  .vr-pks { grid-template-columns: repeat(4, minmax(0, 1fr)); } /* 8 colonnes avant 1024 px : « Adaptation », « Démarrage » débordaient de leur bouton, et sur le voisin avec l'espacement du texte élargi */
  .vr-pk { min-height: 72px; align-content: start; padding: 10px; }
}
@media (min-width: 1024px) {
  .vr-pks { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .vr-d-corps { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-areas: "fiche route" "pks pks"; gap: 28px 40px; align-items: end; }
  .vr-route { height: clamp(380px, 36vw, 540px); }
}

/* ---------- FAQ ---------- */
.vr-f { --vr-avant: var(--vr-rouge); }
.vr-f-chev { position: absolute; z-index: 0; left: -7vw; bottom: -6vw; width: clamp(220px, 34vw, 520px); height: auto; opacity: .16; transform: translate3d(0, calc((.5 - var(--p)) * 30vh), 0) rotate(calc(-10deg + var(--p) * 22deg)); }
.vr-f-corps { display: grid; gap: 8px; }
.vr-f-corps .vr-entete { align-content: start; }
.vr-faq { border-top: 2px solid var(--vr-bitume); }
.vr-faq details { border-bottom: 1px solid var(--vr-bitume); }
.vr-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding-block: 16px; cursor: pointer; list-style: none; font: 800 clamp(1.05rem, .5vw + 1rem, 1.3rem)/1.3 var(--vr-titre); }
.vr-faq summary::-webkit-details-marker { display: none; }
.vr-faq summary .vr-ic { width: 24px; height: 24px; color: var(--vr-rouge); transition: transform .25s; }
.vr-faq details[open] summary .vr-ic { transform: rotate(45deg); }
.vr-faq details p { max-width: 62ch; padding-bottom: 24px; }
@media (min-width: 960px) {
  .vr-f-corps { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; }
  .vr-f-corps .vr-entete { position: sticky; align-self: start; top: calc(var(--vr-tete) + env(safe-area-inset-top, 0px) + 32px); }
}

/* ---------- Appel final ---------- */
.vr-x { --vr-avant: var(--vr-creme); }
.vr-x-mot { right: -.05em; bottom: -.08em; color: var(--vr-rouge-nuit); font-size: clamp(150px, 34vw, 560px); transform: translate3d(calc((var(--p) - .5) * -30vw), 0, 0); }
.vr-x-corps { display: grid; gap: 28px 48px; align-items: center; }
.vr-x-t { display: grid; gap: 26px; justify-items: start; min-width: 0; }
/* la pile de la configuration, posée sur un plateau crème : seuls les modules actifs y figurent */
.vr-x .vr-pile { --w: clamp(112px, 30vw, 170px); --z0: calc(var(--t) * 1.2); --gap: calc(2px + (1 - var(--e)) * var(--w) * .16); --spin: calc((var(--p) - .5) * 40deg); height: calc(var(--w) * 1.75); min-width: 0; }
.vr-x .vr-pile-vue { bottom: calc(var(--w) * .46); }
.vr-x .vr-pl[data-off] { display: none; }
/* calques inactifs : ni ombre floue ni chants, moins de calques composités sur téléphone */
.vr-pl[data-off] > i { display: none; }
.vr-pl[data-off]::before, .vr-pl[data-off]::after { content: none; }
.vr-veille, .vr-veille * { animation-play-state: paused; } /* sections hors écran : dérives à l'arrêt */
/* téléphone en paysage : titre et table côte à côte dans le premier écran */
@media (min-width: 700px) and (max-height: 500px) {
  .vr-h-haut { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding-top: 16px; }
  .vr-h1 { font-size: 2.4rem; }
  .vr-h-vue { height: 290px; font-size: 7.5px; }
  .vr-h-mot { font-size: 220px; top: 30%; }
}
@media (max-width: 1023.98px) { .vr-x .vr-pile { margin-top: calc(var(--w) * .3); } } /* pile complète : son sommet ne touche plus le bouton */
@media (max-width: 1023.98px) { .vr-x-mot { font-size: 24vw; left: 50%; right: auto; translate: -50% 0; transform: none; } } /* « 45 MIN » entier : en 150 px, il sortait de l'écran et se lisait « 5 MIN » */
.vr-plateau { --x: -32%; --y: -32%; --bw: 164%; --bd: 192%; --h: calc(var(--t) * 1.2); --top: var(--vr-creme); }
.vr-x .vr-pile-ombre { inset: -34% -34% -62%; background: rgb(var(--vr-ombre-rvb) / .5); }
.vr-x-vue { perspective: 900px; }
.vr-panneau { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 18px 24px; background: var(--vr-bitume); color: var(--vr-creme); border-radius: 8px; outline: 2px solid var(--vr-creme); outline-offset: -8px;
  font: 800 clamp(14px, .7vw + 12px, 20px)/1.25 var(--vr-titre); letter-spacing: .08em; text-transform: uppercase; box-shadow: 18px 26px 40px -18px var(--vr-ombre-nuit);
  transform-origin: 0 50%; transform-style: preserve-3d; transform: rotateY(calc(36deg - var(--p) * 46deg + var(--mx) * 10deg)) rotateX(calc(var(--my) * -7deg)); }
.vr-panneau span { display: inline-block; transform: translateZ(16px); }
.vr-panneau .vr-or { color: var(--vr-orange); }
.vr-x .vr-h2 { font-size: clamp(2.5rem, 6vw + .8rem, 6.4rem); line-height: .96; max-width: 12ch; }
.vr-x-texte { max-width: 52ch; font-size: clamp(17px, .5vw + 15.5px, 21px); }
.vr-x .vr-bouton { min-height: 60px; padding-inline: 30px; font-size: clamp(16px, .4vw + 15px, 19px); }
@media (min-width: 1024px) {
  .vr-x-corps { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .vr-x .vr-h2 { font-size: clamp(2.5rem, 4.2vw + .8rem, 5.2rem); }
  .vr-x .vr-pile { --w: clamp(150px, 14vw, 210px); }
  /* le mot reste dans la moitié droite, derrière la pile : rien sous le texte */
  .vr-x-mot { font-size: clamp(150px, 14.5vw, 300px); transform: translate3d(calc((.5 - var(--p)) * 10vw), 0, 0); } /* centré sur l'arrivée par l'ancre : « 30 MIN » entier */
}

@media (min-width: 700px) {
  .vr-in { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .vr *, .vr *::before, .vr *::after { animation: none !important; transition: none !important; }
}

/* ===== Contact : prise de rendez-vous (lien vers Nextcloud Appointments, Tec6) ===== */
/* Carte de réservation de la page Contact : panneau rouge (le rendez-vous) + choix du créneau */
.rdv-carte { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 1fr; background: var(--blanc); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(23, 24, 28, .45); border: 1px solid var(--ligne); }
@media (min-width: 820px) { .rdv-carte { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.rdv-carte h3 { font-family: var(--display); font-weight: 900; font-size: 1.45rem; line-height: 1.2; text-wrap: balance; margin: 0; }
.rdv-carte ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rdv-carte__infos { background: var(--rouge); color: var(--blanc); padding: 32px 28px; display: grid; gap: 18px; align-content: start; }
.rdv-carte__eyebrow { font: 800 .75rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #FFD9A8; }
.rdv-carte__meta li { font-weight: 700; padding-left: 26px; position: relative; }
.rdv-carte__meta li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D00000' stroke-width='4'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.rdv-carte__resa { padding: 32px 28px; display: grid; gap: 18px; justify-items: start; align-content: start; }
.rdv-carte__points li { padding-left: 22px; position: relative; }
.rdv-carte__points li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; background: var(--orange); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.rdv-carte__dispos { width: 100%; background: var(--creme); border-radius: 10px; padding: 14px 16px; display: grid; gap: 4px; }
.rdv-carte__dispos span { font: 800 .75rem/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.rdv-carte .rdv-carte__jours { display: flex; flex-wrap: wrap; gap: 4px 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rdv-carte .btn { min-height: 48px; }
.rdv-carte__note { margin: 0; font-size: .9rem; color: var(--gris); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rdv__ou { max-width: 640px; margin: 48px auto 20px; font-family: var(--display); font-weight: 800; font-size: 1.15rem; text-align: center; }

/* Captures d'écran du TMS (vialtic_ecran() dans functions.php) */
.ecrans { display: grid; gap: 40px; }
.ecran { margin: 0; }
.ecran a { display: block; overflow: hidden; border-radius: 12px; border: 1px solid rgba(26, 26, 26, .1); background: #fff; box-shadow: 0 24px 48px -24px rgba(26, 26, 26, .35); transition: transform .2s ease, box-shadow .2s ease; }
.ecran a:hover { transform: translateY(-2px); box-shadow: 0 28px 56px -24px rgba(26, 26, 26, .45); }
.ecran a:focus-visible { outline: 3px solid #F89010; outline-offset: 4px; }
.ecran img { display: block; width: 100%; height: auto; }
.ecran figcaption { margin-top: 12px; font-size: .95rem; line-height: 1.5; }
@media (min-width: 900px) { .ecrans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .ecran a { transition: none; } .ecran a:hover { transform: none; } }
/* Capture réelle dans la fenêtre 3D de l'accueil (même largeur que l'ancien planning dessiné) */
.vr-fen-img { display: block; width: 51em; height: auto; border-radius: 0 0 .7em .7em; }
.vr-ec-grille { margin-top: clamp(28px, 4vw, 56px); }
/* Bande « Découvrez l'interface » (crème) entre #produit (bitume) et #deploiement */
.vr-ec { --vr-avant: var(--vr-bitume); }
.vr-ec + .vr-d { --vr-avant: var(--vr-creme); }
.vr-ec .vr-pr-texte, .vr-ec .vr-pr-texte .vr-lien { color: var(--vr-bitume); }
/* ===== Qui sommes-nous (page-qui-sommes-nous.php) =====
   Réutilise la base « Plein rouge » (.vr, bandes, boutons). Frise en route à bornes kilométriques,
   panneaux directionnels en 3D. Mouvement au scroll en CSS pur (animation-timeline), absent si non pris en charge ou mouvement réduit. */
.vr-q-h > .vr-in { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 88px) clamp(84px, 11vw, 150px); }
.vr-q-h-texte { display: grid; gap: 20px; min-width: 0; }
.vr-q-poteau { position: relative; display: grid; gap: 14px; justify-items: center; padding-block: 8px 40px; perspective: 900px; }
.vr-q-poteau::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 14px; margin-left: -7px; background: var(--vr-bitume); border-radius: 3px 3px 0 0; }
.vr-q-pan { --ry: calc((var(--i) - 1.5) * 9deg); position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; width: min(100%, 340px); padding: 14px 44px 14px 22px;
  background: var(--vr-creme); color: var(--vr-bitume); outline: 3px solid var(--vr-bitume); outline-offset: -9px;
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%); transform: rotateY(var(--ry)); transform-style: preserve-3d;
  filter: drop-shadow(14px 18px 0 rgb(var(--vr-ombre-rvb) / .35)); }
.vr-q-pan b { font: 900 clamp(18px, 1vw + 14px, 26px)/1.1 var(--vr-titre); letter-spacing: .02em; text-transform: uppercase; }
.vr-q-pan small { font: 800 15px/1 var(--vr-titre); color: var(--vr-rouge); }
.vr-q-pan--g { padding: 14px 22px 14px 44px; clip-path: polygon(12% 0, 100% 0, 100% 100%, 12% 100%, 0 50%); flex-direction: row-reverse; }
.vr-q-pan--or { background: var(--vr-orange); }
.vr-q-pan--or small { color: var(--vr-bitume); }

/* Frise : une chaussée verticale, une borne PK par jalon */
.vr-q-frise { --route: 56px; position: relative; display: grid; gap: clamp(28px, 4vw, 44px); }
.vr-q-frise::before, .vr-q-frise::after { content: ""; position: absolute; top: -24px; bottom: -24px; left: 0; width: var(--route); }
.vr-q-frise::before { background: var(--vr-bitume); border-radius: 6px; }
.vr-q-frise::after { left: calc(var(--route) / 2 - 2px); width: 4px; background: repeating-linear-gradient(to bottom, var(--vr-creme) 0 22px, transparent 22px 44px); }
.vr-q-frise > li { position: relative; z-index: 1; display: grid; grid-template-columns: var(--route) minmax(0, 1fr); gap: 0 20px; align-items: start; perspective: 1000px; }
.vr-q-pk { grid-column: 1; justify-self: center; display: grid; justify-items: center; width: 50px; padding: 12px 0 8px; margin-top: 6px; background: var(--vr-blanc); color: var(--vr-bitume);
  border-radius: 25px 25px 4px 4px; border-top: 13px solid var(--vr-rouge); box-shadow: 0 6px 0 rgb(var(--vr-ombre-rvb) / .25); font: 900 14px/1.1 var(--vr-titre); }
.vr-q-pk small { font: 800 9px/1 var(--vr-titre); letter-spacing: .12em; }
.vr-q-ici .vr-q-pk { border-top-color: var(--vr-orange); }
.vr-q-etape { grid-column: 2; display: grid; gap: 8px; min-width: 0; padding: clamp(18px, 2.4vw, 28px); background: var(--vr-blanc); border-radius: 8px; border-left: 5px solid var(--vr-rouge); box-shadow: 0 18px 36px -24px rgb(var(--vr-ombre-rvb) / .5); }
.vr-q-ici .vr-q-etape { border-left-color: var(--vr-orange); }
.vr-q-etape h3 { font: 800 clamp(19px, .6vw + 16px, 24px)/1.2 var(--vr-titre); }
.vr-q-etape p { color: var(--vr-gris); }

/* Raison d'être, engagements, équipe, repères */
.vr-q-deux { display: grid; gap: 8px 64px; }
.vr-q-texte { display: grid; gap: 18px; max-width: 62ch; font-size: clamp(17px, .3vw + 16px, 19px); }
.vr-q-guides, .vr-q-gens { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; margin-top: clamp(40px, 5vw, 64px); }
.vr-q-gens { margin-top: 0; }
.vr-q-guides li { display: grid; align-content: start; gap: 10px; padding: 24px; background: var(--vr-carbone); border-top: 4px solid var(--vr-orange); border-radius: 6px; }
.vr-q-guides h3, .vr-q-gens h3 { font: 800 20px/1.2 var(--vr-titre); }
.vr-q-guides p { color: var(--vr-sable); }
.vr-q-gens li { display: grid; align-content: start; gap: 8px; padding: 26px 24px; background: var(--vr-blanc); border-radius: 8px; box-shadow: 0 18px 36px -24px rgb(var(--vr-ombre-rvb) / .5); transition: transform .3s; }
.vr-q-gens li:hover { transform: perspective(800px) rotateX(4deg) translateY(-4px); }
.vr-q-gens p { color: var(--vr-gris); }
.vr-q-role { font: 800 12px/1.3 var(--vr-titre); letter-spacing: .12em; text-transform: uppercase; color: var(--vr-rouge); }
.vr-q-reperes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 28px 32px; margin: clamp(28px, 4vw, 48px) 0; }
@media (min-width: 700px) { .vr-q-reperes { grid-template-columns: repeat(3, 1fr); } }
.vr-q-reperes > div { display: grid; align-content: start; gap: 6px; padding-top: 16px; border-top: 2px solid var(--vr-filet-clair); }
.vr-q-reperes dt { font: 900 clamp(2.6rem, 3vw + 1.4rem, 4.2rem)/1 var(--vr-titre); letter-spacing: -.02em; }
.vr-q-reperes dd { margin: 0; font-size: 16px; }
.vr-q-fin > .vr-in { display: grid; gap: 22px; justify-items: start; }

@media (min-width: 1024px) {
  .vr-q-h > .vr-in { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .vr-q-deux { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
  /* chaussée au centre, jalons en quinconce */
  .vr-q-frise { --route: 72px; }
  .vr-q-frise::before { left: calc(50% - var(--route) / 2); }
  .vr-q-frise::after { left: calc(50% - 2px); }
  .vr-q-frise > li { grid-template-columns: minmax(0, 1fr) var(--route) minmax(0, 1fr); gap: 0 28px; }
  .vr-q-pk { grid-column: 2; grid-row: 1; width: 58px; font-size: 15px; }
  .vr-q-frise > li:nth-child(odd) .vr-q-etape { grid-column: 1; grid-row: 1; border-left: 0; border-right: 5px solid var(--vr-rouge); text-align: right; }
  .vr-q-frise > li.vr-q-ici:nth-child(odd) .vr-q-etape { border-right-color: var(--vr-orange); }
  .vr-q-frise > li:nth-child(even) .vr-q-etape { grid-column: 3; }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* panneaux : ils pivotent face au lecteur pendant le premier écran de scroll */
    .vr-q-pan { animation: vr-q-pivot linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    /* marquage au sol qui défile, jalons qui se redressent en arrivant */
    .vr-q-frise::after { animation: vr-q-defile linear both; animation-timeline: view(); }
    .vr-q-etape, .vr-q-pk { animation: vr-q-arrive linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .vr-q-reperes > div { animation: vr-q-monte linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
  }
}
@keyframes vr-q-pivot { from { transform: rotateY(calc(var(--ry) - 38deg)); } to { transform: rotateY(calc(var(--ry) * -1)); } }
@keyframes vr-q-defile { from { background-position: 0 0; } to { background-position: 0 440px; } }
@keyframes vr-q-arrive { from { opacity: 0; transform: rotateX(28deg) translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes vr-q-monte { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* Le groupe : les quatre sociétés autour de la libellule, comme sur le visuel du groupe */
.vr-blancb { background: var(--vr-blanc); color: var(--vr-bitume); --vr-foc: var(--vr-bitume); }
.vr-blancb .vr-sur { color: var(--vr-rouge); }
.vr-q-groupe-intro { max-width: 62ch; margin-top: 14px; font-size: clamp(17px, .3vw + 16px, 19px); color: var(--vr-gris); }
.vr-q-galaxie { display: grid; gap: 18px; margin-top: clamp(36px, 5vw, 64px); }
.vr-q-libellule { justify-self: center; width: min(220px, 60%); height: auto; }
.vr-q-societe { --c: var(--vr-rouge); display: grid; justify-items: center; align-content: start; gap: 6px; padding: 28px 24px 26px; text-align: center; background: var(--vr-blanc); border-top: 6px solid var(--c); border-radius: 10px; box-shadow: 0 18px 40px -26px rgb(var(--vr-ombre-rvb) / .55), 0 0 0 1px var(--vr-ligne); }
.vr-q-societe img { height: 64px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 10px; }
.vr-q-societe--vialtic img { height: 40px; margin-block: 12px 22px; }
.vr-q-societe--augmenticom img { height: 92px; margin-bottom: 4px; }
.vr-q-societe h3 { font: 800 19px/1.2 var(--vr-titre); }
.vr-q-societe ul { display: grid; gap: 2px; color: var(--vr-gris); }
.vr-q-societe--teliae { --c: #F0A00A; }
.vr-q-societe--tec6 { --c: #3F08A6; }
.vr-q-societe--augmenticom { --c: #45B54D; }
.vr-q-societe--vialtic { --c: var(--vr-rouge); }
@media (min-width: 700px) { .vr-q-galaxie { grid-template-columns: 1fr 1fr; } .vr-q-libellule { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  /* même disposition que le visuel : Teliae en haut, Tec6 à gauche, Augmenticom à droite, Vialtic en bas */
  .vr-q-galaxie { grid-template-columns: 1fr minmax(200px, .8fr) 1fr; grid-template-areas: ". teliae ." "tec6 lib augmenticom" ". vialtic ."; align-items: center; gap: 22px 28px; }
  .vr-q-libellule { grid-area: lib; grid-column: auto; width: 100%; padding: 30px; aspect-ratio: 1; object-fit: contain; border-radius: 50%; box-shadow: inset 0 0 40px rgb(0 0 0 / .08); }
  .vr-q-societe--teliae { grid-area: teliae; } .vr-q-societe--tec6 { grid-area: tec6; } .vr-q-societe--augmenticom { grid-area: augmenticom; } .vr-q-societe--vialtic { grid-area: vialtic; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .vr-q-societe { animation: vr-q-arrive linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}
.vr-q-lien--groupe { margin-top: clamp(32px, 4vw, 48px); text-align: center; }
.fonction-logo { display: block; height: 44px; width: auto; max-width: 100%; margin-bottom: 14px; }

/* ===== Effets d'animation ajoutés le 15/11/2026 (préfixe woaw-) =====
   Trois effets indépendants : entrée en scène (CSS, compteurs dans reveal.js), phares et curseur-GPS (reveal.js),
   véhicule du métier (front-page.php, configurateur.js). Chacun se retire sans toucher les autres. */

/* ---------- Entrée en scène : le haut de page se met en place à l'ouverture ----------
   Tout est joué par des animations CSS en `backwards` : avant leur départ elles tiennent l'image de départ,
   après leur fin elles ne s'appliquent plus, et la page retrouve exactement ses valeurs d'origine.
   Les images clés n'écrivent jamais `transform` : translate / rotate / scale se composent avec les
   transform pilotés par --p, --mx et --my. */

@media (prefers-reduced-motion: no-preference) {

  /* ---------- Texte du haut de page (accueil, Qui sommes-nous, héros sombre) ---------- */
  /* le titre est peint dès la première image : il se dévoile de haut en bas, sans passer par opacity: 0 */
  .vr-h1, .hero h1 { animation: woaw-titre .6s cubic-bezier(.2, .7, .2, 1) backwards; }
  :is(.vr-h-texte, .vr-q-h-texte, .hero .wrap) > :not(h1) { animation: woaw-leve .5s ease-out .15s backwards; }
  :is(.vr-h-texte, .vr-q-h-texte, .hero .wrap) > .vr-sur { animation-delay: .25s; }
  :is(.vr-h-texte, .vr-q-h-texte, .hero .wrap) > h1 ~ * { animation-delay: .4s; }
  :is(.vr-h-texte, .vr-q-h-texte, .hero .wrap) > h1 ~ * ~ * { animation-delay: .55s; }

  /* ---------- Accueil : le planning se construit ---------- */
  .vr-h-mot { animation: woaw-mot .8s cubic-bezier(.2, .7, .2, 1) backwards; }
  /* l'opacité est portée par .vr-scene : sur un élément preserve-3d elle aplatirait les barres */
  .vr-h-vue .vr-scene { animation: woaw-table .6s cubic-bezier(.2, .7, .2, 1) .1s backwards; }
  .vr-h-chev { animation: woaw-chevron .45s cubic-bezier(.3, 1.5, .6, 1) 1.1s backwards; }

  /* les 12 missions tombent une à une, ligne après ligne ; l'ombre reste sur la table pendant la chute */
  .vr-h-vue .vr-plan-ligne:nth-child(3) { --woaw-l: 1; }
  .vr-h-vue .vr-plan-ligne:nth-child(4) { --woaw-l: 2; }
  .vr-h-vue .vr-plan-ligne:nth-child(5) { --woaw-l: 3; }
  .vr-h-vue .vr-plan-ligne:nth-child(6) { --woaw-l: 4; }
  .vr-h-vue .vr-plan-ligne:nth-child(7) { --woaw-l: 5; }
  .vr-h-vue .vr-barre, .vr-h-vue .vr-barre::before { animation: woaw-pose .48s calc(.38s + var(--woaw-l, 0) * .11s) backwards; }
  .vr-h-vue .vr-barre + .vr-barre, .vr-h-vue .vr-barre + .vr-barre::before { animation-delay: calc(.435s + var(--woaw-l, 0) * .11s); }
  .vr-h-vue .vr-barre::before { animation-name: woaw-pose-ombre; }
}

@keyframes woaw-titre { from { clip-path: inset(-.2em -.2em 90% -.2em); translate: 0 .5em; } to { clip-path: inset(-.2em); } }
/* départ à .01 et non 0 : un élément totalement transparent n'est pas compté comme affiché (mesure LCP des navigateurs) */
@keyframes woaw-leve { from { opacity: .01; translate: 0 18px; } }
@keyframes woaw-mot { from { opacity: 0; translate: calc(-50% + 14vw) -50%; } }
@keyframes woaw-table { from { opacity: 0; translate: 0 -8vh; scale: 1.1; } }
@keyframes woaw-chevron { from { opacity: 0; translate: 6em 0; rotate: -50deg; scale: .3; } }
/* scale: 0 plutôt qu'opacity: 0, pour ne pas aplatir la barre et son ombre (preserve-3d) */
@keyframes woaw-pose {
  0% { translate: 0 0 11em; scale: 0; animation-timing-function: ease-in; }
  30% { scale: 1; }
  55% { translate: 0 0 0; animation-timing-function: ease-out; }
  75% { translate: 0 0 1.2em; animation-timing-function: ease-in; }
  100% { translate: 0 0 0; }
}
@keyframes woaw-pose-ombre {
  0% { translate: 0 0 -11em; animation-timing-function: ease-in; }
  55% { translate: 0 0 0; animation-timing-function: ease-out; }
  75% { translate: 0 0 -1.2em; animation-timing-function: ease-in; }
  100% { translate: 0 0 0; }
}

/* ---------- Pages intérieures : le picto balaie le héros puis reprend sa place ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* le flottement d'origine (vt-hero-float) est repris tel quel : `animation` remplace toute la liste */
  .hero-picto { animation: vt-hero-float 7s ease-in-out infinite, woaw-picto 1.5s cubic-bezier(.3, .6, .3, 1) backwards; }
}
/* le PNG du picto a un fond noir, invisible à 5 % d'opacité : `screen` l'efface tant que le picto est éclairé.
   Départ dans le héros (300px) et presque transparent (.02), pas hors champ ni à 0 : même raison que woaw-leve. */
@keyframes woaw-picto { 0% { opacity: .02; translate: 300px 0; mix-blend-mode: screen; } 45% { opacity: .32; translate: -150px 0; mix-blend-mode: screen; } 100% { mix-blend-mode: screen; } }

/* ---------- Blocs .reveal : le panneau se relève ---------- */
/* `scripting: enabled` : un navigateur qui ignore ce test garde le fondu d'origine ; sans JavaScript, c'est le <noscript> de header.php qui affiche les blocs */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  /* les valeurs de repos sont déjà celles de l'arrivée : la transition d'origine n'a plus rien à jouer
     (elle passerait devant l'animation), et le survol des cartes garde ses propres transitions */
  .reveal { opacity: 1; transform: none; }
  /* masqué sans quitter l'ordre de tabulation, en attendant la classe .visible posée par reveal.js.
     Ni opacity (elle relancerait la transition d'origine) ni clip-path (l'IntersectionObserver de reveal.js
     ne verrait plus le bloc) : un filtre, que rien ne met en transition. */
  .reveal:not(.visible) { filter: opacity(0); }
  /* pivot sur le bord bas : le bloc recule, rien n'avance vers le visiteur, donc rien ne dépasse de la fenêtre */
  .reveal.visible { transform-origin: 50% 100%; animation: woaw-releve .7s cubic-bezier(.2, .75, .25, 1) calc(var(--woaw-i, 0) * 90ms) backwards; }
  /* cascade dans les grilles : une carte après l'autre, par cycles de quatre (une rangée sur grand écran) */
  :is(.cards-metiers, .bento, .fonctions, .benef) > :nth-child(4n + 2) { --woaw-i: 1; }
  :is(.cards-metiers, .bento, .fonctions, .benef) > :nth-child(4n + 3) { --woaw-i: 2; }
  :is(.cards-metiers, .bento, .fonctions, .benef) > :nth-child(4n) { --woaw-i: 3; }
  /* sous 980 px les grilles passent à une ou deux colonnes : plus de rangée de quatre, donc plus de retard */
  @media (max-width: 980px) { :is(.cards-metiers, .bento, .fonctions, .benef) > :nth-child(n) { --woaw-i: 0; } }
}
@keyframes woaw-releve { from { opacity: 0; transform: perspective(1000px) translateY(56px) rotateX(32deg); } }

/* ---------- Chiffres de même largeur : rien ne bouge pendant le comptage ---------- */
.vr-faits strong { font-variant-numeric: tabular-nums; }

/* ---------- Phares et curseur-GPS (ordinateur, souris). Deux blocs indépendants : chacun se retire sans toucher l'autre. ---------- */

/* ============ A. Phares ============ */
/* Le masque composé est indispensable : sans lui, la texture couvrirait toute la surface. */
@supports (mask-composite: intersect) {
  .woaw-eclaire { isolation: isolate; }
  /* Ces deux surfaces ne sont pas positionnées dans le thème : sans cela, le halo se poserait sur un ancêtre. */
  footer.woaw-eclaire, .vr-detail.woaw-eclaire { position: relative; }
  /* Derrière le contenu (z-index négatif dans une surface isolée) : le texte n'est jamais recouvert. */
  .woaw-eclaire::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--vr-orange);
    /* halo au pointeur ∩ (semis de chevrons ∪ voile léger) ; les couleurs du masque ne comptent pas, seul l'alpha joue.
       Semis à .25 (la démo était à .5) : au-delà, un chevron sous une lettre fait passer le texte courant sous le contraste AA. */
    mask-image:
      radial-gradient(circle 380px at var(--woaw-x, 50%) var(--woaw-y, 50%), #000, rgb(0 0 0 / .55) 35%, transparent 72%),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath fill-opacity='.25' d='M22 12l-12 5 4-5-4-5zM58 48l-12 5 4-5-4-5z'/%3E%3C/svg%3E"),
      linear-gradient(rgb(0 0 0 / .16), rgb(0 0 0 / .16));
    mask-composite: intersect, add, add;
    opacity: 0; transition: opacity .6s ease;
  }
  .woaw-eclaire.woaw-allume::after { opacity: 1; }
}

/* Rétro-réflexion : --woaw-l va de 0 (loin) à 1 (sous le pointeur), posé par le script sur les éléments orange. */
.woaw-reflet { filter: brightness(calc(1 + .18 * var(--woaw-l, 0))) drop-shadow(0 0 calc(14px * var(--woaw-l, 0)) var(--vr-orange)); }
/* Le picto du héros est un PNG à fond noir : en mode « screen », le noir disparaît et seul l'orange s'allume. */
.hero-picto.woaw-reflet { opacity: calc(.05 + .2 * var(--woaw-l, 0)); filter: none; mix-blend-mode: screen; }
/* Le picto du sur-titre a lui aussi un fond noir ; le filtre isolerait le sur-titre et annulerait `screen` : une ombre de texte à la place. */
.eyebrow--orange.woaw-reflet { filter: none; text-shadow: 0 0 calc(14px * var(--woaw-l, 0)) var(--vr-orange); }
.woaw-eclaire .eyebrow--orange::before { mix-blend-mode: screen; }

/* ============ B. Curseur-GPS ============ */
.woaw-gps, .woaw-tiret { position: fixed; left: 0; top: 0; z-index: 9998; pointer-events: none; }
.woaw-gps { width: 22px; height: 22px; margin: -11px 0 0 -11px; opacity: 0; transition: opacity .3s ease; filter: drop-shadow(0 2px 4px rgb(var(--vr-ombre-rvb) / .45)); }
.woaw-gps.woaw-visible { opacity: 1; }
.woaw-gps path { fill: var(--vr-orange); stroke: var(--vr-blanc); stroke-width: 1.6; stroke-linejoin: round; }
/* Tiret de marquage au sol ; l'effacement est joué par le script (API Web Animations). */
/* Le liseré blanc garde le tiret lisible sur les bandes rouges. */
.woaw-tiret { width: 12px; height: 3px; margin: -1.5px 0 0 -6px; border-radius: 1px; background: var(--vr-orange); box-shadow: 0 0 0 1px var(--vr-blanc); opacity: 0; }
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse), (forced-colors: active) {
  .woaw-gps, .woaw-tiret { display: none; }
}
/* Couleurs forcées (contraste élevé) : pas de lueur orange ; la scène du véhicule, décorative, garde ses couleurs sur sa bande sombre. */
@media (forced-colors: active) {
  .woaw-reflet { filter: none; }
  .woaw-scene { forced-color-adjust: none; background: var(--vr-bitume); }
}

/* ---------- Véhicule du métier : pictogramme qui entre et sort en roulant dans le panneau du configurateur ---------- */

/* ---- Mise en page : texte en haut, scène collée au bord bas du panneau, à fond perdu ---- */
.vr-detail { --woaw-m: clamp(24px, 3.4vw, 40px); grid-template-rows: auto auto auto 1fr auto; align-content: stretch; }
.vr-detail .vr-lien { align-self: start; } /* la rangée 1fr ne doit pas étirer le lien */
.woaw-scene { position: relative; overflow: hidden; margin: 4px calc(-1 * var(--woaw-m)) calc(-1 * var(--woaw-m)); padding: 6px 0 24px; }
.woaw-vehicule { transform-origin: 78% 100%; } /* pleine largeur : translateX(100 %) fait sortir du panneau ; pivot sur l'essieu avant */
.woaw-vehicule svg { display: block; width: min(86%, 440px); height: auto; aspect-ratio: 400 / 116; margin: 0 auto; overflow: visible; fill: var(--vr-creme); }
.woaw-ligne { position: absolute; left: 0; right: -256px; bottom: 11px; height: 4px; opacity: .4; background: repeating-linear-gradient(90deg, var(--vr-creme) 0 36px, transparent 36px 64px); }

/* ---- Pictogrammes : trois couleurs sur le bitume. Ces règles atteignent le contenu des <symbol> cloné par <use> ---- */
.woaw-n { fill: var(--vr-bitume); stroke: none; }
.woaw-o { fill: var(--vr-orange); }
.woaw-r { fill: var(--vr-rouge); stroke: none; }
.woaw-jante { fill: none; stroke: var(--vr-bitume); stroke-width: 5; stroke-dasharray: 6.4 3.025; transform-box: fill-box; transform-origin: center; }
.woaw-sangles { fill: none; stroke: var(--vr-bitume); stroke-width: 12; stroke-dasharray: 3 21; }
.woaw-trait { fill: none; stroke: var(--vr-bitume); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.woaw-bras { fill: none; stroke: var(--vr-orange); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.woaw-contour { fill: none; stroke: var(--vr-creme); stroke-width: 3; stroke-linejoin: round; } /* le sous-traitant : même ensemble, en simple contour */
.woaw-texte { fill: var(--vr-bitume); font: 800 9px var(--vr-titre); text-anchor: middle; }

/* ---- Mouvement : sortie par la droite, entrée par la gauche, roues et marquage pendant que ça roule ---- */
@media (prefers-reduced-motion: no-preference) {
  .woaw-attend .woaw-vehicule { transform: translateX(-100%); } /* posée par configurateur.js tant que le véhicule n'a pas été vu */
  .woaw-sort .woaw-vehicule { animation: woaw-sort .55s cubic-bezier(.5, 0, .9, .45) forwards; }
  .woaw-entre .woaw-vehicule { animation: woaw-entre .7s cubic-bezier(.12, .7, .25, 1); }
  .woaw-sort .woaw-ligne { animation: woaw-defile .55s cubic-bezier(.5, 0, .9, .45); }
  .woaw-entre .woaw-ligne { animation: woaw-defile .7s cubic-bezier(.12, .7, .25, 1); }
  .woaw-sort, .woaw-entre { --woaw-roule: running; }
  /* la variable est héritée à travers <use> : seul moyen d'atteindre les roues depuis la scène. Safari avant 26.2 n'anime pas le contenu d'un <use> : les roues y restent fixes, le reste joue */
  .woaw-jante { animation: woaw-tourne .32s linear infinite; animation-play-state: var(--woaw-roule, paused); }
}
@keyframes woaw-sort {
  0% { transform: translateX(0) rotate(0); }
  18% { transform: translateX(1%) rotate(-.9deg); } /* le démarrage le cabre */
  100% { transform: translateX(100%) rotate(0); }
}
@keyframes woaw-entre {
  0% { transform: translateX(-100%) rotate(0); }
  74% { transform: translateX(0) rotate(1.1deg); animation-timing-function: ease-out; } /* freinage net : il pique du nez */
  88% { transform: translateX(0) rotate(-.35deg); animation-timing-function: ease-in-out; }
  100% { transform: translateX(0) rotate(0); }
}
@keyframes woaw-defile { to { transform: translateX(-256px); } } /* 4 pointillés entiers : l'arrêt ne saute pas */
@keyframes woaw-tourne { to { transform: rotate(360deg); } }

/* Pages sans bandeau (légales, 404) : le H1 n'avait aucune taille et paraissait plus petit que les H2. */
.wrap--narrow > h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; margin: 0 0 20px; }
/* Pages légales : la remise à zéro rendait les liens du texte indiscernables et ôtait les puces de la liste (« p a » épargne les boutons de la 404). */
.wrap--narrow p a { text-decoration: underline; }
.wrap--narrow ul { list-style: disc; padding-left: 1.25em; }
/* Page 404, très courte : le pied de page reste en bas de la fenêtre. */
.error404 { min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px)); display: flex; flex-direction: column; }
.error404 main { flex: 1; }
.error404 .hero-ctas { margin-top: 26px; }

/* Ancres (#fonctions, #modules, #metiers) : avec la marge haute de la section (64 px sur téléphone), le sur-titre s'arrête sous la barre de menu collante (75 px). */
.section[id] { scroll-margin-top: 24px; }

/* Cartes « À combiner avec » : le lien « Voir » posé en bas de la carte, à la même hauteur d'une carte à l'autre. */
.card-metier { display: flex; flex-direction: column; }
.card-metier .lien { margin-top: auto; padding-top: 14px; align-self: flex-start; }

/* Impression : .visible n'est posée qu'au défilement (reveal.js) ; sans cette règle, les blocs pas encore vus sortent blancs. */
@media print { .reveal { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; } }
/* Site du groupe Teryx pas encore en ligne : une mention à la place du bouton, qui se lit sans être cliquable (pointillés, point orange). */
.bientot { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 20px; border: 2px dashed; border-color: color-mix(in srgb, currentColor 45%, transparent); border-radius: 4px; font: 700 15px/1.3 var(--display); text-align: left; }
.bientot::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
/* Contact : au retour du formulaire (#demande), le message s'affiche sous la barre de menu collante. */
#demande { scroll-margin-top: 90px; }
/* Configurateur : le nom complet du TMS (« … & planning graphique ») ne laisse plus un mot seul sur la seconde ligne. */
.vr-mod-nom { text-wrap: balance; }
/* Bandeau final : sur grand écran, le bouton reste à droite du texte quelle que soit la longueur du titre (le titre passe sur deux lignes). */
@media (min-width: 900px) {
  .panneau { flex-wrap: nowrap; }
  .panneau > div { flex: 1 1 auto; min-width: 0; }
  .panneau > .btn { flex: none; }
}
/* Polices de la marque servies par le site (avant : Google Fonts, qui recevait l'adresse IP de chaque visiteur). Jeux latin et latin étendu ; licence dans assets/fonts/. */
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lato-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lato-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/lato-900-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/lato-900-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-var-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-var-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-var-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/montserrat-var-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/montserrat-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Finitions de la lecture complète (16/11/2026). */
/* Nos solutions : la case TMS couvre deux rangées, les 12 modules l'entourent sans case vide (13 modules au total). */
.schema .centre { grid-row: 2 / span 2; }
@media (max-width: 620px) { .schema .centre { grid-row: auto; } }
/* Fiches sans points clés : l'introduction occupe une colonne plus large au lieu d'une demi-page vide. */
.accroche-bloc:not(:has(.points-cles)) { grid-template-columns: 1fr; max-width: 760px; }
/* Captures cliquables : sur écran tactile, une pastille dit qu'on peut les agrandir. */
@media (hover: none) {
  .ecran a { position: relative; }
  .ecran a::after { content: "Agrandir \2197"; content: "Agrandir \2197" / ""; position: absolute; right: 8px; bottom: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(23, 24, 28, .8); color: #fff; font: 700 .75rem/1.4 var(--display); }
}
.vr-fen-lien { display: block; }
.vr-fen-lien:focus-visible { outline: 3px solid #F89010; outline-offset: 4px; }
/* Notre groupe : logos aux proportions de Qui sommes-nous, textes des cartes toujours alignés (hauteur totale 58 px). */
.fonction-logo[src*="groupe/vialtic"] { height: 28px; margin-block: 8px 22px; }
.fonction-logo[src*="groupe/augmenticom"] { height: 64px; margin-block: -10px 4px; }
/* Pages légales : intertitres nettement sous le titre, plus d'air avant qu'après. */
.wrap--narrow > h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin: 36px 0 10px; }
/* Accueil, haut de page : barres du planning moins hautes, libellés et jours lisibles. */
.vr-h-vue .vr-plan { --leve: .35; }
/* Contact : rappel de la configuration choisie sur l'accueil. */
.rdv-config { margin: 0 0 14px; padding: 10px 14px; border-left: 3px solid var(--orange); background: rgba(248, 144, 16, .08); font-size: .9rem; }
/* Accueil et Qui sommes-nous : même largeur que le menu, le pied de page et les autres pages (.wrap). */
.vr-in { max-width: var(--maxw); }
@media (min-width: 700px) { .vr-in { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }
/* La capture du planning de l'accueil s'agrandit aussi : même pastille sur écran tactile. */
@media (hover: none) {
  .vr-fen-lien { position: relative; }
  .vr-fen-lien::after { content: "Agrandir \2197"; content: "Agrandir \2197" / ""; position: absolute; right: 8px; bottom: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(23, 24, 28, .8); color: #fff; font: 700 .75rem/1.4 var(--display); }
}
/* « Réserver ma démo » toujours visible, hors de la barre (le menu garde sa ligne : 8 entrées au-dessus de 980 px). Cachée sur la page contact (header.php).
   Onglet vertical anthracite sur le bord droit (lisible sur le haut rouge de l'accueil comme sur fond blanc) ; barre rouge pleine largeur en bas sous 700 px.
   Texte de bas en haut : vertical-rl tourné d'un demi-tour, donc gauche et droite sont inversées dans les règles ci-dessous (bord collé à l'écran = côté gauche). */
.demo-onglet { position: fixed; z-index: 49; right: 0; top: calc(50% + 37px); transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; display: flex; align-items: center; gap: 10px; padding: 20px 12px 20px calc(12px + env(safe-area-inset-right, 0px)); background: var(--bitume); color: var(--blanc); border: 1px solid rgba(255,255,255,.14); border-left: 0; border-radius: 0 10px 10px 0; font: 700 .86rem/1 var(--display); letter-spacing: .02em; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.demo-onglet svg { rotate: 180deg; color: var(--orange); flex: none; }
.demo-onglet:hover { background: var(--rouge-fonce); border-color: var(--blanc); } /* rouge foncé + filet blanc : reste visible sur le haut rouge de l'accueil */
.demo-onglet:hover svg { color: inherit; }
.demo-onglet:focus-visible { outline: 2px solid var(--blanc); outline-offset: -6px; }
@media (min-width: 700px) {
  .nav:has(.nav-links.ouvert) ~ aside .demo-onglet { display: none; } /* le menu déplié le couperait */
}
@media (min-width: 700px) and (max-width: 1243.98px) {
  body:has(.demo-onglet) :is(.wrap, .vr-in):not(.nav-inner) { padding-right: 56px; } /* l'onglet (40 px) recouvrirait la fin des lignes ; au-delà de 1244 px la marge naturelle suffit */
}
@media (min-width: 700px) and (max-height: 500px) {
  .demo-onglet { padding-top: 12px; padding-bottom: 12px; font-size: .78rem; } /* paysage : ne passe pas sous la barre de menu */
}
@media (max-width: 699.98px) {
  .demo-onglet { writing-mode: horizontal-tb; transform: none; top: auto; left: 0; bottom: 0; justify-content: center; padding: 15px max(16px, env(safe-area-inset-right, 0px)) calc(15px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); border: 0; border-top: 1px solid transparent; border-radius: 0; background: var(--rouge); font-size: .95rem; box-shadow: inset 0 2px 0 var(--blanc), 0 -6px 20px rgba(0,0,0,.18); } /* filet transparent : seul visible en contraste forcé, où ombre et fond disparaissent */ /* filet blanc : se détache du haut rouge de l'accueil */
  .demo-onglet svg { rotate: none; color: inherit; }
  .demo-onglet:hover { background: var(--rouge-fonce); }
  body:has(.demo-onglet) footer { padding-bottom: calc(28px + 50px + env(safe-area-inset-bottom, 0px)); } /* la dernière ligne passe au-dessus de la barre */
  html { scroll-padding-bottom: 64px; } /* un champ ou lien qui prend le focus n'est pas caché sous la barre */
}
@media (max-width: 699.98px) and (max-height: 480px) {
  .demo-onglet { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); font-size: .85rem; } /* zoom 400 % ou paysage : laisse de la place pour lire */
}
@media print { .demo-onglet { display: none; } }
/* Focus au clavier jamais caché sous la barre de menu collante, y compris en remontant (Maj+Tab). Spécificité nulle : les scroll-margin plus grands de l'accueil gagnent. */
:where(a, button, summary, input, select, textarea):where(:focus) { scroll-margin-top: 90px; }
/* Espacement du texte élargi (WCAG 1.4.12) : un mot trop long pour la colonne passe à la ligne au lieu d'être coupé ou d'élargir la colonne */
:is(h1, h2, h3) { overflow-wrap: anywhere; }
/* Lien d'évitement : hors écran, posé sur la barre de menu quand il a le focus (sous la barre d'admin WordPress si elle est là) */
.evitement { position: absolute; z-index: 60; left: 16px; top: calc(13px + var(--wp-admin--admin-bar--height, 0px)); padding: 14px 18px; background: var(--blanc); color: var(--bitume); border-radius: 6px; font: 700 .9rem/1 var(--display); text-decoration: none; transform: translateY(-300%); }
.evitement:focus { transform: none; outline: 3px solid var(--orange); outline-offset: 2px; }
#contenu { scroll-margin-top: 74px; } /* sous la barre de menu collante : le saut ne cache pas le haut du contenu */
/* Pas de carte seule sur la dernière ligne d'une grille */
.cards-metiers:has(> :nth-child(4n + 5):last-child) > :first-child { grid-column: 1 / -1; } /* 4 colonnes, 5, 9 ou 13 cartes : la première (le TMS) prend la ligne */
@media (max-width: 980px) { .cards-metiers:has(> :nth-child(2n + 3):last-child) > :first-child { grid-column: 1 / -1; } } /* 2 colonnes, nombre impair */
.fonctions > :nth-child(2n + 3):last-child { grid-column: 1 / -1; }
.vr-mods > :nth-child(2n + 4):last-child { grid-column: 1 / -1; } /* le TMS a déjà sa ligne : en nombre pair, le dernier module serait seul */
.vr-choixs > :nth-child(2n + 3):last-child { grid-column: 1 / -1; } /* 7 métiers : seul en 2 comme en 3 colonnes */
@media (max-width: 1093.98px) { .vr-q-guides, .vr-q-gens { grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 240px), calc(50% - 9px)), 1fr)); } } /* 4 cartes : 2 colonnes au plus tant que les 4 ne tiennent pas de front (pas de 3 + 1) */
/* Chat Zammad : à côté de l'onglet démo, ou au-dessus de sa barre sur téléphone tant que le chat est fermé (ouvert, il prend tout l'écran). « body » passe devant chat.css, chargé après */
:where(.zammad-chat) svg { display: inline; } /* le « svg en bloc » du thème poussait le titre hors de l'en-tête ; spécificité basse : les icônes masquées par chat.css le restent */
body .zammad-chat-header:focus-visible { outline: 2px solid var(--blanc); outline-offset: -6px; }
body:has(.zammad-chat-is-shown) footer { padding-bottom: calc(28px + 56px + env(safe-area-inset-bottom, 0px)); } /* les liens légaux passent au-dessus du chat fermé */
html:has(.zammad-chat-is-shown) { scroll-padding-bottom: 64px; }
@media (min-width: 768.02px) { body .zammad-chat { right: 56px; } }
@media (max-width: 699.98px) {
  body:has(.demo-onglet) .zammad-chat:not(.zammad-chat-is-open) { left: auto; right: 12px; bottom: calc(62px + env(safe-area-inset-bottom, 0px)); width: auto; max-width: calc(100% - 24px); border-radius: 5px !important; }
  body:has(.demo-onglet):has(.zammad-chat-is-shown) footer { padding-bottom: calc(28px + 62px + 56px + env(safe-area-inset-bottom, 0px)); }
  html:has(.demo-onglet):has(.zammad-chat-is-shown) { scroll-padding-bottom: 130px; }
}
@media print { body .zammad-chat { display: none; } }
