/* ===== Ajouts Domus'Digi Tech (dashboard) ===== */

/* Bouton WhatsApp flottant */
.dd-whatsapp-float {
  position: fixed; left: 20px; bottom: 20px; z-index: 9990;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff !important; border-radius: 50px;
  padding: 12px 18px 12px 14px; font-weight: 700; font-size: 15px; line-height: 1;
  box-shadow: 0 8px 24px rgba(0,0,0,.22); text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.dd-whatsapp-float i { font-size: 26px; }
.dd-whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.28); color: #fff; }
@media (max-width: 767px) {
  .dd-whatsapp-float { padding: 14px; left: 14px; bottom: 14px; }
  .dd-whatsapp-float span { display: none; }
}

/* Section vidéo */
.dd-video-section { padding: 90px 0; background: #f8f8f8; }
.dd-video-title { font-size: 34px; margin: 15px 0 18px; }
.dd-video-text { margin-bottom: 28px; }
.dd-video-frame { border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.15); background: #000; }
.dd-video-ratio { position: relative; padding-top: 56.25%; }
.dd-video-ratio.dd-video-portrait { padding-top: 0; height: 600px; }
.dd-video-ratio iframe, .dd-video-ratio video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 991px) {
  .dd-video-section { padding: 60px 0; }
  .dd-video-section .col-lg-5 { margin-bottom: 30px; }
  .dd-video-title { font-size: 26px; }
}

/* Footer : liste de contacts */
.dd-footer-contact { list-style: none; padding: 0; margin: 0 0 20px; }
.dd-footer-contact li { margin-bottom: 10px; color: inherit; overflow-wrap: anywhere; }
.dd-footer-contact i { width: 20px; }
.social-links svg, .footer-social-links svg, .social-icons svg { display: inline-block; }

/* Anti-spam formulaire */
.dd-hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }

/* Barre administrateur sur le site */
.dd-admin-bar {
  position: fixed; right: 20px; bottom: 90px; z-index: 9995;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  background: #111; color: #fff; border-radius: 12px; padding: 8px;
  font: 600 13px/1.3 Mulish, Arial, sans-serif; box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.dd-admin-bar a { color: #fff !important; background: #2b2b2b; padding: 8px 12px; border-radius: 8px; text-decoration: none; }
.dd-admin-bar a:hover { background: #444; }
.dd-admin-bar.is-editing { left: 12px; right: 12px; top: 12px; bottom: auto; margin: 0 auto; width: fit-content; max-width: calc(100% - 24px); padding: 8px 8px 8px 14px; }
.dd-admin-bar .dd-hint { font-weight: 400; opacity: .75; padding: 0 6px; }
.dd-admin-bar .dd-status { min-width: 90px; color: #7ee2a8; }
.dd-admin-bar .dd-status.err { color: #ff8a80; }
@media (max-width: 767px) { .dd-admin-bar .dd-hint { display: none; } }

/* Mode édition */
.dd-edit { outline: 1px dashed rgba(37,99,235,.55); outline-offset: 3px; border-radius: 3px; cursor: text; transition: background .15s; min-width: 10px; display: inline-block; }
.dd-edit:hover { background: rgba(37,99,235,.08); }
.dd-edit:focus { outline: 2px solid #2563eb; background: rgba(255,255,255,.9); color: #111; }
.dd-edit.dd-saved { animation: ddSaved 1s ease; }
@keyframes ddSaved { 0% { background: rgba(37,211,102,.35); } 100% { background: transparent; } }
[data-ddimg].dd-img-edit { outline: 3px dashed #2563eb; outline-offset: -3px; cursor: pointer; }
.dd-img-edit:hover { filter: brightness(.85); }
