/* Compléments pour le JS vitrine (js/lp.js) */

/* header : 3 logos de même hauteur visible, même espace entre chacun
   --lp-logo-h = hauteur visible commune ; le logo « Rentrée du chauffage » a ~10 % de marge
   transparente en haut et en bas dans son fichier, d'où la compensation (÷ 0.8). */
.rentree-du-chauffage-header-temps-fort .header-left .header-left-logo.lp-logos {
  --lp-logo-h: clamp(44px, 4.6vw, 80px);
  --lp-logo-gap: clamp(20px, 3vw, 48px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--lp-logo-gap);
}
.rentree-du-chauffage-header-temps-fort .header-left .header-left-logo.lp-logos img {
  width: auto;
  max-width: none;
  height: var(--lp-logo-h);
  flex: 0 0 auto;
}
.rentree-du-chauffage-header-temps-fort .header-left .header-left-logo.lp-logos .header-left-logo-rentree-chauffage {
  height: calc(var(--lp-logo-h) / 0.8);
  max-width: none;
  /* la marge interne du fichier compte dans l'espacement : on la retire */
  margin-left: calc(var(--lp-logo-h) * -0.07);
}
@media (max-width: 575.98px) {
  .rentree-du-chauffage-header-temps-fort .header-left .header-left-logo.lp-logos {
    --lp-logo-h: 40px;
    --lp-logo-gap: 20px;
    justify-content: center;
  }
}

/* listes déroulantes */
.lp-dropdown { top: auto; z-index: 1050; max-height: 280px; overflow-y: auto; }
.lp-dropdown { min-width: 260px; max-width: calc(100vw - 16px); }
.lp-dropdown .ant-select-item-option { cursor: pointer; }
.lp-dropdown .ant-select-item-option-content { white-space: normal; overflow: visible; }
.lp-dropdown .lp-dropdown-empty { padding: 8px 12px; color: rgba(0, 0, 0, .45); font-size: 15px; }

/* messages d'erreur */
.lp-explain { position: static !important; display: block !important; height: auto !important; opacity: 1 !important; transform: none !important; }
.lp-explain .ant-form-item-explain-error { position: static !important; color: #ff4d4f; font-size: 14px; line-height: 1.4; margin-top: 4px; }
.header-right-form .lp-explain .ant-form-item-explain-error { color: #ffd2d2; }
.ant-form-item-has-error .ant-input,
.ant-form-item-has-error .ant-select-selector { border-color: #ff4d4f !important; }

/* recherche d'adresse : bouton d'effacement */
.ant-select .ant-select-clear { cursor: pointer; }

/* « Ajouter un message » */
.lp-message { margin-bottom: 24px; }
.lp-message textarea { width: 100%; resize: vertical; min-height: 96px; }
.textarea-retractable-action svg { transition: transform .2s; }
.textarea-retractable-action.lp-open svg { transform: rotate(45deg); }

/* confirmation après envoi */
.lp-confirmation { padding: 32px 16px; text-align: center; color: #fff; font-size: 18px; line-height: 1.5; }
.lp-confirmation-title { font-size: 28px; font-weight: 700; margin-bottom: 12px; }

/* pied de page */
footer .icons .icon:focus-visible,
footer .sublink:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
