/* Dégradé « Brume du lac » sur tous les aplats de couleur. Fichier fabriqué par outils/degrades.py : ne pas retoucher à la main.
   Grandes surfaces : dégradé entier. Boutons, pastilles, traits : la partie foncée seulement, pour garder le texte lisible. */
:root { --grad: linear-gradient(100deg, #101d4a 0%, #2b4578 38%, #6f8fae 72%, #c5d3dd 100%); --grad-petit: linear-gradient(100deg, #101d4a 0%, #223a6e 55%, #3b5a8c 100%); --grad-moyen: linear-gradient(100deg, #101d4a 0%, #2b4578 50%, #54759d 100%); --lueur-claire: rgba(214, 226, 234, .55); --lueur-moyenne: rgba(111, 143, 174, .6); --lueur-fonce: rgba(10, 20, 58, .7); --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.2' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 1 1 0 -1  1 1 1 0 -1  1 1 1 0 -1  0 0 0 0 .5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* Marques lues par velaris.js : --vl = dégradé dessiné en continu, --vlh = au survol ou à l'ouverture */
@property --vl { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --vlh { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --gx { syntax: "<percentage>"; inherits: false; initial-value: 82%; }
@property --gy { syntax: "<percentage>"; inherits: false; initial-value: 20%; }
@property --hx { syntax: "<percentage>"; inherits: false; initial-value: 22%; }
@property --hy { syntax: "<percentage>"; inherits: false; initial-value: 85%; }
@keyframes grad-vie { 0% { --gx: 82%; --gy: 20%; --hx: 22%; --hy: 85%; } 50% { --gx: 55%; --gy: 75%; --hx: 48%; --hy: 12%; } 100% { --gx: 96%; --gy: 62%; --hx: 6%; --hy: 40%; } }
/* Le grain frémit : il saute de place quelques fois par seconde, comme sur une pellicule */
@keyframes grain-vie { 0% { background-position: 0 0, 0 0, 0 0, 0 0; } 12.5% { background-position: -37px 52px, 0 0, 0 0, 0 0; } 25% { background-position: 61px -23px, 0 0, 0 0, 0 0; } 37.5% { background-position: -84px -71px, 0 0, 0 0, 0 0; }
  50% { background-position: 29px 88px, 0 0, 0 0, 0 0; } 62.5% { background-position: -112px 17px, 0 0, 0 0, 0 0; } 75% { background-position: 73px 64px, 0 0, 0 0, 0 0; } 87.5% { background-position: -19px -96px, 0 0, 0 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { @keyframes grain-vie { 0%, 100% { background-position: 0 0; } } }
@media (prefers-reduced-motion: reduce) { @keyframes grad-vie { 0%, 100% { --gx: 82%; --gy: 20%; --hx: 22%; --hy: 85%; } } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --grad: linear-gradient(100deg, #1a2c63 0%, #3f5f97 40%, #86a6c2 74%, #d5e1e8 100%); --grad-petit: linear-gradient(100deg, #1a2c63 0%, #31508c 55%, #4c6fa6 100%); --grad-moyen: linear-gradient(100deg, #1a2c63 0%, #3f5f97 52%, #6a8bb3 100%); --accent: #a9c1e8; --accent-ink: #fff; --lueur-claire: rgba(226, 235, 241, .5); --lueur-moyenne: rgba(134, 166, 194, .55); --lueur-fonce: rgba(18, 32, 78, .7); } }
:root[data-theme="dark"] { --grad: linear-gradient(100deg, #1a2c63 0%, #3f5f97 40%, #86a6c2 74%, #d5e1e8 100%); --grad-petit: linear-gradient(100deg, #1a2c63 0%, #31508c 55%, #4c6fa6 100%); --grad-moyen: linear-gradient(100deg, #1a2c63 0%, #3f5f97 52%, #6a8bb3 100%); --accent: #a9c1e8; --accent-ink: #fff; --lueur-claire: rgba(226, 235, 241, .5); --lueur-moyenne: rgba(134, 166, 194, .55); --lueur-fonce: rgba(18, 32, 78, .7); }
/* Grandes surfaces */
.tile-accent,
.cta-panel,
.es-carte.es-bleu,
.bn-place,
.im-stat.is-blue,
.nm-card.is-blue { background-image: var(--grain), radial-gradient(60% 90% at var(--gx) var(--gy), var(--lueur-claire) 0%, transparent 70%), radial-gradient(55% 80% at var(--hx) var(--hy), var(--lueur-fonce) 0%, transparent 72%), var(--grad); background-blend-mode: overlay, normal, normal, normal; animation: grad-vie 24s ease-in-out infinite alternate, grain-vie 1.6s steps(1) infinite; color: #fff; --vl: 1; }
/* Tuiles de texte */
.calc-out,
.av-card.is-open,
#wayne-estim .hero,
.wbc-res,
.im-m-lead,
.im-result,
.av-grid { background-image: var(--grain), radial-gradient(60% 90% at var(--gx) var(--gy), var(--lueur-moyenne) 0%, transparent 70%), radial-gradient(55% 80% at var(--hx) var(--hy), var(--lueur-fonce) 0%, transparent 72%), var(--grad-moyen); background-blend-mode: overlay, normal, normal, normal; animation: grad-vie 24s ease-in-out infinite alternate, grain-vie 1.6s steps(1) infinite; color: #fff; --vl: 1; }
.offer-main { background-image: var(--grain), radial-gradient(60% 90% at var(--gx) var(--gy), var(--lueur-moyenne) 0%, transparent 70%), radial-gradient(55% 80% at var(--hx) var(--hy), var(--lueur-fonce) 0%, transparent 72%), var(--grad-moyen) !important; background-blend-mode: overlay, normal, normal, normal !important; animation: grad-vie 24s ease-in-out infinite alternate, grain-vie 1.6s steps(1) infinite !important; color: #fff !important; --vl: 1 !important; }
/* Boutons, pastilles, petits éléments */
.btn-primary,
.search-fields .btn,
.milestone::before,
.marquee-track span::after,
.estimate-bar .btn,
.pin-wrap:hover .pin-price, .pin.open .pin-price,
.fan-dots button[aria-current="true"],
.fan-btn,
.pn-go,
.pc-row:hover .pc-num, .pc-row.is-hot .pc-num,
.pc-marker.is-hot .pc-pin, .pc-pin:hover,
.offer-btn,
.c-pin-badge,
.c-pin-logo span,
.c-pin-tip,
.c-pin-dot,
.pm-cta:hover,
.progress > i,
.pm-cta-site,
.av-bar i,
#wayne-estim .seg.active,
#wayne-estim .btn-primary,
#wayne-estim .btn-ghost:hover,
.bn-feats li i,
.bn-agent-ph,
.bn-btn-blue,
.bn-fav:hover, .bn-fav[aria-pressed="true"],
.bn-dot,
.wbc-mark,
.pnx-panel:not(.is-open):hover .pnx-ico,
.vx-links a:hover,
.vq-links a:hover,
.vm-line-dot,
.vm-step.is-active .vm-num,
.ventes-progress span,
.ventes-arrow:hover:not(:disabled),
.nav-drop,
.nav-shell .lang-sw a[aria-current], .site-header.on-dark:not(.is-scrolled) .lang-sw a[aria-current],
.nav-shell .nav-actions .btn, .on-dark:not(.is-scrolled) .nav-shell .nav-actions .btn-primary,
.sm-tools .lang-sw a[aria-current] { background-image: var(--grad-petit); --vl: 1; }
.faq details[open] summary i,
.seg input:checked + label { background-image: var(--grad-petit) !important; --vl: 1 !important; }
@media (min-width: 861px) { 
.vq-tile:not(.is-on):hover .vq-tag i { background-image: var(--grad-petit); --vl: 1; }
}
/* Survols en fondu */
body[data-page="home"] .step,
body[data-page="vendre"] .step,
a.c-card,
.milestone,
.im-m-step,
#nous-achetons .check-group { position: relative; isolation: isolate; transition: color .7s ease .05s, border-color .7s ease .05s, transform .9s cubic-bezier(.22, 1, .36, 1) !important; }
body[data-page="home"] .step::after,
body[data-page="vendre"] .step::after,
a.c-card::after,
.milestone::after,
.im-m-step::after,
#nous-achetons .check-group::after { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .85s cubic-bezier(.22, 1, .36, 1) .05s; background-image: var(--grain), radial-gradient(60% 90% at var(--gx) var(--gy), var(--lueur-moyenne) 0%, transparent 70%), radial-gradient(55% 80% at var(--hx) var(--hy), var(--lueur-fonce) 0%, transparent 72%), var(--grad-moyen); background-blend-mode: overlay, normal, normal, normal; animation: grad-vie 24s ease-in-out infinite alternate, grain-vie 1.6s steps(1) infinite; }
body[data-page="home"] .step *,
body[data-page="vendre"] .step *,
a.c-card *,
.milestone *,
.im-m-step *,
#nous-achetons .check-group *,
body[data-page="home"] .step::before,
body[data-page="vendre"] .step::before,
a.c-card::before,
.milestone::before,
.im-m-step::before,
#nous-achetons .check-group::before { transition: color .7s ease .05s !important; }
@media (hover: hover) {
body[data-page="home"] .step:hover,
body[data-page="vendre"] .step:hover,
a.c-card:hover,
.milestone:hover,
.im-m-step:hover,
#nous-achetons .check-group:hover { background-color: transparent !important; background-image: none !important; }
body[data-page="home"] .step:hover::after,
body[data-page="vendre"] .step:hover::after,
a.c-card:hover::after,
.milestone:hover::after,
.im-m-step:hover::after,
#nous-achetons .check-group:hover::after { opacity: 1; }
}
body[data-page="home"] .step,
body[data-page="vendre"] .step,
a.c-card,
.milestone,
.im-m-step,
#nous-achetons .check-group,
.pnx-panel,
.fact-card { --vlh: 1; }
.timeline.three .milestone { --vlh: 0; }
body[data-page="home"] .step[data-vl]::after,
body[data-page="vendre"] .step[data-vl]::after,
a.c-card[data-vl]::after,
.milestone[data-vl]::after,
.im-m-step[data-vl]::after,
#nous-achetons .check-group[data-vl]::after,
.fact-card[data-vl]::before { display: none; }
.timeline.three .milestone::after { display: none; }
@media (prefers-reduced-motion: reduce) { body[data-page="home"] .step::after, body[data-page="vendre"] .step::after, a.c-card::after, .milestone::after, .im-m-step::after, #nous-achetons .check-group::after { transition: none; } }
/* fin dégradés */
