/* ===================== COMPONENTS ===================== */

/* Buttons hero */
.btn-primary,
.btn-secondary,
.btn-link {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: var(--ui-letter-spacing);
  text-transform: uppercase;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  border: 1px solid transparent;
  /* transition désactivée pour thème Microsoft épuré */
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  border-color: rgba(25, 25, 25, 0.9);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.6);
}

.btn-secondary {
  background: rgba(25, 25, 25, 0.8);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.6);
}
.btn-secondary:hover {
  background: rgba(25, 25, 25,1);
  transform: translateY(-1px);
}

/* Badge status */
.status-badge {
  position: absolute;
  top: 24px;
  right: clamp(24px, 7vw, 80px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 152, 0, 0.15);
  backdrop-filter: blur(10px);
  color: #ffb84d;
  font-weight: 600;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  border: 1.5px solid rgba(255, 152, 0, 0.4);
  white-space: nowrap;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 152, 0, 0.1);
  /* animation et transition désactivées pour thème Microsoft épuré */
}

.status-badge:hover {
  background: rgba(255, 152, 0, 0.2);
  border-color: rgba(255, 152, 0, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 152, 0, 0.2);
}

.status-icon {
  font-size: 16px;
  line-height: 1;
  /* animation désactivée pour thème Microsoft épuré */
}

.status-text {
  letter-spacing: 0.5px;
}

@keyframes status-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 152, 0, 0.1);
  }
  50% {
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 25px rgba(255, 152, 0, 0.2);
  }
}

@keyframes status-icon-rotate {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
}

/* ========== BOUTON ME CONTACTER ========== */
.btnMeContacter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border: 2px solid rgba(0, 120, 212, 0.5);
  border-radius: 50px;
  cursor: pointer;
  /* transition désactivée pour thème Microsoft épuré */
  box-shadow: 0 4px 15px rgba(0, 120, 212, 0.3),
              0 0 20px rgba(0, 120, 212, 0.1);
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  z-index: 1;
}

.btnMeContacter::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  /* transition désactivée pour thème Microsoft épuré */
}

.btnMeContacter:hover::before {
  left: 100%;
}

.btnMeContacter:hover {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 100%);
  border-color: rgba(0, 120, 212, 0.8);
  box-shadow: 0 6px 25px rgba(0, 120, 212, 0.5),
              0 0 30px rgba(0, 120, 212, 0.2);
  transform: translateY(-2px);
}

.btnMeContacter:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 120, 212, 0.4);
}

/* ===================== TOASTS ===================== */

.toast-container {
  position: fixed;
  z-index: 9999;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(92vw, 420px);
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(0, 120, 212, 0.28), rgba(43, 136, 216, 0.28)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(25, 25, 25, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  color: #eef4ff;
  /* animation désactivée pour thème Microsoft épuré */
}
.toast-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 16px;
}
.toast-message {
  font-size: 14px;
  line-height: 1.45;
}
.toast-close {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
}

/* Toast animations */
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ===================== PANEL CLOSE ===================== */
.panel-close {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}
.panel-close:hover {
  transform: translateY(-1px);
}
