/* VISFX — feuille de style du site public */
:root {
  --z950: #09090b; --z900: #18181b; --z800: #27272a; --z700: #3f3f46; --z600: #52525b;
  --z500: #71717a; --z400: #a1a1aa; --z300: #d4d4d8; --g400: #9ca3af; --g500: #6b7280;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #000; color: #fff; font-family: "Space Grotesk", system-ui, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, video, canvas, iframe { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: 100%; max-width: 1536px; margin: 0 auto; padding: 0 16px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }

/* ---------- Curseur personnalisé (souris uniquement) ---------- */
.cursor-dot, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 768px) {
  body.has-cursor, body.has-cursor * { cursor: none !important; }
  body.has-cursor .cursor-dot, body.has-cursor .cursor-ring { display: block; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; mix-blend-mode: difference; border-radius: 50%; will-change: transform; }
  .cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; }
  .cursor-ring { width: 32px; height: 32px; margin: -16px 0 0 -16px; border: 1px solid #fff; transition: opacity .2s, border-width .2s; }
  .cursor-ring.is-link { opacity: .5; border-width: 2px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 45vh; min-height: 380px; background: var(--z900); overflow: hidden; }
.hero-particles, .hero-video, .hero-fade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { object-fit: cover; opacity: 0; transition: opacity 1.5s; }
.hero-video.is-ready { opacity: .5; }
.hero-fade { background: linear-gradient(to bottom, transparent, #000); z-index: 1; }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.hero-title { font-size: clamp(2.25rem, 8.5vw, 6rem); line-height: 1; margin-bottom: -4px; animation: rise .8s var(--ease) .2s both; }
.hero-title b { font-weight: 800; }
.title-gradient { color: transparent; background: linear-gradient(to right, #ffffffb3 20%, #fff 30%, #ffffffb3 70%); -webkit-background-clip: text; background-clip: text; background-size: 200% auto; animation: lightSweep 6s linear infinite; font-weight: 800; letter-spacing: -.025em; }
.hero-lead { color: var(--g400); font-size: clamp(1rem, 2vw, 1.5rem); margin-top: 12px; padding: 0 8px; animation: rise .8s var(--ease) .3s both; }
.hero-sub { color: var(--g400); font-size: clamp(.875rem, 1.7vw, 1.25rem); margin-top: 8px; padding: 0 8px; animation: rise .8s var(--ease) .4s both; }
/* Mots en gras blancs comme sur l'ancien site. Pour les passer en dégradé coloré : ajouter la classe "colored" sur <body>. */
.grad { font-weight: 700; color: #fff; }
.colored .grad { color: transparent; -webkit-background-clip: text; background-clip: text; }
.colored .g-red { background-image: linear-gradient(to right, #ef4444, #9333ea); }
.colored .g-blue { background-image: linear-gradient(to right, #3b82f6, #22d3ee); }
.colored .g-green { background-image: linear-gradient(to right, #22c55e, #34d399); }
.colored .g-orange { background-image: linear-gradient(to right, #f97316, #facc15); }
.hero-stats { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; margin-top: 18px; padding: 6px 16px 6px 8px; font-size: .875rem; font-weight: 500; color: var(--z300); background: rgb(24 24 27 / .55); border: 1px solid rgb(63 63 70 / .5); border-radius: 999px; backdrop-filter: blur(4px); transition: border-color .3s, color .3s; animation: rise .6s var(--ease) .5s both; }
.hero-stats:hover { color: #fff; border-color: var(--z500); }
.hs-faces { display: inline-flex; padding-left: 8px; }
.hs-faces img { width: 24px; height: 24px; margin-left: -8px; border-radius: 50%; object-fit: cover; border: 2px solid var(--z900); }
.hs-sep { color: var(--z600); }
@media (max-width: 640px) { .hero-stats { font-size: .75rem; margin-top: 12px; padding-right: 12px; } }
.btn-contact { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 200px; margin-top: 20px; padding: 12px 32px; font-size: 1.125rem; font-weight: 500; background: rgb(39 39 42 / .6); border: 1px solid rgb(63 63 70 / .5); border-radius: 999px; backdrop-filter: blur(4px); transition: background .3s, border-color .3s, transform .2s var(--ease); animation: rise .5s var(--ease) .6s both; }
.btn-contact:hover { background: rgb(63 63 70 / .6); border-color: rgb(82 82 91 / .5); transform: scale(1.05); }
.btn-contact:active { transform: scale(.95); }
.btn-contact span { transition: transform .3s; }
.btn-contact .icon { position: absolute; right: 28px; font-size: 20px; opacity: 0; transform: translateX(-20px); transition: opacity .3s, transform .3s; }
.btn-contact:hover span { transform: translateX(-12px); }
.btn-contact:hover .icon { opacity: 1; transform: none; }
@media (max-width: 640px) { .btn-contact { width: 180px; margin-top: 14px; padding: 10px 24px; font-size: 1rem; } .btn-contact .icon { right: 20px; font-size: 16px; } }

/* ---------- Filtres ---------- */
.filters { margin: 8px 0 32px; }
.cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cat { position: relative; overflow: hidden; padding: 12px 24px; border-radius: 999px; font-weight: 500; background: rgb(39 39 42 / .6); border: 1px solid rgb(63 63 70 / .5); backdrop-filter: blur(4px); transition: background .3s, color .3s, border-color .3s, transform .2s var(--ease); animation: pop .4s var(--ease) both; animation-delay: calc(.2s + var(--i, 0) * .1s); }
.cat:hover { background: rgb(63 63 70 / .6); border-color: rgb(82 82 91 / .5); transform: scale(1.05); }
.cat:active { transform: scale(.95); }
.cat[aria-selected="true"] { background: #fff; color: #000; border-color: #fff; box-shadow: 0 10px 15px -3px rgb(0 0 0 / .3); }
.subs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; min-height: 34px; }
.sub { --c: 63 63 70; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 6px; font-size: .75rem; font-weight: 500; color: var(--g500); transition: background .3s, color .3s, transform .2s var(--ease); }
.sub:hover { color: rgb(var(--c)); background: rgb(var(--c) / .12); transform: scale(1.05); }
.sub[aria-pressed="true"] { color: #fff; background: rgb(var(--c) / .9); }
.sub .count { font-size: 10px; opacity: .7; }
.sub.best { --c: 234 179 8; }
.sub.best .icon { fill: currentColor; }
.sub.best[aria-pressed="true"] { color: #000; }
.sub.all:hover { color: var(--z300); background: rgb(39 39 42 / .5); }
.sub.all[aria-pressed="true"] { background: var(--z700); color: #fff; }
@media (max-width: 640px) { .cats { gap: 8px; } .cat { padding: 10px 20px; font-size: .875rem; } .sub { padding: 6px 12px; } .filters { margin-top: 0; margin-bottom: 24px; } }

/* ---------- Grille vidéo ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 96px; min-height: 200px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.grid.vertical { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid.vertical { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid.vertical { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .grid.vertical { grid-template-columns: repeat(5, 1fr); } }
.grid-skeleton { aspect-ratio: 16 / 9; border-radius: 8px; background: rgb(24 24 27 / .5); animation: pulse 2s ease-in-out infinite; }
.card { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: var(--z900); box-shadow: 0 20px 25px -5px rgb(0 0 0 / .3); transition: transform .35s var(--ease); animation: rise .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); contain: layout paint; }
.grid.vertical .card { aspect-ratio: 9 / 16; }
.grid.ssr .card, .grid.no-anim .card { animation: none; }
.card:hover { transform: scale(1.02); z-index: 1; }
.card::before { content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; color: var(--z500); font-weight: 500; background: linear-gradient(to bottom right, var(--z900), var(--z950)); }
.card img { position: relative; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.card img:not([src]) { display: none; }
.card.previewing img { opacity: .3; }
/* L'aperçu est plus haut que la carte et légèrement zoomé : le titre YouTube et les fins liserés noirs du lecteur
   tombent en dehors de la carte, qui les coupe (overflow: hidden). La vidéo, elle, reste cadrée sur la carte. */
.card iframe { position: absolute; left: 0; top: -70px; width: 100%; height: calc(100% + 140px); border: 0; pointer-events: none; background: #000; transform: scale(1.03); opacity: 0; transition: opacity .35s; }
.card iframe.ready { opacity: 1; }
.card.loading .badge-wait { opacity: 1; transform: none; }
.card-ov { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; background: linear-gradient(to top, rgb(0 0 0 / .6), rgb(0 0 0 / .2), transparent); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s; }
.card-ov > div { transform: translateY(16px); transition: transform .3s; }
.card:hover .card-ov, .card:focus-visible .card-ov { opacity: 1; }
.card:hover .card-ov > div { transform: none; }
.card.previewing .card-ov { opacity: 0; pointer-events: none; }
.card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 16px; padding: 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 4px rgb(0 0 0 / .6); }
.grid.vertical .card h3 { font-size: .9375rem; -webkit-line-clamp: 3; }
.pv-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 999px; background: rgb(39 39 42 / .8); transition: background .2s, transform .2s; }
.pv-btn:hover { background: rgb(63 63 70 / .9); transform: scale(1.05); }
.pv-btn .icon { font-size: 18px; }
.badge { position: absolute; top: 16px; padding: 8px 12px; border-radius: 999px; font-size: .75rem; backdrop-filter: blur(4px); opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s; pointer-events: none; }
.badge-wait { right: 16px; background: rgb(24 24 27 / .9); }
.badge-live { left: 16px; background: rgb(220 38 38 / .9); display: inline-flex; align-items: center; gap: 6px; }
.badge-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 2s ease-in-out infinite; }
.card.waiting .badge-wait, .card.previewing .badge-live { opacity: 1; transform: none; }
.badge-star { left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-weight: 600; color: #000; background: rgb(255 255 255 / .92); opacity: 1; transform: none; }
.badge-star .icon { fill: currentColor; font-size: 12px; }
.card.previewing .badge-star { opacity: 0; }

/* ---------- Lecteur intégré ---------- */
.lb { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgb(0 0 0 / .88); backdrop-filter: blur(8px); animation: fade .2s both; }
.lb-box { width: min(1100px, 100%, calc((100vh - 110px) * 16 / 9)); animation: pop .3s var(--ease) both; }
.lb-box.vertical { width: min(420px, 100%, calc((100vh - 110px) * 9 / 16)); }
.lb-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 25px 50px -12px #000; }
.lb-box.vertical .lb-frame { aspect-ratio: 9 / 16; }
.lb-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb-bar { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.lb-bar p { flex: 1; min-width: 0; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-bar a { flex: none; font-size: .875rem; color: var(--z400); transition: color .2s; }
.lb-bar a:hover { color: #fff; }
.lb-bar button { flex: none; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 18px; border-radius: 50%; background: var(--z800); border: 1px solid var(--z700); transition: background .2s; }
.lb-bar button:hover { background: var(--z700); }
body.lb-open { overflow: hidden; }
body.lb-open .cursor-dot, body.lb-open .cursor-ring { display: none !important; }
body.has-cursor.lb-open, body.has-cursor.lb-open * { cursor: auto !important; }
body.has-cursor.lb-open a, body.has-cursor.lb-open button { cursor: pointer !important; }
@media (max-width: 640px) { .lb-bar a { display: none; } }
@media (hover: none) { .badge-star { display: inline-flex; } }
.empty { grid-column: 1 / -1; text-align: center; color: var(--g400); padding: 48px 0; font-size: 1.125rem; }
@media (hover: none) { .card-ov, .badge { display: none; } }

/* ---------- Avis ---------- */
.section-title { font-size: 1.875rem; text-align: center; margin-bottom: 32px; }
.reviews { margin-bottom: 96px; }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 896px; margin: 0 auto; }
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .reviews-grid { display: flex; flex-wrap: wrap; justify-content: center; max-width: 1280px; } .review { width: calc(20% - 13px); } .review:nth-child(n+6) { width: calc(26.6% - 11px); } }
.review { position: relative; display: flex; flex-direction: column; padding: 16px; overflow: hidden; border-radius: 12px; background: rgb(24 24 27 / .8); border: 1px solid rgb(39 39 42 / .5); transition: background .3s, border-color .3s, transform .3s; }
.review:hover { background: rgb(39 39 42 / .8); border-color: rgb(63 63 70 / .5); transform: translateY(-4px); }
.review-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.review-head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid color-mix(in srgb, var(--accent) 50%, transparent); transition: border-color .3s, box-shadow .3s; }
.review:hover .review-head img { border-color: color-mix(in srgb, var(--accent) 75%, transparent); box-shadow: 0 8px 16px -4px color-mix(in srgb, var(--accent) 30%, transparent); }
.review h3 { font-size: .875rem; font-weight: 500; color: color-mix(in srgb, var(--accent) 35%, #fff); }
.review .role { font-size: .75rem; color: var(--g500); }
.review .subsc { font-size: .75rem; font-weight: 500; color: var(--accent); }
.review .quote { flex: 1; font-size: .75rem; line-height: 1.625; color: var(--g400); margin-bottom: 12px; transition: color .3s; }
.review:hover .quote { color: var(--z300); }
.review .date { font-size: .75rem; color: var(--g500); text-align: right; }
.clients { margin-top: 32px; text-align: center; }
.clients:empty { display: none; }
.clients-title { margin-bottom: 14px; font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--g500); }
.clients-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.client { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; text-align: left; border-radius: 999px; background: rgb(24 24 27 / .8); border: 1px solid rgb(39 39 42 / .5); transition: background .3s, border-color .3s, transform .3s; }
a.client:hover { background: rgb(39 39 42 / .8); border-color: rgb(63 63 70 / .7); transform: translateY(-2px); }
.client img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.client span { display: grid; line-height: 1.25; }
.client b { font-size: .875rem; font-weight: 500; color: #e5e7eb; }
.client small { font-size: .75rem; color: var(--g400); }
.fx { position: absolute; pointer-events: none; z-index: 2; color: var(--accent); font-size: 14px; line-height: 1; animation: fx-float var(--d, 1s) ease-out var(--delay, 0s) both; }
.fx.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--accent)); }
.fx.diamond { width: 12px; height: 12px; background: var(--accent); animation-name: fx-spin; }
.fx.ring { inset: 0; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 12px; animation-name: fx-ring; }
.fx.code { top: -10px; font: 700 12px ui-monospace, monospace; animation-name: fx-fall; }

/* ---------- Services + FAQ ---------- */
.section-lead { max-width: 640px; margin: -16px auto 32px; text-align: center; color: var(--z400); }
.services { max-width: 1280px; margin: 0 auto 96px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.service { padding: 20px; border-radius: 12px; background: rgb(24 24 27 / .8); border: 1px solid rgb(39 39 42 / .5); transition: background .3s, border-color .3s, transform .3s; }
.service:hover { background: rgb(39 39 42 / .8); border-color: rgb(63 63 70 / .5); transform: translateY(-4px); }
.service-ico { display: inline-flex; padding: 8px; margin-bottom: 12px; font-size: 20px; border-radius: 8px; background: rgb(39 39 42 / .7); color: var(--z300); }
.service h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.service p { font-size: .875rem; line-height: 1.6; color: var(--g400); }
.faq { max-width: 896px; margin: 0 auto 96px; display: grid; gap: 8px; }
.faq .section-title { margin-bottom: 24px; }
.faq-item { border-radius: 12px; background: rgb(24 24 27 / .8); border: 1px solid rgb(39 39 42 / .5); transition: border-color .3s; }
.faq-item:hover, .faq-item[open] { border-color: rgb(63 63 70 / .7); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-weight: 500; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 1.25rem; line-height: 1; color: var(--z500); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 18px; font-size: .9375rem; line-height: 1.65; color: var(--g400); }
.faq-item a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Calculateur ---------- */
.calc { max-width: 896px; margin: 0 auto 96px; scroll-margin-top: 24px; }
.calc-head { text-align: center; margin-bottom: 32px; }
.calc-head .section-title { margin-bottom: 12px; }
.calc-head p { color: var(--z400); }
.calc-card { --a: #60a5fa; --b: #c084fc; position: relative; margin-bottom: 32px; padding: 32px; border-radius: 16px; background: linear-gradient(to bottom right, rgb(24 24 27 / .9), rgb(9 9 11 / .9)); border: 1px solid rgb(63 63 70 / .5); box-shadow: 0 25px 50px -12px rgb(0 0 0 / .5); display: grid; gap: 16px; transition: border-color .3s, transform .3s var(--ease); }
.calc-card:hover { transform: scale(1.01); border-color: color-mix(in srgb, var(--a) 35%, transparent); }
.calc-card.c-pink { --a: #f472b6; --b: #c084fc; }
.calc-title { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.calc-ico { padding: 8px; background: rgb(39 39 42 / .5); border-radius: 8px; color: var(--a); font-size: 24px; display: flex; }
.calc-title h3 { font-size: 1.5rem; font-weight: 700; color: transparent; background: linear-gradient(to right, var(--a), var(--b)); -webkit-background-clip: text; background-clip: text; }
.calc-label { font-size: .875rem; font-weight: 500; color: var(--z300); margin-bottom: -8px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.num { position: relative; }
.num input { width: 100%; padding: 12px 96px 12px 16px; font: inherit; font-size: 1.125rem; color: #fff; background: var(--z800); border: 1px solid var(--z700); border-radius: 8px; outline: none; transition: border-color .2s, box-shadow .2s; }
.num input:focus { border-color: var(--a); box-shadow: 0 0 0 2px color-mix(in srgb, var(--a) 40%, transparent); }
.num .unit { position: absolute; right: 56px; top: 50%; transform: translateY(-50%); color: var(--g400); font-size: .875rem; pointer-events: none; }
.steps { position: absolute; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; border-left: 1px solid var(--z700); }
.steps button { flex: 1; padding: 0 12px; color: var(--g400); display: flex; align-items: center; transition: background .2s; }
.steps button:first-child { border-radius: 0 8px 0 0; border-bottom: 1px solid var(--z700); }
.steps button:last-child { border-radius: 0 0 8px 0; }
.steps button:hover { background: rgb(63 63 70 / .5); }
.calc-box { padding: 20px; border-radius: 12px; background: linear-gradient(to bottom right, rgb(39 39 42 / .6), rgb(39 39 42 / .4)); border: 1px solid rgb(63 63 70 / .5); }
.calc-box-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--a); font-size: 20px; }
.calc-box-h h4 { font-size: .875rem; font-weight: 500; color: #e5e7eb; }
.calc-box .big { font-size: 1.875rem; font-weight: 700; }
.small { font-size: .8125rem; color: var(--z400); margin-top: 4px; }
.calc-box.info { display: flex; gap: 8px; font-size: .875rem; color: var(--z300); }
.calc-box.info .icon { color: var(--a); font-size: 20px; margin-top: 1px; }
.calc-price { padding: 1px; border-radius: 13px; background: linear-gradient(to bottom right, color-mix(in srgb, var(--a) 40%, transparent), rgb(168 85 247 / .3), rgb(236 72 153 / .3)); }
.calc-price > div { padding: 24px; border-radius: 12px; background: linear-gradient(to bottom right, var(--z900), var(--z950)); }
.calc-price h4 { display: flex; align-items: center; gap: 8px; font-size: 1.125rem; font-weight: 600; color: #e5e7eb; margin-bottom: 12px; }
.calc-price h4 span { font-size: 1.5rem; }
.price { font-size: 2.25rem; font-weight: 700; line-height: 1.1; margin-bottom: 12px; color: transparent; background: linear-gradient(to right, var(--a), #c084fc, #f472b6); -webkit-background-clip: text; background-clip: text; width: fit-content; }
@media (max-width: 640px) { .calc-card { padding: 20px; } .calc-title h3 { font-size: 1.25rem; } .price { font-size: 1.875rem; } .num input { padding-right: 84px; } }

/* ---------- Bouton flottant + notifications ---------- */
.fab { position: fixed; right: 32px; bottom: 32px; z-index: 50; padding: 12px; border-radius: 50%; font-size: 24px; background: linear-gradient(to bottom right, var(--z800), var(--z900)); border: 1px solid var(--z600); box-shadow: 0 20px 25px -5px rgb(0 0 0 / .5); display: flex; transition: transform .3s var(--ease); animation: pop .5s var(--ease) 1s both; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; animation: fab-ring 2s ease-out infinite; pointer-events: none; }
.fab:hover { transform: scale(1.1) rotate(-5deg); }
.fab-tip { position: absolute; right: calc(100% + 16px); top: 50%; transform: translate(10px, -50%); padding: 8px 16px; white-space: nowrap; font-size: .875rem; border-radius: 8px; background: linear-gradient(to right, var(--z900), var(--z800)); border: 1px solid var(--z600); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.fab:hover .fab-tip { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 640px) { .fab { right: 16px; bottom: 16px; } .fab-tip { display: none; } }
.toasts { position: fixed; top: 16px; left: 16px; z-index: 50; width: min(380px, calc(100vw - 32px)); display: grid; gap: 12px; }
.toast { position: relative; padding: 16px; text-align: left; border-radius: 16px; background: rgb(24 24 27 / .95); border: 1px solid rgb(63 63 70 / .5); backdrop-filter: blur(12px); box-shadow: 0 25px 50px -12px rgb(0 0 0 / .6); animation: toast-in .5s var(--ease) both; transition: opacity .3s, transform .3s; }
.toast.out { opacity: 0; transform: translateY(-40px) scale(.9); }
.toast-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.toast-ico { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(to bottom right, var(--z600), var(--z800)); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.toast-top p { font-size: .875rem; font-weight: 500; line-height: 1.2; }
.toast-top small { display: block; font-size: .75rem; color: var(--z400); font-weight: 400; }
.toast-x { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; color: var(--z400); display: flex; align-items: center; justify-content: center; }
.toast-x:hover { background: var(--z700); }
.toast h3 { font-size: .875rem; font-weight: 600; margin-bottom: 4px; }
.toast > p { font-size: .875rem; color: var(--z300); }
.toast::before { content: ""; position: absolute; top: 8px; left: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, #3b82f6); animation: pulse 2s ease-in-out infinite; }
@media (max-width: 767px) { .toasts { display: none; } }

/* ---------- Footer ---------- */
.footer { background: var(--z900); padding: 24px 16px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.socials { display: flex; gap: 32px; }
.socials a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--g400); font-size: 20px; transition: background .2s, color .2s; }
.socials a:hover { background: var(--z800); color: #fff; }
.footer p { font-size: .875rem; color: var(--g500); }
.footer b { font-weight: 800; }

/* ---------- Animations ---------- */
@keyframes lightSweep { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.8); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pulse { 50% { opacity: .5; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(-60px) scale(.8); } }
@keyframes fab-ring { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes fx-float { 0% { opacity: 0; transform: translateY(0) scale(0); } 40% { opacity: 1; transform: translateY(-16px) scale(1); } 100% { opacity: 0; transform: translateY(-40px) scale(.2); } }
@keyframes fx-spin { 0% { opacity: 0; transform: rotate(45deg) scale(0); } 50% { opacity: 1; transform: rotate(200deg) scale(1); } 100% { opacity: 0; transform: rotate(360deg) scale(0); } }
@keyframes fx-ring { from { opacity: .6; transform: scale(.85); } to { opacity: 0; transform: scale(1.15); } }
@keyframes fx-fall { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(110px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
