/* danian.be: hover and interaction layer (site-wide).
   One vocabulary, matching the navbar and the buttons:
   - link cards lift 3px, the shadow deepens, the hairline darkens (.45s, var(--ease));
   - an image inside a frame leans in (scale 1.03, clipped to its own box, .7s);
   - arrows swap like the button chip: the arrow leaves to the right and comes back from the left
     (horizontal arrows: two mask layers, .5s slide easing; diagonal svg arrows: one path, .7s keyframes);
   - quiet links (no underline at rest) get an underline that rises into place;
   - colours shift to ink or cobalt in .3s.
   Every hover has a :focus-visible twin; movement sits behind (hover: hover) and is removed under
   prefers-reduced-motion. Selectors start with "html body" to win over the compiled page styles. */

:root {
  --dm-glisse: cubic-bezier(.7, 0, .2, 1);
  --dm-t-couleur: .3s;
  --dm-t-geste: .45s;
  --dm-t-image: .7s;
  --dm-filet-survol: color-mix(in srgb, var(--pierre) 22%, transparent);
  --dm-ombre: 0 1px 2px rgb(22 28 34 / .05), 0 26px 44px -30px rgb(22 28 34 / .5);
  --dm-fleche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E");
}

/* the diagonal arrow (one svg path): leaves to the top right, comes back from the bottom left */
@keyframes dm-fleche-diag {
  0% { transform: none; animation-timing-function: cubic-bezier(.7, 0, .2, 1); }
  45% { transform: translate(12px, -12px); animation-timing-function: steps(1, end); }
  55% { transform: translate(-12px, 12px); animation-timing-function: cubic-bezier(.7, 0, .2, 1); }
  100% { transform: none; }
}

