/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 07 2025 | 12:56:53 */
/* === TOKENS === */
:root{
  --bg-overlay: rgba(0,0,0,.55);
  --card-bg: #fff;
  --beige-1:#f6efe4;      /* fond clair */
  --beige-2:#e9ddca;      /* hover */
  --beige-3:#d2bea0;      /* bord / accents */
  --ink:#1d1d1d;          /* texte */
  --muted:#6b6b6b;        /* placeholder */
}

/* === OVERLAY === */
.contact-modal{
  position: fixed;
  inset: 0;
  display: none;                 /* cachée par défaut */
  align-items: center;
  justify-content: center;
  background: var(--bg-overlay);
  z-index: 9999;
  padding: 20px;
}
.contact-modal.is-open{
  display: flex;
  animation: cm-fade .2s ease;
}

/* === BOÎTE === */
.contact-modal__dialog{
  position: relative;
  width: min(720px, 92vw);
  max-height: 86vh;
  overflow: auto;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  padding: 20px;
  animation: cm-pop .18s ease-out;
}

/* === BOUTON X === */
.contact-modal__close{
  position: absolute;
  top: 10px; right: 10px;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--beige-3);
  background: var(--beige-1);
  cursor: pointer;
  font-size: 16px; line-height: 1;
  display: grid; place-items: center;
}

/* === FORM === */
.contact-modal form{ margin-top: 6px; }
.contact-modal label{
  display:block; font-weight:600; color:var(--ink);
  margin:12px 0 6px; font-size:14px;
}
.contact-modal input[type="text"],
.contact-modal input[type="email"],
.contact-modal input[type="tel"],
.contact-modal input[type="url"],
.contact-modal input[type="number"],
.contact-modal select,
.contact-modal textarea{
  width:100%;
  border:1.5px solid var(--beige-3);
  background: var(--beige-1);
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 15px; color: var(--ink);
  margin-bottom: 12px;
}
.contact-modal textarea{ min-height: 120px; resize: vertical; }

.contact-modal input:focus,
.contact-modal select:focus,
.contact-modal textarea:focus{
  border-color: var(--beige-3);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--beige-3) 35%, transparent);
  background: #fff;
  outline: none;
}

/* bouton envoyer */
.contact-modal input[type="submit"],
.contact-modal button[type="submit"]{
  display:inline-block;
  padding:10px 16px;
  border:2px solid var(--beige-3);
  background: var(--beige-1);
  color: var(--ink);
  border-radius:999px;
  font-weight:600;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.contact-modal input[type="submit"]:hover,
.contact-modal button[type="submit"]:hover{
  background: var(--beige-2);
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
  transform: translateY(-1px);
}

/* responsive */
@media (max-width: 480px){
  .contact-modal__dialog{ border-radius: 14px; padding: 16px; }
}

/* bloque le scroll du fond */
body.modal-open{ overflow: hidden; }

/* anims */
@keyframes cm-fade{ from{opacity:0} to{opacity:1} }
@keyframes cm-pop{ from{transform:translateY(6px); opacity:.96} to{transform:translateY(0); opacity:1} }
