/**
 * Floating Banner Lead CSS - Pixel Perfect Styling
 * Based on Floating Banner Lead.png design
 * 
 * @version 1.0.0
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --fb-blue-dark: #214780;
    --fb-blue-medium: #0B5B9D;
    --fb-cyan: #00FFFF;
    --fb-cyan-dark: #0092BC;
    --fb-green: #25D366;
    --fb-white: #FFFFFF;
    --fb-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

/* ============================================
   Floating Banner Container
   ============================================ */
.floating-banner-lead {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--fb-blue-dark) 0%, var(--fb-blue-medium) 50%, var(--fb-blue-dark) 100%);
    box-shadow: var(--fb-shadow);
    z-index: 9990;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    padding: 0;
}

.floating-banner-lead.visible {
    transform: translateY(0);
}

/* ============================================
   Close Button
   ============================================ */
.banner-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--fb-white);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s ease;
    z-index: 10;
}

.banner-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   Banner Content Grid
   ============================================ */
.banner-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 180px;
}

/* ============================================
   Image Section (Left Side)
   ============================================ */
.banner-image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(180deg, rgba(0, 255, 255, 0.1) 0%, transparent 100%);
}

.banner-image-placeholder {
    width: 100px;
    height: 100px;
    background: var(--fb-cyan);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fb-blue-dark);
    margin-bottom: 16px;
}

.banner-image-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--fb-white);
    text-align: center;
    line-height: 1.3;
    margin: 0;
}

/* ============================================
   Form Section (Right Side)
   ============================================ */
.banner-form-section {
    padding: 24px 48px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
    color: var(--fb-cyan);
    margin: 0 0 4px;
    line-height: 1.2;
}

.banner-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--fb-white);
    margin: 0 0 8px;
}

.banner-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--fb-white);
    margin: 0 0 16px;
    opacity: 0.9;
}

/* ============================================
   Form Elements
   ============================================ */
.banner-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.banner-form .form-group {
    margin: 0;
}

.banner-form .form-input {
    width: 100%;
    max-width: 280px;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #333;
    background: var(--fb-white);
    outline: none;
}

.banner-form .form-input::placeholder {
    color: #999;
}

.banner-form .form-input:focus {
    box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.3);
}

/* ============================================
   Checkbox
   ============================================ */
.banner-form .form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.banner-form .form-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 2px 0 0 0;
    cursor: pointer;
    accent-color: var(--fb-cyan);
    flex-shrink: 0;
}

.banner-form .form-checkbox label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: var(--fb-white);
    line-height: 1.4;
    cursor: pointer;
}

.banner-form .link-info {
    color: var(--fb-white);
    text-decoration: underline;
}

/* ============================================
   Buttons
   ============================================ */
.banner-buttons {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.btn-banner-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--fb-green);
    color: var(--fb-white);
    border: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-banner-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-banner-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--fb-blue-dark);
    color: var(--fb-white);
    border: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-banner-call:hover {
    background: #1a3a66;
    transform: translateY(-2px);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .banner-content {
        grid-template-columns: 1fr;
    }
    
    .banner-image-section {
        display: none;
    }
    
    .banner-form-section {
        padding: 20px;
    }
    
    .banner-title {
        font-size: 20px;
    }
    
    .banner-buttons {
        flex-direction: column;
    }
    
    .btn-banner-whatsapp,
    .btn-banner-call {
        width: 100%;
    }
    
    .banner-form .form-input {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .banner-form-section {
        padding: 16px;
    }
    
    .banner-title {
        font-size: 18px;
    }
    
    .banner-close {
        top: 8px;
        right: 8px;
    }
}
