/* danian.be — content pass (Oct 2026). Loaded after the page styles; uses the site tokens. */

/* Readability: answers and long paragraphs keep a comfortable line length */
.v-faq details p,
.v-plus p,
.v-compare p { max-width: 64ch; line-height: 1.62; }
.v-faq summary { transition: color var(--t-survol, .18s); }
.v-faq summary:hover { color: var(--cobalt); }
.v-faq summary:focus-visible,
.v-plus summary:focus-visible,
.v-compare summary:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 4px; border-radius: 4px; }

/* Visible keyboard focus on every link and button that has none */
a:focus-visible,
button:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }

/* Mobile home: the demos come up into the first screen */
@media (width < 700px) {
  .v-hero__garanties { display: none; }
  .v-hero { padding-top: 12px; }
  .v-hero__top { row-gap: 16px; }
}

/* "Before you sign" block */
.v-wrap > .dm-avant { width: 100%; padding-block: clamp(36px, 5vw, 64px) 0; }
.v-wrap > .dm-avant > .v-wrap { padding-inline: 0; }
.dm-avant .v-title { max-width: 30ch; }
.dm-avant__grille {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(20px, 3vw, 32px);
}
.dm-avant__col {
  background: #fff;
  border: 1px solid var(--joint);
  border-radius: var(--radius-l);
  padding: clamp(18px, 2.2vw, 26px);
}
.dm-avant__col h3 { font-size: 1.125rem; font-weight: 650; letter-spacing: -.01em; margin: 0 0 12px; }
.dm-avant__col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dm-avant__col li {
  position: relative;
  padding-left: 18px;
  color: var(--pierre-douce);
  font-size: .975rem;
  line-height: 1.5;
}
.dm-avant__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--cobalt);
}
.dm-avant__col:last-child li:last-child { color: var(--pierre); font-weight: 600; }
.dm-avant__plus { display: inline-flex; margin-top: 18px; }
/* a second link (the guide) stacks under the first one and stays on one line */
.dm-avant__plus + .dm-avant__plus { display: flex; width: fit-content; margin-top: 10px; }
@media (width < 900px) { .dm-avant__grille { grid-template-columns: 1fr; } }

/* Demo cards: what the demo shows vs your real site */
.dm-demo-note {
  display: grid;
  gap: 6px;
  margin: 14px 0 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--cobalt);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--chaux);
  color: var(--pierre-douce);
  font-size: .9rem;
  line-height: 1.5;
  max-width: 60ch;
}
.dm-demo-note strong { color: var(--pierre); font-weight: 650; }

/* About: verifiable facts */
.dm-faits__grille {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 72px);
}
.dm-faits .v-coches { margin-top: 16px; max-width: 46ch; }
@media (width < 800px) { .dm-faits__grille { grid-template-columns: 1fr; } }

/* Home commitments, "L'index": a quiet typographic index. Each entry starts on a hairline with the logo's blue peak,
   an ink figure with its Illustrator icon cut to the figure's cap height (sits on the baseline, reaches the cap line),
   then unit and note. No boxes, no motion. Mobile first: 2 x 2, 4 across from 720px. Art: assets/engagements/final */
