/* Bio Link Pro - Frontend Styles */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

.blp-body {
    margin: 0;
    padding: 0;
    background: var(--blp-bg);
    color: var(--blp-text);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.blp-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--blp-bg);
}

/* Hero */
.blp-hero {
    position: relative;
    width: 100%;
    height: 14rem;
    overflow: visible;
    margin-bottom: 0;
}
.blp-hero-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 0;
}
.blp-hero-overlay {
    position: absolute;
    inset: 0;
    background: #000;
    pointer-events: none;
    z-index: 1;
}
.blp-profile-wrap {
    position: relative;
    margin-top: -3.5rem; /* Puxa para cima metade da foto */
    margin-bottom: -1rem; /* Ajusta o espaçamento com o nome da empresa */
    z-index: 30; /* Garante que fique acima de tudo */
    display: flex;
    justify-content: center;
}

/* Hero floating action buttons */
.blp-hero-actions {
    position: absolute;
    top: .75rem;
    right: .75rem;
    display: flex;
    gap: .5rem;
    z-index: 10;
}
.blp-hero-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    transition: background .2s, transform .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.blp-hero-btn:hover {
    background: rgba(255,255,255,0.38);
    transform: scale(1.1);
}
.blp-profile-ring {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    border: 4px solid var(--blp-card-bg);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,.15);
    overflow: hidden;
    background: var(--blp-card-bg);
}
.blp-profile-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (min-width: 640px) {
    .blp-hero { height: 16rem; margin-bottom: 0; }
    .blp-hero-img { height: 16rem; }
    .blp-profile-ring { width: 8rem; height: 8rem; }
}

/* --- Main Card Layout (Rounded Corners) --- */
.blp-main-body {
    background: var(--blp-card-bg);
    border-radius: 2rem 2rem 0 0;
    margin-top: -3.5rem;
    position: relative;
    z-index: 20;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 2rem;
}
@media (max-width: 640px) {
    .blp-main-body {
        border-radius: 1.5rem 1.5rem 0 0;
        margin-top: -3.5rem;
    }
}

/* Company Info */
.blp-info {
    text-align: center;
    padding: 1rem 1.5rem;
}
.blp-logo {
    height: 2.5rem;
    margin: 0 auto .75rem;
    display: block;
}
.blp-company-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blp-text);
    letter-spacing: -0.025em;
    line-height: 1.2;
}
@media (min-width: 640px) {
    .blp-company-name { font-size: 1.875rem; }
}
.blp-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    margin-top: .5rem;
    color: var(--blp-text-secondary);
    font-size: .875rem;
}
.blp-description {
    margin-top: .75rem;
    color: var(--blp-text-secondary);
    font-size: .875rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Status badge */
.blp-status-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .25rem .75rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-top: .5rem;
}
.blp-status-badge:empty { display: none; }
.blp-status-badge.blp-open {
    background: rgba(34,197,94,.15);
    color: #16a34a;
    border: 1px solid rgba(34,197,94,.3);
}
.blp-status-badge.blp-closed {
    background: rgba(239,68,68,.12);
    color: #dc2626;
    border: 1px solid rgba(239,68,68,.25);
}

/* Social Links */
.blp-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
}
.blp-social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--blp-primary) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blp-text-secondary);
    text-decoration: none;
    transition: all .2s;
}
.blp-social-icon:hover {
    background: var(--blp-primary);
    color: #fff;
    transform: scale(1.1);
}

/* --- Floating WhatsApp --- */
.blp-whatsapp-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    border: none;
    z-index: 999;
    transition: all 0.3s;
}
.blp-whatsapp-floating:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
.blp-whatsapp-floating svg {
    width: 32px;
    height: 32px;
}

/* --- Multi-WhatsApp Modal List --- */
#blp-wa-modal .blp-modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2rem;
    max-width: 400px;
    animation: blp-modal-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.blp-modal-subtitle {
    font-size: 0.875rem;
    color: var(--blp-text-secondary);
    text-align: center;
    margin-bottom: 1.5rem;
}
.blp-wa-selection-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}
.blp-wa-option-btn {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    text-decoration: none !important;
    color: #111827 !important;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.blp-wa-option-btn:hover {
    background: #fff;
    border-color: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
}
.blp-wa-option-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    position: relative;
}
/* Live Pulse Dot */
.blp-wa-status-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border: 2px solid #fff;
    border-radius: 50%;
}
.blp-wa-status-dot::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: blp-wa-pulse 1.5s infinite;
}
.blp-wa-option-text { 
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}
.blp-wa-option-label {
    font-size: 0.935rem;
    font-weight: 700;
}
.blp-wa-option-number {
    font-size: 0.7rem;
    color: var(--blp-text-secondary);
    font-weight: 400;
}
.blp-wa-chevron {
    color: #9ca3af;
    transition: transform 0.2s;
}
.blp-wa-option-btn:hover .blp-wa-chevron {
    transform: translateX(3px);
    color: #22c55e;
}

