/* custom-widgets.css - VemCá Mulher */

:root {
    --widget-primary: #e87208;
    --widget-text: #1f2937;
    --widget-gray: #6b7280;
    --widget-white: #ffffff;
}

/* --- Floating Icons Container --- */
.floating-icons-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    z-index: 9999;
}

.floating-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.floating-tooltip {
    background-color: var(--widget-white);
    color: var(--widget-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-wrapper:hover .floating-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.floating-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transition: transform 0.3s ease;
}

.floating-icon:hover {
    transform: scale(1.1);
}

.floating-icon canvas,
.floating-icon svg,
.floating-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Visibility classes */
@media (max-width: 992px) {
    .floating-desktop-only {
        display: none !important;
    }
}
@media (min-width: 993px) {
    .floating-mobile-only {
        display: none !important;
    }
}

/* Mobile responsive floats */
@media (max-width: 768px) {
    .floating-icons-container {
        bottom: 15px !important;
        right: 15px !important;
        gap: 10px !important;
    }

    .floating-icon {
        width: 48px !important;
        height: 48px !important;
    }

    .floating-icon canvas,
    .floating-icon svg,
    .floating-icon img {
        width: 48px !important;
        height: 48px !important;
    }

    .floating-wrapper {
        position: relative;
    }

    .floating-tooltip {
        position: absolute;
        right: 58px;
        opacity: 0;
        pointer-events: none;
        transform: translateX(10px);
    }
}

/* --- WhatsApp Bottom Sheet (Mobile) --- */
.whatsapp-bottom-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: flex-end;
}

.whatsapp-bottom-sheet-overlay.active {
    opacity: 1;
    visibility: visible;
}

.whatsapp-bottom-sheet-content {
    width: 100%;
    background-color: var(--widget-white);
    border-radius: 24px 24px 0 0;
    padding: 25px 20px 30px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.whatsapp-bottom-sheet-overlay.active .whatsapp-bottom-sheet-content {
    transform: translateY(0);
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sheet-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--widget-primary);
}

.sheet-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--widget-gray);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sheet-body p {
    color: var(--widget-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.sheet-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sheet-option {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(0, 0, 0, 0.03);
    padding: 15px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--widget-text);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.sheet-option:hover, .sheet-option:active {
    background-color: rgba(232, 114, 8, 0.08);
    transform: translateY(-2px);
}

.sheet-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #25D366; /* WhatsApp Green */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.sheet-text {
    display: flex;
    flex-direction: column;
}

.sheet-text strong {
    font-size: 1.05rem;
    color: var(--widget-text);
}

.sheet-text span {
    font-size: 0.8rem;
    color: var(--widget-gray);
}

/* --- Bio Page Banners & Styles --- */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 16px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.partners-grid img {
    max-width: 80px;
    height: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.partners-grid img:hover {
    opacity: 1;
    transform: scale(1.08);
}

/* Special Button Styles */
.bio-btn-secondary {
    background-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: inherit !important;
}
.bio-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25) !important;
}

.bio-btn-outline {
    background-color: transparent !important;
    border: 2px solid currentColor !important;
    color: inherit !important;
}
.bio-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.bio-btn-whatsapp-destaque {
    background-color: #25D366 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
    animation: pulseWhatsapp 2s infinite;
}
@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.bio-btn-gradient-glow {
    background: linear-gradient(135deg, #e87208, #ec4899) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(232, 114, 8, 0.35);
    transition: transform 0.2s, box-shadow 0.2s !important;
}
.bio-btn-gradient-glow:hover {
    box-shadow: 0 6px 24px rgba(232, 114, 8, 0.5);
    transform: scale(1.03) translateY(-2px);
}

/* Mobile Menu Layout Fix */
@media screen and (max-width: 991px) {
  .w-nav-menu[data-nav-menu-open] {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
  }
  .w-nav-menu .navlink {
    display: block !important;
    width: 100% !important;
  }
}

/* Mobile asymmetric border gap fix */
@media screen and (max-width: 767px) {
  .assymetric_border-topl,
  .assymetric_border-bottoml,
  .assymetric_border-topr,
  .assymetric_border-bottomr,
  .assymetric_border-toprfull,
  .assymetric_border-bottomrfull {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* Mobile Assymetric Border Subpixel Fix */
@media screen and (max-width: 991px) {
  .assymetric_border-topl, .assymetric_border-topr, .assymetric_border-topl.border_title, .assymetric_border-topr.border_title, .assymetric_border-toprfull, .assymetric_border-toprfull.border_title {
    margin-bottom: -1px !important;
  }
  .assymetric_border-bottoml, .assymetric_border-bottomr, .assymetric_border-bottoml.border_title, .assymetric_border-bottomr.border_title, .assymetric_border-bottomrfull, .assymetric_border-bottomrfull.border_title {
    margin-top: -1px !important;
  }
}

/* Fix Footer English Banner Overlap */
.footer_english_banner {
  top: 0 !important;
  transform: translateY(-50%) !important;
}

/* Fix Footer Logo Overlap */
@media screen and (max-width: 991px) {
  .footer {
    padding-top: 2rem;
  }
}

/* Mobile Drawer Menu Gaveta Style */
@media screen and (max-width: 991px) {
  .w-nav-menu {
    background-color: #f5c220 !important;
    border-bottom-left-radius: 24px !important;
    border-bottom-right-radius: 24px !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
    z-index: -1 !important;
    padding-bottom: 20px !important;
    margin-top: -10px !important; /* slide from slightly underneath */
  }
  .w-nav-menu .navlink {
    color: #170b01 !important; /* Make text dark since background is yellow */
  }
  .w-nav-menu .nav-button-style {
    background-color: #e87208 !important; /* Keep button orange for contrast */
    color: #fff !important;
    margin: 5px 15px !important;
    border-radius: 8px !important;
  }
}

/* Floating Icons Scroll Animation */
.floating-icons-container {
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.5s;
}
.floating-icons-container.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
