/* Header CrazyPhotoLive unique.
   Cette feuille est chargée en dernier sur toutes les pages du portfolio afin
   qu'aucun ancien style de galerie ne puisse reprendre la priorité. */
.crazyphotolive-brand .cpl-nav,
.crazyphotolive-brand .cpl-nav.is-scrolled {
  background: rgba(253, 252, 250, .94);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}

.crazyphotolive-brand .cpl-nav-wa,
.crazyphotolive-brand .cpl-nav-wa:visited {
  background: linear-gradient(120deg, #5baed7, #d1488d) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 7px 20px rgba(209, 72, 141, .28) !important;
}

.crazyphotolive-brand .cpl-nav-wa:hover {
  background: linear-gradient(120deg, #65b7de, #dc4e98) !important;
  box-shadow: 0 10px 25px rgba(209, 72, 141, .36) !important;
}

.crazyphotolive-brand .cpl-nav-center img {
  height: 50px;
  width: auto;
}

.crazyphotolive-brand .cpl-nav.is-scrolled .cpl-nav-center img { height: 42px; }

@media (max-width: 768px) {
  .crazyphotolive-brand .cpl-nav,
  .crazyphotolive-brand .cpl-nav.is-scrolled { height: 64px; }

  .crazyphotolive-brand .cpl-nav-center img,
  .crazyphotolive-brand .cpl-nav.is-scrolled .cpl-nav-center img { height: 38px; }
}

/* Téléphone : barre minimale, sans menu. Le logo devient le point d'ancrage
   à gauche et le bouton Contact reste discret à droite. */
@media (max-width: 560px) {
  .crazyphotolive-brand .cpl-nav,
  .crazyphotolive-brand .cpl-nav.is-scrolled {
    grid-template-columns: 1fr auto !important; gap: 12px;
    height: 66px; padding: 0 18px !important;
  }

  .crazyphotolive-brand .cpl-nav-left { display: none !important; }
  .crazyphotolive-brand .cpl-nav-center { grid-column: 1; justify-self: start; }
  .crazyphotolive-brand .cpl-nav-right { grid-column: 2; justify-self: end; display: flex; }
  .crazyphotolive-brand .cpl-nav-right li:first-child { display: none; }

  .crazyphotolive-brand .cpl-nav-center img,
  .crazyphotolive-brand .cpl-nav.is-scrolled .cpl-nav-center img { height: 44px; }

  .crazyphotolive-brand .cpl-nav-wa,
  .crazyphotolive-brand .cpl-nav-wa:visited {
    padding: .5rem .88rem !important; font-size: .53rem !important;
    letter-spacing: .11em !important; box-shadow: 0 5px 14px rgba(209,72,141,.24) !important;
  }

  .crazyphotolive-brand .cpl-menu { display: none !important; }
}