@keyframes blp-wa-pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}
@keyframes blp-modal-pop {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 480px) {
    .blp-whatsapp-floating {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 56px;
        height: 56px;
    }
}

/* Content */
.blp-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    max-width: 32rem;
    padding: 0 1rem;
    margin-top: .5rem;
}

/* Buttons */
.blp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    border-radius: .75rem;
    height: 3rem;
    padding: 0 1.5rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .2s;
    text-decoration: none;
    line-height: 1;
}
.blp-btn:active { transform: scale(.97); }
.blp-btn-primary {
    background: var(--blp-primary);
    color: #fff;
    border-color: var(--blp-primary);
    box-shadow: 0 4px 14px -3px color-mix(in srgb, var(--blp-primary) 40%, transparent);
}
.blp-btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 20px -3px color-mix(in srgb, var(--blp-primary) 50%, transparent);
}
.blp-btn-outline {
    background: transparent;
    color: var(--blp-text);
    border-color: color-mix(in srgb, var(--blp-primary) 30%, transparent);
}
.blp-btn-outline:hover {
    background: var(--blp-primary);
    color: #fff;
    border-color: var(--blp-primary);
}
.blp-full { width: 100%; max-width: 24rem; }
/* Actions */
.blp-action-row {
    display: flex;
    gap: .75rem;
    width: 100%;
    max-width: 24rem;
}

/* Reviews */
.blp-reviews-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    width: 100%;
    max-width: 24rem;
    margin: 0 auto;
}
.blp-review-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1.25rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(145deg, var(--blp-card-bg), color-mix(in srgb, var(--blp-card-bg) 95%, #000));
    border: 1px solid color-mix(in srgb, #EAB308 40%, transparent);
    box-shadow: 0 4px 15px -3px color-mix(in srgb, #EAB308 15%, transparent);
    text-decoration: none;
    color: var(--blp-text);
    transition: all .2s;
}
.blp-review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px -5px color-mix(in srgb, #EAB308 30%, transparent);
    border-color: #EAB308;
}
.blp-review-stars {
    display: flex;
    gap: .25rem;
    color: #EAB308;
}
.blp-review-stars svg { width: 26px; height: 26px; fill: currentColor; }
.blp-review-text {
    font-size: 1rem;
    font-weight: 700;
}

/* Sections */
.blp-section {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}
.blp-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--blp-text);
}

/* Promotions */
.blp-promos-scroll {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
}
.blp-promo-card {
    width: 260px;
    min-width: 260px;
    flex-shrink: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 14px -3px rgba(0,0,0,.1);
    text-decoration: none;
    color: inherit;
    scroll-snap-align: center;
    transition: box-shadow .2s;
}
.blp-promo-card:hover { box-shadow: 0 8px 25px -5px rgba(0,0,0,.15); }
.blp-promo-img-wrap {
    position: relative;
    height: 9rem;
    overflow: hidden;
}
.blp-promo-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.blp-promo-card:hover .blp-promo-img-wrap img { transform: scale(1.05); }
.blp-promo-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.2), transparent);
}
.blp-promo-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: .75rem;
}
.blp-promo-text h3 { color: #fff; font-weight: 700; font-size: .875rem; }
.blp-promo-text p { color: rgba(255,255,255,.8); font-size: .75rem; margin-top: .25rem; }
.blp-promo-validity { color: rgba(255,255,255,.6); font-size: .625rem; margin-top: .25rem; display: block; }
.blp-promo-cta {
    background: var(--blp-primary);
    color: #fff;
    text-align: center;
    padding: .5rem;
    font-size: .875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
}

/* Custom Links */
.blp-links-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    max-width: 24rem;
    margin: 0 auto;
}
.blp-link-card {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem;
    border-radius: .75rem;
    background: var(--blp-card-bg);
    border: 1px solid color-mix(in srgb, var(--blp-text) 10%, transparent);
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    text-decoration: none;
    color: inherit;
    transition: all .2s;
}
.blp-link-card:hover {
    box-shadow: 0 4px 14px -3px rgba(0,0,0,.1);
    border-color: color-mix(in srgb, var(--blp-primary) 40%, transparent);
    transform: translateY(-2px);
}
.blp-link-info { flex: 1; min-width: 0; }
.blp-link-info h3 {
    font-weight: 600;
    font-size: .875rem;
    color: var(--blp-text);
    transition: color .2s;
}
.blp-link-card:hover .blp-link-info h3 { color: var(--blp-primary); }
.blp-link-info p {
    font-size: .75rem;
    color: var(--blp-text-secondary);
    margin-top: .125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.blp-link-card > svg {
    flex-shrink: 0;
    color: var(--blp-text-secondary);
    transition: color .2s;
}
.blp-link-card:hover > svg { color: var(--blp-primary); }

/* Virtual Tour */
.blp-tour-card {
    background: var(--blp-card-bg);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px -3px rgba(0,0,0,.12);
    border: 1px solid color-mix(in srgb, var(--blp-text) 8%, transparent);
    width: 100%;
    margin-bottom: 1.25rem;
}
.blp-tour-card:last-child {
    margin-bottom: 0;
}
.blp-tour-card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid color-mix(in srgb, var(--blp-text) 8%, transparent);
}
.blp-tour-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--blp-text);
    margin: 0;
}
.blp-tour-card-sub {
    font-size: .875rem;
    color: var(--blp-text-secondary);
    margin-top: .25rem;
}
.blp-tour-iframe-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
}
.blp-tour-iframe-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Gallery */
.blp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    max-width: 24rem;
    margin: 0 auto;
}
.blp-gallery-thumb {
    aspect-ratio: 1;
    border-radius: .75rem;
    overflow: hidden;
    cursor: pointer;
    border: none;
    padding: 0;
    background: none;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    transition: transform .2s;
}
.blp-gallery-thumb:hover { transform: scale(1.03); }
.blp-gallery-thumb:active { transform: scale(.97); }
.blp-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Modal */
.blp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,.6);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
}
.blp-modal.blp-active { display: flex; }
.blp-modal-content {
    background: var(--blp-card-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 24rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: blpSlideUp .25s ease;
}
@keyframes blpSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.blp-modal-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--blp-text-secondary);
    line-height: 1;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .5rem;
}
.blp-modal-close:hover { background: color-mix(in srgb, var(--blp-text) 8%, transparent); }
.blp-modal-title {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--blp-text);
}

