/* Agendamento Page Styles */

/* Beauty Fair Hero Section */
.beauty-fair-hero {
    background: linear-gradient(135deg, #6e48aa 0%, #9d50bb 25%, #d63384 50%, #ff6b6b 75%, #ffa726 100%);
    min-height: 100vh;
    padding: 100px 0 0; /* Diminuído de 140px para 100px */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.beauty-fair-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1; /* Z-index baixo para ficar atrás de tudo */
    pointer-events: none; /* Garantir que não interfira com interação */
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    animation: floatAnimation 6s ease-in-out infinite;
    z-index: 2; /* Z-index baixo para as bolinhas */
    pointer-events: none; /* Não interferir com interação */
}

.floating-element-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    background: rgba(255, 107, 107, 0.2);
}

.floating-element-2 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 15%;
    animation-delay: -2s;
    background: rgba(255, 167, 38, 0.2);
}

.floating-element-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: -4s;
    background: rgba(157, 80, 187, 0.2);
}

.floating-element-4 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    right: 10%;
    animation-delay: -1s;
    background: rgba(214, 51, 132, 0.2);
}

.floating-element-5 {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 50%;
    animation-delay: -3s;
    background: rgba(110, 72, 170, 0.3);
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 3; /* Z-index baixo para o overlay */
    pointer-events: none; /* Não interferir com interação */
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

.beauty-fair-content {
    position: relative;
    z-index: 1100; /* Z-index muito alto para garantir que fique na frente de tudo */
    color: white;
    pointer-events: auto; /* Garantir que os elementos sejam interativos */
    user-select: text; /* Permitir seleção de texto */
}

.promo-badge-special {
    display: inline-block;
    animation: pulse 2s infinite;
}

.badge-content {
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.beauty-fair-title {
    font-size: 3.2rem; /* Reduzido de 4rem para 3.2rem */
    font-weight: 900;
    line-height: 1.1;
    margin: 2rem 0;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1101; /* Z-index muito alto */
    position: relative;
    pointer-events: auto;
    user-select: text;
}

.title-line-1 {
    display: block;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.title-plus {
    display: inline-block;
    color: #ffa726;
    font-size: 2.5rem;
    margin: 0 1rem;
    text-shadow: 0 0 20px rgba(255, 167, 38, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

.title-line-2 {
    display: block;
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(255, 167, 38, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 167, 38, 0.8), 0 0 40px rgba(255, 167, 38, 0.6);
    }
}

.beauty-fair-subtitle {
    font-size: 1.1rem; /* Diminuído de 1.3rem para 1.1rem */
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    z-index: 1101;
    position: relative;
    pointer-events: auto;
    user-select: text;
}

.promo-highlights {
    margin: 2rem 0;
    z-index: 1101;
    position: relative;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.15);
}

.highlight-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    min-width: 30px;
}

.beauty-fair-cta {
    margin: 2rem 0;
    z-index: 1101; /* Z-index muito alto para botões */
    position: relative;
    text-align: center; /* Centralizar o botão */
}

.btn-beauty-fair {
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    border: none;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25px;
    padding: 15px 30px;
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1102; /* Z-index máximo para botões */
    pointer-events: auto; /* Garantir que o botão seja clicável */
    cursor: pointer;
}

.btn-beauty-fair::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-beauty-fair:hover::before {
    left: 100%;
}

.btn-beauty-fair:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.6);
}

.countdown-section {
    margin-top: 2rem;
    z-index: 1101;
    position: relative;
    text-align: center; /* Centralizar conteúdo do countdown */
}

.countdown-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.countdown-timer {
    display: flex;
    gap: 0.75rem; /* Diminuir gap de 1rem para 0.75rem */
    flex-wrap: wrap;
    justify-content: center; /* Centralizar timer */
}

.countdown-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px; /* Diminuir de 15px para 12px */
    padding: 0.75rem; /* Diminuir de 1rem para 0.75rem */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 65px; /* Diminuir de 80px para 65px */
}

.countdown-number {
    display: block;
    font-size: 1.6rem; /* Diminuir de 2rem para 1.6rem */
    font-weight: 900;
    color: #ffa726;
    text-shadow: 0 2px 10px rgba(255, 167, 38, 0.5);
}

.countdown-item .countdown-label {
    font-size: 0.8rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Beauty Fair Image Section */
.beauty-fair-image {
    position: relative;
    z-index: 50; /* Z-index menor que o conteúdo de texto */
}

.image-container {
    position: relative;
    text-align: center;
}

/* Tag promocional posicionada no lado direito acima da foto */
.promo-tag-right {
    position: absolute;
    top: -20px;
    right: 0;
    z-index: 1101; /* Z-index muito alto para a tag promocional */
    animation: pulse 2s infinite;
}

.promo-tag-right .badge-content {
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.aisha-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 167, 38, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
    z-index: -1;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* Z-index baixo para os ícones flutuantes */
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: floatIcon 4s ease-in-out infinite;
    z-index: 15; /* Z-index baixo para os ícones */
}

.icon-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    background: rgba(255, 107, 107, 0.3);
}

