/* Botões elegantes e modernos - Instituto Frida Angeli */

/* Estilo base para todos os botões */
.btn,
button,
.cta-button,
input[type="submit"],
.btn-primary,
.btn-secondary,
.btn-action,
.btn-outline {
    border-radius: 10px;
    padding: 0.85rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: var(--font-primary);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

/* Efeito hover para todos os botões */
.btn:hover,
button:hover,
.cta-button:hover,
input[type="submit"]:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-action:hover,
.btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Efeito active para todos os botões */
.btn:active,
button:active,
.cta-button:active,
input[type="submit"]:active,
.btn-primary:active,
.btn-secondary:active,
.btn-action:active,
.btn-outline:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Efeito de brilho ao passar o mouse */
.btn::after,
button::after,
.cta-button::after,
input[type="submit"]::after,
.btn-primary::after,
.btn-secondary::after,
.btn-action::after,
.btn-outline::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:hover::after,
button:hover::after,
.cta-button:hover::after,
input[type="submit"]:hover::after,
.btn-primary:hover::after,
.btn-secondary:hover::after,
.btn-action:hover::after,
.btn-outline:hover::after {
    left: 100%;
}

/* Botão primário (verde) */
.btn-primary, 
.cta-button {
    background: linear-gradient(135deg, #7B9A7C, #5a7a5b);
    color: white;
}

/* Botão secundário (roxo) */
.btn-secondary {
    background: linear-gradient(135deg, #B8A9C9, #9a8aab);
    color: white;
}

/* Botão de ação (laranja/dourado) */
.btn-action {
    background: linear-gradient(135deg, #f5a623, #f8c471);
    color: white;
}

/* Botão outline */
.btn-outline {
    background: transparent;
    border: 2px solid #7B9A7C;
    color: #7B9A7C;
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(123, 154, 124, 0.1);
    box-shadow: 0 5px 15px rgba(123, 154, 124, 0.2);
}

/* Botão grande */
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Botão pequeno */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Botão com ícone */
.btn i, 
button i, 
.cta-button i {
    margin-right: 8px;
    font-size: 1.1em;
}

/* Botão WhatsApp */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50px;
    padding: 12px 25px;
    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;
}

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

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

/* Botão de checkout (para páginas de pagamento) */
.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);
}

/* Botão flutuante */
.btn-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7B9A7C, #5a7a5b);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease;
}

.btn-float i {
    font-size: 1.5rem;
    margin: 0;
}

.btn-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Botão desabilitado */
.btn:disabled,
button:disabled,
.cta-button:disabled,
input[type="submit"]:disabled {
    background: #e0e0e0;
    color: #a0a0a0;
    cursor: not-allowed;
    box-shadow: none;
}

.btn:disabled:hover,
button:disabled:hover,
.cta-button:disabled:hover,
input[type="submit"]:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Responsividade para botões */
@media (max-width: 768px) {
    .btn,
    button,
    .cta-button,
    input[type="submit"] {
        padding: 0.75rem 1.25rem;
    }
    
    .btn-lg {
        padding: 0.9rem 1.8rem;
    }
    
    .btn-checkout {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
    
    .btn-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}