/* Hours */
.blp-hours-list { display: flex; flex-direction: column; gap: .25rem; }
.blp-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .625rem .75rem;
    border-radius: .5rem;
}
.blp-hours-row:nth-child(odd) { background: color-mix(in srgb, var(--blp-primary) 6%, transparent); }
.blp-hours-day { font-weight: 500; font-size: .875rem; color: var(--blp-text); }
.blp-hours-time { font-size: .875rem; font-weight: 600; color: var(--blp-primary); }
.blp-hours-time.blp-closed { color: #EF4444; }

/* Pix */
.blp-pix-step { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.blp-pix-hint { font-size: .875rem; color: var(--blp-text-secondary); text-align: center; }
.blp-pix-input-wrap {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
}
.blp-pix-currency { font-size: 1.125rem; font-weight: 700; color: var(--blp-text); }
.blp-pix-input {
    flex: 1;
    font-size: 1.125rem;
    text-align: center;
    font-weight: 600;
    border: 2px solid color-mix(in srgb, var(--blp-text) 15%, transparent);
    border-radius: .75rem;
    padding: .625rem;
    background: transparent;
    color: var(--blp-text);
    font-family: inherit;
    outline: none;
}
.blp-pix-input:focus { border-color: var(--blp-primary); }
.blp-pix-value-display { font-size: .875rem; font-weight: 600; color: var(--blp-text); }
.blp-pix-qr-wrap {
    background: #fff;
    padding: 1rem;
    border-radius: .75rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,.06);
    display: flex;
    align-items: center;
    justify-content: center;
}
.blp-pix-qr-wrap img,
.blp-pix-qr-wrap canvas { max-width: 180px; }
.blp-pix-key-box {
    width: 100%;
    background: color-mix(in srgb, var(--blp-primary) 8%, transparent);
    border-radius: .75rem;
    padding: .75rem;
    text-align: center;
}
.blp-pix-key-label { display: block; font-size: .75rem; color: var(--blp-text-secondary); margin-bottom: .25rem; }
.blp-pix-key-value { font-family: monospace; font-size: .875rem; color: var(--blp-text); word-break: break-all; }

/* Lightbox */
.blp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.blp-lightbox img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: .75rem;
    object-fit: contain;
}
.blp-lb-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255,255,255,.7);
    font-size: 1.75rem;
    cursor: pointer;
}
.blp-lb-close:hover { color: #fff; }
.blp-lb-prev, .blp-lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,.7);
    font-size: 2.5rem;
    cursor: pointer;
    padding: .5rem;
}
.blp-lb-prev { left: .75rem; }
.blp-lb-next { right: .75rem; }
.blp-lb-prev:hover, .blp-lb-next:hover { color: #fff; }

/* Footer */
.blp-footer {
    margin-top: 2.5rem;
    padding: 1.5rem;
    text-align: center;
    font-size: .75rem;
    color: var(--blp-text-secondary);
}

/* Toast */
.blp-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--blp-primary);
    color: #fff;
    padding: .75rem 1.5rem;
    border-radius: .75rem;
    font-size: .875rem;
    font-weight: 600;
    z-index: 3000;
    transition: transform .3s ease;
    box-shadow: 0 4px 14px -3px rgba(0,0,0,.3);
}
.blp-toast.blp-toast-show {
    transform: translateX(-50%) translateY(0);
}