html body .dm-enga {
  --enga-fs: clamp(2.125rem, 1.5rem + 1.6vw, 3rem);
  margin: 0;
  padding-block: 10px 16px;
}
html body .dm-enga__wrap {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
html body .dm-enga__index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 44px;
}
html body .dm-enga__item {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--pierre) 14%, transparent);
}
html body .dm-enga__sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* the peak rests on the left end of the rule, its base covering the hairline */
html body .dm-enga__repere {
  position: absolute;
  left: 0;
  top: -8px;
  width: 10px;
  height: 8px;
  line-height: 0;
}
html body .dm-enga__pic { display: block; width: 10px; height: 8px; }
html body .dm-enga__vis { display: block; }
html body .dm-enga__chiffre {
  display: block;
  font-family: var(--f-studio);
  font-size: var(--enga-fs);
  font-weight: 500;
  line-height: .8;
  letter-spacing: -.05em;
  font-variant-numeric: lining-nums proportional-nums;
  color: var(--pierre);
  white-space: nowrap;
}
/* "2 à 4": the connector is a word, muted, on the baseline, with air on both sides */
html body .dm-enga__a {
  font-size: .5em;
  font-weight: 400;
  letter-spacing: 0;
  margin-inline: .14em;
  color: var(--pierre-douce);
}
/* icon art is 34 units high with the cap zone at 1..33: 1 unit = cap / 32 */
html body .dm-enga__icone {
  --u: calc(.65625em / 32);
  display: inline-block;
  width: calc(var(--u) * var(--w, 34));
  height: calc(var(--u) * 34);
  margin-left: calc(var(--u) * 13);
  vertical-align: calc(var(--u) * -1);
  overflow: visible;
}
html body .dm-enga__icone--pages { --w: 28.2; }
html body .dm-enga__icone--semaines { --w: 34; }
html body .dm-enga__icone--reponse { --w: 36.7; }
html body .dm-enga__icone--langues { --w: 35; }
html body .dm-enga__unite {
  display: block;
  margin-top: 14px;
  font-family: var(--f-studio);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--pierre);
  text-wrap: balance;
}
html body .dm-enga__note {
  display: block;
  margin-top: 4px;
  font-family: var(--f-studio);
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--pierre-douce);
  text-wrap: pretty;
}
html body .dm-enga__note--fort { color: var(--pierre); font-weight: 500; }
@media (max-width: 359px) {
  html body .dm-enga { --enga-fs: 2rem; }
  html body .dm-enga__index { column-gap: 16px; }
}
@media (min-width: 720px) {
  html body .dm-enga { padding-block: 8px; }
  html body .dm-enga__index { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 44px); row-gap: 0; }
  html body .dm-enga__item { padding-top: clamp(22px, 2vw, 28px); }
  html body .dm-enga__unite { margin-top: clamp(14px, 1.2vw, 18px); font-size: clamp(1rem, .9rem + .3vw, 1.125rem); }
  html body .dm-enga__note { font-size: clamp(.875rem, .82rem + .15vw, .9375rem); }
}

/* Method band: icon medallions sit on the progress line, small number badge */
html body .v-methode .v-etapes-num { --pastille: 76px; }
html body .v-methode .v-etapes-num__n {
  background: #fff !important; color: var(--cobalt) !important; border: 0 !important;
  box-shadow: 0 0 0 7px var(--cobalt), 0 14px 30px -14px #0a2a7a !important;
  position: relative; overflow: visible;
}
.dm-medaille { width: 46px; height: 46px; }
.dm-n {
  position: absolute; top: -4px; right: -4px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: #0a1f5c; color: #fff;
  font-size: .75rem; font-weight: 700; line-height: 1; box-shadow: 0 0 0 3px var(--cobalt);
}
html body .v-methode .v-etapes-num__titre { margin-top: 10px; }
@media (width < 700px) {
  html body .v-methode .v-etapes-num { --pastille: 60px; }
  .dm-medaille { width: 36px; height: 36px; }
}

/* Service cards: icon on top */
.dm-serv-ico { display: block; width: 48px; height: 48px; margin-bottom: 20px; }

/* Studio card: icons that match the facts */
html body .v-qui .v-qui__icone { background: transparent; width: 40px; height: 40px; }
html body .v-qui .v-qui__icone svg.dm-qui-ico { width: 34px; height: 34px; }

/* Studio card: wide two-column layout on desktop */
@media (width >= 900px) {
  html body .v-qui.v-fiche {
    max-width: none;
    text-align: left;
    justify-items: stretch;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    grid-template-areas: "sym list" "tete list" "lien list";
    align-content: center;
    column-gap: clamp(40px, 6vw, 96px);
    row-gap: 18px;
    padding: clamp(40px, 4vw, 56px);
  }
  html body .v-qui.v-fiche .v-qui__symbole { grid-area: sym; justify-self: start; }
  html body .v-qui.v-fiche .v-qui__tete { grid-area: tete; justify-items: start; }
  html body .v-qui.v-fiche .v-title, html body .v-qui.v-fiche .v-accroche { text-wrap: pretty; }
  html body .v-qui.v-fiche .v-qui__engagements { grid-area: list; align-self: center; }
  html body .v-qui.v-fiche .v-qui__lien { grid-area: lien; justify-self: start !important; text-align: left !important; }
}

