/* Hero Section da Página de Serviços */
.hero-section-services {
    padding: 180px 0 80px 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.1;
    filter: drop-shadow(0 0 15px rgba(39, 159, 245, 0.35));
}

.page-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Seção do Catálogo de Serviços */
.services-catalog {
    padding: 60px 0 120px 0;
    position: relative;
    z-index: 10;
}

.services-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(15, 20, 25, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    padding: 3rem;
}

.service-slide-item {
    display: none;
    animation: fadeIn 0.6s ease-in-out;
}

.service-slide-item.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.service-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.service-info {
    text-align: left;
}

.service-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.base-plan {
    background: rgba(0,0,0,0.2);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

.base-plan h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.original-price {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-decoration: line-through;
    opacity: 0.8;
}

.base-plan .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
}

.discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--bg-dark);
    padding: 0.25rem 0.6rem;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 217, 255, 0.2);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.base-plan .total {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Recursos Inclusos */
.included-features {
    margin-bottom: 2rem;
}

.included-features h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.included-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.included-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Ícone do Serviço */
.service-card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(39, 159, 245, 0.3);
}

/* Adicionais */
.service-addons {
    background: rgba(0,0,0,0.2);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

.service-addons h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1rem;
    text-align: center;
}

.addons-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.addons-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.addons-list li:last-child {
    border-bottom: none;
}

.addons-list label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-secondary);
}

.addons-list input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color-light);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.addons-list input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.addons-list input[type="checkbox"]:checked::before {
    content: '\f00c'; /* Font Awesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.addon-price {
    font-weight: 600;
    color: var(--text-primary);
}

/* Seletor de Quantidade para Adicionais */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 0.25rem;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    background: var(--bg-tertiary);
    border: none;
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all var(--transition-fast);
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.quantity-input {
    width: 40px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    -moz-appearance: textfield; /* Firefox */
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Descrição do Adicional (Dropdown) */
.addon-description {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out, margin-top 0.4s ease-out;
    width: 100%;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    background: rgba(0,0,0,0.15);
    padding: 0 1rem;
    border-radius: var(--border-radius-md);
    box-sizing: border-box;
}

.addons-list li:hover .addon-description {
    max-height: 100px;
    opacity: 1;
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
}

.addons-list li .addon-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Aviso de limite de adicional */
.addon-warning {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--border-radius-md);
    color: var(--warning-color);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

/* Calculadora de Preços */
.total-price-container {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(39, 159, 245, 0.1);
    border: 1px solid rgba(39, 159, 245, 0.2);
    border-radius: 16px;
    text-align: center;
    transition: all var(--transition-base);
}

.total-price-container h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.total-price-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1.2;
    transition: color 0.3s ease;
}

.total-price-value.calculating {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Botão de Solicitar Orçamento */
.service-quote-action {
    margin-top: 1.5rem;
    text-align: center;
}

.btn-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(39, 159, 245, 0.3);
    text-decoration: none;
}

.btn-quote:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(39, 159, 245, 0.4);
}

.btn-quote:hover i {
    transform: translateX(5px);
}

.btn-quote i {
    transition: transform 0.3s ease;
}

/* Estado de sucesso do botão */
.btn-quote.success {
    background: var(--success-color);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    cursor: default;
    pointer-events: none;
}

.quote-info-text {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.quote-info-text a {
    color: var(--primary-light);
    text-decoration: underline;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.quote-info-text a:hover { color: var(--accent-color); }

.btn-quote.success:hover {
    transform: translateY(-3px);
}

/* Controles do Carrossel */
.service-carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 15;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--text-primary);
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(39, 159, 245, 0.3);
}

.carousel-dots {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
}

.dot.active {
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(39, 159, 245, 0.5);
}

.dot.active::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid rgba(39, 159, 245, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
    pointer-events: none;
}

.toast-notification {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-lg);
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
    min-width: 320px;
    max-width: 380px;
    opacity: 0;
    transform: translateX(calc(100% + 2rem));
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    pointer-events: auto;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast-message {
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.4;
}

.toast-message strong {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
}

.toast-notification.success .toast-icon {
    color: var(--success-color);
}