/* Page de vente Agent IA 24/7 (agent24-7.digita.buzz) : même famille que lp48.digita.buzz.
   Fond nuit, dégradé cyan → indigo → violet → or. Polices hébergées, aucune bibliothèque.
   Sans JavaScript tout est visible (.rv n'est masqué que sous html.js) ; « réduire les animations »
   coupe tout mouvement. Animations limitées à transform et opacity. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  color-scheme: dark;
  --bg: #070b16;
  --bg-2: #0c1222;
  --surface: #ffffff0a;
  --surface-2: #ffffff12;
  --rule: #ffffff1a;
  --ink: #eef2fb;
  --ink-70: #b4bdd2;
  --ink-55: #8f9ab3;
  --cyan: #22d3ee;
  --indigo: #818cf8;
  --violet: #c084fc;
  --gold: #f0c75e;
  --ok: #4ade80;
  --on-accent: #06101f;
  --grad: linear-gradient(100deg, var(--cyan), var(--indigo) 42%, var(--violet) 70%, var(--gold));
  --grad-btn: linear-gradient(120deg, var(--cyan), var(--indigo));
  --font-title: "Bricolage Grotesque", system-ui, sans-serif;
  --font-text: "Instrument Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --space: clamp(72px, 11vw, 136px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 clamp(1rem, .96rem + .2vw, 1.08rem)/1.6 var(--font-text);
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
body::after { /* grain : casse les aplats des dégradés */
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.08; letter-spacing: -.022em; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { width: min(820px, 100%); }
.section { padding-block: calc(var(--space) / 2); position: relative; }

