/* =====================================================
   SLM DIGITAL - Logo animé avec Labrador (BLEU CYAN)
   ===================================================== */

/* ===== LAYOUT ===== */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  position: relative;
  z-index: 10;
}

.brand-icon {
  width: 44px;
  height: 44px;
  display: block;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: Inter, system-ui, sans-serif;
  white-space: nowrap;
}

.brand-name {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.brand-sub {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  opacity: 0.75;
  display: inline-block;
}

/* ===== ANIMATION DIGITAL uniquement ===== */
.brand-sub {
  animation: digitalPulse 2s ease-in-out infinite;
}

@keyframes digitalPulse {
  0%, 100% { 
    opacity: 0.75;
    transform: translateY(0);
  }
  50% { 
    opacity: 1;
    transform: translateY(-1px);
    letter-spacing: 0.25em;
  }
}

/* ===== HOVER BLEU CYAN ===== */
.brand {
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: translateY(-2px);
}

.brand:hover .brand-icon {
  filter: drop-shadow(0 0 12px rgba(0, 180, 216, 0.5));
  transition: filter 0.3s ease;
}

.brand:hover .hex-path,
.brand:hover .dog > * {
  stroke: #00b4d8 !important;
  transition: stroke 0.3s ease;
}

.brand:hover circle,
.brand:hover ellipse {
  fill: #00b4d8 !important;
  transition: fill 0.3s ease;
}

.brand:hover .brand-sub {
  color: #00b4d8;
}

/* ===== RESPONSIVE ===== */

/* Desktop large */
@media (min-width: 1200px) {
  .brand-icon { 
    width: 46px; 
    height: 46px; 
  }
  .brand-name { 
    font-size: 15px; 
  }
  .brand-sub { 
    font-size: 13px; 
  }
}

/* Tablette */
@media (max-width: 992px) {
  .brand-icon { 
    width: 40px; 
    height: 40px; 
  }
  .brand-name { 
    font-size: 13px; 
  }
  .brand-sub { 
    font-size: 11px; 
  }
}

/* Mobile - DIGITAL visible */
@media (max-width: 768px) {
  .brand {
    gap: 10px;
  }
  
  .brand-icon { 
    width: 38px; 
    height: 38px; 
  }
  
  .brand-name { 
    font-size: 12px; 
  }
  
  .brand-sub { 
    font-size: 10px;
    letter-spacing: 0.18em;
  }
}

/* Mobile - DIGITAL caché en dessous de 600px */
@media (max-width: 600px) {
  .brand-sub { 
    display: none !important;
  }
  
  .brand-text {
    gap: 0;
  }
  
  .brand-icon { 
    width: 36px; 
    height: 36px; 
  }
  
  .brand-name { 
    font-size: 13px;
    letter-spacing: 0.1em;
  }
}

/* Très petit mobile */
@media (max-width: 480px) {
  .brand {
    gap: 8px;
  }
  
  .brand-icon { 
    width: 34px; 
    height: 34px; 
  }
  
  .brand-name { 
    font-size: 12px; 
  }
}

/* Mini écrans */
@media (max-width: 380px) {
  .brand-icon { 
    width: 32px; 
    height: 32px; 
  }
  
  .brand-name { 
    font-size: 11px; 
  }
}

/* ===== Désactive animations indésirables du thème ===== */
.brand,
.brand *,
.brand:hover,
.brand:hover * {
  animation-name: digitalPulse !important;
}

.brand:hover {
  animation: none !important;
}