/* ---------------------------------------------------------------- service cards (home, /services/) */
html body .v-servicecard {
  transition: background-color var(--dm-t-couleur) var(--ease), border-color var(--dm-t-couleur) var(--ease),
    translate var(--dm-t-geste) var(--ease), box-shadow var(--dm-t-geste) var(--ease);
}
html body .v-servicecard:hover, html body .v-servicecard:focus-visible { background: #fff; border-color: var(--dm-filet-survol); }
html body .v-motioncard:hover, html body .v-motioncard:focus-visible { background: var(--pierre); border-color: var(--pierre); }

/* "Découvrir le service": the arrow carries the hover (no underline, like the button label) */
html body .v-servicecard__plus {
  display: inline-flex; align-items: center; gap: .35em;
  background-image: none; text-decoration: none;
}
html body .v-servicecard__plus::after {
  content: ""; flex: none; width: .95em; height: .95em; background: currentColor;
  -webkit-mask: var(--dm-fleche) 0 0 / .95em .95em no-repeat, var(--dm-fleche) -1.3em 0 / .95em .95em no-repeat;
  mask: var(--dm-fleche) 0 0 / .95em .95em no-repeat, var(--dm-fleche) -1.3em 0 / .95em .95em no-repeat;
  transition: -webkit-mask-position .5s var(--dm-glisse), mask-position .5s var(--dm-glisse);
}
html body .v-servicecard:focus-visible .v-servicecard__plus::after { -webkit-mask-position: 1.3em 0, 0 0; mask-position: 1.3em 0, 0 0; }

/* ---------------------------------------------------------------- demo cards (/realisations/) */
/* the frame lifts, the screenshot leans in inside its own box; the CTA beside it drives the same move */
html body .v-vitrine__cadre { position: relative; transition: translate var(--dm-t-geste) var(--ease), box-shadow var(--dm-t-geste) var(--ease); }
html body .v-vitrine__cadre > img {
  box-shadow: none; clip-path: inset(0 round 8px);
  transition: scale var(--dm-t-image) var(--ease), clip-path var(--dm-t-image) var(--ease);
}
html body .v-vitrine__cadre::after { /* the hairline that used to sit on the image, so the clip cannot eat it */
  content: ""; position: absolute; inset: 47px 7px 7px; border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18); pointer-events: none;
}
html body .v-vitrine:has(.v-cas__texte .dm-cta:focus-visible) .v-vitrine__cadre { box-shadow: inset 0 0 0 1px #161c221a, var(--dm-ombre); }

/* ---------------------------------------------------------------- trade pages: demo thumbnails */
html body .mt-demo__lien img { transition: translate var(--dm-t-geste) var(--ease), box-shadow var(--dm-t-geste) var(--ease), border-color var(--dm-t-couleur) var(--ease); }
html body .mt-demo__lien:is(:hover, :focus-visible) img { border-color: var(--dm-filet-survol); box-shadow: var(--dm-ombre); }
html body .mt-demos .mt-demo .mt-demo__lien:is(:hover, :focus-visible) .mt-demo__ouvrir { text-decoration: none; } /* the arrow carries it */

/* ---------------------------------------------------------------- "métier" rows (/services/site-vitrine/) */
/* the ink fill rises with the button's slide easing, and falls back quicker */
html body .v-metier--demo::before { transition: transform .32s var(--ease); }
html body .v-metier, html body .v-metier__fait, html body .v-metier__meta { transition-duration: var(--dm-t-couleur); }
@media (hover: hover) {
  html body .v-metier--demo:hover::before { transition: transform .55s var(--dm-glisse); }
  html body .v-metier--demo:hover .v-metier__fleche { transform: none; }
}
html body .v-metier--demo:has(.v-metier__demo:focus-visible)::before { transition: transform .55s var(--dm-glisse); }
html body .v-metier--demo:has(.v-metier__demo:focus-visible) .v-metier__fleche { transform: none; }

/* ---------------------------------------------------------------- hero demo favicons (/services/site-vitrine/) */
html body .dm-demos-hero a img { transition: transform var(--dm-t-geste) var(--ease), filter var(--dm-t-geste) var(--ease); }
html body .dm-demos-hero a:is(:hover, :focus-visible) img { filter: drop-shadow(0 10px 10px rgb(22 28 34 / .22)); }

/* ---------------------------------------------------------------- quiet links: footer, breadcrumb */
/* no underline at rest; on hover it fades in while rising into place */
html body :is(.v-footer__col, .v-footer__row) a,
html body .v-ariane a {
  text-decoration: underline 1px transparent; text-underline-offset: .5em;
  transition: color var(--dm-t-couleur) var(--ease), text-decoration-color var(--dm-t-couleur) var(--ease),
    text-underline-offset var(--dm-t-geste) var(--ease);
}
html body :is(.v-footer__col, .v-footer__row) a:is(:hover, :focus-visible) { color: var(--chaux); text-decoration-color: currentColor; text-underline-offset: .22em; }
html body .v-ariane a:is(:hover, :focus-visible) { color: var(--pierre); text-decoration-color: currentColor; text-underline-offset: .22em; }

/* footer social buttons: round, like the button chip, and the paper floods in from the centre */
html body .v-footer__social a {
  position: relative; isolation: isolate; border-radius: 50%;
  transition: color var(--dm-t-couleur) var(--ease) .06s, border-color var(--dm-t-couleur) var(--ease), transform .15s var(--ease);
}
html body .v-footer__social a::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 50%; /* covers the border: no seam */
  background: var(--chaux); transform: scale(0); transition: transform .5s var(--dm-glisse);
}
html body .v-footer__social a:is(:hover, :focus-visible) { color: var(--pierre); border-color: var(--chaux); }
html body .v-footer__social a:is(:hover, :focus-visible)::before { transform: none; }

/* ---------------------------------------------------------------- FAQ and other disclosure rows */
html body :is(.v-faq, .v-compare, .v-plus) summary { transition: color var(--dm-t-couleur) var(--ease); }
html body .v-faq summary:focus-visible { color: var(--cobalt); }
html body :is(.v-faq details, .v-compare, .v-plus) summary::after { transition: transform var(--dm-t-geste) var(--ease); }