/* Aurore de fond */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.aurora i { position: absolute; border-radius: 50%; will-change: transform; animation: drift 24s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 70vmax; height: 70vmax; left: -22vmax; top: -30vmax; background: radial-gradient(closest-side, #2563eb5c, transparent); }
.aurora i:nth-child(2) { width: 60vmax; height: 60vmax; right: -20vmax; top: -8vmax; background: radial-gradient(closest-side, #8b5cf64d, transparent); animation-duration: 30s; animation-delay: -8s; }
.aurora i:nth-child(3) { width: 54vmax; height: 54vmax; left: 22vw; bottom: -30vmax; background: radial-gradient(closest-side, #22d3ee2e, transparent); animation-duration: 36s; animation-delay: -16s; }
@keyframes drift { to { transform: translate3d(6vw, 5vh, 0) scale(1.14); } }

/* En-tête flottant */
.top { position: sticky; top: 12px; z-index: 60; width: min(1180px, calc(100% - 24px)); margin: 12px auto 0; }
.top-bar {
  display: flex; align-items: center; gap: 20px; padding: 9px 10px 9px 20px; border-radius: 999px;
  background: #0b1120b8; border: 1px solid var(--rule); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
}
.brand { font: 800 1.2rem/1 var(--font-title); letter-spacing: .01em; text-decoration: none; }
.brand span { background: var(--grad-btn); -webkit-background-clip: text; background-clip: text; color: transparent; }
.top nav { display: none; gap: 26px; margin-left: auto; }
.top nav a { color: var(--ink-70); text-decoration: none; font-size: .95rem; transition: color .2s; }
.top nav a:hover { color: var(--ink); }
.top-bar .btn { margin-left: auto; }
.progress { position: absolute; left: 26px; right: 26px; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}
@media (min-width: 820px) { .top nav { display: flex; } .top-bar .btn { margin-left: 0; } }

/* Boutons */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 24px;
  border: 1px solid transparent; border-radius: 999px; font: 600 1rem/1.2 var(--font-text); text-align: center; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .92rem; }
.btn-primary { background: var(--grad-btn); color: var(--on-accent); box-shadow: 0 10px 34px -10px #22d3ee99, 0 4px 18px -6px #818cf8b3; }
.btn-primary::after { /* reflet qui traverse le bouton au survol */
  content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, #ffffff8c 50%, transparent 65%); transform: translateX(-120%);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -10px #22d3eeb3, 0 8px 26px -6px #818cf8cc; }
.btn-primary:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.btn-ghost { background: var(--surface); border-color: var(--rule); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); border-color: #ffffff38; transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Texte */
.kicker { color: var(--cyan); font-size: .84rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 14px; }
.title { font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); font-weight: 700; max-width: 22ch; }
.lead { color: var(--ink-70); font-size: 1.1em; max-width: 60ch; margin-top: 18px; }
.note { color: var(--ink-55); font-size: .9rem; max-width: 80ch; margin-top: 26px; }
.go { display: inline-flex; gap: 8px; align-items: center; color: var(--cyan); font-weight: 600; text-decoration: none; }
.go::after { content: "→"; transition: transform .25s var(--ease); }
.go:hover::after { transform: translateX(5px); }

/* Hero */
.hero { position: relative; overflow-x: clip; overflow-clip-margin: 0; padding-block: clamp(48px, 8vw, 96px) clamp(48px, 7vw, 88px); }
.hero::before { /* trame qui s'efface vers les bords */
  content: ""; position: absolute; inset: -80px 0 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(#ffffff0b 1px, transparent 1px), linear-gradient(90deg, #ffffff0b 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 62% at 50% 34%, #000, transparent); mask-image: radial-gradient(70% 62% at 50% 34%, #000, transparent);
}
.hero-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.3fr .7fr; } }
.live { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); color: var(--ink-70); font-size: .9rem; margin-bottom: 22px; }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { to { transform: scale(3.4); opacity: 0; } }
h1 { font-size: clamp(2.6rem, 1.5rem + 4.6vw, 4.5rem); font-weight: 700; text-wrap: wrap; }
h1 em {
  display: block; font-style: normal; background: var(--grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 9s ease-in-out infinite alternate; padding-bottom: .08em;
}
@keyframes flow { to { background-position: 100% 0; } }
.reassure { color: var(--ink-55); font-size: .92rem; margin-top: 18px; }

/* Téléphone et conversation */
.stage { position: relative; width: min(340px, 100%); margin-inline: auto; perspective: 1100px; }
.halo { position: absolute; inset: -6% -24%; border-radius: 50%; background: conic-gradient(from 200deg, #22d3ee, #818cf8, #c084fc, #f0c75e, #22d3ee); opacity: .34; animation: spin 26s linear infinite; -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent); }
.phone {
  --rx: 0deg; --ry: 0deg; position: relative; display: flex; flex-direction: column; height: 600px; padding: 14px; border-radius: 38px; overflow: hidden;
  background: linear-gradient(170deg, #182036, #0b1120 62%); border: 1px solid #ffffff29;
  box-shadow: 0 40px 90px -30px #000, 0 0 0 7px #ffffff08, inset 0 1px 0 #ffffff2e;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .35s var(--ease);
}
.phone-head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 14px; border-bottom: 1px solid var(--rule); }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--grad-btn); color: var(--on-accent); font: 800 1.05rem var(--font-title); }
.who { display: flex; flex-direction: column; line-height: 1.25; }
.who small { color: var(--ink-55); font-size: .76rem; }
.clock { margin-left: auto; color: var(--ink-55); font-size: .82rem; font-variant-numeric: tabular-nums; }
.thread { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 12px 4px 6px; overflow: hidden; }
.msg { max-width: 84%; padding: 9px 13px; border-radius: 17px; font-size: .92rem; line-height: 1.4; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.msg.in { align-self: flex-end; background: #ffffff17; border-bottom-right-radius: 5px; }
.msg.out { align-self: flex-start; background: linear-gradient(120deg, #22d3ee2e, #818cf84d); border: 1px solid #818cf84d; border-bottom-left-radius: 5px; }
.typing { display: none; align-self: flex-start; gap: 4px; padding: 11px 13px; border-radius: 17px; background: var(--surface-2); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-70); animation: bounce 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 40% { transform: translateY(-5px); } }
.playing .typing.on { display: inline-flex; }
.playing .msg:not(.on) { display: none; }
.playing .msg.on { animation: pop .4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }

.toast {
  display: flex; align-items: center; gap: 9px; margin-top: 8px; padding: 9px 13px; border-radius: 13px; font-size: .86rem; font-weight: 600;
  background: #101830eb; border: 1px solid #4ade804d; box-shadow: 0 16px 34px -14px #000; transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.tick { flex: none; width: 18px; height: 18px; border-radius: 50%; background: #4ade8026; position: relative; }
.tick::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(42deg); }
.js .stage.playing .toast:not(.on) { opacity: 0; transform: translateY(10px); }
@media (min-width: 620px) {
  .toast { position: absolute; margin: 0; white-space: nowrap; }
  .t1 { left: -44px; top: 13.5%; }
  .t2 { right: -30px; top: 21.5%; }
  .t3 { left: -26px; top: 29.5%; }
}

/* Bandeau des canaux */
.ribbon { display: flex; overflow: hidden; padding-block: 18px; border-block: 1px solid var(--rule); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ribbon ul { flex: none; display: flex; margin: 0; padding: 0; list-style: none; animation: slide 34s linear infinite; }
.ribbon li { padding-inline: 30px; color: var(--ink-70); font: 500 1.08rem var(--font-title); white-space: nowrap; }
.ribbon li::after { content: "✦"; margin-left: 60px; color: var(--indigo); font-size: .7em; }
@keyframes slide { to { transform: translateX(-100%); } }

/* Cartes */
.grid-3 { display: grid; gap: 18px; margin-top: 36px; }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.6vw, 30px); border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, #ffffff10, #ffffff05); border: 1px solid var(--rule);
  transition: transform .35s var(--ease), border-color .35s, opacity .7s var(--ease);
}
.card h3 { font-size: 1.36rem; }
.card > p { color: var(--ink-70); }
.spot::before { /* halo qui suit le pointeur */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(320px circle at var(--mx) var(--my), #818cf833, transparent 70%);
}
.spot:hover::before { opacity: 1; }
.spot:hover { border-color: #818cf866; }
.spot .go { margin-top: auto; }
.tag { align-self: flex-start; padding: 3px 11px; border-radius: 999px; background: #22d3ee1c; color: var(--cyan); font-size: .78rem; font-weight: 600; }

/* Le calcul */
.calc { display: grid; gap: 18px; margin-top: 36px; }
@media (min-width: 900px) { .calc { grid-template-columns: 1.5fr 1fr; } }
.calc-side { display: grid; gap: 18px; }
.week-grid { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; }
.week-grid i { aspect-ratio: 1; border-radius: 3px; background: var(--surface-2); transition: background-color .5s; }
.week-grid i.desk { background: var(--gold); }
.week.in .week-grid i.off { background: var(--indigo); background: color-mix(in srgb, var(--cyan) calc(var(--i) / 168 * 100%), var(--indigo)); transition-delay: calc(var(--i) * 7ms); }
html:not(.js) .week-grid i.off { background: var(--indigo); }
.week-legend { display: grid; gap: 14px; margin-top: auto; padding-top: 24px; }
@media (min-width: 560px) { .week-legend { grid-template-columns: 1fr 1fr; } }
.week-legend p { color: var(--ink); font: 700 1.1rem/1.3 var(--font-title); }
.week-legend b { font-size: 2.5rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.week-legend small { color: var(--ink-70); font: 400 .9rem/1.45 var(--font-text); }
.swatch { display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 3px; }
.swatch.desk { background: var(--gold); }
.swatch.all { background: var(--grad-btn); }
.figure strong { font: 700 clamp(2.2rem, 1.7rem + 2vw, 3rem)/1 var(--font-title); letter-spacing: -.02em; background: var(--grad); background-clip: text; -webkit-background-clip: text; color: transparent; }

/* Offres */
.offer { gap: 14px; }
.offer .price { display: flex; flex-direction: column; gap: 3px; padding-block: 8px 14px; border-bottom: 1px solid var(--rule); }
.offer .price strong { font: 700 1.62rem/1.15 var(--font-title); letter-spacing: -.015em; }
.offer .price span { color: var(--ink-70); font-size: .95rem; }
.offer .price small { color: var(--ink-55); font-size: .84rem; line-height: 1.4; }
.offer .for { color: var(--ink-70); font-size: .94rem; }
.offer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; color: var(--ink); font-size: .96rem; }
.offer li { position: relative; padding-left: 26px; }
.offer li::before { content: ""; position: absolute; left: 4px; top: .36em; width: 6px; height: 11px; border: solid var(--cyan); border-width: 0 2px 2px 0; transform: rotate(42deg); }
.offer-cta { display: grid; gap: 12px; justify-items: center; margin-top: auto; padding-top: 10px; }
.offer-cta .btn { width: 100%; }
.offer.featured { background: linear-gradient(160deg, #161f3c, #0d1426); border-color: transparent; box-shadow: 0 30px 70px -30px #818cf880; }
.offer.featured::after { /* liseré dégradé en rotation */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--a), var(--cyan), var(--indigo), var(--violet), var(--gold), var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: turn 7s linear infinite;
}
@keyframes turn { to { --a: 360deg; } }

/* Étapes */
.steps { counter-reset: s; position: relative; display: grid; gap: 26px; margin: 40px 0 0; padding: 0; list-style: none; }
.steps li { position: relative; counter-increment: s; }
.num { display: grid; place-items: center; position: relative; z-index: 1; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 50%; background: var(--bg-2); border: 1px solid #818cf880; font: 700 1.05rem var(--font-title); }
.num::before { content: counter(s); }
.steps h3 { font-size: 1.22rem; margin-bottom: 7px; }
.steps p { color: var(--ink-70); }
.steps::before { content: ""; position: absolute; left: 23px; top: 12px; bottom: 12px; width: 2px; background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform 1.5s var(--ease) .15s; }
.steps.in::before, html:not(.js) .steps::before { transform: none; }
.steps li { padding-left: 66px; }
.steps .num { position: absolute; left: 0; top: -4px; margin: 0; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 62px 0 0; }
  .steps .num { top: 0; }
  .steps::before { left: 23px; right: 12%; top: 22px; bottom: auto; width: auto; height: 2px; transform: scaleX(0); transform-origin: left; }
}

/* Essai */
.trial, .final { position: relative; overflow: hidden; border-radius: 30px; padding: clamp(26px, 5vw, 62px); border: 1px solid #818cf84d; background: radial-gradient(90% 130% at 0% 0%, #2563eb40, transparent 60%), radial-gradient(90% 130% at 100% 100%, #8b5cf640, transparent 60%), #0c1222; }
.trial { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .trial { grid-template-columns: auto 1fr; gap: 58px; } }
.trial-num { display: flex; flex-direction: column; line-height: .9; }
.trial-num b { font: 700 clamp(5rem, 3rem + 9vw, 9.5rem)/.9 var(--font-title); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trial-num span { margin-top: 8px; color: var(--ink-70); font: 600 1.25rem var(--font-title); }
.trial .title { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); max-width: 26ch; }

/* INES */
.ines-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .ines-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.orb { position: relative; overflow: hidden; border-radius: 50%; display: grid; place-items: center; width: min(320px, 76vw); aspect-ratio: 1; margin-inline: auto; }
.orb span { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--cyan), var(--indigo), var(--violet), var(--gold), var(--cyan)); animation: spin 14s linear infinite; -webkit-mask-image: radial-gradient(closest-side, transparent 55%, #000 62%, #0009 78%, transparent); mask-image: radial-gradient(closest-side, transparent 55%, #000 62%, #0009 78%, transparent); }
.orb::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(closest-side, #818cf84d, transparent); animation: breathe 5s ease-in-out infinite alternate; }
.orb img { position: relative; width: 48%; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { to { transform: scale(1.18); } }

/* Fondateur */
.founder { display: grid; gap: 34px; align-items: center; }
@media (min-width: 820px) { .founder { grid-template-columns: auto 1fr; gap: 58px; } }
.portrait { width: min(250px, 66vw); padding: 3px; border-radius: 50%; background: var(--grad); }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 4px solid var(--bg); }
.sign { margin-top: 18px; font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 34px; }
.faq details { border: 1px solid var(--rule); border-radius: 16px; background: var(--surface); transition: border-color .25s, background-color .25s; }
.faq details[open] { border-color: #818cf866; background: var(--surface-2); }
.faq summary { display: flex; justify-content: space-between; gap: 18px; padding: 16px 20px; font-weight: 600; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--cyan); font-size: 1.4rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 20px 18px; color: var(--ink-70); }

/* Appel final et pied de page */
.final { text-align: center; padding-block: clamp(48px, 8vw, 96px); }
.final .title { margin-inline: auto; }
.final .lead { margin-inline: auto; }
.final .btn-row { justify-content: center; }
.foot { padding-block: 34px; color: var(--ink-55); font-size: .9rem; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 26px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* Apparition au défilement */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s), border-color .35s; }
.js .rv.in { opacity: 1; transform: none; }

/* Chatbot INES (gabarit includes/partials/chatbot.html, script /assets/js/chatbot.js) */
#chatbot-container { position: fixed; right: 16px; bottom: 16px; z-index: 70; font-size: .95rem; }
#chatbot-button { width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; background: var(--grad-btn); color: var(--on-accent); display: grid; place-items: center; box-shadow: 0 14px 34px -10px #22d3ee99; transition: transform .25s var(--ease); }
#chatbot-button:hover { transform: scale(1.07); }
#chatbot-window {
  position: absolute; right: 0; bottom: 72px; width: min(370px, calc(100vw - 32px)); height: min(540px, calc(100dvh - 120px));
  background: #0e1526; color: var(--ink); border: 1px solid var(--rule); border-radius: 18px;
  box-shadow: 0 30px 70px -20px #000; display: none; flex-direction: column; overflow: hidden;
}
#chatbot-window.active { display: flex; }
#chatbot-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
#chatbot-header h5 { margin: 0; font-family: var(--font-title); font-size: 1rem; }
#chatbot-close { border: 0; background: none; color: var(--ink-55); font-size: 1.5rem; line-height: 1; cursor: pointer; }
#chatbot-messages { flex: 1; overflow-y: auto; padding: 14px 16px; }
.chat-message { display: flex; margin: 8px 0; }
.chat-message.user { justify-content: flex-end; }
.message-content { max-width: 85%; padding: 10px 14px; border-radius: 16px; line-height: 1.45; background: var(--surface-2); }
.chat-message.user .message-content { background: var(--grad-btn); color: var(--on-accent); border-bottom-right-radius: 6px; }
.chat-message.bot .message-content { border-bottom-left-radius: 6px; }
.message-content a { color: var(--cyan); }
#chatbot-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--rule); }
#chatbot-actions a, #chatbot-actions button { font: inherit; font-size: .82rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rule); background: none; color: var(--ink); text-decoration: none; cursor: pointer; }
#chatbot-input-container { display: flex; gap: 8px; padding: 10px 12px 14px; }
#chatbot-input { flex: 1; min-width: 0; font: inherit; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--rule); background: var(--bg); color: var(--ink); }
#chatbot-send { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--grad-btn); color: var(--on-accent); display: grid; place-items: center; cursor: pointer; }
.chat-booking form { display: grid; gap: 8px; margin-top: 10px; }
.chat-booking select, .chat-booking input, .chat-booking button { font: inherit; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--rule); background: var(--bg-2); color: var(--ink); }
.chat-booking button { background: var(--grad-btn); color: var(--on-accent); border: 0; font-weight: 600; }
.chat-booking-error { color: #fda4af; font-size: .85rem; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .ribbon { overflow-x: auto; }
  .week-grid i.off { background: var(--indigo); }
  .steps::before { transform: none; }
  .progress { display: none; }
}
