/* Melhorias para o site público */

/* Header melhorado */
.client-header-area {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 30px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.header-info {
    color: white;
    text-align: center;
    flex: 1;
}

.header-greeting {
    font-size: 14px;
    color: white;
    opacity: 1;
    margin-bottom: 5px;
    font-weight: 500;
}

.header-title {
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.header-actions {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .client-header-area {
        flex-direction: column;
        padding: 15px;
    }
    
    .header-info {
        order: 2;
        margin-top: 10px;
    }
    
    .header-actions {
        position: static;
        transform: none;
        order: 3;
        margin-top: 10px;
    }
    
    .menu-toggle {
        position: absolute;
        left: 15px;
        top: 15px;
        transform: none;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-selector {
    position: relative;
}

.language-select {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 8px 35px 8px 12px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: all 0.3s;
}

.language-select:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.language-select option {
    background: #2c3e50;
    color: white;
}

.client-logo-image {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Logo no topo (preenche todo espaço) */
.client-logo-top {
    width: 100%;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.client-logo-full {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Informações do sistema embaixo */
.client-info-bottom {
    text-align: center;
    padding: 20px 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: auto;
    background: rgba(0,0,0,0.1);
}

.client-info-name {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.client-info-subtitle {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.client-info-version {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

/* Sistema slogan destacado */
.system-slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 15px;
    margin: 0 15px 15px;
    background: rgba(231, 76, 60, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: white;
    font-size: 13px;
    font-weight: 600;
    font-style: italic;
}

.system-slogan i {
    color: #e74c3c;
    font-size: 14px;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Cards de serviços melhorados */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 22px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-features li {
    padding: 8px 0;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: #10b981;
}

.btn-service {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-service:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Seção de domínio melhorada */
.domain-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.domain-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.domain-input {
    background: white;
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
}

.btn-domain-primary {
    background: white;
    color: #667eea;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-domain-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hero section melhorada */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.gradient-text {
    color: white;
    -webkit-text-fill-color: white;
}

.hero-subtitle {
    font-size: 20px;
    color: white;
    opacity: 1;
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-badges .badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-badges .badge i {
    color: white;
}

/* Service Card Header */
.service-card-header {
    position: relative;
    margin-bottom: 20px;
}

.service-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    z-index: 10;
}

.service-badge.urgent {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.service-card-body {
    flex: 1;
}

.service-card-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--gray-200);
}

/* Domain Section Improvements */
.domain-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.domain-header h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.domain-header p {
    margin: 0;
    opacity: 1;
    font-size: 15px;
    color: white;
}

.domain-form {
    margin-top: 25px;
}

.domain-input-group {
    margin-bottom: 20px;
}

.domain-input-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    display: flex;
    gap: 10px;
}

.domain-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-domain-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s;
    flex: 1;
    min-width: 200px;
    justify-content: center;
}

.btn-domain-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-600);
    margin: 0;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
    z-index: 10;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.menu-toggle i {
    color: white;
}

/* Responsivo */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .domain-card {
        padding: 30px 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .domain-actions {
        flex-direction: column;
    }
    
    .btn-domain-secondary {
        width: 100%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .client-sidebar {
        position: fixed;
        left: -280px;
        z-index: 1000;
        transition: left 0.3s ease;
    }
    
    .client-sidebar.active {
        left: 0;
    }
    
    .client-header-area {
        flex-wrap: wrap;
    }
    
    .header-actions {
        width: 100%;
        margin-top: 10px;
        justify-content: flex-end;
    }
}