/* Footer, lighter: brand + 3 columns */
@media (width >= 900px) {
  html body .dm-pied .v-footer__grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 64px); }
  html body .dm-pied .v-footer__brand { grid-column: auto; max-width: 24rem; }
  html body .dm-pied .v-footer__col:last-child { grid-column: auto; }
}

/* Website service page: fill the hero's left column */
.dm-faits-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin: clamp(28px, 3vw, 40px) 0 0; padding: 0; list-style: none; max-width: 34rem; }
.dm-fait { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 12px; font-size: .975rem; line-height: 1.35; color: var(--pierre-douce); }
.dm-fait strong { display: block; color: var(--pierre); font-weight: 650; font-size: 1.0625rem; }
.dm-fait__ico { width: 40px; height: 40px; }
.dm-demos-hero { margin-top: clamp(28px, 3vw, 40px); padding-top: 22px; border-top: 1px solid var(--joint); max-width: 34rem; }
.dm-demos-hero p { margin: 0 0 12px; font-weight: 650; color: var(--pierre); }
.dm-demos-hero ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.dm-demos-hero a img { display: block; width: 44px; height: 44px; border-radius: 12px; transition: transform var(--t-survol, .18s) var(--ease, ease); }
.dm-demos-hero a:hover img, .dm-demos-hero a:focus-visible img { transform: translateY(-3px); }
@media (width < 480px) { .dm-faits-hero { grid-template-columns: 1fr; } }

/* Motion page: the demo film takes the full width (logo animation removed) */
html body .v-motion-preuve { grid-template-areas: "tete" "film"; grid-template-columns: minmax(0, 1fr); }
html body .v-motion-preuve__film { max-width: 980px; }

/* About: identity cards use the drawn icon family */
html body .v-cases .v-cases__icone { background: transparent; width: 44px; height: 44px; }
html body .v-cases .v-cases__icone svg.dm-case-ico { width: 40px; height: 40px; }

/* ===== Navbar v2, drawn in Illustrator (assets/nav): flat bar, rolling labels, blue peak, ink CTA with a blue chip ===== */
html body .v-header { margin-top: 0; top: 0; padding-inline: 0; min-height: 0; }
html body .v-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: color-mix(in srgb, var(--chaux-vive) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid color-mix(in srgb, var(--pierre) 9%, transparent);
  opacity: 0; transition: opacity .35s var(--ease);
}
html body .v-header.est-defile::before { opacity: 1; }
html body .v-header .v-header__bar {
  max-width: 1400px; min-height: 72px; padding-inline: var(--gutter);
  border: 0; border-radius: 0; transition: min-height .35s var(--ease);
}
html body .v-header .v-header__bar::before, html body .v-header .v-header__bar::after { display: none; }
html body .v-header.est-defile .v-header__bar { min-height: 64px; }
.dm-roll { display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3; vertical-align: top; }
.dm-roll > span { display: block; text-shadow: 0 1.3em currentColor; transition: transform .55s cubic-bezier(.7, 0, .2, 1); }

