.dz-rappel {
  position: relative;
  z-index: 100;
  overflow: visible !important;
}

.dz-rappel-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size:16px;
  line-height: 1.2;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.dz-rappel-toggle:hover {
  transform: translateY(-1px);
}

.dz-rappel-toggle:focus-visible,
.dz-rappel-submit:focus-visible,
.dz-rappel-form input:focus-visible,
.dz-rappel-form select:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.dz-rappel-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 999;
overflow: visible;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);

  /* garder ton animation */
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}
@media (max-width: 767px) {
  .dz-rappel-panel {
    max-height: none;
    overflow: visible;
  }
}

.dz-rappel-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
min-width:400px;
  border: 1px solid rgba(202, 131, 66, 0.3);
  border-radius: 12px;
  padding: 12px 10px;
z-index: 999;
overflow: visible;
  margin-top: 0; /* important */
}
@media (max-width: 767px) {
  .dz-rappel-panel.is-open {
min-width:300px;
  }
}

.dz-rappel-intro {
  margin: 0 0 12px;
  font-size: 0.95em;
  line-height: 1.5;
}

.dz-rappel-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.dz-rappel-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dz-rappel-field label {
  font-weight: 500;
}

.dz-rappel-form input,
.dz-rappel-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid;
  border-color: var(--contrast-3, #d7d7d7);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: inherit;
  box-sizing: border-box;
}

.dz-rappel-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.dz-rappel-form select:invalid {
  color: #888;
}

.dz-rappel-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dz-rappel-submit:hover {
  transform: translateY(-1px);
}

.dz-rappel-submit[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.dz-rappel-submit.is-loading {
  pointer-events: none;
}

.dz-rappel-response {
  display: none;
}

.dz-rappel-msg {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 500;
}

.dz-rappel-msg.success {
  background: #e8f7ee;
  border: 1px solid #2f7d4b;
  color: #2f7d4b;
}

.dz-rappel-msg.error {
  background: #fdecea;
  border: 1px solid #c62828;
  color: #c62828;
}

.dz-rappel-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 767px) {
  .dz-rappel {
    max-width: 100%;
  }

  .dz-rappel-panel.is-open {
    max-height: 900px;
  }
}
.dz-rappel-button {
  background: #ca8342;
  color: #fff;
  border-radius: 20px;
  padding: 12px 20px;
  gap: 8px;
}

/* icone téléphone */
.dz-rappel-button::before {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;

  background-color: #fff;

  -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path fill='black' d='M6.6 10.8a15.5 15.5 0 006.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.3 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V21c0 .6-.4 1-1 1C10.3 22 2 13.7 2 3c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1l-2.2 2.2z'/></svg>") no-repeat center;
  mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path fill='black' d='M6.6 10.8a15.5 15.5 0 006.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.3 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V21c0 .6-.4 1-1 1C10.3 22 2 13.7 2 3c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1l-2.2 2.2z'/></svg>") no-repeat center;
}

/* hover */
.dz-rappel-button:hover {
  background: #a8642d;
}

/* click */
.dz-rappel-button:active {
  background: #7a4a21;
}

.dz-rappel-link {
  background: none;
  color: #ca8342;
  padding: 0;
  gap: 8px;
  justify-content:left;
}

/* flèche propre */
.dz-rappel-link::after {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;

  background-color: currentColor;

  -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'><path d='M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z'></path></svg>") no-repeat center;

  mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'><path d='M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z'></path></svg>") no-repeat center;

  transition: transform 0.2s ease;
}

/* hover animation */
.dz-rappel-link:hover::after {
  transform: translateX(4px);
}

/* hover */
.dz-rappel-link:hover {
  background: none;
  color: #333;
}

/* click */
.dz-rappel-link:active {
  color: #111;
}

.dz-rappel-submit {
  background: #ca8342;
  color: #fff;
}

.dz-rappel-submit:hover {
  background: #a8642d;
  transform: translateY(-1px);
}

.dz-rappel-submit:active {
  background: #7a4a21;
}
/* état normal = TOUJOURS ocre */
.dz-rappel-link,
.dz-rappel-link:focus,
.dz-rappel-link:active {
  color: #ca8342 !important;
  background: none !important;
  box-shadow: none !important;
}

/* hover uniquement = gris foncé */
.dz-rappel-link:hover {
  color: #333 !important;
}