/* Pop-up d'accueil DermoPro */
.dppopup[hidden] { display: none !important; }
.dppopup {
  position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px;
  --dppopup-brand: var(--dp-brand, #2fb5d2); --dppopup-brand-dark: var(--dp-brand-dark, #1f97b1);
}
html.dppopup-lock, html.dppopup-lock body { overflow: hidden; }
.dppopup__backdrop { position: absolute; inset: 0; background: rgba(9, 28, 34, .55); opacity: 0; transition: opacity .3s ease; }
.dppopup__dialog {
  position: relative; display: flex; align-items: center; max-width: 100%; max-height: calc(100vh - 32px); overflow: hidden auto;
  border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); opacity: 0; transform: translateY(18px) scale(.97);
  transition: opacity .35s ease, transform .35s ease;
}
.dppopup.is-open .dppopup__backdrop { opacity: 1; }
.dppopup.is-open .dppopup__dialog { opacity: 1; transform: none; }
.dppopup__overlay { position: absolute; inset: 0; pointer-events: none; }
.dppopup__overlay--light { background: rgba(255, 255, 255, .55); }
.dppopup__overlay--dark { background: rgba(0, 0, 0, .45); }
.dppopup__close {
  position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #1d2a2e; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12); transition: transform .2s, background .2s;
}
.dppopup__close:hover { transform: rotate(90deg); background: #fff; }
.dppopup__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.dppopup__content { position: relative; z-index: 1; width: 100%; max-width: 460px; padding: 48px 52px; }
.dppopup--left .dppopup__content { margin-right: auto; }
.dppopup--right .dppopup__content { margin-left: auto; }
.dppopup--center .dppopup__content { margin: 0 auto; text-align: center; }
.dppopup--dark .dppopup__content { color: #1d2a2e; }
.dppopup--light .dppopup__content { color: #fff; }
.dppopup__title {
  margin: 0 0 12px; font-family: var(--dp-menu-font, "Exo 2", Arial, sans-serif); font-size: 40px; font-weight: 700; line-height: 1.1;
  color: inherit; letter-spacing: -.3px;
}
.dppopup__subtitle { margin: 0 0 26px; font-size: 18px; line-height: 1.5; }
.dppopup__subtitle p, .dppopup__footer p { margin: 0; }
.dppopup__subtitle strong { font-weight: 700; }
.dppopup__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.dppopup__field {
  display: flex; align-items: center; gap: 6px; padding: 5px; border-radius: 40px; background: #fff;
  box-shadow: 0 10px 30px rgba(17, 60, 72, .14);
}
/* le thème stylise tous les champs e-mail (cadre carré gris) : on rétablit le champ intégré à la pilule */
.dppopup .dppopup__field input[type="email"] {
  flex: 1 1 auto; min-width: 0; width: auto; height: 46px !important; margin: 0; padding: 0 18px !important; border: 0 !important;
  border-radius: 40px !important; background: transparent !important; box-shadow: none !important;
  color: #1d2a2e; font-size: 15px; line-height: 46px; outline: 0;
}
.dppopup .dppopup__field input[type="email"]::placeholder { color: #8a979b; }
.dppopup__field:focus-within { box-shadow: 0 0 0 3px rgba(47, 181, 210, .35), 0 10px 30px rgba(17, 60, 72, .14); }
.dppopup__submit, .dppopup__cta {
  display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px;
  border: 0; border-radius: 40px; background: var(--dppopup-brand); color: #fff !important; font-size: 14.5px; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: background .2s, transform .2s;
}
.dppopup__submit:hover, .dppopup__cta:hover { background: var(--dppopup-brand-dark); }
.dppopup__submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.dppopup__submit:hover svg { transform: translateX(3px); }
.dppopup__submit[disabled] { opacity: .6; cursor: wait; }
.dppopup__msg { min-height: 0; margin: 10px 0 0; font-size: 14px; font-weight: 600; }
.dppopup__msg:empty { display: none; }
.dppopup__msg.is-error { color: #c0392b; }
.dppopup--light .dppopup__msg.is-error { color: #ffd2cc; }
.dppopup__form.is-done .dppopup__field, .dppopup__form.is-done .dppopup__legal { display: none; }
.dppopup__form.is-done .dppopup__msg { padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .85); color: #1f7a4d; font-size: 15px; }
.dppopup__legal { margin: 10px 4px 0; font-size: 11.5px; line-height: 1.5; opacity: .75; }
.dppopup__footer { margin-top: 26px; font-size: 14px; line-height: 1.55; }
.dppopup__footer strong { font-size: 18px; font-weight: 700; }
@media (max-width: 767px) {
  .dppopup__dialog { width: 100% !important; min-height: 0 !important; border-radius: 18px; }
  .dppopup__content { max-width: none; padding: 52px 24px 30px; }
  .dppopup__title { font-size: 30px; }
  .dppopup__subtitle { margin-bottom: 20px; font-size: 16px; }
  .dppopup__field { flex-wrap: wrap; border-radius: 22px; }
  .dppopup .dppopup__field input[type="email"] { flex-basis: 100%; }
  .dppopup__submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .dppopup__backdrop, .dppopup__dialog { transition: none; }
}
