/* ===================================================
   Header — styles canoniques
   Chargé via partials/header.php sur toutes les pages
   =================================================== */

.sticky-top {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.62) 0%, rgba(245,239,255,0.68) 30%, rgba(252,252,255,0.66) 62%, rgba(255,249,231,0.64) 100%);
    backdrop-filter: blur(28px) saturate(1.8) brightness(1.04);
    -webkit-backdrop-filter: blur(28px) saturate(1.8) brightness(1.04);
    z-index: 100;
    padding: 10px 0 8px 0;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(76,64,119,0.13), 0 1px 0 rgba(255,255,255,0.55) inset;
    border-bottom: 1px solid rgba(140,82,255,0.14);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.contact-header {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--md-on-surface-variant, #5f6368);
    text-transform: uppercase;
    opacity: 0.8;
}

.contact-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    width: 100%;
    overflow: hidden;
}

.contact-bar a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--md-on-surface-variant, #5f6368);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

.contact-bar a.tel svg { color: var(--md-primary, #8c52ff); }
.contact-bar a.wa  svg { color: #25D366; }
.contact-bar a.fb  svg { color: #1877F2; }

.contact-bar a.tel:hover { background: rgba(140,82,255,0.1); color: var(--md-primary, #8c52ff); }
.contact-bar a.wa:hover  { background: rgba(37,211,102,0.1);  color: #128c7e; }
.contact-bar a.fb:hover  { background: rgba(24,119,242,0.1);  color: #1877F2; }

.dot-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--md-on-surface-variant, #5f6368);
    opacity: 0.3;
    flex-shrink: 0;
}

.hours-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--md-on-surface-variant, #5f6368);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.65;
}

.contact-label-short { display: none; font-size: 0.72rem; font-weight: 800; }

/* Action sheet — tap sur numéro de téléphone (mobile) */
#bv-tel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(25,28,29,0.45);
    backdrop-filter: blur(3px);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}
#bv-tel-overlay.bv-open {
    opacity: 1;
    pointer-events: auto;
}
#bv-tel-sheet {
    width: 100%;
    background: rgba(253,251,255,0.97);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border-radius: 24px 24px 0 0;
    padding: 14px 18px calc(64px + env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
    box-shadow: 0 -8px 32px rgba(76,64,119,0.14);
    border-top: 1px solid rgba(140,82,255,0.14);
}
#bv-tel-overlay.bv-open #bv-tel-sheet {
    transform: translateY(0);
}
.bv-tel-handle {
    width: 36px;
    height: 4px;
    border-radius: 99px;
    background: rgba(25,28,29,0.15);
    margin: 0 auto 18px;
}
.bv-tel-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: #191c1d;
    text-align: center;
    letter-spacing: 0.07em;
    margin-bottom: 20px;
}
.bv-tel-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}
.bv-tel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 54px;
    border-radius: 99px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: 1.5px solid transparent;
    text-decoration: none;
    transition: transform 0.15s, opacity 0.15s;
    -webkit-tap-highlight-color: transparent;
}
.bv-tel-btn:active { transform: scale(0.96); opacity: 0.85; }
.bv-tel-call {
    background: #8c52ff;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(140,82,255,0.3);
}
.bv-tel-copy {
    background: rgba(140,82,255,0.09);
    color: #8c52ff;
    border-color: rgba(140,82,255,0.18);
}
.bv-tel-cancel {
    width: 100%;
    height: 50px;
    border-radius: 99px;
    background: rgba(25,28,29,0.06);
    border: none;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    color: #5f6368;
    cursor: pointer;
    transition: background 0.15s;
    -webkit-tap-highlight-color: transparent;
}
.bv-tel-cancel:active { background: rgba(25,28,29,0.12); }

@media (max-width: 480px) {
    .contact-label       { display: none; }
    .contact-label-short { display: inline; }
    .dot-sep             { display: none; }
    .contact-bar         { gap: 4px; font-size: 0.75rem; }
    .contact-bar a       { padding: 6px 8px; gap: 4px; }
    .contact-bar a svg   { width: 14px; height: 14px; }
    .hours-bar           { font-size: 0.55rem; }
}
