/* Local homepage refinements: readable controls and a visible photo diagnostic. */
/* The grain is black: normal alpha composition matches multiply, without a
   viewport-wide blend layer during the desktop animation. */
body.qp-fusion::before{mix-blend-mode:normal}
/* The current journey/resources already supply opaque backgrounds. */
body.qp-fusion .hero-stack::before{content:none}
body.qp-fusion #nav{
  background:rgba(247,252,250,.82);
  -webkit-backdrop-filter:blur(24px) saturate(1.2);
  backdrop-filter:blur(24px) saturate(1.2);
}
body.qp-fusion #nav [data-booking-link],
#qp-experience #mobile-booking a,
#qp-experience .home-reserve-cta{
  color:#fff;
  background:var(--qp-action-gradient)!important;
}
#qp-experience #commencer{
  min-height:0;
  padding-top:48px;
  padding-bottom:64px;
}
#qp-experience #commencer h2{font-size:clamp(28px,3.2vw,46px)}
#qp-experience #commencer .home-reserve-cta{margin:4px 0 16px;min-height:58px;font-size:17px}
#qp-experience #commencer .return-to-site{margin-bottom:0}
body.qp-fusion #analyse-instantanee{padding:48px 0 64px}
body.qp-fusion .diagnostic-ai{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:0;
  width:min(100%,640px);
  margin-inline:auto;
  padding:42px;
  border:1px solid #d3c3f3;
  border-radius:32px;
  background:linear-gradient(135deg,#f3edff,#e9e1fb 58%,#eeeafd);
  box-shadow:0 16px 40px #5f33940c;
  color:#33204e;
}
body.qp-fusion .diagnostic-ai .diagnostic-kicker{font:700 12px/1.4 var(--f-display);letter-spacing:.09em;text-transform:uppercase;color:#6b4697;margin:0 0 18px}
body.qp-fusion .diagnostic-ai .diagnostic-h2{font:800 clamp(28px,3vw,40px)/1.12 var(--f-display);letter-spacing:-.045em;color:#33204e;margin:0 0 20px;max-width:85%}
body.qp-fusion .diagnostic-ai .diagnostic-p{font-size:17px;line-height:1.6;color:#58476d;max-width:440px;margin:0 0 26px}
body.qp-fusion .diagnostic-ai .diagnostic-ai-cta{background:#6c42b6!important;color:#fff;min-height:52px;padding:15px 22px;border:0;gap:20px;text-decoration:none;font-size:15px}
body.qp-fusion .diagnostic-ai .diagnostic-ai-cta:hover{background:#583498!important}
body.qp-fusion .diagnostic-ai .diagnostic-ai-cta:focus-visible{outline:3px solid #382057;outline-offset:4px}
body.qp-fusion .diagnostic-ai .diagnostic-note{margin:18px 0 0;font-size:13px;line-height:1.5;color:#68577c}
body.qp-fusion .diagnostic-sparkles{position:absolute;width:78px;height:78px;top:27px;right:24px;fill:#9770d3;pointer-events:none}
body.qp-fusion .diagnostic-sparkles .sparkle-small{fill:#b497e3}
@media(min-width:1000px){
  body.qp-fusion .diagnostic-ai{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:48px;width:100%;padding:40px 48px}
  body.qp-fusion .diagnostic-ai .diagnostic-kicker{grid-column:1;margin-bottom:16px}
  body.qp-fusion .diagnostic-ai .diagnostic-h2{grid-column:1;max-width:none;margin-bottom:12px}
  body.qp-fusion .diagnostic-ai .diagnostic-h2 br{display:none}
  body.qp-fusion .diagnostic-ai .diagnostic-p{grid-column:1;max-width:660px;margin-bottom:14px}
  body.qp-fusion .diagnostic-ai .diagnostic-ai-cta{grid-column:2;grid-row:2 / 4;align-self:center;white-space:nowrap}
  body.qp-fusion .diagnostic-ai .diagnostic-note{grid-column:1;margin:0}
  body.qp-fusion .diagnostic-sparkles{width:56px;height:56px;top:20px;right:24px}
}
@media(prefers-reduced-motion:no-preference){
  body.qp-fusion .diagnostic-sparkles .sparkle-small{animation:diagnostic-glimmer 4s ease-in-out infinite alternate}
  @keyframes diagnostic-glimmer{from{opacity:.45}to{opacity:1}}
}
@media(max-width:900px){
  body.qp-fusion.home-end-cta-visible{--home-booking-height:0px}
  body.qp-fusion.home-end-cta-visible #mobile-booking{display:none}
}
@media(max-width:760px){
  #qp-experience #commencer{padding:20px 20px 40px}
  #qp-experience #commencer h2{font-size:30px}
  #qp-experience #commencer .home-reserve-cta{width:100%;font-size:16px;gap:16px;padding:16px 20px}
  body.qp-fusion #analyse-instantanee{padding:24px 0 40px}
  body.qp-fusion #analyse-instantanee .shell{padding-inline:16px}
  body.qp-fusion .diagnostic-ai{padding:28px 24px;border-radius:26px}
  body.qp-fusion .diagnostic-ai .diagnostic-h2{font-size:30px}
  body.qp-fusion .diagnostic-ai .diagnostic-p{font-size:16px;margin-bottom:22px}
  body.qp-fusion .diagnostic-ai .diagnostic-ai-cta{width:100%;justify-content:space-between;font-size:15px;padding:15px 18px}
  body.qp-fusion .diagnostic-sparkles{width:60px;height:60px;top:58px;right:15px}
}

/* Prix par visite : l'unité et le total restent lisibles à toutes les largeurs. */
#qp-experience .tariff-table td .tariff-unit,
#qp-experience .claude-left .inline-tariffs td .tariff-unit{display:block;margin:3px 0 0;font:650 12px/1.4 var(--f-display);color:#0b7a5a;white-space:normal}
#qp-experience .tariff-table td .tariff-total,
#qp-experience .claude-left .inline-tariffs td .tariff-total{display:block;margin:5px 0 0;font:500 12px/1.45 var(--f-display);color:#526a7b;white-space:normal}
body.qp-fusion .home-protocol .protocol-total{display:block;margin-top:3px;font-size:12px;font-weight:500;line-height:1.5}

/* 02/11/2026 : le total des passages se lit à côté du prix par passage. */
#qp-experience #price-notes [data-pest-field="inclusionLabel"]{font-size:17px;font-weight:700;fill:#0f172a!important}
/* La barre « Réserver » suit le choix de 02/11 : visible dès la sortie du premier écran. */
@media(max-width:760px){
  body.qp-fusion[data-home-booking-visible="true"] #mobile-booking{visibility:visible;pointer-events:auto}
}

/* 02/11/2026 : plus de texte fonctionnel sous 12 px. */
#qp-experience :is(.intro-caption,.eyebrow,.protocol-selection,.tariff-table th),
body.qp-fusion :is(.blog-eye,.blog-meta-tag,.section-kicker,time){font-size:12px}

.home-reviews-link{display:inline-flex;align-items:center;min-height:44px;font-weight:700;color:var(--ink);text-underline-offset:4px}

#qp-experience :is(.intro-scroll span,.eyebrow span,.treatment-card-visit-dots i,.tariff-table th,.protocol-selection,#method-options article span),#qp-experience #scroll-cue{font-size:12px!important}
body.qp-fusion .protocol-selection{font-size:12px}

/* 02/11/2026 : éléments flottants et fin de l'accueil. */
#qp-experience .choice-price-note{margin:8px 0 0;font-size:15px;font-weight:600;color:var(--ink)}
body[data-step-id="commencer"] #qp-experience #scroll-cue{visibility:hidden}
@media(max-width:760px){
  body:has(#tarteaucitronAlertBig[style*="block"]) #qp-experience :is(#scroll-cue,.intro-caption){visibility:hidden}
  body.qp-fusion #telecharger-app,body.qp-fusion .blog-s{display:none}
  body.qp-fusion .intro-scroll{min-height:44px;display:inline-flex;align-items:center}
}
