/* Estilos sofisticados para a página de agendamento - Instituto Frida Angeli */

/* Estilo geral da seção de vendas */
.section-vendas {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    position: relative;
}

.section-vendas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%237B9A7C" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
    pointer-events: none;
}

/* Container principal com efeito de vidro */
.vendas-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Box de CTA com efeito de vidro */
.cta-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.cta-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #7B9A7C, #B8A9C9);
}

.cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Título e subtítulo elegantes */
.titulo-vendas {
    font-size: 2.8rem;
    font-weight: 800;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.subtitulo-vendas {
    font-size: 1.4rem;
    text-align: center;
    color: #555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 300;
}

/* Destaque para textos importantes */
.highlight {
    color: #7B9A7C;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #7B9A7C, transparent);
}

/* Destaque para preço */
.valor-sessao {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    margin: 30px 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.price-highlight {
    font-weight: 800;
    color: #e63946;
    position: relative;
}

.valor-sessao::before,
.valor-sessao::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, transparent, rgba(123, 154, 124, 0.5), transparent);
    top: 50%;
}

.valor-sessao::before {
    left: -80px;
}

.valor-sessao::after {
    right: -80px;
}

/* Lista de benefícios mais elegante */
.lista-beneficios {
    list-style: none;
    padding-left: 0;
    margin: 30px 0;
}

.lista-beneficios li {
    position: relative;
    padding: 12px 0 12px 35px;
    font-size: 1.1rem;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(123, 154, 124, 0.1);
}

.lista-beneficios li:last-child {
    border-bottom: none;
}

.lista-beneficios li i {
    position: absolute;
    left: 0;
    top: 14px;
    color: #7B9A7C;
    font-size: 1.2rem;
}

/* Formulário mais sofisticado */
.form-agendamento {
    margin-top: 30px;
}

.form-agendamento label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
    font-size: 0.95rem;
}

.form-agendamento input,
.form-agendamento select {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(123, 154, 124, 0.3);
    border-radius: 10px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) inset;
    background-color: rgba(255, 255, 255, 0.8);
}

.form-agendamento input:focus,
.form-agendamento select:focus {
    border-color: #7B9A7C;
    box-shadow: 0 0 0 3px rgba(123, 154, 124, 0.2);
    outline: none;
    background-color: #fff;
}

/* Botão de checkout mais atraente */
.btn-checkout {
    background: linear-gradient(135deg, #7B9A7C, #5a7a5b);
    color: white;
    padding: 18px 30px;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50px;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(123, 154, 124, 0.4);
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    text-align: center;
    cursor: pointer;
}

.btn-checkout:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(123, 154, 124, 0.6);
}

.btn-checkout:active {
    transform: translateY(0);
}

.btn-checkout::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s ease;
}

.btn-checkout:hover::after {
    left: 100%;
}

/* Slots de horário mais elegantes */
#horarios-disponiveis {
    border: 1px solid rgba(123, 154, 124, 0.3);
    border-radius: 10px;
    padding: 20px;
    min-height: 100px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    background: rgba(255,255,255,0.7);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) inset;
}

.slot-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text-dark);
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(123, 154, 124, 0.3);
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.slot-btn:hover {
    background: rgba(123, 154, 124, 0.1);
    border-color: rgba(123, 154, 124, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.slot-btn.selected {
    background: linear-gradient(135deg, #7B9A7C, #6a8a6b);
    color: white;
    border-color: #5a7a5b;
    box-shadow: 0 2px 8px rgba(123, 154, 124, 0.4);
}

/* Feedback de data e hora selecionada */
#data-hora-feedback {
    transition: all 0.3s ease;
    padding: 15px;
    background: rgba(123, 154, 124, 0.1);
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #7B9A7C;
    font-weight: 500;
}

#data-hora-feedback.visible {
    opacity: 1 !important;
    height: auto !important;
    padding: 15px;
}

/* Títulos de seção mais elegantes */
.section-title {
    color: #7B9A7C;
    border-bottom: 2px solid rgba(123, 154, 124, 0.2);
    padding-bottom: 12px;
    margin: 40px 0 25px;
    font-weight: 700;
    position: relative;
    font-size: 1.4rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #7B9A7C;
}

/* Container de vídeo mais elegante */
.video-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-container i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(123, 154, 124, 0.7);
}

/* Animações suaves */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Atraso nas animações */
.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; }

/* Botão WhatsApp mais atraente */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50px;
    padding: 15px 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    margin-top: 20px;
}

.btn-whatsapp i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

/* Layout responsivo */
@media (max-width: 768px) {
    .titulo-vendas {
        font-size: 2rem;
    }
    
    .subtitulo-vendas {
        font-size: 1.1rem;
    }
    
    .valor-sessao {
        font-size: 2rem;
    }
    
    .valor-sessao::before,
    .valor-sessao::after {
        width: 40px;
    }
    
    .valor-sessao::before {
        left: -50px;
    }
    
    .valor-sessao::after {
        right: -50px;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
    
    .form-agendamento input,
    .form-agendamento select {
        padding: 12px;
    }
    
    .btn-checkout {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
}