/* AME STUDIO V3.8 — chrome clair, hiérarchie des boutons et CTA fixe.
   La matière est réellement dessinée par mercury-webgl.js. Aucun dégradé CSS
   n'est substitué au WebGL lorsque le navigateur sait le rendre. */

/* 01 — Le CTA doit rester fixe à droite : V3.7 l'avait passé en relative. */
html body #floatingCompose:not(.reference-restored).ame-floating-compose:not(.reference-restored),
html body #floatingCompose:not(.reference-restored).ame-floating-compose:not(.reference-restored).ame-mercury-webgl{
  position:fixed!important;
  inset:auto clamp(16px,2.5vw,44px) clamp(18px,3vh,38px) auto!important;
  top:auto!important;
  left:auto!important;
  right:clamp(16px,2.5vw,44px)!important;
  bottom:clamp(18px,3vh,38px)!important;
  display:inline-flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:max-content!important;
  max-width:calc(100vw - 32px)!important;
  min-height:50px!important;
  padding:6px 15px 6px 6px!important;
  gap:9px!important;
  transform:none!important;
  margin:0!important;
  z-index:700!important;
  overflow:visible!important;
  box-shadow:none!important;
  filter:none!important;
}

/* 02 — Surface chromée discrète, aucune ombre portée (ni même inset).
   La couleur de base reste transparent lorsqu'un canvas WebGL est présent. */
html body #floatingCompose:not(.reference-restored).ame-mercury-webgl,
html body #menuButton.ame-mercury-webgl,
html body .ame-contact-next.ame-mercury-webgl{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  text-shadow:none!important;
  color:#45403b!important;
  border-radius:999px!important;
  isolation:isolate!important;
  overflow:visible!important;
}
html body #floatingCompose:not(.reference-restored).ame-mercury-webgl:is(:hover,:active),
html body #menuButton.ame-mercury-webgl:is(:hover,:active),
html body .ame-contact-next.ame-mercury-webgl:is(:hover,:active){
  box-shadow:none!important;
  transform:none!important;
  border:0!important;
  outline:0!important;
}
html body :is(#floatingCompose:not(.reference-restored),#menuButton,.ame-contact-next).ame-mercury-webgl::before,
html body :is(#floatingCompose:not(.reference-restored),#menuButton,.ame-contact-next).ame-mercury-webgl::after{
  display:none!important;
  content:none!important;
  box-shadow:none!important;
}
/* Never let the WebGL canvas change the button's layout, positioning, or hit-testing. */
html body :is(#floatingCompose:not(.reference-restored),#menuButton,.ame-contact-next)>.ame-webgl-mercury-canvas{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  z-index:0!important;
  transform:translate(-50%,-50%)!important;
  pointer-events:none!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  filter:none!important;
}
/* 03 — Main CTA always has text above the liquid metal. */
html body #floatingCompose:not(.reference-restored) .ame-floating-compose__label,
html body #floatingCompose:not(.reference-restored) .ame-floating-compose__arrow{
  display:inline-block!important;
  position:relative!important;
  z-index:3!important;
  color:#44403c!important;
  text-shadow:none!important;
  white-space:nowrap!important;
  pointer-events:none!important;
  font-weight:700!important;
}
html body #floatingCompose:not(.reference-restored) .ame-floating-compose__icon{
  z-index:3!important;
  flex:0 0 36px!important;
  width:36px!important;
  height:36px!important;
  background:radial-gradient(circle at 27% 19%,#fdfcf9 0%,#e8e4df 29%,#c6bfb7 53%,#f6f2ed 82%,#dbd4cd 100%)!important;
  border:0!important;
  box-shadow:none!important;
  filter:none!important;
}
/* Bubble orbit animation remains the only CSS animation in the main CTA. */

/* 04 — "Continuer": dedicated overlay for label and arrow. The old text node
   was not a stacking layer and was consequently covered by the canvas. */
html body .ame-contact-actions .ame-contact-next{
  display:inline-flex!important;
  position:relative!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:clamp(16px,2vw,30px)!important;
  min-width:154px!important;
  min-height:46px!important;
  padding:10px 20px!important;
  overflow:visible!important;
  z-index:1!important;
}
html body .ame-contact-actions .ame-contact-next__label,
html body .ame-contact-actions .ame-contact-next__arrow{
  position:relative!important;
  display:inline-block!important;
  z-index:3!important;
  font-family:'Open Sans Condensed','Arial Narrow',sans-serif!important;
  font-weight:700!important;
  line-height:1.1!important;
  color:#423d39!important;
  text-shadow:none!important;
  white-space:nowrap!important;
  pointer-events:none!important;
}
html body .ame-contact-actions .ame-contact-next__label{
  font-size:clamp(14px,1.1vw,17px)!important;
}
html body .ame-contact-actions .ame-contact-next__arrow{
  font-size:19px!important;
  flex-shrink:0!important;
}

/* 05 — Only the menu, floating CTA, and primary Continue / Send button
   get Mercury WebGL. All selection chips / tiers / Prev stay flat. */
html body .ame-contact-chip,
html body .ame-contact-tier,
html body .ame-contact-back,
html body .ame-contact-step-nav button{
  position:relative;
  box-shadow:none!important;
  filter:none!important;
}
html body :is(.ame-contact-chip,.ame-contact-tier,.ame-contact-back,
  .ame-contact-step-nav button)>.ame-webgl-mercury-canvas{
  display:none!important;
}
html body .ame-contact-chip,
html body .ame-contact-tier{
  background:transparent!important;
  border:1px solid #d7d1ca!important;
  border-radius:0!important;
  color:#4b3e34!important;
}
html body .ame-contact-chip:hover,
html body .ame-contact-chip.is-selected,
html body .ame-contact-tier:hover,
html body .ame-contact-tier.is-selected{
  background:rgba(148,94,92,.045)!important;
  border-color:#9f938b!important;
}

/* 06 — A soft pearl-colored FALLBACK for old browsers without WebGL.
   In browsers rendering WebGL, the shader supplies 100% of the surface. */
html body #floatingCompose:not(.reference-restored):not(.ame-mercury-webgl),
html body #menuButton:not(.ame-mercury-webgl),
html body .ame-contact-next:not(.ame-mercury-webgl){
  background:linear-gradient(110deg,#e8e5e1,#faf9f7 32%,#d8d2cb 53%,#fffefa 72%,#e9e5df)!important;
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
  animation:none!important;
}
html body #menuButton.ame-mercury-webgl{
  color:#45403b!important;
  transform:none!important;
}
html body #menuButton .ame-chrome-dots{position:relative!important;z-index:3!important;}
html body #menuButton .ame-chrome-dots i{
  background:#544e48!important;
  box-shadow:none!important;
}

/* Preserve a visible keyboard indicator without a permanent dark button contour. */
html body :is(#floatingCompose:not(.reference-restored),#menuButton,.ame-contact-next):focus-visible{
  outline:2px solid #522124!important;
  outline-offset:7px!important;
}

@media(max-width:600px){
  html body #floatingCompose:not(.reference-restored).ame-floating-compose:not(.reference-restored){
    right:16px!important;bottom:17px!important;
    padding:5px 12px 5px 5px!important;
    max-width:calc(100vw - 32px)!important;
  }
  html body .ame-contact-actions .ame-contact-next{min-width:142px!important;}
}