/* ---------------------------------------------------------------- inline links inside sentences */
html body :is(.v-chemin p, .v-recu__metiers, .v-hero__appel, .v-motion-prix__lancement, .g-signature, .v-bref dd, .v-appareils__legende) a,
html body .g-danian a:not(.v-btn):not(.v-link) {
  transition: color var(--dm-t-couleur) var(--ease), text-decoration-color var(--dm-t-couleur) var(--ease);
}
html body :is(.v-chemin p, .v-recu__metiers, .v-hero__appel, .g-signature, .v-bref dd, .v-appareils__legende) a:is(:hover, :focus-visible),
html body .g-danian a:not(.v-btn):not(.v-link):is(:hover, :focus-visible) { text-decoration-color: var(--cobalt); }
html body .v-cv__pied a { transition: text-decoration-color var(--dm-t-couleur) var(--ease); }
html body .v-cv__pied a:focus-visible { text-decoration-color: currentColor; }

/* ---------------------------------------------------------------- small controls: same timing, focus twins */
html body .v-film__rejouer { transition: color var(--dm-t-couleur) var(--ease); }
html body .v-film__rejouer:is(:hover, :focus-visible) { color: var(--cobalt-fonce); }
html body .v-segment__choix { transition: border-color var(--dm-t-couleur) var(--ease), background-color var(--dm-t-couleur) var(--ease); }
html body .v-segment__choix:not(:has(input:checked)):hover { border-color: var(--pierre); }
html body .v-opt__qty button { transition: background-color var(--dm-t-couleur) var(--ease), color var(--dm-t-couleur) var(--ease), transform .15s var(--ease); }
html body .v-lecteur__fermer { transition: background-color var(--dm-t-couleur) var(--ease); }
html body .v-lecteur__fermer:focus-visible { background: #ffffff3d; }
html body .v-reels__lien:focus-visible .v-tel__son { background: var(--cobalt); color: #fff; }
html body .v-mobilebar__icone:focus-visible { background: color-mix(in srgb, var(--pierre) 6%, transparent); }
@media (hover: hover) {
  html body .v-mobilebar__icone:hover { background: color-mix(in srgb, var(--pierre) 6%, transparent); }
}

/* ---------------------------------------------------------------- movement (pointer that can hover) */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html body .v-servicecard:hover { translate: 0 -3px; box-shadow: var(--dm-ombre); }
  html body .v-servicecard:hover .v-servicecard__plus::after { -webkit-mask-position: 1.3em 0, 0 0; mask-position: 1.3em 0, 0 0; }
  html body .v-servicecard:active { translate: 0 -1px; transition-duration: .15s; }

  html body .v-vitrine__cadre:hover,
  html body .v-vitrine:has(.v-cas__texte .dm-cta:hover) .v-vitrine__cadre { translate: 0 -3px; box-shadow: inset 0 0 0 1px #161c221a, var(--dm-ombre); }
  html body .v-vitrine__cadre:hover > img,
  html body .v-vitrine:has(.v-cas__texte .dm-cta:hover) .v-vitrine__cadre > img { scale: 1.03; clip-path: inset(1.4563% round 7.77px); }

  html body .mt-demo__lien:hover img { translate: 0 -3px; }
  html body .mt-demo__lien:hover .mt-demo__ouvrir svg path { animation: dm-fleche-diag .7s var(--dm-glisse); }

  html body .v-metier--demo:hover .v-metier__fleche path { animation: dm-fleche-diag .7s var(--dm-glisse); }

  html body .dm-demos-hero a:hover img { transform: translateY(-3px); }
}

/* the same movement for keyboard focus */
@media (prefers-reduced-motion: no-preference) {
  html body .v-servicecard:focus-visible { translate: 0 -3px; box-shadow: var(--dm-ombre); }
  html body .v-vitrine:has(.v-cas__texte .dm-cta:focus-visible) .v-vitrine__cadre { translate: 0 -3px; }
  html body .v-vitrine:has(.v-cas__texte .dm-cta:focus-visible) .v-vitrine__cadre > img { scale: 1.03; clip-path: inset(1.4563% round 7.77px); }
  html body .mt-demo__lien:focus-visible img { translate: 0 -3px; }
  html body .mt-demo__lien:focus-visible .mt-demo__ouvrir svg path { animation: dm-fleche-diag .7s var(--dm-glisse); }
  html body .v-metier--demo:has(.v-metier__demo:focus-visible) .v-metier__fleche path { animation: dm-fleche-diag .7s var(--dm-glisse); }
  html body .dm-demos-hero a:focus-visible img { transform: translateY(-3px); }
}

/* ---------------------------------------------------------------- reduced motion: colour and shadow only */
@media (prefers-reduced-motion: reduce) {
  /* !important: some older page rules (frame and favicon lifts) are not guarded by reduced motion */
  html body :is(.v-servicecard, .v-vitrine__cadre, .v-vitrine__cadre > img, .mt-demo__lien img, .dm-demos-hero a img) { translate: none !important; scale: none !important; transform: none !important; }
  html body .v-vitrine__cadre > img { clip-path: inset(0 round 8px) !important; }
  html body .v-servicecard__plus::after, html body .v-footer__social a::before, html body .v-metier--demo::before,
  html body :is(:is(.v-footer__col, .v-footer__row) a, .v-ariane a) { transition-duration: .01s; }
  html body .v-servicecard__plus::after { -webkit-mask-position: 0 0, -1.3em 0 !important; mask-position: 0 0, -1.3em 0 !important; }
}

/* ===== Buttons v3: tactile keys (no pill). Cobalt surface with a light top edge, layered shadow, a pressed state,
   and the arrow in its own cell behind an engraved divider. Overrides the pill system of danian-maj.css. ===== */
html body .v-btn.dm-cta {
  --cle-r: 10px; --cle-h: 54px; --cellule: 52px;
  --cle-fond: linear-gradient(180deg, #3D7DFF 0%, #1765FF 46%, #0B56EE 100%);
  --cle-fond-survol: linear-gradient(180deg, #4C88FF 0%, #2470FF 46%, #0F5CF4 100%);
  --cle-bord: #0A49CF; --cle-txt: #fff; --cle-fleche: #fff; --cle-fleche-survol: #fff;
  --cle-filet: rgba(255, 255, 255, .22); --cle-filet-ombre: rgba(3, 26, 96, .28);
  --cle-ombre: inset 0 1px 0 rgba(255, 255, 255, .32), inset 0 -2px 0 rgba(3, 26, 96, .2), 0 1px 1px rgba(8, 30, 90, .22), 0 8px 18px -8px rgba(12, 93, 254, .62);
  --cle-ombre-survol: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -2px 0 rgba(3, 26, 96, .2), 0 2px 2px rgba(8, 30, 90, .18), 0 16px 28px -12px rgba(12, 93, 254, .7);
  --cle-ombre-presse: inset 0 2px 5px rgba(3, 26, 96, .38), 0 1px 0 rgba(255, 255, 255, .06);
  gap: 0; min-height: var(--cle-h); padding: 0 0 0 24px; border: 1px solid var(--cle-bord); border-radius: var(--cle-r);
  background: var(--cle-fond); color: var(--cle-txt); box-shadow: var(--cle-ombre);
  font-weight: 600; letter-spacing: -.01em; text-shadow: 0 1px 0 rgba(3, 26, 96, .18);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
html body .v-btn.dm-cta::before { display: none; }
html body .v-btn.dm-cta:is(:hover, :focus-visible) { background: var(--cle-fond-survol); color: var(--cle-txt); border-color: var(--cle-bord); box-shadow: var(--cle-ombre-survol); transform: translateY(-1px); }
html body .v-btn.dm-cta:active { transform: translateY(1px); box-shadow: var(--cle-ombre-presse); transition-duration: .06s; }
html body .v-btn.dm-cta:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
html body .v-btn.dm-cta .dm-cta__txt { padding: 0 20px 1px 0; }
/* the arrow cell: full height, engraved divider on its left */
html body .v-btn.dm-cta .dm-cta__puce {
  align-self: stretch; width: var(--cellule); height: auto; border-radius: 0 calc(var(--cle-r) - 1px) calc(var(--cle-r) - 1px) 0;
  background: transparent; color: var(--cle-fleche); box-shadow: inset 1px 0 0 var(--cle-filet), -1px 0 0 var(--cle-filet-ombre);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
html body .v-btn.dm-cta:is(:hover, :focus-visible) .dm-cta__puce { background: rgba(255, 255, 255, .06); color: var(--cle-fleche-survol); }
html body .v-btn.dm-cta .dm-cta__puce svg { width: 17px; height: 17px; stroke-width: 1.9; }
/* small: header, cards, mobile bar */
html body .v-btn.dm-cta.v-btn--small { --cle-h: 44px; --cellule: 44px; --cle-r: 9px; padding-left: 18px; font-size: .9375rem; }
html body .v-btn.dm-cta.v-btn--small .dm-cta__txt { padding-right: 16px; }
/* light: on the cobalt bands, a white key with ink text and a cobalt arrow */
html body .v-btn.dm-cta.v-btn--light {
  --cle-fond: linear-gradient(180deg, #FFFFFF 0%, #F3F6FF 100%); --cle-fond-survol: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
  --cle-bord: rgba(255, 255, 255, .9); --cle-txt: var(--pierre); --cle-fleche: var(--cobalt); --cle-fleche-survol: var(--cobalt);
  --cle-filet: rgba(12, 93, 254, .16); --cle-filet-ombre: rgba(255, 255, 255, .8);
  --cle-ombre: inset 0 -2px 0 rgba(12, 93, 254, .1), 0 1px 1px rgba(3, 26, 96, .2), 0 10px 22px -10px rgba(3, 26, 96, .55);
  --cle-ombre-survol: inset 0 -2px 0 rgba(12, 93, 254, .12), 0 2px 2px rgba(3, 26, 96, .18), 0 18px 30px -12px rgba(3, 26, 96, .6);
  --cle-ombre-presse: inset 0 2px 5px rgba(3, 26, 96, .22);
  text-shadow: none;
}
html body .v-btn.dm-cta.v-btn--light:is(:hover, :focus-visible) { color: var(--pierre); }
/* ghost: a paper key with a hairline, ink text, the arrow turns cobalt */
html body .v-btn.dm-cta.v-btn--ghost {
  --cle-fond: linear-gradient(180deg, #FFFFFF 0%, #F2F3F0 100%); --cle-fond-survol: linear-gradient(180deg, #FFFFFF 0%, #F7F8F5 100%);
  --cle-bord: rgba(22, 28, 34, .16); --cle-txt: var(--pierre); --cle-fleche: var(--pierre); --cle-fleche-survol: var(--cobalt);
  --cle-filet: rgba(22, 28, 34, .1); --cle-filet-ombre: rgba(255, 255, 255, .9);
  --cle-ombre: inset 0 1px 0 #fff, 0 1px 2px rgba(22, 28, 34, .08);
  --cle-ombre-survol: inset 0 1px 0 #fff, 0 2px 3px rgba(22, 28, 34, .08), 0 12px 22px -12px rgba(22, 28, 34, .35);
  --cle-ombre-presse: inset 0 2px 4px rgba(22, 28, 34, .14);
  text-shadow: none;
}
html body .v-btn.dm-cta.v-btn--ghost:is(:hover, :focus-visible) { color: var(--pierre); border-color: rgba(22, 28, 34, .28); }
html body .v-btn.dm-cta.v-btn--ghost:is(:hover, :focus-visible) .dm-cta__puce { background: transparent; }
/* on ink sections the cobalt key stays (the white override of the pill system is cancelled) */
html body :is(.v-section--stone, .v-plan--dark, .v-estim__recap) .v-btn.dm-cta:not(.v-btn--light):not(.v-btn--ghost),
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) { color: #fff; }
html body :is(.v-section--stone, .v-plan--dark, .v-estim__recap) .v-btn.dm-cta:not(.v-btn--light):not(.v-btn--ghost) { background: var(--cle-fond); }
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: var(--cle-fond-survol); }
/* the other rounded controls follow the key radius */
html body .v-menu__action, html body .v-moni__ouvrir { border-radius: 10px; }
@media (prefers-reduced-motion: reduce) {
  html body .v-btn.dm-cta, html body .v-btn.dm-cta:is(:hover, :focus-visible), html body .v-btn.dm-cta:active { transform: none; }
}

/* buttons v3, fixes: the hidden arrow never peeks out of its cell; variants restate surface/shadow over the pill rules */
html body .v-btn.dm-cta .dm-cta__puce svg + svg { transform: translateX(-46px); }
html body .v-btn.dm-cta:is(:hover, :focus-visible) .dm-cta__puce svg:first-child { transform: translateX(46px); }
html body .v-btn.dm-cta:is(:hover, :focus-visible) .dm-cta__puce svg + svg { transform: none; }
html body .v-btn.dm-cta:is(.v-btn--light, .v-btn--ghost) { background: var(--cle-fond); box-shadow: var(--cle-ombre); color: var(--cle-txt); border: 1px solid var(--cle-bord); }
html body .v-btn.dm-cta:is(.v-btn--light, .v-btn--ghost):is(:hover, :focus-visible) { background: var(--cle-fond-survol); box-shadow: var(--cle-ombre-survol); color: var(--cle-txt); }
html body .v-btn.dm-cta:is(.v-btn--light, .v-btn--ghost):active { box-shadow: var(--cle-ombre-presse); }
html body .v-btn.dm-cta.v-btn--ghost:is(:hover, :focus-visible) { border-color: rgba(22, 28, 34, .28); }

/* ===== Method band v3: no medallions on the blue. White line icons sit on a white rail, the step number rides the rail. ===== */
html body .v-methode .v-etapes-num { --pastille: 56px; --fil: rgba(255, 255, 255, .28); }
html body .v-methode .v-etapes-num__n {
  background: transparent !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important;
  animation: none !important; overflow: visible; color: #fff !important;
}
html body .v-methode .dm-medaille { width: 58px; height: 58px; }
html body .v-methode .dm-medaille [stroke="#0C5DFE"] { stroke: #fff; }
html body .v-methode .dm-medaille [fill="#0C5DFE"] { fill: #fff; }
html body .v-methode .dm-medaille [fill="#E3ECFF"] { fill: #3D7DFF; }
html body .v-methode .dm-medaille [fill="#FFFFFF"] { fill: var(--cobalt); } /* front shapes knock out what is behind them */
html body .v-methode .dm-n {
  top: 50%; right: auto; left: calc(100% + 10px); width: auto; height: auto; padding: 0 12px 0 4px; border-radius: 0;
  transform: translateY(-50%); background: var(--cobalt); box-shadow: none; color: rgba(255, 255, 255, .78);
  font-family: var(--f-studio); font-weight: 600; font-size: 1.375rem; line-height: 1; font-variant-numeric: lining-nums;
}
html body .v-methode .v-etapes-num > li:not(:last-child)::before, html body .v-methode .v-etapes-num > li:not(:last-child)::after { left: calc(var(--pastille) + 10px); }
@media (width < 700px) {
  html body .v-methode .v-etapes-num { --pastille: 44px; }
  html body .v-methode .dm-medaille { width: 42px; height: 42px; }
  html body .v-methode .dm-n { top: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 4px 2px 6px; font-size: 1.125rem; }
  html body .v-methode .v-etapes-num > li:not(:last-child)::before, html body .v-methode .v-etapes-num > li:not(:last-child)::after { left: calc(var(--pastille) / 2 - .5px); }
}

/* ===== Browser surfaces themed from the palette ===== */
::selection { background: color-mix(in srgb, var(--cobalt) 22%, transparent); color: var(--pierre); }
.v-section--cobalt ::selection, .v-ctaband ::selection { background: rgba(255, 255, 255, .9); color: var(--cobalt); }
html { scrollbar-color: color-mix(in srgb, var(--pierre) 30%, transparent) transparent; accent-color: var(--cobalt); }
input, textarea { caret-color: var(--cobalt); }

/* ===== Home offer card v3: a white price sheet with an ink action panel (one elevation: shadow, no border) ===== */
html body .v-offre--accueil {
  padding: 0; gap: 0; overflow: hidden; background: #fff; border: 0; border-radius: 20px;
  box-shadow: 0 1px 2px rgba(22, 28, 34, .05), 0 28px 56px -30px rgba(22, 28, 34, .32);
}
html body .v-offre--accueil .v-offre__tete { padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 52px) 0; gap: 14px; }
html body .v-offre--accueil .v-offre__prix { gap: 8px 14px; }
html body .v-offre--accueil .v-offre__prix strong { font-size: clamp(4rem, 2.8rem + 4vw, 6.25rem); font-weight: 600; letter-spacing: -.04em; line-height: .86; }
html body .v-offre--accueil .v-offre__prix span { color: var(--pierre-douce); font-weight: 500; }
html body .v-offre--accueil .v-offre__mensuel { color: var(--pierre-douce); max-width: 34ch; text-wrap: pretty; }
html body .v-offre--accueil .v-offre__points { padding: 26px clamp(24px, 4vw, 52px) clamp(28px, 4vw, 44px); gap: 12px; }
html body .v-offre--accueil .v-offre__cote {
  background: var(--pierre); color: #fff; padding: clamp(28px, 4vw, 44px) clamp(24px, 3.4vw, 44px);
  align-content: center; gap: 22px;
}
html body .v-offre--accueil .v-offre__compteur { border: 0; padding: 0; gap: 12px; }
html body .v-offre--accueil .v-offre__places { gap: 5px; max-width: none; }
html body .v-offre--accueil .v-offre__places li { height: 6px; border-radius: 3px; }
html body .v-offre--accueil .v-offre__etat { color: #fff; font-size: 1rem; }
html body .v-offre--accueil > .v-plus { padding: 0 clamp(24px, 4vw, 52px); border-top: 1px solid rgba(22, 28, 34, .08); }
html body .v-offre--accueil > .v-plus > summary { min-height: 62px; }
@media (width >= 900px) {
  html body .v-offre--accueil { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 0; align-items: stretch; }
  html body .v-offre--accueil .v-offre__cote { grid-area: 1 / 2 / span 2; align-self: stretch; }
}
@media (width < 900px) {
  html body .v-offre--accueil .v-offre__cote { border-radius: 0; }
}

/* Info cards that are not links (automation examples, before-you-sign columns): a calm hover that does not fake a link.
   The card brightens, its edge draws in, the title steps aside and the logo's blue peak rises in front of it. */
@media (hover: hover) {
  html body :is(.v-exemples > li, .dm-avant__col) { transition: background-color .35s var(--ease), border-color .35s var(--ease), box-shadow .5s var(--ease); }
  html body :is(.v-exemples > li, .dm-avant__col):hover { background: #fff; border-color: color-mix(in srgb, var(--pierre) 18%, transparent); box-shadow: 0 1px 2px rgba(22, 28, 34, .04), 0 20px 40px -28px rgba(22, 28, 34, .38); }
  html body :is(.v-exemples > li .v-subhead, .dm-avant__col h3) { position: relative; transition: transform .5s cubic-bezier(.2, .9, .3, 1); }
  html body :is(.v-exemples > li .v-subhead, .dm-avant__col h3)::before {
    content: ""; position: absolute; left: -17px; top: 50%; width: 10px; height: 8px; margin-top: -5px; 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(4px) scaleY(0); opacity: 0;
    transition: transform .45s cubic-bezier(.2, .9, .3, 1.3) .05s, opacity .2s var(--ease) .05s;
  }
  html body :is(.v-exemples > li:hover .v-subhead, .dm-avant__col:hover h3) { transform: translateX(17px); }
  html body :is(.v-exemples > li:hover .v-subhead, .dm-avant__col:hover h3)::before { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html body :is(.v-exemples > li .v-subhead, .dm-avant__col h3), html body :is(.v-exemples > li .v-subhead, .dm-avant__col h3)::before { transition: none; }
  html body :is(.v-exemples > li:hover .v-subhead, .dm-avant__col:hover h3) { transform: none; }
}

/* buttons v3, final touches: menu button matches the keys; header CTA never wraps; mobile bar key drops its arrow cell */
html body .v-menu__bouton { border-radius: 10px; }
html body .v-header__cta.dm-cta .dm-cta__txt { white-space: nowrap; }
@media (1081px <= width < 1360px) {
  html body .v-nav > ul > li > a, html body .v-nav__bouton { padding-inline: 10px; }
  html body .v-header__end { gap: 16px; }
  html body .v-langs a { min-width: 28px; }
  html body .v-header__cta.dm-cta { --cellule: 40px; padding-left: 14px; font-size: .875rem; }
  html body .v-header__cta.dm-cta .dm-cta__txt { padding-right: 12px; }
}
html body .v-mobilebar .v-btn.dm-cta { padding-right: 16px; }
html body .v-mobilebar .v-btn.dm-cta .dm-cta__puce { display: none; }
html body .v-mobilebar .v-btn.dm-cta .dm-cta__txt { padding-right: 0; white-space: nowrap; }
@media (1081px <= width < 1360px) {
  html body .v-header .v-header__bar { grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; }
  html body .v-nav { justify-self: center; }
}
html body .v-mobilebar p { flex: 0 0 auto; white-space: nowrap; }

/* ===== Home commitments v5: Belgian enamel plaques drawn in Illustrator (assets/engagements/plaques) ===== */
html body .dm-plaques { padding-block: clamp(24px, 4vw, 48px) clamp(44px, 5.5vw, 80px); }
html body .dm-plaques__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 18px; margin: 0; padding: 0; list-style: none; }
html body .dm-plaques__liste > li { display: grid; justify-items: center; align-content: start; text-align: center; }
html body .dm-plaque {
  display: block; width: 100%; max-width: 250px; height: auto; transform-origin: 50% 8%;
  filter: drop-shadow(0 1px 1px rgba(8, 40, 120, .28)) drop-shadow(0 14px 16px rgba(8, 40, 120, .2));
  transition: transform .6s cubic-bezier(.2, .9, .3, 1.25), filter .4s var(--ease);
}
html body .dm-plaques__u { margin: 16px 0 0; color: var(--pierre); font-size: 1.0625rem; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; }
html body .dm-plaques__note { margin: 3px 0 0; color: var(--pierre-douce); font-size: .9375rem; line-height: 1.4; }
@media (hover: hover) {
  html body .dm-plaques__liste > li:hover .dm-plaque { transform: rotate(-2.5deg) translateY(-2px); filter: drop-shadow(0 2px 2px rgba(8, 40, 120, .26)) drop-shadow(0 20px 22px rgba(8, 40, 120, .24)); }
}
@media (width >= 860px) {
  html body .dm-plaques__liste { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { html body .dm-plaque { transition: none; } html body .dm-plaques__liste > li:hover .dm-plaque { transform: none; } }