@media (width > 1080px) {
  html body .v-header .v-header__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; min-height: 80px; }
  html body .v-header.est-defile .v-header__bar { min-height: 64px; }
  html body .v-nav { margin: 0; }
  html body .v-nav > ul { gap: 4px; }
  html body .v-header__end { justify-self: end; gap: 26px; }
  html body .v-nav > ul > li > a, html body .v-nav__bouton {
    padding-inline: 15px; font-size: .9375rem; font-weight: 500;
    color: color-mix(in srgb, var(--pierre) 76%, var(--chaux)); transition: color .3s var(--ease);
  }
  html body .v-nav > ul > li > a:hover, html body .v-nav > ul > li > a[aria-current], html body .v-nav__bouton:hover,
  html body .v-nav__menu.est-ouvert .v-nav__bouton { color: var(--pierre); }
  html body .v-nav > ul > li > a:hover .dm-roll > span, html body .v-nav__bouton:hover .dm-roll > span { transform: translateY(-1.3em); }
  /* the blue peak of the logo rises under the active or hovered link */
  html body .v-nav > ul > li > a::after, html body .v-nav__bouton::after {
    left: 50%; right: auto; bottom: 6px; width: 9px; height: 7px; margin-left: -4.5px; border-radius: 0;
    background: var(--cobalt);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M4.21 1.27c.44-.7 1.15-.7 1.59 0l3.65 5.84C9.75 7.6 9.53 8 8.95 8h-7.9c-.58 0-.8-.4-.49-.89z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M4.21 1.27c.44-.7 1.15-.7 1.59 0l3.65 5.84C9.75 7.6 9.53 8 8.95 8h-7.9c-.58 0-.8-.4-.49-.89z'/%3E%3C/svg%3E") center / contain no-repeat;
    transform-origin: 50% 100%; transform: translateY(3px) scaleY(0); opacity: 0;
    transition: transform .45s cubic-bezier(.2, .9, .3, 1.3), opacity .2s var(--ease);
  }
  html body .v-nav__bouton::after { left: calc(50% - 9px); right: auto; }
  html body .v-nav > ul > li > a:hover::after, html body .v-nav > ul > li > a[aria-current]::after,
  html body .v-nav__bouton:hover::after, html body .v-nav__bouton[aria-current]::after,
  html body .v-nav__menu.est-ouvert .v-nav__bouton::after { transform: none; opacity: 1; }
  html body .v-nav__bouton svg { width: 12px; height: 12px; }
  /* services panel */
  html body .v-nav__panneau {
    top: calc(100% + 16px); left: -6px; width: 392px; padding: 8px; border-radius: 16px; background: #fff;
    border-color: color-mix(in srgb, var(--pierre) 10%, transparent);
    box-shadow: 0 1px 2px #161c220a, 0 12px 24px -14px #161c2224, 0 32px 64px -32px #161c2242;
  }
  html body .v-header.est-defile .v-nav__panneau { top: calc(100% + 10px); }
  html body .v-nav__panneau li a { position: relative; padding: 11px 46px 12px 14px; border-radius: 10px; }
  html body .v-nav__panneau li a:hover { background: var(--chaux); }
  .dm-pan-fleche {
    position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
    fill: none; stroke: var(--cobalt); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
    opacity: 0; transform: translateX(-6px); transition: opacity .25s var(--ease), transform .35s var(--ease);
  }
  html body .v-nav__panneau li a:hover .dm-pan-fleche, html body .v-nav__panneau li a:focus-visible .dm-pan-fleche { opacity: 1; transform: none; }
}

/* languages: quiet, the current one in ink */
html body .v-langs { gap: 0; }
html body .v-langs a { min-width: 34px; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--pierre-douce); text-decoration: none; }
html body .v-langs a[aria-current] { color: var(--pierre); text-decoration: none; }
html body .v-langs a:hover { color: var(--pierre); }

