/* PBF Phone Button Glass Widget — style.css */

.pbf-hpl-wrap {
  display: flex;
}

/* ═══════════════════════════════
   Bouton — Base
═══════════════════════════════ */

.hero-phone-link {
  --hpl-bg: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  cursor: pointer;
  background: var(--hpl-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  padding: 14px 22px 14px 14px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: backdrop-filter 0.3s ease, background 0.3s ease,
              box-shadow 0.3s ease, transform 0.25s ease,
              border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  border-style: solid;
}

/* Reflet nacré */
.hero-phone-link::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.30),
    rgba(255, 255, 255, 0)
  );
  border-radius: 18px 18px 0 0;
  pointer-events: none;
}

.hero-phone-link:hover {
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.22),
    0 4px 12px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

/* ═══════════════════════════════
   Modificateurs
═══════════════════════════════ */

/* Pas de glass */
.hero-phone-link.hpl--no-glass {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hero-phone-link.hpl--no-glass:hover {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Pas de reflet */
.hero-phone-link.hpl--no-reflet::before {
  display: none;
}

/* Pas d'ombre texte */
.hpl--no-shadow .hpl-num,
.hpl--no-shadow .hpl-label,
.hpl--no-shadow .hpl-hours {
  text-shadow: none;
}

/* ═══════════════════════════════
   Icône
═══════════════════════════════ */

.hpl-icon {
  --hpl-g1: rgba(180, 30, 120, 0.75);
  --hpl-g2: rgba(120, 15, 80, 0.85);
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--hpl-g1), var(--hpl-g2));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 16px rgba(180, 30, 120, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hpl-icon::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.15), transparent);
  border-radius: 10px 10px 0 0;
  pointer-events: none;
}

.hpl-icon span {
  font-size: 22px;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5));
  position: relative;
  z-index: 1;
  line-height: 1;
}

/* ═══════════════════════════════
   Texte
═══════════════════════════════ */

.hpl-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.hpl-label {
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  line-height: 1;
  text-shadow:
    0 1px 6px rgba(0, 0, 0, 0.5),
    0 0 12px rgba(244, 196, 48, 0.4);
}

.hpl-num {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.15;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.6),
    0 4px 16px rgba(0, 0, 0, 0.5),
    0 8px 32px rgba(0, 0, 0, 0.35);
}

.hpl-hours {
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
  margin-top: 1px;
  text-shadow:
    0 1px 6px rgba(0, 0, 0, 0.5),
    0 0 10px rgba(244, 196, 48, 0.35);
  opacity: 0.85;
}

/* ═══════════════════════════════
   Responsive
═══════════════════════════════ */

@media (max-width: 480px) {
  .hero-phone-link {
    padding: 12px 18px 12px 12px;
    gap: 12px;
    border-radius: 14px;
  }
  .hpl-num {
    font-size: 16px;
  }
}