.icon-2 {
    top: 20%;
    right: 15%;
    animation-delay: -1s;
    background: rgba(255, 167, 38, 0.3);
}

.icon-3 {
    bottom: 30%;
    left: 5%;
    animation-delay: -2s;
    background: rgba(157, 80, 187, 0.3);
}

.icon-4 {
    bottom: 10%;
    right: 20%;
    animation-delay: -3s;
    background: rgba(214, 51, 132, 0.3);
}

.icon-5 {
    top: 50%;
    right: 5%;
    animation-delay: -0.5s;
    background: rgba(110, 72, 170, 0.3);
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
    }
}

/* Scroll Indicator */
.beauty-fair-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-down {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
    text-decoration: none;
}

.scroll-down span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

.scroll-down span:nth-child(1) {
    top: 8px;
    animation-delay: 0s;
}

.scroll-down span:nth-child(2) {
    top: 16px;
    animation-delay: 0.15s;
}

.scroll-down span:nth-child(3) {
    top: 24px;
    animation-delay: 0.3s;
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .beauty-fair-title {
        font-size: 2.8rem; /* Ajustado proporcionalmente para mobile */
    }
    
    .countdown-timer {
        justify-content: center;
    }
    
    .beauty-fair-cta {
        text-align: center;
    }
    
    .beauty-fair-cta .btn {
        display: block;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .promo-tag-right {
        position: static; /* Muda para posição estática no mobile */
        text-align: center;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .beauty-fair-hero {
        padding: 90px 0 0; /* Ajustado para mobile */
    }
    
    .beauty-fair-title {
        font-size: 2.2rem; /* Ainda menor para telas muito pequenas */
    }
    
    .floating-element {
        display: none;
    }
    
    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .countdown-item {
        min-width: 55px; /* Ainda menor em mobile */
        padding: 0.5rem;
    }
    
    .countdown-number {
        font-size: 1.4rem; /* Menor em mobile */
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.agendamento-section {
    background: var(--gradient);
    min-height: 100vh;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.agendamento-header {
    margin-bottom: 3rem;
}

.agendamento-icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

.agendamento-icon i {
    font-size: 3.5rem;
    color: var(--white);
}

.agendamento-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.agendamento-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.agendamento-form-container {
    background: var(--white);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.agendamento-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
}

.form-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f8f9fa;
}

.form-title {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.form-label i {
    color: var(--primary-color);
    width: 20px;
}

.optional-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
    margin-left: 0.5rem;
}

.form-control-modern {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    position: relative;
}

.form-control-modern:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(110, 72, 170, 0.15);
    background: var(--white);
    transform: translateY(-2px);
}

.form-control-modern:hover {
    border-color: var(--secondary-color);
    background: var(--white);
}

.form-control-modern.is-valid {
    border-color: #28a745;
    background: #f8fff9;
}

.form-control-modern.is-invalid {
    border-color: #dc3545;
    background: #fff8f8;
}

.form-feedback {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.2rem;
}

.form-feedback.valid-feedback {
    color: #28a745;
}

.form-feedback.invalid-feedback {
    color: #dc3545;
}

.form-text {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.form-benefits {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid #e9ecef;
}

.benefits-title {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.benefits-title i {
    color: #ffc107;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 500;
}

.benefit-item i {
    color: #28a745;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.btn-agendamento {
    background: var(--gradient);
    border: none;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(110, 72, 170, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 280px;
}

.btn-agendamento:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(110, 72, 170, 0.4);
}

.btn-agendamento:active {
    transform: translateY(-1px);
}

.btn-agendamento::before {
    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.5s;
}

.btn-agendamento:hover::before {
    left: 100%;
}

.form-disclaimer {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.success-message {
    background: var(--white);
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-content {
    max-width: 500px;
    margin: 0 auto;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: successPulse 2s ease-in-out infinite;
}

.success-icon i {
    font-size: 3rem;
    color: var(--white);
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.success-message h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.agendamento-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.agendamento-bg-elements .bg-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floatBackground 6s ease-in-out infinite;
}

.agendamento-bg-elements .bg-element-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.agendamento-bg-elements .bg-element-2 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.agendamento-bg-elements .bg-element-3 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.agendamento-bg-elements .bg-element-4 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    right: 10%;
    animation-delay: 1s;
}

@keyframes floatBackground {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .agendamento-section {
        padding: 100px 0 40px;
    }
    
    .agendamento-title {
        font-size: 2.2rem;
    }
    
    .agendamento-form-container {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .btn-agendamento {
        min-width: 100%;
        padding: 1rem 2rem;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .agendamento-bg-elements .bg-element {
        display: none;
    }
}

@media (max-width: 576px) {
    .agendamento-icon {
        width: 80px;
        height: 80px;
    }
    
    .agendamento-icon i {
        font-size: 2.5rem;
    }
    
    .agendamento-title {
        font-size: 1.8rem;
    }
    
    .agendamento-subtitle {
        font-size: 1.1rem;
    }
    
    .form-benefits {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-agendamento:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form Validation Animations */
.form-control-modern.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Custom Select Styling */
.form-select.form-control-modern {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236e48aa' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}

/* Promo Badge Animation */
.promo-badge .badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