/* One button system (header, heroes, bands, forms): pill + round chip; on hover the chip floods the pill and the arrow swaps */
html body .v-btn.dm-cta {
  --puce: 40px; --flot: var(--cobalt); --txt-survol: #fff; --puce-survol: #fff; --fleche-survol: var(--cobalt);
  position: relative; isolation: isolate; overflow: hidden; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 54px; padding: 0 7px 0 26px; border: 0; border-radius: 999px;
  background: var(--pierre); color: #fff; font-size: 1.0625rem; font-weight: 600; line-height: 1.15; text-align: left;
  box-shadow: none; transform: none; transition: color .3s var(--ease) .08s, transform .15s var(--ease);
}
html body .v-btn.dm-cta:hover, html body .v-btn.dm-cta:focus-visible { background: var(--pierre); border-color: transparent; color: var(--txt-survol); }
html body .v-btn.dm-cta:active { transform: scale(.98); }
html body .v-btn.dm-cta::after { display: none; }
html body .v-btn.dm-cta::before {
  content: ""; position: absolute; inset: auto; z-index: 0; top: 50%; right: 7px;
  width: var(--puce); height: var(--puce); margin-top: calc(var(--puce) / -2); border-radius: 50%;
  background: var(--flot); transform-origin: 50% 50%; transform: scale(1); transition: transform .65s cubic-bezier(.7, 0, .2, 1);
}
html body .v-btn.dm-cta:hover::before, html body .v-btn.dm-cta:focus-visible::before { transform: scale(var(--flot-echelle, 18)); }
html body .v-btn.dm-cta:is(.v-btn--block, .v-btn--mobile-large) { --flot-echelle: 40; }
.dm-cta__txt { position: relative; z-index: 1; padding-bottom: 1px; }
.dm-cta__puce {
  position: relative; z-index: 1; flex: none; display: grid; place-items: center; overflow: hidden;
  width: var(--puce, 40px); height: var(--puce, 40px); border-radius: 50%; color: #fff; background: transparent;
  transition: background-color .3s var(--ease) .12s, color .3s var(--ease) .12s;
}
.dm-cta:hover .dm-cta__puce, .dm-cta:focus-visible .dm-cta__puce { background: var(--puce-survol); color: var(--fleche-survol); }
.dm-cta__puce svg {
  grid-area: 1 / 1; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round; transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.dm-cta__puce svg + svg { transform: translateX(-28px); }
.dm-cta:hover .dm-cta__puce svg:first-child, .dm-cta:focus-visible .dm-cta__puce svg:first-child { transform: translateX(28px); }
.dm-cta:hover .dm-cta__puce svg + svg, .dm-cta:focus-visible .dm-cta__puce svg + svg { transform: none; }
/* small: header, cards, mobile bar */
html body .v-btn.dm-cta.v-btn--small { --puce: 34px; gap: 14px; min-height: 46px; padding: 0 6px 0 22px; font-size: .9375rem; }
html body .v-btn.dm-cta.v-btn--small::before { right: 6px; }
/* light: white pill on blue or dark bands, the chip floods ink */
html body .v-btn.dm-cta.v-btn--light { --flot: var(--pierre); --fleche-survol: var(--pierre); background: #fff; color: var(--pierre); }
html body .v-btn.dm-cta.v-btn--light:hover, html body .v-btn.dm-cta.v-btn--light:focus-visible { background: #fff; color: #fff; }
/* ghost: outlined pill, the chip floods ink */
html body .v-btn.dm-cta.v-btn--ghost { --flot: var(--pierre); --fleche-survol: var(--pierre); background: transparent; color: var(--pierre); box-shadow: inset 0 0 0 1.5px var(--pierre); }
html body .v-btn.dm-cta.v-btn--ghost:hover, html body .v-btn.dm-cta.v-btn--ghost:focus-visible { background: transparent; color: #fff; }
/* on ink sections (contact block, dark plan, estimate recap): white pill, the chip floods cobalt */
html body :is(.v-section--stone, .v-plan--dark, .v-estim__recap) .v-btn.dm-cta:not(.v-btn--light):not(.v-btn--ghost) { --flot: var(--cobalt); --fleche-survol: var(--cobalt); background: #fff; color: var(--pierre); }
html body :is(.v-section--stone, .v-plan--dark, .v-estim__recap) .v-btn.dm-cta:not(.v-btn--light):not(.v-btn--ghost):is(:hover, :focus-visible) { background: #fff; color: #fff; }
html body .v-header .v-btn.dm-cta { margin: 0; }
html body .v-btn.dm-cta:disabled { opacity: .6; }

/* small screens: round phone button, pill menu button */
html body .v-header__tel { border-radius: 50%; }
html body .v-menu__action { border-radius: 999px; }
html body .v-mobilebar__icone { border-radius: 50%; }
html body .v-menu__bouton { border-radius: 999px; padding-inline: 14px; }

/* text links: the underline runs out to the right and comes back from the left */
html body .v-link { position: relative; text-decoration: none; }
html body .v-link::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(50% + .68em); height: 1.5px; border-radius: 1px;
  background: currentColor; opacity: .38; transform-origin: 100% 50%; transition: opacity .25s var(--ease);
}
html body .v-link:hover::after, html body .v-link:focus-visible::after { opacity: 1; animation: dm-trait .7s cubic-bezier(.7, 0, .2, 1); }
@keyframes dm-trait {
  0% { transform: scaleX(1); transform-origin: 100% 50%; }
  45% { transform: scaleX(0); transform-origin: 100% 50%; }
  55% { transform: scaleX(0); transform-origin: 0 50%; }
  100% { transform: scaleX(1); transform-origin: 0 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .dm-roll > span, html body .v-nav > ul > li > a::after, html body .v-nav__bouton::after, .dm-pan-fleche,
  html body .v-btn.dm-cta::before, .dm-cta__puce, .dm-cta__puce svg { transition: none; }
  html body .v-nav > ul > li > a:hover .dm-roll > span, html body .v-nav__bouton:hover .dm-roll > span { transform: none; }
  html body .v-link:hover::after { animation: none; }
}

/* ===== Audit fixes, lot 1 (Oct 2026) ===== */

/* text links on phones and touch screens: a real underline that follows each line (the drawn line read as a strikethrough on wrapped links) */
@media (hover: none), (width < 700px) {
  html body .v-link { text-decoration: underline 1.5px color-mix(in srgb, currentColor 38%, transparent); text-underline-offset: .3em; }
  html body .v-link::after { content: none; }
}

/* legal pages: no nav and no header script, so the bar keeps its backdrop and the language cluster sits at the right edge */
html body:has(.legal__page) .v-header::before { opacity: 1; }
@media (width > 1080px) {
  html body .v-header__end.legal__fin { grid-column: 3; justify-self: end; }
}
/* tablets: the language switch comes back from 640 px (below that the NL/EN "back" label would wrap) */
@media (640px <= width <= 900px) {
  html body .legal__fin > .v-langs { display: flex; }
}
html body .legal__page h1.v-display { font-size: clamp(2.4rem, 1.2rem + 3vw, 4rem); }

/* case studies: inverse rows keep the same 7/5 split so every screenshot frame has the same width */
@media (width > 900px) {
  html body .v-cas__item--inverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* pricing: both plans share one row grid, so name, price, tagline, features, terms and button line up */
@media (width > 900px) {
  html body .v-plans { grid-template-rows: repeat(6, auto); }
  html body .v-plans > .v-plan { grid-row: span 6; grid-template-rows: subgrid; }
  html body .v-plan__tete { align-content: flex-end; }
}
/* where the longer plan name pushes its badge to a 2nd line (FR 1120-1200 px, NL below 1440 px),
   both plans stack name and badge, so the names stay level */
@media (901px <= width < 1220px) {
  html[lang=fr] body .v-plans > .v-plan .v-plan__name { flex-basis: 100%; }
}
@media (901px <= width < 1440px) {
  html[lang=nl] body .v-plans > .v-plan .v-plan__name { flex-basis: 100%; }
}
html body .v-plan:not(.v-plan--dark) .v-plan__lancement { color: var(--cobalt-fonce); }

/* mobile bar: more room for the label on small phones. It never gets cut: with the current CTA width
   (about 180 px at 375-412 px) "Dès 990 €" cannot fit on one line, so it wraps into two balanced lines. */
html body .v-mobilebar p { margin: 0; line-height: 1.15; text-wrap: balance; }
@media (width <= 409px) {
  html body .v-mobilebar { padding-left: 14px; gap: 6px; }
  html body .v-mobilebar .v-mobilebar__icones { gap: 6px; }
  html[lang=nl] body .v-mobilebar p { font-size: .875rem; letter-spacing: -.01em; }
}

/* estimate: compact sticky total on phones (key radius, like the v3 buttons: no pill) */
.v-estim__mini { display: none; }
@media (width <= 900px) {
  .v-estim__mini {
    position: sticky; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 2;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 56px; margin-top: 20px; padding: 8px 8px 8px 20px; border-radius: 12px;
    background: var(--pierre); color: #fff; text-decoration: none; box-shadow: 0 12px 28px -14px #161c2280;
  }
  .v-estim__mini > span { display: grid; line-height: 1.2; min-width: 0; }
  .v-estim__mini > span > span { font-size: .9375rem; font-weight: 600; }
  .v-estim__mini small { font-size: .75rem; font-weight: 500; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .v-estim__mini strong {
    flex: none; padding: 8px 14px; border-radius: 8px; background: color-mix(in srgb, #fff 12%, transparent);
    font-size: 1.125rem; font-weight: 650; white-space: nowrap;
  }
}

/* looping previews: a pause / play control (script: /assets/dm-apercus.js) */
html body li.v-servicecards__large { position: relative; }
.dm-apercu-pause {
  position: absolute; right: 20px; bottom: 20px; z-index: 2; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer; color: #fff;
  background: rgb(22 28 34 / .78); box-shadow: 0 0 0 1px rgb(255 255 255 / .42);
}
.dm-apercu-pause::before {
  content: ""; position: absolute; left: 14px; top: 13px; width: 12px; height: 14px;
  box-sizing: border-box; border-inline: 4px solid currentColor;
}
.dm-apercu-pause[data-arret]::before {
  left: 16px; width: 0; border-inline: 0; border-block: 7px solid transparent; border-left: 12px solid currentColor;
}
@media (width >= 901px) {
  html body .v-servicecards__large > .dm-apercu-pause { right: 312px; bottom: clamp(24px, 3vw, 36px); }
}
html body .dm-apercu-pause--texte {
  position: relative; right: auto; bottom: auto; width: auto; margin-top: 16px; padding: 0 18px 0 40px;
  border-radius: 10px; font: inherit; font-size: .9375rem; font-weight: 600;
}
html.v-apercus-fixes .dm-apercu-pause { display: none; }

/* desktop splits match the FAQ (1fr / 1.7fr) */
@media (width >= 901px) {
  html body .v-wrap:is(.v-apropos, .v-capot, .v-geo) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); column-gap: clamp(28px, 5vw, 80px); }
  html body .v-section > .v-wrap > .v-qui:not(.v-fiche) {
    max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); column-gap: clamp(28px, 5vw, 80px); align-items: start;
  }
}

/* tool chips: each name on one line */
@media (width > 900px) {
  html body .v-stack__outils { display: flex; flex-wrap: wrap; gap: 10px; }
  html body .v-outil { flex: 0 0 auto; white-space: nowrap; line-height: 1.25; padding: 10px 18px 10px 14px; }
}

/* touch targets: "other services" links, footer hours on small phones */
html body .mt-autres .v-link { display: inline-flex; align-items: center; min-height: 44px; }
@media (width <= 480px) {
  html body .v-footer__col:last-child li:not(:has(a)) { grid-column: 1 / -1; }
}

/* contrast: unavailable options stay readable; focus ring on ink surfaces */
html body .v-opt.est-indisponible .v-opt__detail { opacity: 1; }
html body :is(.v-footer, .v-section--stone, .v-plan--dark) :is(a, button, summary):focus-visible { outline-color: var(--cobalt-clair); }

/* contact form: persistent error messages (script: /assets/dm-form.js) */
html body .v-form .v-field { align-content: start; }
html body .v-field :is(input, select, textarea)[aria-invalid="true"] { border-color: #ffc2b8; }
.v-form__erreur { margin: 0; color: #ffc2b8; font-size: .9375rem; font-weight: 600; }
