/* Fenêtres de la page : relance et prise de rendez-vous (js/rdv.js). Charte du kit : menthe #63fbe0, violet #4a26f7, encre #14261f. */
.boite {
  position: fixed; inset: 0; z-index: 70;
  display: grid; place-items: center; padding: 16px;
  background: rgb(15 20 18 / .55);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: boite-fond .25s ease both;
}
.boite[hidden] { display: none; }
.boite-ouverte, .boite-ouverte body { overflow: hidden; }
.boite-ouverte .barre-mobile { visibility: hidden; }
.boite__carte {
  position: relative; width: min(520px, 100%);
  padding: 32px 28px 26px;
  background: #fff; color: #14261f;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgb(20 38 31 / .08), 0 30px 80px rgb(10 20 16 / .35);
  animation: boite-carte .3s cubic-bezier(.2, .9, .3, 1.2) both;
}
.boite__surtitre {
  display: inline-block; margin: 0 0 12px; padding: 4px 10px;
  background: #e9fef9; color: #14261f; border-radius: 999px;
  font: 600 .8rem/1.3 "Plus Jakarta Sans", sans-serif;
}
.boite__titre { margin: 0 0 10px; font-family: var(--titres, "Sora"), sans-serif; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); line-height: 1.2; letter-spacing: -.02em; }
.boite__texte { margin: 0 0 20px; color: #4b4860; font-size: .98rem; line-height: 1.55; }
.boite__actions { display: grid; gap: 10px; }
.boite__actions .bouton { width: 100%; }
.boite__fermer {
  position: absolute; top: 12px; right: 12px;
  display: grid; place-items: center; width: 40px; height: 40px;
  background: #f4f3f8; color: #14261f; border: 0; border-radius: 10px; cursor: pointer;
}
.boite__fermer:hover { background: #e9e6f3; }
.boite__fermer .icone { width: 18px; height: 18px; }
.boite__fermer:focus-visible, .boite .bouton:focus-visible { outline: 3px solid #4a26f7; outline-offset: 2px; }

/* La réservation : grande fenêtre, plein écran sur téléphone */
.boite__carte--rdv { width: min(980px, 100%); height: min(760px, calc(100dvh - 32px)); display: flex; flex-direction: column; padding: 22px 22px 0; }
.boite__tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.boite__tete .boite__fermer { position: static; flex: none; }
.boite__carte--rdv .boite__texte { margin-bottom: 12px; }
.boite__cadre { flex: 1; min-height: 0; margin: 0 -22px; border-top: 1px solid #eceaf3; }
.boite__cadre iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) {
  .boite { padding: 0; place-items: end center; }
  .boite__carte { border-radius: 16px 16px 0 0; padding: 28px 20px 22px; }
  .boite__carte--rdv { height: 100dvh; border-radius: 0; padding: 16px 16px 0; }
  .boite__cadre { margin: 0 -16px; }
}

/* Le bouton de réservation dans le message de remerciement */
.merci-rdv { margin-top: 18px; padding-top: 16px; border-top: 1px solid #eceaf3; }
.merci-rdv p { margin: 0 0 12px; }

@keyframes boite-fond { from { opacity: 0; } }
@keyframes boite-carte { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .boite, .boite__carte { animation: none; } }

/* Preuves de la relance (comme sur les pubs) : +200 clients satisfaits, équipe nancéienne, soutiens */
.boite__preuves { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 12px; }
.boite__preuve {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: #f7f5fd; border-radius: 12px;
  font: 600 .86rem/1.25 "Plus Jakarta Sans", sans-serif; color: #14261f;
}
.boite__preuve b { font-family: var(--titres, "Sora"), sans-serif; font-size: 1.05rem; }
.boite__eclair { display: grid; place-items: center; flex: none; width: 34px; height: 34px; background: #14261f; color: #63fbe0; border-radius: 10px; }
.boite__eclair .icone { width: 18px; height: 18px; }
.boite__avatars { display: flex; flex: none; }
.boite__avatars img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; background: #e9fef9; object-fit: cover; }
.boite__avatars img + img { margin-left: -10px; }
.boite__soutiens { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 18px; color: #6b6880; font-size: .78rem; }
.boite__soutiens img { height: 22px; width: auto; }
@media (max-width: 380px) { .boite__preuves { grid-template-columns: 1fr; } }
