/* =========================================================
   MODALE CONTACT + BOUTONS FLOTTANTS — styles partagés
   Utilisé par toutes les pages du site (accueil, Apropos,
   sur-mesure, caves, créations, contact, mentions).
   ========================================================= */

@font-face {
  src: url("PerpetuaTitlingMTLight2.ttf");
  font-family: "FonteLoewTech";
}

/* ---------- Boutons flottants (message + téléphone) ---------- */
.buttonfixeMSG,
.buttonfixeTel {
  position: fixed;
  z-index: 999;
  left: auto;
  right: 22px;
  padding: 0;
}

/* Le bouton message reste toujours au-dessus du bouton d'appel */
.buttonfixeMSG {
  bottom: 74px;
}

.buttonfixeTel {
  bottom: 20px;
}

@media (max-width: 767px) {
  .buttonfixeMSG,
  .buttonfixeTel {
    left: auto;
    right: 14px;
    padding: 0;
  }

  .buttonfixeMSG {
    bottom: 72px;
  }

  .buttonfixeTel {
    bottom: 18px;
  }
}

.buttonfixeMSG .btn-primary,
.buttonfixeTel .btn-primary {
  background-color: #000 !important;
  border-color: #000 !important;
  border: none;
  border-top: 7px solid;
  border-bottom: 5px solid;
  border-left: 10px solid;
  border-right: 10px solid;
  padding: 0;
  color: #fff;
  box-shadow: none;
}

.buttonfixeMSG .fas,
.buttonfixeTel .fas {
  font-size: 20px;
  color: #fff;
}

/* =========================================================
   MODALE CONTACT (#exampleModalCenter)
   ========================================================= */
#exampleModalCenter .modal-dialog {
  max-width: 720px;
}

#exampleModalCenter .modal-content {
  background-color: #0d0f10;
  color: #eceadf;
  border: 1px solid rgba(193, 188, 167, .25);
  border-radius: 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
}

#exampleModalCenter .modal-header {
  border-bottom: 1px solid rgba(193, 188, 167, .18);
  padding: 18px 26px;
}

#exampleModalCenter .modal-body {
  padding: 10px 26px 26px;
}

#exampleModalCenter .btn-close {
  filter: invert(1) grayscale(1) brightness(1.6);
  opacity: .55;
  transition: opacity .3s ease;
}

#exampleModalCenter .btn-close:hover {
  opacity: 1;
}

#exampleModalCenter .contact-form {
  background: transparent;
  margin-bottom: 0;
  width: 100%;
}

#exampleModalCenter .contact-form h3,
#exampleModalCenter .titreform {
  color: #c1bca7;
  font-family: 'FonteLoewTech', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: center;
  margin: 6px 0 24px;
}

#exampleModalCenter .form-group {
  margin-bottom: 18px;
}

#exampleModalCenter .contact-form .form-control,
#exampleModalCenter .form-control {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(193, 188, 167, .3);
  border-radius: 0;
  color: #eceadf;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  padding: 10px 2px;
  box-shadow: none;
  transition: border-color .4s ease, color .4s ease;
}

#exampleModalCenter .contact-form .form-control:focus,
#exampleModalCenter .form-control:focus {
  outline: none;
  box-shadow: none;
  background: transparent;
  border-bottom-color: #c1bca7;
  color: #fff;
}

#exampleModalCenter .form-control::placeholder {
  color: rgba(193, 188, 167, .4);
  opacity: 1;
}

#exampleModalCenter textarea.form-control,
#exampleModalCenter .contact-form textarea.form-control {
  border: 1px solid rgba(193, 188, 167, .3);
  background-color: rgba(255, 255, 255, .02);
  padding: 14px;
  resize: vertical;
}

#exampleModalCenter textarea.form-control:focus,
#exampleModalCenter .contact-form textarea.form-control:focus {
  border-color: #c1bca7;
}

#exampleModalCenter .modal-footer {
  border-top: 1px solid rgba(193, 188, 167, .18);
  justify-content: center;
  padding-top: 22px;
}

#exampleModalCenter .modal-footer .btn,
#exampleModalCenter .modal-footer .btn-primary {
  background: transparent !important;
  border: 1px solid #c1bca7 !important;
  border-radius: 0;
  color: #c1bca7;
  font-family: 'FonteLoewTech', sans-serif;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 12px 42px;
  position: relative;
  overflow: hidden;
  transition: background .6s ease, color .6s ease, border-color .6s ease, letter-spacing .6s ease;
}

/* Reflet doré qui balaye le bouton : même effet que le CTA « Découvrir l'expérience » */
#exampleModalCenter .modal-footer .btn::before,
#exampleModalCenter .modal-footer .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(193, 170, 119, .1), transparent);
  transition: left .8s cubic-bezier(.25, .46, .45, .94);
  pointer-events: none;
}

#exampleModalCenter .modal-footer .btn:hover::before,
#exampleModalCenter .modal-footer .btn:focus::before,
#exampleModalCenter .modal-footer .btn-primary:hover::before,
#exampleModalCenter .modal-footer .btn-primary:focus::before {
  left: 100%;
}

/* Hover / focus identiques au CTA « Découvrir l'expérience » */
#exampleModalCenter .modal-footer .btn:hover,
#exampleModalCenter .modal-footer .btn:focus,
#exampleModalCenter .modal-footer .btn-primary:hover,
#exampleModalCenter .modal-footer .btn-primary:focus {
  background: rgba(193, 170, 119, .08) !important;
  border-color: rgba(193, 170, 119, .7) !important;
  color: #f5f0e8;
  letter-spacing: .4em;
}
